<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422336#M1050307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m not able to copy function module&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into my z , it is showing msg ' this is reserved for sap' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how we came to know which buisness object is used for which purpose..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Sep 2008 08:35:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-06T08:35:00Z</dc:date>
    <item>
      <title>bapi problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422332#M1050303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using BAPI_SALESORDER_CREATEFROMDAT2 bapi to create sales order , upon executing i am getting below error , i m nt able to understand its meaning do help out&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Error Report

The following records failed during update:

 ERROR.

 1            Unpermitted combination of business object 
                BUS2032 and sales doc. category G&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ankesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh Jindal on Sep 6, 2008 10:08 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh Jindal on Sep 6, 2008 10:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422332#M1050303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: bapi problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422333#M1050304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This error comes when you are trying to create a Order (other than Standard order) using the Bapi sales order create. check the code inside the BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just see the  code of the above bapi.&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;-----This is For Sales Order&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are trying to create credit memo or any other orders then this will give error. so if you still want to create then copy this bapi and change the Business object according to your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422333#M1050304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: bapi problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422334#M1050305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got u now but i dont know what i hve to put  in buisness object ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and is it the right bapi to create sales order if not which i wil use for creating bapi , my requirement is to creare sales order for transaction va41..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh Jindal on Sep 6, 2008 10:19 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422334#M1050305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: bapi problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422335#M1050306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the BAPI is correct , but you need to copy the Function to ZBAPI . change the code like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For contracts BUS2034&lt;/P&gt;&lt;P&gt;so after copy the function replace the BUS2032 with BUS2034&lt;/P&gt;&lt;P&gt;&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         = 'BUS2034'  "&amp;lt;-----For Contract order&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422335#M1050306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: bapi problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422336#M1050307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m not able to copy function module&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into my z , it is showing msg ' this is reserved for sap' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how we came to know which buisness object is used for which purpose..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422336#M1050307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: bapi problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422337#M1050308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; i m not able to copy function module&lt;/P&gt;&lt;P&gt;&amp;gt; BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; into my z , it is showing msg ' this is reserved for sap' &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; and how we came to know which buisness object is used for which purpose..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create another function module(with your Function group) create all importing,exporting, table parameters exactly.&lt;/P&gt;&lt;P&gt;and Just CTRL&lt;EM&gt;A ,CTRL&lt;/EM&gt;C, and then CTRL+V in your function.&lt;/P&gt;&lt;P&gt;and change the code as mentioned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table is TOJTB, with Language EN, and Super Type is VBAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can find all Business objects related to Orders(different order types).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:40:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/4422337#M1050308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:40:55Z</dc:date>
    </item>
  </channel>
</rss>

