<?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 bapi_po_change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357688#M1233427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i created a service purchase order with a service item and i want change the quantity in service line item 10.i have used BAPI_PO_CHANGE it is not working .how to pass table parameters to POSERVICES&lt;/P&gt;&lt;P&gt;Could you please help me?&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;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt; Asish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Mar 2009 06:46:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-28T06:46:17Z</dc:date>
    <item>
      <title>bapi_po_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357688#M1233427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i created a service purchase order with a service item and i want change the quantity in service line item 10.i have used BAPI_PO_CHANGE it is not working .how to pass table parameters to POSERVICES&lt;/P&gt;&lt;P&gt;Could you please help me?&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;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt; Asish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2009 06:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357688#M1233427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-28T06:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_po_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357689#M1233428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Check below link, it may be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[POSERVICES|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6295330"&gt;&lt;/A&gt;]&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;Asit Purbey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 05:14:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357689#M1233428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T05:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_po_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357690#M1233429</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;You cannot use BAPI for changing the service line items. it won't support for changing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                                    &lt;/P&gt;&lt;P&gt; Services and limits                                                &lt;/P&gt;&lt;P&gt; Changes to existing items cannot be carried out with the Change    &lt;/P&gt;&lt;P&gt; method. It is only possible to create new items.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 11:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357690#M1233429</guid>
      <dc:creator>former_member206396</dc:creator>
      <dc:date>2009-03-30T11:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_po_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357691#M1233430</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;Make the Internal table of stucture type BAPIESLLC.&lt;/P&gt;&lt;P&gt;Assign the values of each required fields and pass it to the BAPI function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 08:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357691#M1233430</guid>
      <dc:creator>dhirendra_pandit</dc:creator>
      <dc:date>2009-04-20T08:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_po_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357692#M1233431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the BAPI 'BAPI_PO_CHANGE' not wrok in SE37 for this you need to create program and test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: POITEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO_ITEM = 00001 &lt;/P&gt;&lt;P&gt;CONF_CTRL = 0001 &lt;/P&gt;&lt;P&gt;QUANTITY  = '1200'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: POITEMX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO_ITEM = 00001 &lt;/P&gt;&lt;P&gt;PO_ITEMX = X &lt;/P&gt;&lt;P&gt;CONF_CTRL =  X &lt;/P&gt;&lt;P&gt;QUANTITY  = X&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BAPI_PO_CHANGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          purchaseorder = ebeln &lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          return        = lt_return&lt;/P&gt;&lt;P&gt;          poitem     =&lt;/P&gt;&lt;P&gt;          poitemx   = &lt;/P&gt;&lt;P&gt;   IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 09:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357692#M1233431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T09:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_po_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357693#M1233432</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;Was this issue ever resolved? I am facing the same situation where I have to change the gross price of each of the services. Can this bapi do that? I used the code below but was unable to change the price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_ebeln LIKE ekko-ebeln.

DATA: t_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE.
DATA: t_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
DATA: t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: t_cond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.
DATA: t_condx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.

* For changing the gross price
t_cond-itm_number = '00010'.
t_cond-cond_type = 'PB00'.
t_cond-cond_value = '999.00'.
t_cond-currency = 'USD'.
t_cond-change_id = 'U'.
APPEND t_cond.

t_condx-itm_number = '00010'.
t_condx-itm_numberx = 'X'.
t_condx-cond_type = 'X'.
t_condx-cond_value = 'X'.
t_condx-currency = 'X'.
t_cond-change_id = 'X'.
APPEND t_condx.

CALL FUNCTION 'BAPI_PO_CHANGE'
  EXPORTING
    purchaseorder = p_ebeln
  TABLES
    return        = t_return
    poitem        = t_poitem
    poitemx       = t_poitemx
    pocond        = t_cond
    pocondx       = t_condx.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.

BREAK-POINT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 17:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/5357693#M1233432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-09T17:21:40Z</dc:date>
    </item>
  </channel>
</rss>

