<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Leave Request Creation and ptreq_header table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814193#M1469405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a leave request using the FMs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'PT_ARQ_REQUEST_PREPARE', 'PT_ARQ_REQUEST_CHECK' and 'PT_ARQ_REQUEST_EXECUTE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Partha Kar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 12:39:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-13T12:39:25Z</dc:date>
    <item>
      <title>Leave Request Creation and ptreq_header table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814193#M1469405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a leave request using the FMs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'PT_ARQ_REQUEST_PREPARE', 'PT_ARQ_REQUEST_CHECK' and 'PT_ARQ_REQUEST_EXECUTE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Partha Kar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814193#M1469405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T12:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Leave Request Creation and ptreq_header table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814194#M1469406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Partha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the below thread.&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_erp60/helpdata/en/01/2bec40db328431e10000000a1550b0/content.htm]&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5531547"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;[http://www.sapfans.com/forums/viewtopic.php?f=11&amp;amp;t=318572]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the parameter 'IM_COMMAND' of Function module 'PT_ARQ_REQUEST_EXECUTE'  which command you are passing.   table PTREQ_HEADER should have your leave request number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prasath Arivazhagan on Apr 13, 2010 3:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814194#M1469406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T12:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Leave Request Creation and ptreq_header table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814195#M1469407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prasath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing the value 'EXECUTE_SEND' in the im_command of FM PT_ARQ_REQUEST_EXECUTE, and i am also passing the request id fetched from the previous FMs 'PT_ARQ_REQUEST_CHECK' and 'PT_ARQ_REQUEST_PREPARE', will that create the leave in the system ? The request ID is geting generated but it is not present in the ptreq_header table, what can be the possible reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Partha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 13:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814195#M1469407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Leave Request Creation and ptreq_header table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814196#M1469408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Partha ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you are passing the Correct command to the Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*Using program &lt;STRONG&gt;RPTARQUIATEST&lt;/STRONG&gt; create a request and check whether its updating table &lt;STRONG&gt;PTREQ_HEADER&lt;/STRONG&gt;. if it works use the below points to fix your program issue.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below Function modules are called in a same sequence in that above mentioned perform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'PT_ARQ_REQUEST_PREPARE'&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'PT_ARQ_REQUEST_CHECK'&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'PT_ARQ_REQUEST_EXECUTE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the code of the perform of program RPTARQUIATEST and check whether you are missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 14:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814196#M1469408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Leave Request Creation and ptreq_header table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814197#M1469409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me the FMs for leave request modification?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Partha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 06:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814197#M1469409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T06:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Leave Request Creation and ptreq_header table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814198#M1469410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Partha ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard webservice ( &lt;STRONG&gt;ECC_EmpLeaveReqChgRC&lt;/STRONG&gt; ) available in ECC side for changing the Employee leave request( TCODE - SPROXY ). Please get help from your PI guys to check whether it  could be useful for you. if you need , you can replicate the same for your requirement.  given below link will give you the details about the webservice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/esoa_erp2004/helpdata/en/44/786ebfd62455cee10000000a1553f6/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some classes related to Leave request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_PT_REQ_HEADER&lt;/P&gt;&lt;P&gt;CL_PT_REQ_ITEMS&lt;/P&gt;&lt;P&gt;CL_PT_REQ_REQUEST&lt;/P&gt;&lt;P&gt;CL_PT_REQUEST&lt;/P&gt;&lt;P&gt;CL_PT_REQUEST_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if you want to change the status of the leave request. you can refer the below thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1571604"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 09:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-request-creation-and-ptreq-header-table/m-p/6814198#M1469410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-15T09:08:13Z</dc:date>
    </item>
  </channel>
</rss>

