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

RPAR1LX0 SAP ABAP Report - PA: Archiving - Reload from Archive for Personnel Number (PA CALC)







RPAR1LX0 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 RPAR1LX0 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 RPAR1LX0. "Basic submit
SUBMIT RPAR1LX0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPAR1LX0 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: TESTRUN = Test run
Selection Text: SHOW_ARC = Display only affected archives
Selection Text: RESET_P = Reset pers.retro acctg date
Selection Text: REL_FROM = Reload from
Selection Text: PROTOCOL = Detail log
Selection Text: M_PERNR = Personnel number
Title: PA: Archiving - Reload from Archive for Personnel Number (PA CALC)
Text Symbol: XXX = Program not released
Text Symbol: SE3 = Reload parameters
Text Symbol: SE2 = Test options
Text Symbol: SE1 = Selection
Text Symbol: REL = Reloaded
Text Symbol: PRD = PRDAT reset to
Text Symbol: PR1 = PRDAT (now archived)
Text Symbol: PR0 = PRDAT not reset for
Text Symbol: NUM = Number of new archive
Text Symbol: NON = Wrong ctry grpg in arch.header
Text Symbol: NOM = Ctry grpg not in archive header
Text Symbol: NOD = Could not find data for reloading
Text Symbol: NOA = This was a test run. Data was not reloaded
Text Symbol: NEW = In new archive
Text Symbol: IAR = In archive:
Text Symbol: FAR = Archive(s) f. PerNo
Text Symbol: EXT = Program terminated
Text Symbol: ER9 = Error while reading cluster CA for PerNo
Text Symbol: ER3 = Error: Key already exists
Text Symbol: ER2 = No entry in table T500T for ctry grpg
Text Symbol: ER1 = Invalid country grouping:
Text Symbol: E32 = No archived data for pers.no.
Text Symbol: E22 = Archiving run does not exist
Text Symbol: E13 = for PerNo.
Text Symbol: E12 = could not be reloaded
Text Symbol: E11 = Error: Record with key already in database
Text Symbol: 102 = is performed
Text Symbol: 101 = The following archives will be affected if reloading
Text Symbol: 001 = Country grouping


INCLUDES used within this REPORT RPAR1LX0

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:

PA_CALC_TESTMODE * CALL FUNCTION 'PA_CALC_TESTMODE' * EXPORTING * TESTMODE_ON_OFF = PROTOCOL.

ARCHIVE_OPEN_FOR_MOVE * CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' * EXPORTING * OBJECT = OBJECT_PA_CALC * TEST_MODE = TESTRUN * IMPORTING * ARCHIVE_READ_HANDLE = READ_HANDLE * ARCHIVE_WRITE_HANDLE = WRITE_HANDLE * EXCEPTIONS * FILE_ALREADY_OPEN = ERROR_FILE_ALREADY_OPEN * FILE_IO_ERROR = ERROR_FILE_IO_ERROR * INTERNAL_ERROR = ERROR_INTERNAL_ERROR * NO_FILES_AVAILABLE = ERROR_NO_FILES_AVAILABLE * OBJECT_NOT_FOUND = ERROR_OBJECT_NOT_FOUND * OPEN_ERROR = ERROR_OPEN_ERROR * NOT_AUTHORIZED = ERROR_NOT_AUTHORIZED.

ARCHIVE_GET_INFORMATION * CALL FUNCTION 'ARCHIVE_GET_INFORMATION' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * IMPORTING * ARCHIVE_DOCUMENT = OLD_DOCUMENT * EXCEPTIONS * OTHERS = 3.

ARCHIVE_GET_INFORMATION * CALL FUNCTION 'ARCHIVE_GET_INFORMATION' * EXPORTING * ARCHIVE_HANDLE = WRITE_HANDLE * IMPORTING * ARCHIVE_DOCUMENT = NEW_DOCUMENT * EXCEPTIONS * INTERNAL_ERROR = 1 * WRONG_ACCESS_TO_ARCHIVE = 2 * OTHERS = 3.

ARCHIVE_GET_CUSTOMIZING_DATA * CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' * EXPORTING * OBJECT = OBJECT_PA_CALC * IMPORTING * COMMIT_COUNT_FOR_DELETE_PRG = MY_COMMIT_COUNT * EXCEPTIONS * OBJECT_NOT_FOUND = ERROR_OBJECT_NOT_FOUND * OTHERS = ERROR_OTHERS.

PA_CALC_SET_OR_GET_MOLGA * CALL FUNCTION 'PA_CALC_SET_OR_GET_MOLGA' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * IMPORTING * MOLGA_OUT = L_MOLGA * EXCEPTIONS * NO_MOLGA_FOUND = 1.

ARCHIVE_GET_NEXT_OBJECT * CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * IMPORTING * OBJECT_ID = L_OBJECT_ID * EXCEPTIONS * END_OF_FILE = ERROR_END_OF_FILE * FILE_IO_ERROR = ERROR_FILE_IO_ERROR * INTERNAL_ERROR = ERROR_INTERNAL_ERROR * OPEN_ERROR = ERROR_OPEN_ERROR * WRONG_ACCESS_TO_ARCHIVE = ERROR_WRONG_ACCESS_TO_ARCHIVE.

ARCHIVE_GET_NEXT_OBJECT * CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * IMPORTING * OBJECT_ID = L_OBJECT_ID * EXCEPTIONS * END_OF_FILE = ERROR_END_OF_FILE * FILE_IO_ERROR = ERROR_FILE_IO_ERROR * INTERNAL_ERROR = ERROR_INTERNAL_ERROR * OPEN_ERROR = ERROR_OPEN_ERROR * WRONG_ACCESS_TO_ARCHIVE = ERROR_WRONG_ACCESS_TO_ARCHIVE.

ARCHIVE_ROLLBACK_WORK * CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

ARCHIVE_ROLLBACK_WORK * CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

ARCHIVE_RELOAD_OBJECT_DATA * CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * EXCEPTIONS * INTERNAL_ERROR = ERROR_INTERNAL_ERROR * WRONG_ACCESS_TO_ARCHIVE = ERROR_WRONG_ACCESS_TO_ARCHIVE.

PA_CALC_GET_PRDAT * CALL FUNCTION 'PA_CALC_GET_PRDAT' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * IMPORTING * OLD_PRDAT = MY_OLD_PRDAT.

ARCHIVE_SAVE_OBJECT * CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' * EXPORTING * ARCHIVE_HANDLE = WRITE_HANDLE * EXCEPTIONS * FILE_IO_ERROR = ERROR_FILE_IO_ERROR * INTERNAL_ERROR = ERROR_INTERNAL_ERROR * OPEN_ERROR = ERROR_OPEN_ERROR * TERMINATION_REQUESTED = ERROR_TERMINATION_REQUESTED * WRONG_ACCESS_TO_ARCHIVE = ERROR_WRONG_ACCESS_TO_ARCHIVE.

RP_ARCHIVE_CHANGE_CA * CALL FUNCTION 'RP_ARCHIVE_CHANGE_CA' * EXPORTING * PERNR_ARC = L_OBJECT_ID-PERNR * ARCH_RUN_OLD = OLD_DOCUMENT * ARCH_RUN_NEW = NEW_DOCUMENT * EXCEPTIONS * OTHERS = 1.

RP_ARCHIVE_KEY_READ_RECOVER * CALL FUNCTION 'RP_ARCHIVE_KEY_READ_RECOVER' * EXPORTING * PERNR_ARC = P_PERNR * FROM_DATE = REL_FROM * MOLGA = L_MOLGA ** importing ** min_fpbeg = * TABLES * TAB_ARCH_RUN = L_ARCH_RUN ** tab_rgdir_ca = ** pcl2_key = * EXCEPTIONS * OTHERS = ERROR_OTHERS.

ARCHIVE_CLOSE_FILE * CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * ARCHIVE_HANDLE = READ_HANDLE * EXCEPTIONS * INTERNAL_ERROR = ERROR_INTERNAL_ERROR * WRONG_ACCESS_TO_ARCHIVE = ERROR_WRONG_ACCESS_TO_ARCHIVE.

RP_ARCHIVE_DELETE_CA_9 * CALL FUNCTION 'RP_ARCHIVE_DELETE_CA_9' * EXPORTING * PERNR_ARC = ALL_PERNRS-PERNR * FROM_DATE = '18000101' * molga = g_molga * EXCEPTIONS * OTHERS = 1.

RP_ARCHIVE_DELETE_CA * CALL FUNCTION 'RP_ARCHIVE_DELETE_CA' * EXPORTING * PERNR_ARC = ALL_PERNRS-PERNR * FROM_DATE = '18000101' * molga = g_molga * 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 RPAR1LX0 or its description.