<?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: Error is return order creation thru BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601979#M270288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;As standard BAPIs are not followed by COMMIT stmt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have to create one custom ZBAPI which will call the standrd BAPI 'BAPI_CUSTOMERRETURN_CREATE ' and fill the parameters as u have done.&lt;/P&gt;&lt;P&gt;then call 'BAPI_TRANSACTION_COMMIT' in the same program to commit the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will be updated in SAP.&lt;/P&gt;&lt;P&gt;Otherwise not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward me points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2006 13:33:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-10T13:33:35Z</dc:date>
    <item>
      <title>Error is return order creation thru BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601976#M270285</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_CUSTOMERRETURN_CREATE to create return orders. Parameters Passed are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT&lt;/P&gt;&lt;P&gt;SALESDOCUMENTIN-vbeln = GKCNKETAN1&lt;/P&gt;&lt;P&gt;RETURN_HEADER_IN-REFDOCTYPE = H&lt;/P&gt;&lt;P&gt;                 DOC_TYPE  = ZR20&lt;/P&gt;&lt;P&gt;                 SALES_ORG&lt;/P&gt;&lt;P&gt;                 DISTR_CHAN&lt;/P&gt;&lt;P&gt;                 DIVISION&lt;/P&gt;&lt;P&gt;                 REQ_DATE_H&lt;/P&gt;&lt;P&gt;                 PURCH_DATE&lt;/P&gt;&lt;P&gt;                 ORD_REASON = 102&lt;/P&gt;&lt;P&gt;                 &lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;RETURN_ITEMS_IN-ITM_NUMBER&lt;/P&gt;&lt;P&gt;                MATERIAL&lt;/P&gt;&lt;P&gt;                BATCH&lt;/P&gt;&lt;P&gt;                PLANT&lt;/P&gt;&lt;P&gt;                STORE_LOC&lt;/P&gt;&lt;P&gt;                TARGET_QTY&lt;/P&gt;&lt;P&gt;                TARGET_QU&lt;/P&gt;&lt;P&gt;                T_UNIT_ISO&lt;/P&gt;&lt;P&gt;                ITEM_CATEG&lt;/P&gt;&lt;P&gt;                PURCH_NO_C&lt;/P&gt;&lt;P&gt;                PURCH_DATE&lt;/P&gt;&lt;P&gt;RETURN_PARTNERS-PARTN_ROLE = SP&lt;/P&gt;&lt;P&gt;                PARTN_NUMB&lt;/P&gt;&lt;P&gt;RETURN_CONDITIONS_IN-ITM_NUMBER = 10&lt;/P&gt;&lt;P&gt;                     COND_TYPE  = PR00&lt;/P&gt;&lt;P&gt;                     COND_VALUE &lt;/P&gt;&lt;P&gt;                     CURRENCY  = INR&lt;/P&gt;&lt;P&gt;                     COND_UNIT = VIA&lt;/P&gt;&lt;P&gt;                     COND_P_UNT = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But Still the return order is not getting created. It gives message as &lt;/P&gt;&lt;P&gt;  SALES_HEADER_IN has been processed successfully   &lt;/P&gt;&lt;P&gt;  SALES_ITEM_IN has been processed successfully   &lt;/P&gt;&lt;P&gt;  SALES_CONDITIONS_IN has been processed successfully &lt;/P&gt;&lt;P&gt;  The sales document is not yet complete: Edit data&lt;/P&gt;&lt;P&gt;  C&amp;amp;S:Dom Ret Ord C&amp;amp;S GKCNKETAN1 has been saved &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this error, is there any other parameters to be passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 08:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601976#M270285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error is return order creation thru BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601977#M270286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use BAPI_COMMIT_WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ragu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 08:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601977#M270286</guid>
      <dc:creator>raguraman_c</dc:creator>
      <dc:date>2006-10-10T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error is return order creation thru BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601978#M270287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am executing this function module thru SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kathik k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 11:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601978#M270287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T11:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error is return order creation thru BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601979#M270288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;As standard BAPIs are not followed by COMMIT stmt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have to create one custom ZBAPI which will call the standrd BAPI 'BAPI_CUSTOMERRETURN_CREATE ' and fill the parameters as u have done.&lt;/P&gt;&lt;P&gt;then call 'BAPI_TRANSACTION_COMMIT' in the same program to commit the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will be updated in SAP.&lt;/P&gt;&lt;P&gt;Otherwise not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward me points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 13:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601979#M270288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T13:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error is return order creation thru BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601980#M270289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing I am not understanding I am just executing the BAPI in SE37 diectly &amp;amp; passing the values for testing. Why should I use BAPI for commit in this case.&lt;/P&gt;&lt;P&gt;I am able to create sales order in the same manner. I am not executing thru any Z progams.How this bapi alone will require commit externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can anybody help me in creating a return order thru any bapi.It would be great if you can help me in passing the right parameters(also kindly see the parameters I have passed &amp;amp; logs above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 05:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-is-return-order-creation-thru-bapi/m-p/1601980#M270289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T05:34:53Z</dc:date>
    </item>
  </channel>
</rss>

