RPTARQPOST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to post approved leave requests as absences...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 RPTARQPOST into the relevant SAP transactions such as SE38 or SE80
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: MAX_UPD = D .
Selection Text: UPDATE = Test Run
Selection Text: SHOWGUID = Display Internal Request ID
Selection Text: PROTLIST = Display
Selection Text: PPERNR = Personnel Number
Selection Text: MATCHIT = Post with Infotype Match
Title: Leave Requests: Post
Text Symbol: 048 = Message
Text Symbol: 049 = Message
Text Symbol: 050 = Time Sent
Text Symbol: 051 = First Send Time
Text Symbol: 052 = Restrict to Personnel Number
Text Symbol: 053 = Records to Be Processed
Text Symbol: P01 = Log of Leave Requests Posted that Have the Status "Approved"
Text Symbol: P02 = No. of Successful Records:
Text Symbol: P03 = No. of Records with Errors:
Text Symbol: P04 = (Records were added to the time administrator's worklist)
Text Symbol: P05 = Test Run:
Text Symbol: P06 = No. of Locked Records:
Text Symbol: P07 = (Records will be transferred again in the next run)
Text Symbol: SA1 = Approved and Incorrect
Text Symbol: SA2 = Approved Only
Text Symbol: SA3 = Only Those with Errors
Text Symbol: TY1 = Type
Text Symbol: TY2 = Message Type
Text Symbol: 047 = Message Number
Text Symbol: 001 = Database
Text Symbol: 002 = Log
Text Symbol: 003 = Processing of Incorrect Sentences
Text Symbol: 004 = Ignore for Posting
Text Symbol: 005 = Selected
Text Symbol: 007 = Number
Text Symbol: 008 = Number
Text Symbol: 009 = Request Number
Text Symbol: 010 = Send Date
Text Symbol: 011 = First Send Date
Text Symbol: 013 = Person. No
Text Symbol: 014 = Personnel Number
INCLUDE RPTREQ_CONST.
INCLUDE RPTARQ_CONST.
INCLUDE RPTREQ_PROTOCOL_BATCH.
INCLUDE RPTREQ_TRANSACTION.
INCLUDE RPTREQPOST_SELSCREEN.
INCLUDE RPTREQPOST_PROCESSING.
No SAP DATABASE tables are accessed within this REPORT code!
ICON_CREATE * CALL FUNCTION 'ICON_CREATE' * EXPORTING * name = icon_okay * text = text-004 * info = text-005 * IMPORTING * RESULT = ignoerr.
ICON_CREATE * CALL FUNCTION 'ICON_CREATE' * EXPORTING * name = icon_okay * text = text-004 * info = text-005 * IMPORTING * RESULT = ignoerr.
ENQUEUE_EPTREQ CALL FUNCTION 'ENQUEUE_EPTREQ' EXPORTING mode_ptreq_header = 'E' request_id =
->request_id _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_EPTREQ * CALL FUNCTION 'DEQUEUE_EPTREQ' "DEL Note 999620 * EXPORTING "DEL Note 999620 * request_id =
->request_id. "DEL Note 999620
DEQUEUE_EPTREQ CALL FUNCTION 'DEQUEUE_EPTREQ' "INS Note 999620 EXPORTING "INS Note 999620 request_id =
->request_id "INS Note 999620 _scope = '1'. "Note1470672
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.