SAP Reports / Programs | Personnel Time Management(PT) SAP PT

RPTEXIN2 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ENQUEUE_EPTEXENQ CALL FUNCTION 'ENQUEUE_EPTEXENQ' EXPORTING pernr = ls_ptex2000_unique-pernr "Note 1774505 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

CHECK_P2000_POSTED CALL FUNCTION 'CHECK_P2000_POSTED' EXPORTING pernr = ls_ptex2000-pernr begda = ls_ptex2000-begda endda = ls_ptex2000-endda logsys = ls_ptex2000-logsys awtyp = ls_ptex2000-awtyp awkey = ls_ptex2000-awkey IMPORTING found = found.

CHECK_PTEX2000 CALL FUNCTION 'CHECK_PTEX2000' EXPORTING logsys = ls_ptex2000-logsys awtyp = ls_ptex2000-awtyp awkey = ls_ptex2000-awkey stokz = yes IMPORTING found = found_sto.

ENQUEUE_EPTEXENQ * CALL FUNCTION 'ENQUEUE_EPTEXENQ' * EXPORTING * pernr = pernrtab * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 3.

CHECK_P2000_POSTED * CALL FUNCTION 'CHECK_P2000_POSTED' * EXPORTING * pernr = ptex2000-pernr * begda = ptex2000-begda * endda = ptex2000-endda * logsys = ptex2000-logsys * awtyp = ptex2000-awtyp * awkey = ptex2000-awkey * IMPORTING * found = found.

CHECK_PTEX2000 * CALL FUNCTION 'CHECK_PTEX2000' * EXPORTING * logsys = ptex2000_old-logsys * awtyp = ptex2000_old-awtyp * awkey = ptex2000_old-awkey * stokz = yes * IMPORTING * found = found_sto.

DEQUEUE_EPTEXENQ CALL FUNCTION 'DEQUEUE_EPTEXENQ' EXPORTING pernr = ls_ptex2000_unique-pernr " Note 1774505.

ENQUEUE_EPPRELE CALL FUNCTION 'ENQUEUE_EPPRELE' "lux EXPORTING "lux pernr = ls_ptex2000_unique-pernr "Note 1774505 EXCEPTIONS "lux foreign_lock = 1 "lux system_failure = 2 "lux OTHERS = 3.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' "lux EXPORTING "lux pernr = ls_ptex2000_unique-pernr. "Note 1774505

ENQUEUE_EPTEXENQ CALL FUNCTION 'ENQUEUE_EPTEXENQ' EXPORTING pernr = ls_ptex2000_unique-pernr "Note 1774505 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' "XZQ EXPORTING "XZQ pernr = ls_ptex2000_unique-pernr. "Note 1774505

ENQUEUE_EPPRELE * CALL FUNCTION 'ENQUEUE_EPPRELE' "lux * EXPORTING "lux * pernr = pernrtab "lux * EXCEPTIONS "lux * foreign_lock = 1 "lux * system_failure = 2 "lux * OTHERS = 3. "lux

DEQUEUE_EPPRELE * CALL FUNCTION 'DEQUEUE_EPPRELE' "lux * EXPORTING "lux * pernr = pernrtab. "lux

ENQUEUE_EPTEXENQ * CALL FUNCTION 'ENQUEUE_EPTEXENQ' * EXPORTING * pernr = pernrtab * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 3.

DEQUEUE_EPPRELE * CALL FUNCTION 'DEQUEUE_EPPRELE' "XZQ * EXPORTING "XZQ * pernr = pernrtab. "XZQ

PTEX2000_UPDATE_WITH_BLP CALL FUNCTION 'PTEX2000_UPDATE_WITH_BLP' "XZQ EXPORTING "XZQ liste = protokol "XZQ testlauf = testlauf "XZQ TABLES "XZQ iptex2000 = iptex2000 "XZQ iptexlst = iptexlst "XZQ return = return "XZQ glob_errlist = glob_errlist "XZQ CHANGING "XZQ datasets_failed = datasets_failed "XZQ datasets_ok = datasets_ok. "XZQ

PTEX2000_BATCH_TRANSFER CALL FUNCTION 'PTEX2000_BATCH_TRANSFER' EXPORTING online = online liste = protokol TABLES iptex2000 = iptex2000 iptexlst = iptexlst return = return CHANGING datasets_failed = datasets_failed datasets_ok = datasets_ok.

DEQUEUE_EPTEXENQ CALL FUNCTION 'DEQUEUE_EPTEXENQ' EXPORTING pernr = ls_ptex2000_unique-pernr " Note 1774505.

DEQUEUE_EPPRELE





CALL FUNCTION 'DEQUEUE_EPPRELE' "XZQ EXPORTING "XZQ pernr = ls_ptex2000_unique-pernr. " Note 1774505. "XZQ

CATS_BUILD_SEND_MAIL CALL FUNCTION 'CATS_BUILD_SEND_MAIL' EXPORTING number = num datasets_ok = datasets_ok datasets_failed = datasets_failed TABLES return = return EXCEPTIONS OTHERS = 1.

ENQUEUE_EPPRELE CALL FUNCTION 'ENQUEUE_EPPRELE' "lux EXPORTING "lux pernr = ls_ptex2000_unique-pernr "Note 1774505 EXCEPTIONS "lux foreign_lock = 1 "lux system_failure = 2 "lux OTHERS = 3.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' "lux EXPORTING "lux pernr = ls_ptex2000_unique-pernr. "Note 1774505

ENQUEUE_EPTEXENQ CALL FUNCTION 'ENQUEUE_EPTEXENQ' EXPORTING pernr = ls_ptex2000_unique-pernr "Note 1774505 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' "XZQ EXPORTING "XZQ pernr = ls_ptex2000_unique-pernr. "Note 1774505

ENQUEUE_EPPRELE * CALL FUNCTION 'ENQUEUE_EPPRELE' "lux * EXPORTING "lux * pernr = pernrtab "lux * EXCEPTIONS "lux * foreign_lock = 1 "lux * system_failure = 2 "lux * OTHERS = 3. "lux

DEQUEUE_EPPRELE * CALL FUNCTION 'DEQUEUE_EPPRELE' "lux * EXPORTING "lux * pernr = pernrtab. "lux

ENQUEUE_EPTEXENQ * CALL FUNCTION 'ENQUEUE_EPTEXENQ' * EXPORTING * pernr = pernrtab * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 3.

DEQUEUE_EPPRELE * CALL FUNCTION 'DEQUEUE_EPPRELE' "INS 632241 * EXPORTING "INS 632241 * pernr = pernrtab. "INS 632241

PTEX2000_UPDATE_WITH_BLP CALL FUNCTION 'PTEX2000_UPDATE_WITH_BLP' "INS 632241 EXPORTING "INS 632241 liste = protokol "INS 632241 testlauf = testlauf "INS 632241 TABLES "INS 632241 iptex2000 = iptex2000 "INS 632241 iptexlst = iptexlst "INS 632241 return = return "INS 632241 glob_errlist = glob_errlist "INS 632241 CHANGING "INS 632241 datasets_failed = datasets_failed "INS 632241 datasets_ok = datasets_ok. "INS 632241

PTEX2000_BATCH_TRANSFER CALL FUNCTION 'PTEX2000_BATCH_TRANSFER' EXPORTING online = online liste = protokol TABLES iptex2000 = iptex2000 iptexlst = iptexlst return = return CHANGING datasets_failed = datasets_failed datasets_ok = datasets_ok.

DEQUEUE_EPTEXENQ CALL FUNCTION 'DEQUEUE_EPTEXENQ' EXPORTING pernr = ls_ptex2000_unique-pernr " Note 1774505.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' "INS 632241 EXPORTING "INS 632241 pernr = ls_ptex2000_unique-pernr. " Note 1774505. "INS 632241

CATS_BUILD_SEND_MAIL CALL FUNCTION 'CATS_BUILD_SEND_MAIL' EXPORTING number = num datasets_ok = datasets_ok datasets_failed = datasets_failed TABLES return = return 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 RPTEXIN2 or its description.