<?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: BAPI_PO_CREATE1 Strange Problem. Plz Help. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046350#M88002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently posted a message : having problem loading BAPI_PO_CREAT1 Structure - POCOND and one of our sdn member (Patrick Yee - thnks) email me a sample to populate this structure :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM populate_pricing .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR: tbl_pocond,&lt;/P&gt;&lt;P&gt;         tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pricing Conditions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tbl_pocond-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_type     = 'PB00'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_value    = tbl_item-netpr.&lt;/P&gt;&lt;P&gt;  tbl_pocond-currency      = tbl_header-waers.&lt;/P&gt;&lt;P&gt;  tbl_pocond-change_id     = 'I'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocond.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_numberx   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_nox   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_type     = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_value    = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-currency      = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-change_id     = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " populate_pricing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested my bapi via t-code SE37 using Patrick's example and sucessfully created a PO, but when i called the BAPI from my custom program using the same code sample to load the POCOND structure i got an error message :&lt;/P&gt;&lt;P&gt; "No Condition determined" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the code you used in laoding your POCOND Structure? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick Yee &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posts: 303 &lt;/P&gt;&lt;P&gt;Registered: 4/20/05  &lt;/P&gt;&lt;P&gt;  Re: BAPI_PO_CREATE1 - help loading item condition !! &lt;/P&gt;&lt;P&gt;Posted: Oct 26, 2005 10:57 PM      Reply      E-mail this post  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following code in my PO Upload program and it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM populate_pricing .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR: tbl_pocond,&lt;/P&gt;&lt;P&gt;         tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pricing Conditions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tbl_pocond-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_type     = 'PB00'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_value    = tbl_item-netpr.&lt;/P&gt;&lt;P&gt;  tbl_pocond-currency      = tbl_header-waers.&lt;/P&gt;&lt;P&gt;  tbl_pocond-change_id     = 'I'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocond.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_numberx   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_nox   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_type     = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_value    = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-currency      = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-change_id     = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " populate_pricing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Oct 2005 00:47:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-29T00:47:37Z</dc:date>
    <item>
      <title>BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046342#M87994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using BAPI_PO_CREATE1 to create several PO's from a text file. I finally achieved that my BAPI to work as wished, with conditions, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem im having is that it works perfectly for the first time in the loop for the creation of the PO, however on the second time of the loop with exactly the same data just the PO number changed for the next PO doesnt work, i get the error of net price must be &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have debugged the program and i have checked that the condition for the net price is there and also i passed it on the POITEM table just to make sure it wasnt that, and it didnt work neither.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz any help will be very appreciated.&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 17:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046342#M87994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T17:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046343#M87995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you COMMIT WORK after each call of the BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 18:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046343#M87995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T18:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046344#M87996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilberto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dou you have (else price BAPIEKPOC-net_price) switched    on the 'Take Price' Items Field ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPIEKPOC-po_price  =  'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Frank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 20:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046344#M87996</guid>
      <dc:creator>former_member425121</dc:creator>
      <dc:date>2005-10-28T20:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046345#M87997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your replies!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answers for your replies are yes, im doing COMMIT WORK after every call of the BAPI and yes i have passed correctly the net_price and its Change toolbar for net_price ('X').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is that i used the exactly same record for the PO twice, and only the first time of the loop gets to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can give me any another idea.&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 20:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046345#M87997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T20:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046346#M87998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you leave the PO number blank? Won't the BAPI assign the number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 21:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046346#M87998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T21:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046347#M87999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have some problems like that and SAP proposed that we use the next perform for reset all the buffers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the bapi use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM MEPO_REFRESH(SAPLMEPO).&lt;/P&gt;&lt;P&gt;  DATA: MEM_OPTN LIKE CSDATA-XFELD VALUE '0'.&lt;/P&gt;&lt;P&gt;  EXPORT MEM_OPTN TO MEMORY ID 'CSIO_MEM_OPTN'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_PO_CREATE1'&lt;/P&gt;&lt;P&gt;       EXPORTING....&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 21:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046347#M87999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T21:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046348#M88000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your replies!&lt;/P&gt;&lt;P&gt;I have fixed my problem, it had to do with freeing the memory as Omar said. It works now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, i have got one last problem with this BAPI. I don't know if anyone of you guys know how to create a condition with a discount. I got the condition type, condition value, however don't understand why it sums the percentage of the discount to the price instead of substracting. I created a PO manually just to check it wasnt a functional mistake but i found that creating it manually it does substract it to the gross price, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks for all your help, i really appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 23:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046348#M88000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T23:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046349#M88001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found a solution. &lt;/P&gt;&lt;P&gt;Thanks anyways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 23:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046349#M88001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T23:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046350#M88002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently posted a message : having problem loading BAPI_PO_CREAT1 Structure - POCOND and one of our sdn member (Patrick Yee - thnks) email me a sample to populate this structure :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM populate_pricing .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR: tbl_pocond,&lt;/P&gt;&lt;P&gt;         tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pricing Conditions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tbl_pocond-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_type     = 'PB00'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_value    = tbl_item-netpr.&lt;/P&gt;&lt;P&gt;  tbl_pocond-currency      = tbl_header-waers.&lt;/P&gt;&lt;P&gt;  tbl_pocond-change_id     = 'I'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocond.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_numberx   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_nox   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_type     = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_value    = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-currency      = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-change_id     = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " populate_pricing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested my bapi via t-code SE37 using Patrick's example and sucessfully created a PO, but when i called the BAPI from my custom program using the same code sample to load the POCOND structure i got an error message :&lt;/P&gt;&lt;P&gt; "No Condition determined" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the code you used in laoding your POCOND Structure? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick Yee &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posts: 303 &lt;/P&gt;&lt;P&gt;Registered: 4/20/05  &lt;/P&gt;&lt;P&gt;  Re: BAPI_PO_CREATE1 - help loading item condition !! &lt;/P&gt;&lt;P&gt;Posted: Oct 26, 2005 10:57 PM      Reply      E-mail this post  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following code in my PO Upload program and it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM populate_pricing .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR: tbl_pocond,&lt;/P&gt;&lt;P&gt;         tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pricing Conditions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tbl_pocond-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_type     = 'PB00'.&lt;/P&gt;&lt;P&gt;  tbl_pocond-cond_value    = tbl_item-netpr.&lt;/P&gt;&lt;P&gt;  tbl_pocond-currency      = tbl_header-waers.&lt;/P&gt;&lt;P&gt;  tbl_pocond-change_id     = 'I'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocond.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_number    = tbl_item-ebelp.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_no    = '1'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-itm_numberx   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_st_nox   = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_type     = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-cond_value    = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-currency      = 'X'.&lt;/P&gt;&lt;P&gt;  tbl_pocondx-change_id     = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND tbl_pocondx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " populate_pricing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2005 00:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046350#M88002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-29T00:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046351#M88003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I don't have access to SAP, im not at work until Monday now. However checking the example given to you I think its pretty much the way I populate my POCOND structure. The only difference is that I used the Condition No. first field if im not wrong, for that i used a consecutive number from 1 to ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might check that the condition type you're using its configure functionally by the MM configurator. My advise would be talk to your MM configurator or check the MM configurations so you can see what u might need to pass to the BAPI according to the configuration. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2005 03:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046351#M88003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-29T03:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046352#M88004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok Gilberto, looking forward to your code sample on Monday.&lt;/P&gt;&lt;P&gt;  Regards,&lt;/P&gt;&lt;P&gt;    Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2005 20:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046352#M88004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-30T20:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046353#M88005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilberto - I resolved the issue. it was a typo, I forgot to insert an 'X' in one of the structure change tool bar.&lt;/P&gt;&lt;P&gt;  Regards,&lt;/P&gt;&lt;P&gt;    Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 13:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046353#M88005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-31T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046354#M88006</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;&lt;/P&gt;&lt;P&gt;I have and issue in creating Purchase Order using BAPI_PO_CREATE1. i can successfully create a PO, but the problem is, it will contain 2 'ZBID' condition per item. &lt;/P&gt;&lt;P&gt;The senario is: &lt;/P&gt;&lt;P&gt;    the input file has a material with a net price different from Purchase Info Record of that material.&lt;/P&gt;&lt;P&gt;example, material A has a netprice of 500 specified in the input file. but the Purchase info record of this material has a net price of 475.&lt;/P&gt;&lt;P&gt;the BAPI will create a PO having a condition ZBID, but with 2 values in the item details tab.&lt;/P&gt;&lt;P&gt;  ZBID - 500&lt;/P&gt;&lt;P&gt;  ZBID - 475.&lt;/P&gt;&lt;P&gt;but in the item tab, material A has a specified net price of 475. (this is wrong, input price(500) must be taken into account)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise on how can i get rid of ZBID 475 in the condition. the correct PO must have a condition of ZBID and a net price of 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;correct output: Material A with a net price of 500, conditions must be ZBID(500) and NAVS(0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 03:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046354#M88006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T03:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046355#M88007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilberto, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know how you fixed the problem of getting discount types added instead of gettin subtracted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, I am facing a problem of some of the condition types getting duplicated  and some of the condition types getting deleted after executing the BAPI.&lt;/P&gt;&lt;P&gt;Please let me know of any possible reasons for this.&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;Sruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 03:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046355#M88007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-12T03:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046356#M88008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilberto and Sruti Jilla!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the same problem with the conditions in the PO Items. May you tell me how did you fix this problem with the BAPI? (my problem is that there's a discount condition that it's not updating the conditions item in the PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 13:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046356#M88008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-19T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046357#M88009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue when the first item in a loop works fine during bapi_po_create1 but for the subsequent items I'm getting error message "Net price must be greater than 0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of abap statement did you use to free the buffer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 07:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046357#M88009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-28T07:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Strange Problem. Plz Help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046358#M88010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue noe . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please help me out &lt;/P&gt;&lt;P&gt;how u solved ur issue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Rakesh S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-strange-problem-plz-help/m-p/1046358#M88010</guid>
      <dc:creator>rakesh_saragadi</dc:creator>
      <dc:date>2015-04-16T09:36:36Z</dc:date>
    </item>
  </channel>
</rss>

