<?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: Return SALES Order BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634395#M1091273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is any option becouse i have to use same BAPI as in fist phase i created successfull Sales order Using same bapi..&lt;/P&gt;&lt;P&gt;bussiness also need same bapi for 3rd party.. connection with this BAPI.. so I can't take any other bapi even 'Z'.&lt;/P&gt;&lt;P&gt;any Soln ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2008 15:04:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-15T15:04:39Z</dc:date>
    <item>
      <title>Return SALES Order BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634393#M1091271</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'm passing following values in  BAPI_SALESORDER_CREATEFROMDAT2  bapi for Return sales Order&lt;/P&gt;&lt;P&gt;it_header-ref_doc = '0090000047'. " Invice Billing Number&lt;/P&gt;&lt;P&gt;it_header-REFDOC_CAT = 'M'.     " M for Invoice&lt;/P&gt;&lt;P&gt;it_header-ORD_REASON = '101'.   " 101 stand for Poor Quility&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;headerx-ref_doc = 'X'.&lt;/P&gt;&lt;P&gt;headerx-REFDOC_CAT = 'X'.&lt;/P&gt;&lt;P&gt;headerx-ORD_REASON = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it showing below msg why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error  V1  Message No = 761&lt;/P&gt;&lt;P&gt;'Unpermitted combination of business object BUS2032 and sales doc. category H'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anything missing or Wrong ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 14:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634393#M1091271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Return SALES Order BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634394#M1091272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the error is coming because the BAPI BAPI_SALESORDER_CREATEFROMDAT2  is meant for only Sales orders(i.e for BUS2032) since in the code it is hardcoded .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'SD_SALESDOCUMENT_CREATE'
       exporting
            salesdocument           = salesdocumentin
            sales_header_in         = order_header_in
            sales_header_inx        = order_header_inx
            sender                  = sender
            binary_relationshiptype = binary_relationshiptype
            int_number_assignment   = int_number_assignment
            behave_when_error       = behave_when_error
            logic_switch            = logic_switch
            business_object         = 'BUS2032'  "&amp;lt;----hardcoded
            testrun                 = testrun&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to avoid the error. copy the BAPI to ZBAPI and change the Business object to Return order's business object.&lt;/P&gt;&lt;P&gt;For Return order BUS2102 . so replace that with BUS2102.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Oct 15, 2008 10:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 14:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634394#M1091272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Return SALES Order BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634395#M1091273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is any option becouse i have to use same BAPI as in fist phase i created successfull Sales order Using same bapi..&lt;/P&gt;&lt;P&gt;bussiness also need same bapi for 3rd party.. connection with this BAPI.. so I can't take any other bapi even 'Z'.&lt;/P&gt;&lt;P&gt;any Soln ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 15:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634395#M1091273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T15:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Return SALES Order BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634396#M1091274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try with the Function &lt;STRONG&gt;SD_SALESDOCUMENT_CREATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;this is also Remote enable function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 15:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-sales-order-bapi/m-p/4634396#M1091274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T15:06:33Z</dc:date>
    </item>
  </channel>
</rss>

