<?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 who  can  offer  a  sample  code about bapi on po create in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986971#M73195</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 want to creat batch POs using BAPI ,however,i never used  BAPI before .  now,i have a exel file where are the POs inlcluding headers and items .&lt;/P&gt;&lt;P&gt;   who can offer  the step &amp;lt;b&amp;gt;in detail    &amp;lt;/b&amp;gt; as well as some sample code.&lt;/P&gt;&lt;P&gt;  TKS in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2005 07:26:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-26T07:26:28Z</dc:date>
    <item>
      <title>who  can  offer  a  sample  code about bapi on po create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986971#M73195</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 want to creat batch POs using BAPI ,however,i never used  BAPI before .  now,i have a exel file where are the POs inlcluding headers and items .&lt;/P&gt;&lt;P&gt;   who can offer  the step &amp;lt;b&amp;gt;in detail    &amp;lt;/b&amp;gt; as well as some sample code.&lt;/P&gt;&lt;P&gt;  TKS in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 07:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986971#M73195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T07:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: who  can  offer  a  sample  code about bapi on po create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986972#M73196</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,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;http://www.sapgenie.com/abap/bapi/example.htm&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/bapi/index.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/bapi/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/bapi/conventions.htm&amp;lt;/u&amp;gt;" target="test_blank"&gt;http://www.sapgenie.com/abap/bapi/conventions.htm&amp;lt;/u&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope it helps u.&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Ruthra.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 07:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986972#M73196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T07:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: who  can  offer  a  sample  code about bapi on po create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986973#M73197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way to know how to use the BAPI is to refer to standarad occurrences of the same.For BAPI_PO_CREATE the below programs will provide you an idea of how to use it :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEHSWA_112U27       &lt;/P&gt;&lt;P&gt;LMEWPU10            &lt;/P&gt;&lt;P&gt;LQMLRF01            &lt;/P&gt;&lt;P&gt;LWVMIU05            &lt;/P&gt;&lt;P&gt;MMEWPF01            &lt;/P&gt;&lt;P&gt;MMWE0F01 &lt;/P&gt;&lt;P&gt;RBUS2012  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 07:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986973#M73197</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2005-09-26T07:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: who  can  offer  a  sample  code about bapi on po create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986974#M73198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT z_bapi_create .&lt;/P&gt;&lt;P&gt;TABLES : eban,ekko,ekpo,eket.&lt;/P&gt;&lt;P&gt;TYPE-POOLS :wod1t.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;po header structure for the BAPI_PO_CREATE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA l_poheader      LIKE bapimepoheader.&lt;/P&gt;&lt;P&gt;DATA l_poheaderx     LIKE bapimepoheaderx.&lt;/P&gt;&lt;P&gt;DATA l_t_poitem      LIKE bapimepoitem     OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA l_t_poitemx     LIKE bapimepoitemx    OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA l_t_poschedule  LIKE bapimeposchedule OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA l_t_poschedulex LIKE bapimeposchedulx OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA l_purchaseorder LIKE bapimepoheader-po_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA it_ekpo LIKE ekpo OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA l_t_return TYPE wod1t_t_return WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA l_error_found   TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_no                  TYPE c VALUE ' '.&lt;/P&gt;&lt;P&gt;CONSTANTS: c_yes                 TYPE c VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA wrk_netprice(12) TYPE c.&lt;/P&gt;&lt;P&gt;DATA wrk_quan(12) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS     :  ebeln LIKE ekko-ebeln.&lt;/P&gt;&lt;P&gt;CLEAR eban.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM ekko&lt;/P&gt;&lt;P&gt;       WHERE ebeln = ebeln.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  l_poheader-doc_type      = 'NB'.&lt;/P&gt;&lt;P&gt;  l_poheader-creat_date    = sy-datlo.&lt;/P&gt;&lt;P&gt;  l_poheader-vendor        = ekko-lifnr.&lt;/P&gt;&lt;P&gt;  l_poheader-purch_org     = ekko-ekorg.&lt;/P&gt;&lt;P&gt;  l_poheader-pur_group     = ekko-ekgrp.&lt;/P&gt;&lt;P&gt;  l_poheader-doc_date      = ekko-bedat.&lt;/P&gt;&lt;P&gt;  l_poheader-currency      = 'INR'.&lt;/P&gt;&lt;P&gt;  l_poheader-quotation     = ekko-ebeln.&lt;/P&gt;&lt;P&gt;  l_poheader-quot_date     = ekko-aedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_poheaderx-doc_type     = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-creat_date   = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-vendor       = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-purch_org    = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-pur_group    = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-doc_date     = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-currency     = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-quotation    = 'X'.&lt;/P&gt;&lt;P&gt;  l_poheaderx-quot_date    = 'X'.&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;SELECT * FROM ekpo INTO TABLE it_ekpo&lt;/P&gt;&lt;P&gt;         WHERE ebeln = ebeln.&lt;/P&gt;&lt;P&gt;LOOP AT it_ekpo.&lt;/P&gt;&lt;P&gt;  CLEAR l_t_poitem.&lt;/P&gt;&lt;P&gt;  l_t_poitem-po_item                  = it_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;  l_t_poitem-delete_ind               = ' '.&lt;/P&gt;&lt;P&gt;  l_t_poitem-material                 = it_ekpo-matnr.&lt;/P&gt;&lt;P&gt;  l_t_poitem-plant                    = it_ekpo-werks.&lt;/P&gt;&lt;P&gt;  l_t_poitem-stge_loc                 = '010'.&lt;/P&gt;&lt;P&gt;  l_t_poitem-matl_group               = it_ekpo-matkl.&lt;/P&gt;&lt;P&gt;  l_t_poitem-info_rec                 = it_ekpo-infnr.&lt;/P&gt;&lt;P&gt;  l_t_poitem-quantity                 = it_ekpo-ktmng.&lt;/P&gt;&lt;P&gt;  l_t_poitem-po_unit                  = it_ekpo-meins.&lt;/P&gt;&lt;P&gt;  l_t_poitem-price_unit               = it_ekpo-peinh .&lt;/P&gt;&lt;P&gt;  l_t_poitem-net_price                = it_ekpo-netpr.&lt;/P&gt;&lt;P&gt;  l_t_poitem-item_cat                 = it_ekpo-pstyp.&lt;/P&gt;&lt;P&gt;  l_t_poitem-acctasscat               = it_ekpo-knttp.&lt;/P&gt;&lt;P&gt;  l_t_poitem-net_weight               = it_ekpo-ntgew.&lt;/P&gt;&lt;P&gt;  l_t_poitem-weightunit               = it_ekpo-gewei.&lt;/P&gt;&lt;P&gt;  l_t_poitem-gross_wt                 = it_ekpo-brgew.&lt;/P&gt;&lt;P&gt;  l_t_poitem-volume                   = it_ekpo-volum.&lt;/P&gt;&lt;P&gt;  l_t_poitem-volumeunit               = it_ekpo-voleh.&lt;/P&gt;&lt;P&gt;  l_t_poitem-rfq_no                   = it_ekpo-ebeln.&lt;/P&gt;&lt;P&gt;  l_t_poitem-rfq_item                 = it_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;  l_t_poitem-ret_item                 = it_ekpo-retpo.&lt;/P&gt;&lt;P&gt;  l_t_poitem-conf_ctrl                = it_ekpo-bstae.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poitem-ref_doc                  = it_ekpo-ebeln.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poitem-ref_item                 = it_ekpo-ebelp.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND l_t_poitem.&lt;/P&gt;&lt;P&gt;  CLEAR l_t_poitemx.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-po_item                  = it_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-po_itemx                 = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poitemx-short_text               = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l_t_poitemx-delete_ind               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-material                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-plant                    = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-stge_loc                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-matl_group               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-info_rec                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-quantity                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-po_unit                  = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-net_price                = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-price_unit               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-item_cat                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-acctasscat               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-net_weight               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-weightunit               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-gross_wt                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-volume                   = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-volumeunit               = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-rfq_no                   = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-rfq_item                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-ret_item                 = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-conf_ctrl                = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-ref_doc                  = 'X'.&lt;/P&gt;&lt;P&gt;  l_t_poitemx-ref_item                  = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND l_t_poitemx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLEAR l_t_poschedule.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-po_item        = it_ekpo-ebelp.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-sched_line     = 1.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-del_datcat_ext = 'T'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLEAR eket.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SELECT SINGLE * FROM eket&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               WHERE ebeln = it_ekpo-ebeln&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               AND   ebelp = it_ekpo-ebelp.&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; l_t_poschedule-delivery_date  = '10.02.2004'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-quantity       = it_ekpo-menge.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-po_date        = eket-bedat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-preq_no        = eket-ebeln.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedule-preq_item      = eket-ebelp.&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; APPEND l_t_poschedule.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLEAR l_t_poschedulex.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-po_item        = it_ekpo-ebelp.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-po_itemx       = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-sched_line     = 1.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-del_datcat_ext = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-sched_linex    = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-delivery_date  = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-quantity       = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-po_date        = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-preq_no        = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; l_t_poschedulex-preq_item      = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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; APPEND l_t_poschedulex.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&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              = l_poheader&lt;/P&gt;&lt;P&gt;      poheaderx             = l_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;    POADDRVENDORX         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      exppurchaseorder      = l_purchaseorder&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      return                = l_t_return&lt;/P&gt;&lt;P&gt;      poitem                = l_t_poitem&lt;/P&gt;&lt;P&gt;      poitemx               = l_t_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;    POADDRDELIVERYX       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     poschedule            = l_t_poschedule&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     poschedulex           = l_t_poschedulex&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    POACCOUNT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    POACCOUNTX            =&lt;/P&gt;&lt;/LI&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;/UL&gt;&lt;P&gt;  .&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 07:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986974#M73198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T07:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: who  can  offer  a  sample  code about bapi on po create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986975#M73199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an example for calling the fucntion module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PO_CREATE1' DESTINATION c_none&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        poheader              = struct_poheader&lt;/P&gt;&lt;P&gt;        poheaderx             = struct_poheaderx&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        exppurchaseorder      = v_exppurchaseorder&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        return                = i_return&lt;/P&gt;&lt;P&gt;        poitem                = i_bapi_poitems&lt;/P&gt;&lt;P&gt;        poitemx               = i_bapi_poitemx&lt;/P&gt;&lt;P&gt;        poschedule            = i_bapi_poschedule&lt;/P&gt;&lt;P&gt;        poschedulex           = i_bapi_poschedulx&lt;/P&gt;&lt;P&gt;        extensionin           = i_extensionin&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        system_failure        = 1  MESSAGE l_text&lt;/P&gt;&lt;P&gt;        communication_failure = 2  MESSAGE l_text.&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;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 08:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/who-can-offer-a-sample-code-about-bapi-on-po-create/m-p/986975#M73199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T08:09:14Z</dc:date>
    </item>
  </channel>
</rss>

