<?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 BAPI_PTMGRATTABS_MNGCREATION vs BAPI_ABSENCE_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434126#M1052437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to the java and hr experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code for booking leave (infotype 2006)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static final String	BAPI_ADD 						= "BAPI_PTMGRATTABS_MNGCREATION";  // book leave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and so on&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jcoUrlAdd	= mRepository.getFunctionTemplate (BAPI_ADD).getFunction(); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; // Get results&lt;/P&gt;&lt;P&gt; //----&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt; rc 				= jcoUrlAdd.getTableParameterList().getTable ("RETURN").getString ("TYPE");&lt;/P&gt;&lt;P&gt; rcMessage	= jcoUrlAdd.getTableParameterList().getTable ("RETURN").getString ("MESSAGE");&lt;/P&gt;&lt;P&gt;retUrlAdd 		= jcoUrlAdd.getExportParameterList().getStructure ("HRTIMESKEY");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to do the same under the old infotype 2001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using BAPI_ABSENCE_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody tell me, where to find a description of the output (structure or table and fields) or does somebody&lt;/P&gt;&lt;P&gt;have some lines of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Sep 2008 16:14:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-14T16:14:33Z</dc:date>
    <item>
      <title>BAPI_PTMGRATTABS_MNGCREATION vs BAPI_ABSENCE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434126#M1052437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to the java and hr experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code for booking leave (infotype 2006)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static final String	BAPI_ADD 						= "BAPI_PTMGRATTABS_MNGCREATION";  // book leave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and so on&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jcoUrlAdd	= mRepository.getFunctionTemplate (BAPI_ADD).getFunction(); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; // Get results&lt;/P&gt;&lt;P&gt; //----&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt; rc 				= jcoUrlAdd.getTableParameterList().getTable ("RETURN").getString ("TYPE");&lt;/P&gt;&lt;P&gt; rcMessage	= jcoUrlAdd.getTableParameterList().getTable ("RETURN").getString ("MESSAGE");&lt;/P&gt;&lt;P&gt;retUrlAdd 		= jcoUrlAdd.getExportParameterList().getStructure ("HRTIMESKEY");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to do the same under the old infotype 2001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using BAPI_ABSENCE_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody tell me, where to find a description of the output (structure or table and fields) or does somebody&lt;/P&gt;&lt;P&gt;have some lines of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2008 16:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434126#M1052437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-14T16:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PTMGRATTABS_MNGCREATION vs BAPI_ABSENCE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434127#M1052438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hello to the java and hr experts,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; can you please help me.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I am using the following code for booking leave (infotype 2006)&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; static final String	BAPI_ADD 						= "BAPI_PTMGRATTABS_MNGCREATION";  // book leave&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; ... and so on&lt;/P&gt;&lt;P&gt;&amp;gt; ...&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; jcoUrlAdd	= mRepository.getFunctionTemplate (BAPI_ADD).getFunction(); &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;  // Get results&lt;/P&gt;&lt;P&gt;&amp;gt;  //----&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;&amp;gt;  rc 				= jcoUrlAdd.getTableParameterList().getTable ("RETURN").getString ("TYPE");&lt;/P&gt;&lt;P&gt;&amp;gt;  rcMessage	= jcoUrlAdd.getTableParameterList().getTable ("RETURN").getString ("MESSAGE");&lt;/P&gt;&lt;P&gt;&amp;gt; retUrlAdd 		= jcoUrlAdd.getExportParameterList().getStructure ("HRTIMESKEY");&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Now i want to do the same under the old infotype 2001&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; using BAPI_ABSENCE_CREATE&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Can somebody tell me, where to find a description of the output (structure or table and fields) or does somebody&lt;/P&gt;&lt;P&gt;&amp;gt; have some lines of code.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks a lot in advance&lt;/P&gt;&lt;P&gt;&amp;gt; Christian&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*"       EXPORTING
*"             VALUE(RETURN) LIKE  BAPIRETURN1 STRUCTURE  BAPIRETURN1
*"             VALUE(EMPLOYEENUMBER) LIKE  BAPIP2001-PERNR
*"             VALUE(SUBTYPE) LIKE  BAPIP2001-SUBTY
*"             VALUE(OBJECTID) LIKE  BAPIP2001-OBJPS
*"             VALUE(LOCKINDICATOR) LIKE  BAPIP2001-SPRPS
*"             VALUE(VALIDITYBEGIN) LIKE  BAPIP2001-BEGDA
*"             VALUE(VALIDITYEND) LIKE  BAPIP2001-ENDDA
*"             VALUE(RECORDNUMBER) LIKE  BAPIP2001-SEQNR


BAPIRETURN1


TYPE
ID
NUMBER
MESSAGE
LOG_NO
LOG_MSG_NO
MESSAGE_V1
MESSAGE_V2
MESSAGE_V3
MESSAGE_V4

ALL OTHERS ARE SINGLE FIELDS...





&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 08:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434127#M1052438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PTMGRATTABS_MNGCREATION vs BAPI_ABSENCE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434128#M1052439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 06:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-ptmgrattabs-mngcreation-vs-bapi-absence-create/m-p/4434128#M1052439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T06:47:37Z</dc:date>
    </item>
  </channel>
</rss>

