SAP Reports / Programs | Payroll(PY) SAP PY

RPCDNPT9_BATCH SAP ABAP INCLUDE - RPCDNPT9BATCH







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

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_CZ_NEMPRI_BATCH_TO_XML CALL FUNCTION 'HR_CZ_NEMPRI_BATCH_TO_XML' EXPORTING it_data_key = lo_batch->mt_data_key IMPORTING et_xml_document = lt_xml_document EXCEPTIONS OTHERS = 1.

HR_CZ_NEMPRI_XML_TO_XSTRING CALL FUNCTION 'HR_CZ_NEMPRI_XML_TO_XSTRING' EXPORTING io_xml_document = lo_xml_document IMPORTING ev_xstring = lv_xstring.

HR_CZ_NEMPRI_BATCH_STATUS_SET CALL FUNCTION 'HR_CZ_NEMPRI_BATCH_STATUS_SET' EXPORTING iv_seqnr = lo_batch->ms_xml_key-seqnr iv_ctran = lv_ctran iv_ctran_set = lv_ctran_set iv_cstat = lv_cstat iv_cstat_set = abap_true it_error_key = lt_error_key iv_repid = lv_repid EXCEPTIONS not_found = 1 unable_to_lock = 2 unable_to_set = 3 error_key_tab_empty = 4 error_key_tab_not_empty = 5 error_key_not_found = 6 OTHERS = 7.

HR_CZ_NEMPRI_BATCH_CHECK CALL FUNCTION 'HR_CZ_NEMPRI_BATCH_CHECK' EXPORTING iv_seqnr = lo_batch->ms_xml_key-seqnr IMPORTING et_messg = lt_messg EXCEPTIONS not_found = 1.

HR_CZ_NEMPRI_BATCH_REGENERATE CALL FUNCTION 'HR_CZ_NEMPRI_BATCH_REGENERATE' EXPORTING iv_seqnr = lo_batch->ms_xml_key-seqnr iv_repid = lv_repid IMPORTING eo_xml_document = lo_xml_document ev_xml_xstring = lv_xml_xstring EXCEPTIONS not_found = 1 unable_to_lock = 2 too_many_data_entries = 3 unable_to_regenerate = 4 OTHERS = 5.

HR_CZ_NEMPRI_BATCH_STATUS_SET CALL FUNCTION 'HR_CZ_NEMPRI_BATCH_STATUS_SET' EXPORTING iv_seqnr = lo_batch->ms_xml_key-seqnr iv_ctran = 'D' iv_ctran_set = abap_true iv_repid = lv_repid EXCEPTIONS not_found = 1 unable_to_lock = 2 unable_to_set = 3 OTHERS = 3.



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