<?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_AGREEMENT_MAINTAIN Doesn't UPDATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181495#M1373347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved with a call transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Dec 2009 01:10:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-26T01:10:13Z</dc:date>
    <item>
      <title>BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181489#M1373341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have a problem with . I am trying modify WEBAZ field for transaction ME32L but although the bapi is executed successfully y  and  return the message 'Scheduling agreement 5500003590 changed' it  is not modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some body could help me or have any idea about it? Please &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is:&lt;/P&gt;&lt;P&gt;LOOP AT t_ekpo INTO  wa_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE t_ekko INTO wa_ekko WITH KEY ebeln = wa_ekpo-ebeln&lt;/P&gt;&lt;P&gt;                                          BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_head-agmt_no   =  wa_ekpo-ebeln.&lt;/P&gt;&lt;P&gt;      t_head-doc_cat   =  wa_ekko-bstyp.&lt;/P&gt;&lt;P&gt;      t_head-comp_code =  wa_ekko-bukrs.&lt;/P&gt;&lt;P&gt;      t_head-doc_type  =  wa_ekko-bsart.&lt;/P&gt;&lt;P&gt;      t_head-currency  =  wa_ekko-waers.&lt;/P&gt;&lt;P&gt;      APPEND t_head.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_heax-agmt_no   =  c_x.&lt;/P&gt;&lt;P&gt;      t_heax-doc_cat   =  c_x.&lt;/P&gt;&lt;P&gt;      t_heax-comp_code =  c_x.&lt;/P&gt;&lt;P&gt;      t_heax-doc_type  =  c_x.&lt;/P&gt;&lt;P&gt;      t_heax-currency  =  c_x.&lt;/P&gt;&lt;P&gt;      APPEND  t_heax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE t_out_aux INTO wa_outtab WITH KEY lifnr = wa_ekko-lifnr&lt;/P&gt;&lt;P&gt;                                                   werks = wa_ekpo-werks&lt;/P&gt;&lt;P&gt;                                                   BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_item-agrmt_item = wa_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;      t_item-gr_pr_time = wa_outtab-webaz_n.&lt;/P&gt;&lt;P&gt;      APPEND t_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_itex-agrmt_item = wa_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;      t_itex-gr_pr_time = c_x.&lt;/P&gt;&lt;P&gt;      APPEND t_itex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AT END OF ebeln.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_AGREEMENT_MAINTAIN'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            im_agreement_header   = t_head&lt;/P&gt;&lt;P&gt;            im_agreement_header_x = t_heax&lt;/P&gt;&lt;P&gt;            im_all_items_passed   = c_x&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            ext_return            = t_return&lt;/P&gt;&lt;P&gt;            imt_agreement_items   = t_item&lt;/P&gt;&lt;P&gt;            imt_agreement_items_x = t_itex.&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;        APPEND LINES OF t_return TO t_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        REFRESH:   t_head, t_heax, t_item[], t_itex[],  t_return.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Limpia variables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CLEAR: wa_ekpo, wa_ekpo_aux,  t_head, t_heax, t_item, t_itex, wa_outtab..&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 18:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181489#M1373341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T18:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181490#M1373342</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 not sure why you need this parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im_all_items_passed = c_x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comment this line and check.&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 18:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181490#M1373342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T18:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181491#M1373343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to pass al positions of the agreement pos 0010, 0020...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 20:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181491#M1373343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T20:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181492#M1373344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are appending header values to itab, but passing only the header line of itab in EXPORTING parameters. Is this required ? Though ur current problem doesn't seem to be related, you never know. Try without APPEND t_head and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
t_head-agmt_no = wa_ekpo-ebeln.
t_head-doc_cat = wa_ekko-bstyp.
t_head-comp_code = wa_ekko-bukrs.
t_head-doc_type = wa_ekko-bsart.
t_head-currency = wa_ekko-waers.
[APPEND t_head.]

t_heax-agmt_no = c_x.
t_heax-doc_cat = c_x.
t_heax-comp_code = c_x.
t_heax-doc_type = c_x.
t_heax-currency = c_x.
[APPEND t_heax.]
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

CALL FUNCTION 'BAPI_AGREEMENT_MAINTAIN'
EXPORTING
[im_agreement_header = t_head]
[im_agreement_header_x = t_heax]
im_all_items_passed = c_x
TABLES
ext_return = t_return
imt_agreement_items = t_item
imt_agreement_items_x = t_itex.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2009 03:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181492#M1373344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-19T03:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181493#M1373345</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;R u getting only the success message in the return parameters or also some other warnngs. Have u checked that...?&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;Surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2009 04:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181493#M1373345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-20T04:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181494#M1373346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marisol,&lt;/P&gt;&lt;P&gt;Have you got the solution for your problem , if so, Please provide your inputs as i am also facing same issue exactly what you are getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried commenting  "  im_all_items_passed" parameter and also i am passing workarea component values to "im_agreement_header" and  "im_agreement_header_x" parameters of below FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is not updated GR Processing time at Agreement level (i.e. in ME32K) as i am getting "Contract Has changed" Sucessage message alone in T_ERROR[] parameter of below BAPI  FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_AGREEMENT_MAINTAIN'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              im_agreement_header   = wa_header&lt;/P&gt;&lt;P&gt;              im_agreement_header_x = wa_header_x&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             im_all_items_passed   = c_x&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             TABLES&lt;/P&gt;&lt;P&gt;              ext_return            = t_error&lt;/P&gt;&lt;P&gt;              imt_agreement_items   = t_bapiitem&lt;/P&gt;&lt;P&gt;              imt_agreement_items_x = t_bapiitem_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for the solution , Please help me out As soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 07:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181494#M1373346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T07:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181495#M1373347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved with a call transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Dec 2009 01:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-agreement-maintain-doesn-t-update/m-p/6181495#M1373347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-26T01:10:13Z</dc:date>
    </item>
  </channel>
</rss>

