Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Leave Request Creation and ptreq_header table


I am creating a leave request using the FMs


After that, it is generating a request ID, how do i check that the leave has been created in the system. I am presently cheking in the table ptreq_header, however the request ID is not present there? Am i on the right track? Please guide. How else can i find the request id and have proof that the leave has been created in the system?


Partha Kar

Former Member
Former Member replied

Hi Partha ,

you are passing the Correct command to the Function module.


*Using program RPTARQUIATEST create a request and check whether its updating table PTREQ_HEADER. if it works use the below points to fix your program issue.*

In Program RPTARQUIATEST in the line No 514 a perform request_create_antrag is used ( inside the When 102 statement ). its is used in standard for creating the leave request.

below Function modules are called in a same sequence in that above mentioned perform.




Please check the code of the perform of program RPTARQUIATEST and check whether you are missing something.

Hope it helps.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question