<?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 Re: Function module to create attendance (IT2002) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665026#M1288362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same Problem.&lt;/P&gt;&lt;P&gt;I created a Fuba in which i read som Trip Data with BAPI_TRIP_CHECK_STATUS before i am using the FUBA BAPI_PTMGRATTABS_MNGCREATION.  This way i am getting the exactly same dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If i read the trip data not with the sap_bapi but with a simple select, then all works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least it works if i test the Fuba.&lt;/P&gt;&lt;P&gt;But wenn i use my Fuba in a workflow, the stepp stays in state 'running', but nothing is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greatings&lt;/P&gt;&lt;P&gt;  Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 09:02:27 GMT</pubDate>
    <dc:creator>former_member12988</dc:creator>
    <dc:date>2011-05-27T09:02:27Z</dc:date>
    <item>
      <title>Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665022#M1288358</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;Is there any function module to create IT2002 - Attendance. I am experiencing error in HR_INFOTYPE_OPERATION while trying to create IT2002. BDC will be considered as last option. Please suggest some other method if any. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 03:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665022#M1288358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-12T03:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665023#M1288359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What error you are getting..?? Give more information..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 04:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665023#M1288359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-12T04:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665024#M1288360</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;        Check using this one "BAPI_PTMGRATTABS_MNGCREATION". This FM is support for create Attendance and Absence details. &lt;/P&gt;&lt;P&gt;Note : Attendance details are stored in PA2002 table and Absence are stored in PA2001.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 04:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665024#M1288360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-12T04:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665025#M1288361</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;Thanks for the refering FM BAPI_PTMGRATTABS_MNGCREATION. But i am getting the same error when i used FM HR_INFOTYPE_OPERATION. Error "UNCAUGHT_EXCEPTION - CX_HRPA_INVALID_PARAMETER". Any idea on this. Parameters passed to FM : PERNR , Att type and Start and end date.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 05:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665025#M1288361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-12T05:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665026#M1288362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same Problem.&lt;/P&gt;&lt;P&gt;I created a Fuba in which i read som Trip Data with BAPI_TRIP_CHECK_STATUS before i am using the FUBA BAPI_PTMGRATTABS_MNGCREATION.  This way i am getting the exactly same dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If i read the trip data not with the sap_bapi but with a simple select, then all works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least it works if i test the Fuba.&lt;/P&gt;&lt;P&gt;But wenn i use my Fuba in a workflow, the stepp stays in state 'running', but nothing is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greatings&lt;/P&gt;&lt;P&gt;  Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 09:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665026#M1288362</guid>
      <dc:creator>former_member12988</dc:creator>
      <dc:date>2011-05-27T09:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665027#M1288363</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;USe.,  BAPI_ABSENCE_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you call the BAPI to update the data use BAPI BAPI_EMPLOYEE_ENQUEUE to lock the employee so that mean time no one else update the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call the BAPI BAPI_ABSENCE_CREATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then unlock the employee with BAPI BAPI_EMPLOYEE_DEQUEUE, Unlock employee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the Required Parameters: Employeenumber Validitybegin  Validityend  Absencetype&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 09:20:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665027#M1288363</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-05-27T09:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function module to create attendance (IT2002)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665028#M1288364</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;Thanks for the quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use the BAPI BAPI_ABSENCE_CREATE pecause this will write on it2001 i have to write at I2002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did lock the employee, and i did unlock it afterwards, and i did call a commit then.&lt;/P&gt;&lt;P&gt;I also passed exactly those parameters you mentioned, plus the times for end and beginning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i said it is working fine if i test the Fuba, or even the BOR-Objekt-Mehtode which uses this Fuba, but when it is called from Workflow nothing happens and the WF gets stucked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the docu of the Fuba  BAPI_ABSENCE_CREATE there is said we should use the Methode of BUS7007.&lt;/P&gt;&lt;P&gt;In this Methode once again the FUba BAPI_PTMGRATTABS_MNGCREATION is used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 10:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-create-attendance-it2002/m-p/5665028#M1288364</guid>
      <dc:creator>former_member12988</dc:creator>
      <dc:date>2011-05-27T10:54:42Z</dc:date>
    </item>
  </channel>
</rss>

