<?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 BAPI_ABSENCE_CREATE for creating leave request. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415019#M1548563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below function modules in sequence&lt;/P&gt;&lt;P&gt;1) HR_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;2) BAPI_ABSENCE_CREATE &lt;/P&gt;&lt;P&gt;3) HR_EMPLOYEE_DEQUEUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;Using this method, an Absences infotype record (2001) can be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Messages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key fields used by this method are described under the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method can only be used if the ENQUEUE method has already been called up for the business object EMPLOYEE. For more information on the ENQUEUE method, please see the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Create absence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution! This API method only writes the Absences infotype (2001). It should no longer be used as it can lead to inconsistent time data. Instead, please use the corresponding 'ManageCreation' API method for business object BUS7007.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SaiRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 09:20:48 GMT</pubDate>
    <dc:creator>former_member196280</dc:creator>
    <dc:date>2011-02-07T09:20:48Z</dc:date>
    <item>
      <title>Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415014#M1548558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am using FM &lt;STRONG&gt;BAPI_ABSENCE_CREATE&lt;/STRONG&gt; for creating leave request. I am passing all the data into this as import parameter. When i am executing this return table gives statement  &lt;STRONG&gt;EPG184Employee/applicant is not locked yet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what i have to follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks And Regards&lt;/P&gt;&lt;P&gt;Ranjeet Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 06:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415014#M1548558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T06:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415015#M1548559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranjeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the BAPI documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key fields used by this method are described under the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method can only be used if the ENQUEUE method has already been called up for the business object EMPLOYEE. For more information on the ENQUEUE method, please see the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 09:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415015#M1548559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T09:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415016#M1548560</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;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;You may also refer links below&lt;/P&gt;&lt;P&gt;&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="9154675"&gt;&lt;/A&gt;&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="7593219"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 09:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415016#M1548560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415017#M1548561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Now it showing &lt;STRONG&gt;055Fill in all required entry fields&lt;/STRONG&gt; in the return table. Even i filled all the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks And Regards&lt;/P&gt;&lt;P&gt;Ranjeet Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 10:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415017#M1548561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T10:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415018#M1548562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you pass all the required parameters ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Employeenumber&lt;/P&gt;&lt;P&gt;2) Validitybegin&lt;/P&gt;&lt;P&gt;3) Validityend&lt;/P&gt;&lt;P&gt;4) Absencetype&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 06:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415018#M1548562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-07T06:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415019#M1548563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below function modules in sequence&lt;/P&gt;&lt;P&gt;1) HR_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;2) BAPI_ABSENCE_CREATE &lt;/P&gt;&lt;P&gt;3) HR_EMPLOYEE_DEQUEUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;Using this method, an Absences infotype record (2001) can be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Messages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key fields used by this method are described under the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method can only be used if the ENQUEUE method has already been called up for the business object EMPLOYEE. For more information on the ENQUEUE method, please see the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Create absence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution! This API method only writes the Absences infotype (2001). It should no longer be used as it can lead to inconsistent time data. Instead, please use the corresponding 'ManageCreation' API method for business object BUS7007.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SaiRam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 09:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415019#M1548563</guid>
      <dc:creator>former_member196280</dc:creator>
      <dc:date>2011-02-07T09:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415020#M1548564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sai Ram,&lt;/P&gt;&lt;P&gt;Thank you for your valuable reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create the absence of employee in SAP using BAPI.&lt;/P&gt;&lt;P&gt;But my problem is sometimes I am getting blank message in RETURN.&lt;/P&gt;&lt;P&gt;How can I display correct RETURN message in VB.NET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used following method for displaying RETURN value after calling "BAPI_ABSENCE_CREATE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim output As Object&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;output = callBapi.imports("RETURN")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MsgBox(output ("MESSAGE").ToString())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 04:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415020#M1548564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-14T04:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module BAPI_ABSENCE_CREATE for creating leave request.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415021#M1548565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI hishafi 	,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please tell me how u solved the issue , &lt;/P&gt;&lt;P&gt;I was getting "EPG184Employee/applicant is not locked yet " then I used BAPI_EMPLOYEE_ENQUEUE &amp;amp; BAPI_EMPLOYEE_DEQUEUE, and now in the return table i get the message "055Fill in all required entry fields", but i have specified all the mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Sudhish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-absence-create-for-creating-leave-request/m-p/7415021#M1548565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-23T14:53:17Z</dc:date>
    </item>
  </channel>
</rss>

