<?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: problems using bapi_po_creeate1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223237#M1009064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;defining ex_po as character is not helping it's giving error......and in my prog ex_po_number is under bapimepoheader-po_number only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 10:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T10:01:21Z</dc:date>
    <item>
      <title>problems using bapi_po_creeate1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223232#M1009059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the following is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: del_date type sy-datum.&lt;/P&gt;&lt;P&gt;data: head type bapimepoheader .&lt;/P&gt;&lt;P&gt;data: headx type bapimepoheaderx .&lt;/P&gt;&lt;P&gt;data: exp_head type bapimepoheader.&lt;/P&gt;&lt;P&gt;data: item type standard table of bapimepoitem with header line.&lt;/P&gt;&lt;P&gt;data: itemx type standard table of bapimepoitemx with header line.&lt;/P&gt;&lt;P&gt;data: ex_po_number type bapimepoheader-po_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;head-comp_code = '1000'.&lt;/P&gt;&lt;P&gt;head-doc_type = 'NB' .&lt;/P&gt;&lt;P&gt;head-vendor = '1000'.&lt;/P&gt;&lt;P&gt;head-purch_org = '1000'.&lt;/P&gt;&lt;P&gt;head-pur_group = '001'.&lt;/P&gt;&lt;P&gt;head-langu = sy-langu.&lt;/P&gt;&lt;P&gt;head-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;headx-comp_code = 'X'.&lt;/P&gt;&lt;P&gt;headx-doc_type = 'X'.&lt;/P&gt;&lt;P&gt;headx-vendor = 'X'.&lt;/P&gt;&lt;P&gt;headx-langu = 'X'.&lt;/P&gt;&lt;P&gt;headx-purch_org = 'X'.&lt;/P&gt;&lt;P&gt;headx-pur_group = 'X'.&lt;/P&gt;&lt;P&gt;headx-doc_date = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item-po_item = 00010.&lt;/P&gt;&lt;P&gt;item-material = '100-110'.&lt;/P&gt;&lt;P&gt;item-plant = '1000'.&lt;/P&gt;&lt;P&gt;item-stge_loc = '0001'.&lt;/P&gt;&lt;P&gt;item-quantity = '25'.&lt;/P&gt;&lt;P&gt;append item.&lt;/P&gt;&lt;P&gt;itemx-po_item = 'X'.&lt;/P&gt;&lt;P&gt;itemx-po_itemx = 'X'.&lt;/P&gt;&lt;P&gt;itemx-material = 'X'.&lt;/P&gt;&lt;P&gt;itemx-plant = 'X'.&lt;/P&gt;&lt;P&gt;itemx-stge_loc = 'X' .&lt;/P&gt;&lt;P&gt;itemx-quantity = 'X' .&lt;/P&gt;&lt;P&gt;append itemx.&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; CALL FUNCTION 'BAPI_PO_CREATE1'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     poheader                     = HEAD&lt;/P&gt;&lt;P&gt;     POHEADERX                    = HEADX&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;     EXPPURCHASEORDER             = EX_PO_NUMBER&lt;/P&gt;&lt;P&gt;     EXPHEADER                    = EXP_HEAD&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;     POITEM                       = ITEM&lt;/P&gt;&lt;P&gt;     POITEMX                      = ITEMX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write: EX_PO_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     WAIT          = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;if not ex_po_number is initial.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE_ALL'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  _SYNCHRON       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the 'BAPI_PO_CREATE1' has finished i am trying to print 'ex_po_number' to get the purchase order number but it is coming blank.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone can plz suggest me where is the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223232#M1009059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: problems using bapi_po_creeate1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223233#M1009060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sb,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is your whole code is in loop?&lt;/P&gt;&lt;P&gt;if not than it should be in loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223233#M1009060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: problems using bapi_po_creeate1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223234#M1009061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do i need a loop.....i am supplying the values and creating the PO only once...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223234#M1009061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: problems using bapi_po_creeate1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223235#M1009062</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;if the po is created and u r not getting po number then declare like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : po_no(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PO_CREATE1'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    poheader                     = poheader&lt;/P&gt;&lt;P&gt;   POHEADERX                    = poheaderx&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POADDRVENDOR                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MEMORY_UNCOMPLETE            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MEMORY_COMPLETE              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POEXPIMPHEADER               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POEXPIMPHEADERX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VERSIONS                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_MESSAGING                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_MESSAGE_REQ               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTHORITY                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_PRICE_FROM_PO             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   EXPPURCHASEORDER             = po_no&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPHEADER                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPPOEXPIMPHEADER            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;   RETURN                       = return&lt;/P&gt;&lt;P&gt;   POITEM                       = poitem&lt;/P&gt;&lt;P&gt;   POITEMX                      = poitemx&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POADDRDELIVERY               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSCHEDULE                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSCHEDULEX                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   POACCOUNT                    = poaccount&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POACCOUNTPROFITSEGMENT       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   POACCOUNTX                   = poaccountx&lt;/P&gt;&lt;P&gt;   POCONDHEADER                 = pocondheader&lt;/P&gt;&lt;P&gt;   POCONDHEADERX                = pocondheaderx&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POCOND                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POCONDX                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POLIMITS                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POCONTRACTLIMITS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSERVICES                   =    POSRVACCESSVALUES            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSERVICESTEXT               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONOUT                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POEXPIMPITEM                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POEXPIMPITEMX                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POTEXTHEADER                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POTEXTITEM                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ALLVERSIONS                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POPARTNER                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223235#M1009062</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-07-23T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: problems using bapi_po_creeate1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223236#M1009063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;than it should come under &lt;STRONG&gt;BAPIMEPOHEADER-ebeln&lt;/STRONG&gt; but in your case ex_po_number-ebeln .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223236#M1009063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: problems using bapi_po_creeate1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223237#M1009064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;defining ex_po as character is not helping it's giving error......and in my prog ex_po_number is under bapimepoheader-po_number only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-bapi-po-creeate1/m-p/4223237#M1009064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T10:01:21Z</dc:date>
    </item>
  </channel>
</rss>

