SAP Reports / Programs

PUTRIGGER_APROVAL_PROC_IN4 SAP ABAP INCLUDE - Include PUTRIGGER_APROVAL_PROC_IN4







PUTRIGGER_APROVAL_PROC_IN4 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter PUTRIGGER_APROVAL_PROC_IN4 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT PUTRIGGER_APROVAL_PROC_IN4. "Basic submit
SUBMIT PUTRIGGER_APROVAL_PROC_IN4 AND RETURN. "Return to original report after report execution complete
SUBMIT PUTRIGGER_APROVAL_PROC_IN4 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include PUTRIGGER_APROVAL_PROC_IN4


INCLUDES used within this REPORT PUTRIGGER_APROVAL_PROC_IN4

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p_p_pernr infty = '0001' begda = p_p_date endda = p_p_date * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = lt_p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .

HR_IN_GET_ALGRP CALL FUNCTION 'HR_IN_GET_ALGRP' EXPORTING empno = p_l_apprvr_pernr rfdate = p_p_exdate IMPORTING rtalgrp = p_p_algrp EXCEPTIONS algrp_not_found = 1 OTHERS = 2.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = l_logicalpath operating_system = sy-opsys IMPORTING file_name = l_phy_flname EXCEPTIONS file_not_found = 1 OTHERS = 2.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING program = sy-cprog activity = c_write filename = l_phy_flname EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = l_logicalpath CHANGING physical_filename = l_phy_flname EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

RP_GET_PERNR_FROM_USERID CALL FUNCTION 'RP_GET_PERNR_FROM_USERID' EXPORTING begda = s_exdate-low endda = s_exdate-low usrid = g_user_id usrty = '0001' IMPORTING usr_pernr = g_apprvr_pernr EXCEPTIONS retcd = 1 OTHERS = 2.

RP_GET_PERNR_FROM_USERID CALL FUNCTION 'RP_GET_PERNR_FROM_USERID' EXPORTING begda = s_exdate-low "P_exDATE endda = s_exdate-high "P_exDATE usrid = g_user_id "gs_T7INTRNS_METADAT-REQ_USRID usrty = '0001' IMPORTING usr_pernr = g_apprvr_pernr EXCEPTIONS retcd = 1 OTHERS = 2.

SAP_WAPI_START_WORKFLOW CALL FUNCTION 'SAP_WAPI_START_WORKFLOW' EXPORTING task = g_workflow IMPORTING workitem_id = g_workitem_id TABLES input_container = gt_containers message_lines = gt_message_lines agents = gt_app_agents.

SAP_WAPI_GET_DEPENDENT_WIS CALL FUNCTION 'SAP_WAPI_GET_DEPENDENT_WIS' EXPORTING workitem_id = g_workitem_id IMPORTING return_code = g_subrc TABLES items = gt_items.

SAP_WAPI_START_WORKFLOW CALL FUNCTION 'SAP_WAPI_START_WORKFLOW' EXPORTING task = g_workflow IMPORTING workitem_id = g_workitem_id TABLES input_container = gt_containers message_lines = gt_message_lines agents = gt_app_agents.

SAP_WAPI_GET_DEPENDENT_WIS CALL FUNCTION 'SAP_WAPI_GET_DEPENDENT_WIS' EXPORTING workitem_id = g_workitem_id IMPORTING return_code = g_subrc TABLES items = gt_items.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name PUTRIGGER_APROVAL_PROC_IN4 or its description.