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

RPTARQPOST SAP ABAP Report - Leave Requests: Post







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


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





Text Symbol: 015 = Personnel No. of Requester
Text Symbol: 016 = Name
Text Symbol: 017 = Name of Requester
Text Symbol: 018 = Name of Requester
Text Symbol: 019 = ID
Text Symbol: 020 = Workflow ID
Text Symbol: 022 = Req. GUID
Text Symbol: 023 = Request GUID
Text Symbol: 042 = Class
Text Symbol: 043 = Message Class
Text Symbol: 044 = Message Class
Text Symbol: 045 = Number
Text Symbol: 046 = Message Number


INCLUDES used within this REPORT RPTARQPOST

INCLUDE RPTREQ_CONST.
INCLUDE RPTARQ_CONST.
INCLUDE RPTREQ_PROTOCOL_BATCH.
INCLUDE RPTREQ_TRANSACTION.
INCLUDE RPTREQPOST_SELSCREEN.
INCLUDE RPTREQPOST_PROCESSING.


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:

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



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