HPLAZUS0 is a standard Executable ABAP Report 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 HPLAZUS0 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: P_TST_ON = Test run (without update)
Selection Text: P_TECHN = Technical run (for fixing)
Selection Text: P_FILENA = KEDU file name, *& special ch.
Title: Generation of ZUS registration documents
Text Symbol: 000 = Processing
INCLUDE PAZUSPL0.
INCLUDE PAZUSPL1.
INCLUDE PAZUSPL2.
INCLUDE PAZUSPLA.
INCLUDE PAZUSPLB.
INCLUDE PAZUSPLC.
INCLUDE PAZUSPLD.
No SAP DATABASE tables are accessed within this REPORT code!
WS_ULDL_PATH CALL FUNCTION 'WS_ULDL_PATH' IMPORTING DOWNLOAD_PATH = TMP_FILENAME.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING mask = ',*.*,*.*.'
HR_PL_PY_INIT_REPORT_COUNTER CALL FUNCTION 'HR_PL_PY_INIT_REPORT_COUNTER'. "init progress indic.
HR_PL_REFRESH_STAT_LIST CALL FUNCTION 'HR_PL_REFRESH_STAT_LIST'.
HR_PL_PY_UPDATE_REP_STATUS CALL FUNCTION 'HR_PL_PY_UPDATE_REP_STATUS' EXPORTING THRESHOLD = 0. "inc progress status
POPUP_TO_CONFIRM_WITH_MESSAGE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' * EXPORTING * defaultoption = 'N' * DIAGNOSETEXT1 = TEXT-010 * DIAGNOSETEXT2 = '' * diagnosetext3 = '' * TEXTLINE1 = TEXT-011 * TEXTLINE2 = TEXT-012 * TITEL = TEXT-013 * IMPORTING * ANSWER = EXIT_NEEDED * EXCEPTIONS * OTHERS = 1.
RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING OBJKN = OBJNM OBJNR = OBJNR EMPFG = ' ' IMPORTING TSOBJ = DATASET_EXP * objhd = EXCEPTIONS OTHERS = 1.
RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' * EXPORTING * BUFFLG = '*' * FBHANDLE = 0 * SHOWLG = ' ' * ROWS = 0 * STARTROW = 1 TABLES DATATAB = FILETAB EXCEPTIONS OTHERS = 1.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' * exporting * fbhandle = 0 EXCEPTIONS OTHERS = 1.
HR_PL_DOWNLOAD CALL FUNCTION 'HR_PL_DOWNLOAD' EXPORTING FILENAME = FILENAME APPEND = ' ' EXT_CODE_PAGE = 'iso-8859-2' CRLF = 'X' TABLES DATA_TAB = ZUSFILETAB EXCEPTIONS OTHERS = 1.
BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = pernr-pernr IMPORTING return = return_struc.
BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = pernr-pernr.
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING END = P0515-BEGDA IMPORTING hire_date = hire_date TABLES pphifi = phifi pp0000 = p0000 PP0001 = P0001 EXCEPTIONS "85092328 OTHERS = 1. "85092328
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.