Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

*&---------------------------------------------------------------------------------

--------*
*& Author : H548445 ( karthikeyan G R )
*
*& Start Date : 22.08.2023
*
*& Project id : PRJ-66478
*
*& Program Objective : PR Auto Alignment Detailed Report
*
*& Remarks : NA
*
*& Description : PR Auto Alignment Detailed Report
*
*& Development Request : BRDK9A3GS6
*
*& RFC# / CD# : 1000024167/3000056001
*
*----------------------------------------------------------------------------------
--------*
*&---------------------------------------------------------------------------------
--------*
* ModTag Date EID CD# Transport# Short description
*-------- ---- --------- -----------
----------------------------------------------*
REPORT zrpr_pr_details.
***********************************************************************************
*********
*INCLUDE PROGRAM
***********************************************************************************
*********
INCLUDE zrpu_pr_details_top.
INCLUDE zrpu_pr_details_class.
INCLUDE zrpu_pr_details_sel.
INCLUDE zrpu_pr_details_f01.

INITIALIZATION.
DATA(go_obj) = NEW lcl_prdetails( ).

IF go_obj IS BOUND.
CALL METHOD go_obj->initialization.
ENDIF.

AT SELECTION-SCREEN OUTPUT.
CALL METHOD go_obj->modify_screen.

AT SELECTION-SCREEN.
IF go_obj IS BOUND.
* Authority check for Plant
CALL METHOD go_obj->plant_authorization.
ENDIF.

START-OF-SELECTION.
IF go_obj IS BOUND.
* Fetch all the required data
CALL METHOD go_obj->get_data.

*fetch material data


CALL METHOD go_obj->get_matdata.

IF gt_output[] IS NOT INITIAL.


IF cb_app IS NOT INITIAL.
*Save the file on Application server
CALL METHOD go_obj->file_to_all.
ENDIF.
*mail functionality
IF cb_mail IS NOT INITIAL.
CALL METHOD go_obj->send_mail.
ENDIF.
* Display ALV
CALL METHOD go_obj->display_alv.
ENDIF.

ENDIF.

You might also like