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

RPICHRP0 SAP ABAP Report - HR-PT: Batch input to generate Christmas allowance wts in IT0015







RPICHRP0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for To create a batch input session for the insertion of records in Additional Payments (infotype 0015) for the processing of Christmas allowance and to allow the execution of batch input transactions online...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPICHRP0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M19_ICHR - Create Chr.all.payments in IT0015


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 RPICHRP0. "Basic submit
SUBMIT RPICHRP0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPICHRP0 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: UTILIZ = User for background processing
Selection Text: URLJJ = Allowance year
Selection Text: REPLACE = Replace all existing records
Selection Text: NAMEBTCI = Name of batch input session
Title: HR-PT: Batch input to generate Christmas allowance wts in IT0015
Text Symbol: YEA = Selection period should belong to allowance year
Text Symbol: VRF = No expired leave
Text Symbol: UNK = Unknown error. Please contact SAP administrator
Text Symbol: SUP = No remaining leave
Text Symbol: NEI = No expired leave or remaining leave
Text Symbol: IVF = Illegal value in feature PCPPT
Text Symbol: EXC = No leave entitlement record in IT0015
Text Symbol: CAL = No year specified
Text Symbol: BT1 = BTC session and user have to be filled in
Text Symbol: BD6 = No.of records deleted:
Text Symbol: BD5 = Number of records created:
Text Symbol: BD4 = Execution terminated with errors
Text Symbol: BD3 = Execution terminated without errors
Text Symbol: BD2 = Function BDC_INSERT returned error of level
Text Symbol: 101 = Evaluated on
Text Symbol: 043 = Error reporting
Text Symbol: 042 = Creation of Christmas allowance payment for
Text Symbol: 011 = Year
Text Symbol: 010 = WType
Text Symbol: 009 = Days
Text Symbol: 007 = Months
Text Symbol: 006 = PayDate
Text Symbol: 003 = . Period
Text Symbol: 002 = Name
Text Symbol: 001 = Personnel no.


INCLUDES used within this REPORT RPICHRP0

INCLUDE MPZDAT03.
INCLUDE RPC1PC00.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPPPXM00.


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_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING NO_POPUP = 'X' NO_PRINT = ' ' * NO_IMG = ' ' * LINESIZE = SY-LINSZ TABLES ERROR = error_tab EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST * CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' ** EXPORTING ** NO_POPUP = ' ' ** NO_PRINT = 'X' ** NO_IMG = ' ' ** LINESIZE = SY-LINSZ * TABLES * ERROR = error_tab * EXCEPTIONS * INVALID_LINESIZE = 1 * OTHERS = 2.

BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = namebtci user = utiliz.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'PA30' TABLES DYNPROTAB = bdc_tab EXCEPTIONS INTERNAL_ERROR = 1 NOT_OPEN = 2 QUEUE_ERROR = 3 TCODE_INVALID = 4 PRINTING_INVALID = 5 POSTING_INVALID = 6 OTHERS = 7.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'PA30' TABLES DYNPROTAB = bdc_tab EXCEPTIONS INTERNAL_ERROR = 1 NOT_OPEN = 2 QUEUE_ERROR = 3 TCODE_INVALID = 4 PRINTING_INVALID = 5 POSTING_INVALID = 6 OTHERS = 7.

BDC_CLOSE_GROUP call function 'BDC_CLOSE_GROUP'.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES ERROR = error_tab EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgty = iv_msgty i_msgid = iv_msgid i_msgno = iv_msgno i_msgv1 = iv_msgv1 i_msgv2 = iv_msgv2 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = iv_stcnt i_nodid = iv_nodid i_nodpa = iv_nodpa i_msgid = iv_msgid i_msgty = iv_msgty i_msgno = iv_msgno i_msgv1 = iv_msgv1 i_msgv2 = iv_msgv2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile.



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