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
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
Below is a list of transaction codes which are relevant to this SAP report
PC00_M19_ICHR - Create Chr.all.payments in IT0015
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: 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.
INCLUDE MPZDAT03.
INCLUDE RPC1PC00.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPPPXM00.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPICHRP0 - HR-PT: Batch input to generate Christmas allowance wts in IT0015 RPICHRP0 - HR-PT: Batch input to generate Christmas allowance wts in IT0015 RPICDSN0 - Batch Input Session to Introduce New Prof. Group Codes for IT0409 RPICDSN0 - Batch Input Session to Introduce New Prof. Group Codes for IT0409 RPICASN0 - Batch input for infotypes with reference to group registration RPICASN0 - Batch input for infotypes with reference to group registration