SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

PSGUSPL4 SAP ABAP INCLUDE - Include P0006PL4







PSGUSPL4 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 PSGUSPL4 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 PSGUSPL4. "Basic submit
SUBMIT PSGUSPL4 AND RETURN. "Return to original report after report execution complete
SUBMIT PSGUSPL4 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PSGUSPL4

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_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'. "init error list

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING ARBGB = 'HR001PL' MSGTY = 'I' MSGNO = '000' MSGV1 = STAMP1 MSGV2 = STAMP2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 "prgs TEXT = BUFFER.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH' "87011155 * EXPORTING * CHECK_RUNTIME = 0 .

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING PERNR = PERSON-PERNR ARBGB = 'HR002PL' MSGTY = MSGTY MSGNO = MSGNO.

HR_COLLECT_ERROR_LIST CALL FUNCTION 'HR_COLLECT_ERROR_LIST' EXPORTING PERNR = PERSON-PERNR ARBGB = 'HR002PL' MSGTY = 'E' MSGNO = MSGNO MSGV1 = PARAM1 MSGV2 = PARAM2.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING NO_POPUP = NO_POPUP NO_PRINT = NO_PRINT EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST * CALL FUNCTION 'HR_DISPLAY_ERROR_LIST'.

HR_PL_PY_GET_PNP_ERROR_LIST CALL FUNCTION 'HR_PL_PY_GET_PNP_ERROR_LIST' CHANGING ERRORS_COUNT = ERR_COUNT.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES LISTOBJECT = LIST EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' * EXPORTING * WRITE_ONLY = 'X' TABLES LISTOBJECT = LIST EXCEPTIONS EMPTY_LIST = 1 OTHERS = 2 .

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = BUFFER.

WS_ULDL_PATH CALL FUNCTION 'WS_ULDL_PATH' IMPORTING DOWNLOAD_PATH = FILEPATH.



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 PSGUSPL4 or its description.