SAP Reports / Programs | Payroll | France(PY-FR) SAP PY

RPIAAIF2 SAP ABAP INCLUDE - documentation and ABAP source code







RPIAAIF2 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 RPIAAIF2 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 RPIAAIF2. "Basic submit
SUBMIT RPIAAIF2 AND RETURN. "Return to original report after report execution complete
SUBMIT RPIAAIF2 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 RPIAAIF2

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'.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING OBJECT = OBJECT NR_RANGE_NR = RANGE QUANTITY = QUANTITY IMPORTING RETURNCODE = RETCODE NUMBER = ATTEST-FIRM-NUM EXCEPTIONS OBJECT_NOT_FOUND = 1 INTERVAL_NOT_FOUND = 2 NUMBER_RANGE_NOT_INTERN = 3.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr arbgb = arbgb msgty = msgty msgno = msgno msgv1 = msgv1 msgv2 = msgv2 msgv3 = msgv3 msgv4 = msgv4.

OPEN_FORM call function 'OPEN_FORM' exporting application = 'TX' device = 'PRINTER' form = 'HR_FR_AAI_2000B' importing result = result exceptions canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 others = 6.

START_FORM call function 'START_FORM' exporting form = 'HR_FR_AAI_2000B' language = sy-langu exceptions others = 1.

WRITE_FORM call function 'WRITE_FORM' exporting element = 'ITEM_SALAIRE' type = 'BODY' window = 'MAIN' exceptions others = 1.

END_FORM call function 'END_FORM' exceptions others = 1.

CLOSE_FORM call function 'CLOSE_FORM' 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 RPIAAIF2 or its description.