<?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 for po creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240492#M1210962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your problem solved now?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2009 08:54:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-20T08:54:10Z</dc:date>
    <item>
      <title>bapi for po creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240489#M1210959</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;I am using "bapi_po_create1" to create a po. apart from header I am populating items,accounts, services&lt;/P&gt;&lt;P&gt;table.. but the po is not getting created as it gives error like:&lt;/P&gt;&lt;P&gt;1. Po data is faulty&lt;/P&gt;&lt;P&gt;2. Maintain services or limits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with the same data the po gets created using Me21n. Please suggest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 05:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240489#M1210959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T05:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for po creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240490#M1210960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;please try this&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;&lt;/P&gt;&lt;P&gt;call function 'BAPI_CFG_CREATE'  &lt;/P&gt;&lt;P&gt;exporting    &lt;/P&gt;&lt;P&gt;object_id     = 'MYMATCODE'   &lt;/P&gt;&lt;P&gt;root_type     = 'MARA'    &lt;/P&gt;&lt;P&gt;root_name     = 'MYMATCODE'   &lt;/P&gt;&lt;P&gt;plant         = 'MYPLANT'  &lt;/P&gt;&lt;P&gt;importing   &lt;/P&gt;&lt;P&gt; cfg_handle    = l_handle &lt;/P&gt;&lt;P&gt;   root_instance = l_instance  &lt;/P&gt;&lt;P&gt;exceptions    &lt;/P&gt;&lt;P&gt;error         = 1    &lt;/P&gt;&lt;P&gt;others        = 2.l_characts_vals-atnam = 'WIDTH'.&lt;/P&gt;&lt;P&gt;l_characts_vals-atwtb = '500'.&lt;/P&gt;&lt;P&gt;append l_characts_vals to it_characts_vals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_CFGINST_CHARCS_VALS_SET'  &lt;/P&gt;&lt;P&gt;exporting    object_id         = 'MYMATCODE'    &lt;/P&gt;&lt;P&gt;instance          = l_instance  &lt;/P&gt;&lt;P&gt;tables    &lt;/P&gt;&lt;P&gt;characts_vals     = it_characts_vals    &lt;/P&gt;&lt;P&gt;characts_vals_err = it_characts_vals_err.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CE_C_SET_CBASE'....&lt;/P&gt;&lt;P&gt;l_poitem-int_obj_no = l_handle....&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  = l_poheader   &lt;/P&gt;&lt;P&gt; poheaderx = l_poheaderx   &lt;/P&gt;&lt;P&gt;importing    expheader = l_expheader    &lt;/P&gt;&lt;P&gt;exppurchaseorder = l_exppurchaseorder  &lt;/P&gt;&lt;P&gt; tables   &lt;/P&gt;&lt;P&gt; poitem      = lt_poitem   &lt;/P&gt;&lt;P&gt; poitemx     = lt_poitemx           &lt;/P&gt;&lt;P&gt; poschedule  = lt_poschedule         &lt;/P&gt;&lt;P&gt;   poschedulex = lt_poschedulex  &lt;/P&gt;&lt;P&gt;  return      = lt_return.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 05:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240490#M1210960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for po creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240491#M1210961</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;I think you are creating a Service PO, you have to maintain relation between PO Service and POSRVACCESSVALUES tables as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this sample code for same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; Internal table for Service&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;DATA: Service like BAPIESLLC occurs 0 with header line,&lt;/P&gt;&lt;P&gt;      Service1 like BAPIESKLC occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service-PCKG_NO = '0000000001'.&lt;/P&gt;&lt;P&gt;    Service-LINE_NO = '0000000001'.&lt;/P&gt;&lt;P&gt;    Service1-LINE_NO = '0000000001'.&lt;/P&gt;&lt;P&gt;    Service-EXT_LINE = '0000000010'.&lt;/P&gt;&lt;P&gt;    Service-SUBPCKG_NO = '0000000002'.&lt;/P&gt;&lt;P&gt;    append service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; POPULATE Service TABLE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;      Service-PCKG_NO = '0000000002' .&lt;/P&gt;&lt;P&gt;      Service-LINE_NO = Service-LINE_NO + 1 .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     Service-EXT_LINE = record-EXT_LINE .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      Service-service = record-service.&lt;/P&gt;&lt;P&gt;      Service-quantity = record-quantity.&lt;/P&gt;&lt;P&gt;      Service-GR_PRICE = record-Net_price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Service-SUBPCKG_NO = '0000000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      append service.&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; POPULATE Service value TABLE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;      Service1-PCKG_NO = '0000000002' .&lt;/P&gt;&lt;P&gt;      Service1-LINE_NO = Service1-LINE_NO +  1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      append service1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 06:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240491#M1210961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for po creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240492#M1210962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your problem solved now?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 08:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-po-creation/m-p/5240492#M1210962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-20T08:54:10Z</dc:date>
    </item>
  </channel>
</rss>

