<?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: Problem in using BAPI_HU_CREATE ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815049#M1588372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i am not clearing anything.&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;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2011 09:06:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-05T09:06:25Z</dc:date>
    <item>
      <title>Problem in using BAPI_HU_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815047#M1588370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_HU_CREATE to create HUs, it is creating HU items. that s ok. after that i am using &lt;/P&gt;&lt;P&gt;BAPI_HU_CHANGE_HEADER, to change some header details. this is also ok. fine. What i observed here is i checked in VEPO table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example : i created hu for 2 line items, BAPI_HU_CREATE creating 2 line items it is taking vbeln different no. and posnr also 1 and 2. after BAPI_HU_CHANGE_HEADER again 2 more line itesm created with correct vbeln and posnr as 10 20 both are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why it is happened like this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one more  is.. in VEKP Table first in BAPI_HU_CREATE,  VPOBJ and VPOBJKEY values are different i changed these values in&lt;/P&gt;&lt;P&gt;BAPI_HU_CHANGE_HEADER , so correct values are coming, that means correct vbeln and posnr. before why it is taking &lt;/P&gt;&lt;P&gt;VPOBJKEY randomly?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now total 4 records are there in table?? What should i do now?&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;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 06:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815047#M1588370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-05T06:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in using BAPI_HU_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815048#M1588371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you are clearing the variables appropriately, i mean before you start building the data for "BAPI_HU_CREATE" are you doing a clear/refresh on the corresponding variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 07:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815048#M1588371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-05T07:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in using BAPI_HU_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815049#M1588372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i am not clearing anything.&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;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 09:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815049#M1588372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-05T09:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in using BAPI_HU_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815050#M1588373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the contrary, what i meant was when you are calling the BAPI - "BAPI_HU_CREATE" is the input data as you want it to be, have tried checking the values just before the call is made?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 09:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-bapi-hu-create/m-p/7815050#M1588373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-05T09:54:48Z</dc:date>
    </item>
  </channel>
</rss>

