RPTREQAPPRCHK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to check whether the system determines an employee's supervisor correctly...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RPTREQAPPRCHK into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: DEBUG_CK = Switch On
Selection Text: APP_ID = D .
Selection Text: PERNR = D .
Selection Text: VARIANT = D .
Title: Determine Approver
Text Symbol: F01 = Selection
Text Symbol: F07 = Debugging
Text Symbol: H01 = Supervisor of
Text Symbol: H02 = Unable to determine supervisor
Text Symbol: H03 = Determine next agent according to:
Text Symbol: H04 = Last person to process a sent request:
Text Symbol: H05 = could not be found
Text Symbol: O01 = Check Application Function
Text Symbol: O02 = Check Basis Function
Text Symbol: S01 = Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CATS_GET_EMPLOYEE_NAME CALL FUNCTION 'CATS_GET_EMPLOYEE_NAME' EXPORTING pernr = pernr EXCEPTIONS pernr_not_found = 1 OTHERS = 2.
SWX_GET_MANAGER CALL FUNCTION 'SWX_GET_MANAGER' TABLES actor_tab = next_processor_org_tab ac_container = orgmodel_container_tab EXCEPTIONS nobody_found = 1 OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr infty = '0105' begda = sy-datum endda = sy-datum TABLES infty_tab = i0105_tab EXCEPTIONS infty_not_found = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = f_report_id i_callback_html_top_of_page = 'HTML_TOP_APPLICATION' i_structure_name = 'PTREQ_ACTOR_STRUC_FLAT' * is_layout = g_layout i_save = 'A' is_variant = f_alv_variant * it_events = g_t_events * is_print = g_print TABLES t_outtab = approver_tab.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = f_report_id i_callback_html_top_of_page = 'HTML_TOP_ORGMODEL' i_structure_name = 'SWHACTOR' * is_layout = g_layout i_save = 'A' is_variant = f_alv_variant * it_events = g_t_events * is_print = g_print TABLES t_outtab = approver_org_tab.
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'PTREQ_DET_NEXT_PROCESSOR' value = domain_value IMPORTING dd07v_wa = dd07v_struc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.