SAP Reports / Programs

RPUTRAK0 SAP ABAP Report - Transfer old payroll results from legacy system to SAP - main







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


Text pool values


Selection Text: D_ABRDT =
Selection Text: D_ABRSP =
Selection Text: D_ADRUN =
Selection Text: D_KOABR =
Selection Text: D_RCBON =
Selection Text: D_RRDAF =
Selection Text: D_RRDAT =
Selection Text: P_558B = Payroll periods -> T558B
Selection Text: P_5K8C = Payroll results -> T5K8C
Selection Text: P_5K8D = Tax authorities -> T5K8D
Selection Text: P_5K8E = Other results -> T5K8E
Selection Text: P_ABRDT =
Selection Text: P_ABRSP =
Selection Text: P_ADRUN =
Selection Text: P_KOABR =
Selection Text: P_PC = PC file format
Selection Text: P_RCBON =
Selection Text: P_RRDAF =
Selection Text: P_RRDAT =
Selection Text: P_UNIX = UNIX file format
Title: Transfer old payroll results from legacy system to SAP - main
Text Symbol: S24 = Nos employees to be transferred to SAP:
Text Symbol: S23 = Table T5K8E was loaded successfully.
Text Symbol: S22 = Table T5K8D was loaded successfully.
Text Symbol: S21 = Table T5K8C was loaded successfully.
Text Symbol: S20 = Table T558B was loaded successfully.
Text Symbol: S12 = Reset infotype 0003 prior to running RPCALCK0.
Text Symbol: S11 = For each employee to be transferred, please
Text Symbol: 001 = File input specification
Text Symbol: 002 = File names and directories
Text Symbol: 010 = Reset payroll status
Text Symbol: 011 = Accounted to
Text Symbol: 012 = Earliest MD change
Text Symbol: 013 = Recal.follow-up prog
Text Symbol: 014 = Mast.data chng.bonus
Text Symbol: 015 = Pers.no.locked
Text Symbol: 016 = Payroll correction
Text Symbol: 017 = Special run





Text Symbol: 018 = (Check = Yes / Uncheck = No)
Text Symbol: E01 = Error reading input file:
Text Symbol: E02 = Error loading table:
Text Symbol: E03 = Accounted To & Recal.Follow-up Prog
Text Symbol: E04 = Earliest MD Change & Mast.Data Chng.Bonus
Text Symbol: E05 = Must have same value
Text Symbol: E06 = Must be updated in pair
Text Symbol: E10 = Error updating Payroll Status (infotype 0003)
Text Symbol: S01 = Payroll Status initialization summary:
Text Symbol: S02 = Nos employees requested for Payroll Status update:
Text Symbol: S03 = Nos employees updated successfully:
Text Symbol: S04 = Nos employees updated with error:
Text Symbol: S05 = To complete transfer of old payroll results,
Text Symbol: S06 = Please run RPCALCK0 using schema KLKL/KLK9.
Text Symbol: S07 = Please correct Payroll Status (infotype 0003)
Text Symbol: S08 = prior to running RPCALCK0 for rejected employee(s).
Text Symbol: S10 = Resetting of Payroll Status (infotype 0003) is not selected.


INCLUDES used within this REPORT RPUTRAK0

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:

WS_UPLOAD

GUI_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "AL0K006543 CALL FUNCTION 'GUI_UPLOAD' "! EXPORTING * filename = p_558b "AL0K070092 filename = wa_filename "AL0K070092 filetype = 'ASC' TABLES data_tab = i558b.

WS_UPLOAD

GUI_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "AL0K006543 CALL FUNCTION 'GUI_UPLOAD' "! EXPORTING * filename = p_5k8c "AL0K070092 filename = wa_filename "AL0K070092 filetype = 'ASC' TABLES data_tab = i5k8c.

WS_UPLOAD

GUI_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "AL0K006543 CALL FUNCTION 'GUI_UPLOAD' "! EXPORTING * filename = p_5k8d "AL0K070092 filename = wa_filename "AL0K070092 filetype = 'ASC' TABLES data_tab = i5k8d.

WS_UPLOAD

GUI_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "AL0K006543 CALL FUNCTION 'GUI_UPLOAD' "! EXPORTING * filename = p_5k8e "AL0K070092 filename = wa_filename "AL0K070092 filetype = 'ASC' TABLES data_tab = i5k8e.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = logical_filename_1 CHANGING physical_filename = p_558b EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = logical_filename_2 CHANGING physical_filename = p_5k8c EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = logical_filename_3 CHANGING physical_filename = p_5k8d EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME





CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = logical_filename_4 CHANGING physical_filename = p_5k8e EXCEPTIONS OTHERS = 1.



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