<?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_CREAT1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009521#M711172</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 this link which contains sample working example for hte BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="544675"&gt;&lt;/A&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;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2007 14:27:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-31T14:27:22Z</dc:date>
    <item>
      <title>BAPI_PO_CREAT1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009518#M711169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using BAPI to create Purchase Order.  But it is showing error as&lt;/P&gt;&lt;P&gt;'Check item number 0 in table POSCHEDULEX '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could u pls someone help me to get rid of  this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants : c_x value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: del_date type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: pohead  type bapimepoheader.&lt;/P&gt;&lt;P&gt;  data: poheadx type bapimepoheaderx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: exp_head type bapimepoheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: return  type table of bapiret2 with header line.&lt;/P&gt;&lt;P&gt;  data: poitem  type table of bapimepoitem with header line.&lt;/P&gt;&lt;P&gt;  data: poitemx type table of bapimepoitemx with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: POCOND  TYPE TABLE OF BAPIMEPOCOND  WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: POCONDX TYPE TABLE OF BAPIMEPOCONDX WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: POSCHEDULE  TYPE TABLE OF BAPIMEPOSCHEDULE WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: POSCHEDULEX TYPE TABLE OF BAPIMEPOSCHEDULX WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: posched  type table of bapimeposchedule with header line.&lt;/P&gt;&lt;P&gt;  data: poschedx type table of bapimeposchedulx with header line.&lt;/P&gt;&lt;P&gt;&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header Level Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  pohead-doc_type   = 'NB'     .&lt;/P&gt;&lt;P&gt;  pohead-vendor = '0020000011'.&lt;/P&gt;&lt;P&gt;  pohead-creat_date = sy-datum   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  pohead-purch_org = '1000'.&lt;/P&gt;&lt;P&gt;  pohead-pur_group = '001'.&lt;/P&gt;&lt;P&gt;  pohead-comp_code = '1074'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  pohead-langu      = sy-langu   .&lt;/P&gt;&lt;P&gt;  pohead-doc_date   = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  poheadx-comp_code  = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-doc_type   = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-creat_date = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-vendor     = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-langu      = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-purch_org  = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-pur_group  = c_x.&lt;/P&gt;&lt;P&gt;  poheadx-doc_date   = c_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Item Level Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  poitem-po_item    = 1.&lt;/P&gt;&lt;P&gt;  poitem-material   = 300000024.&lt;/P&gt;&lt;P&gt;  poitem-plant      = 'IN02'.&lt;/P&gt;&lt;P&gt;  poitem-stge_loc   = '1000'.&lt;/P&gt;&lt;P&gt;  poitem-quantity   = 123.&lt;/P&gt;&lt;P&gt;  poitem-PO_UNIT    = 'EA'.&lt;/P&gt;&lt;P&gt;  POITEM-MATL_GROUP = '310400000'.&lt;/P&gt;&lt;P&gt;  POITEM-ORDERPR_UN = 'EA'.&lt;/P&gt;&lt;P&gt;  POITEM-ACCTASSCAT = 'K'.&lt;/P&gt;&lt;P&gt;  append poitem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  poitemx-po_item    = 1.&lt;/P&gt;&lt;P&gt;  poitemx-po_itemx   = c_x.&lt;/P&gt;&lt;P&gt;  poitemx-material   = c_x.&lt;/P&gt;&lt;P&gt;  poitemx-plant      = c_x .&lt;/P&gt;&lt;P&gt;  poitemx-stge_loc   = c_x .&lt;/P&gt;&lt;P&gt;  poitemx-quantity   = c_x .&lt;/P&gt;&lt;P&gt;  poitem-PO_UNIT     = c_x.&lt;/P&gt;&lt;P&gt;  POITEM-MATL_GROUP  = c_x.&lt;/P&gt;&lt;P&gt;  POITEM-ORDERPR_UN  = c_x.&lt;/P&gt;&lt;P&gt;  POITEM-ACCTASSCAT  = c_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; poitemx-tax_code   = c_x .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; poitemx-item_cat   = c_x .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; poitemx-acctasscat = c_x .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append poitemx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;condition level data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  POCOND-ITM_NUMBER = 1.&lt;/P&gt;&lt;P&gt;  POCOND-COND_TYPE  = 'ZP00'.&lt;/P&gt;&lt;P&gt;  POCOND-COND_VALUE = '25'.&lt;/P&gt;&lt;P&gt;  APPEND POCOND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  POCONDX-ITM_NUMBER    = 1.&lt;/P&gt;&lt;P&gt;  POCONDX-COND_TYPE     = c_x.&lt;/P&gt;&lt;P&gt;  POCONDX-COND_VALUE    = c_x.&lt;/P&gt;&lt;P&gt;  APPEND POCONDX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;schedule data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSCHEDULE-PO_ITEM       = 1.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; POSCHEDULE-SCHED_LINE    = '01'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSCHEDULE-DELIVERY_DATE = sy-datum.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  APPEND POSCHEDULE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSCHEDULEX-PO_ITEMX      = 1.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; POSCHEDULEX-SCHED_LINEX   = c_x.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POSCHEDULEX-DELIVERY_DATE = c_x.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  APPEND POSCHEDULEX.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Schedule Line Level Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  posched-po_item        = 1.&lt;/P&gt;&lt;P&gt;  posched-sched_line     = 1.&lt;/P&gt;&lt;P&gt;  posched-del_datcat_ext = 'D'.&lt;/P&gt;&lt;P&gt;  del_date = sy-datum + 1.&lt;/P&gt;&lt;P&gt;  write del_date to posched-delivery_date.&lt;/P&gt;&lt;P&gt;  posched-deliv_time     = '000001'.&lt;/P&gt;&lt;P&gt;  posched-quantity       = 1.&lt;/P&gt;&lt;P&gt;  append posched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  poschedx-sched_line     = 1.&lt;/P&gt;&lt;P&gt;  POSCHEDX-SCHED_LINEX    = c_x.&lt;/P&gt;&lt;P&gt;  poschedx-po_itemx       = c_x.&lt;/P&gt;&lt;P&gt;  poschedx-sched_linex    = c_x.&lt;/P&gt;&lt;P&gt;  poschedx-del_datcat_ext = c_x.&lt;/P&gt;&lt;P&gt;  poschedx-delivery_date  = c_x.&lt;/P&gt;&lt;P&gt;  poschedx-quantity       = c_x.&lt;/P&gt;&lt;P&gt;  append poschedx.&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         = pohead&lt;/P&gt;&lt;P&gt;            poheaderx        = poheadx&lt;/P&gt;&lt;P&gt;            testrun          = ' '&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;            return           = return&lt;/P&gt;&lt;P&gt;            poitem           = poitem&lt;/P&gt;&lt;P&gt;            poitemx          = poitemx&lt;/P&gt;&lt;P&gt;            poschedule       = posched&lt;/P&gt;&lt;P&gt;            poschedulex      = poschedx&lt;/P&gt;&lt;P&gt;            POCOND           = POCOND&lt;/P&gt;&lt;P&gt;            POCONDX          = POCONDX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           POSCHEDULE       = POSCHEDULE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           POSCHEDULEX      = POSCHEDULEX.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF ex_po_number IS INITIAL.&lt;/P&gt;&lt;P&gt;  call function 'BAPI_TRANSACTION_ROLLBACK'.&lt;/P&gt;&lt;P&gt; ELSE.&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 = ''.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 13:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009518#M711169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREAT1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009519#M711170</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;Populate parameter PO_ITEM in internal table BAPIMEPOSCHEDULX. This is missing which is causing the error.&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;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 14:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009519#M711170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T14:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREAT1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009520#M711171</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 i populate that it is giving 5 errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;|Account assignment mandatory for material&lt;/P&gt;&lt;P&gt;|The material 300000024 does not exist or &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 14:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009520#M711171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T14:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREAT1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009521#M711172</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 this link which contains sample working example for hte BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="544675"&gt;&lt;/A&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;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 14:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-creat1/m-p/3009521#M711172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T14:27:22Z</dc:date>
    </item>
  </channel>
</rss>

