<?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: Problem with BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375951#M184340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the order actually saving now... and just stating that the line item is incomplete?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2006 14:22:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-16T14:22:13Z</dc:date>
    <item>
      <title>Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375940#M184329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am Veerendra, &lt;/P&gt;&lt;P&gt;Please help me how to create sales order using this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing Header data to BAPISDHD1, &lt;/P&gt;&lt;P&gt; Partner data  to ORDER_PARTNERS &lt;/P&gt;&lt;P&gt;and Item data to BAPISDITM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am filling the item data for only one item with item number(1000) , Material number(10135) and Qty 1 (target_qty).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Bapi It is returning error messages like:&lt;/P&gt;&lt;P&gt;1.E   |V1   &amp;lt;524   |Only quantity 1 EA is allowed (Item 001000) &lt;/P&gt;&lt;P&gt;2.E   |V4   &amp;lt;248   |Error in SALES_ITEM_IN 001000  &lt;/P&gt;&lt;P&gt;3.W   |V1   &amp;lt;555   |The sales document is not yet complete: Edit data   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease reply to these doubts as soon as possible.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;veerendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375940#M184329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375941#M184330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check whether you have mentioned other unit of measure in the item other than 'EA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the material is configured only for 'EA' in material master (MM01, MM02) then you can only give that of unit of measure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375941#M184330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375942#M184331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veerendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you create this order on-line with the same header data and line item info?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, resolve that first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375942#M184331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375943#M184332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that you MUST fill in the schedule line table as well.  This schedule line data MUST contain the ordered qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build schedule line as well.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    move l_number to schd_lin-itm_number. "line number&lt;/P&gt;&lt;P&gt;    schd_lin-req_qty = i_vbap-kwmeng. "ordered qty&lt;/P&gt;&lt;P&gt;    append schd_lin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ORDER_HEADER_IN           = hdr&lt;/P&gt;&lt;P&gt;      convert                   = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      SALESDOCUMENT             = salesdoc&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      return                    = ret_tbl&lt;/P&gt;&lt;P&gt;      ORDER_ITEMS_IN            = itm&lt;/P&gt;&lt;P&gt;      ORDER_PARTNERS            = prtnr&lt;/P&gt;&lt;P&gt;      ORDER_ITEMS_inx           = itmx&lt;/P&gt;&lt;P&gt;      ORDER_CONDITIONS_IN       = conds&lt;/P&gt;&lt;P&gt;      ORDER_CONDITIONS_INX      = condsx&lt;/P&gt;&lt;P&gt;      order_schedules_in        = schd_lin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375943#M184332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375944#M184333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the return table click for details in the first error and check in which table it is showing error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct that field and also pass the ISO unit of measusea also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times this error occurs because of ISO UOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rg,&lt;/P&gt;&lt;P&gt;VM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375944#M184333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375945#M184334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI jhon, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ya tried to create on-line also it is workin with the same header data. And Bapi also returning message like header data is sucessfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease suggest if somthing is else is missing.&lt;/P&gt;&lt;P&gt;veerendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375945#M184334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375946#M184335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked by passing unit of measure (EA)to &lt;/P&gt;&lt;P&gt;item_in- SALES_UNIT.&lt;/P&gt;&lt;P&gt;Then also it is giving same problem.&lt;/P&gt;&lt;P&gt;iS THERE ANY OTHER CHANCES?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;VEERENDRA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375946#M184335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375947#M184336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass 'EA' to ISO unit of measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In target quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rg,&lt;/P&gt;&lt;P&gt;VM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375947#M184336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375948#M184337</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;Could you check what is the unit of measure maintained for material 10135 in MM03. it is available on basic data 1. Use the same in your bapi and let us know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375948#M184337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375949#M184338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As cited above, you must add the SCHEDULE LINE data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must also call the BAPI_TRANSACTION_COMMIT function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       WAIT          = 'X'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;       RETURN        = ret_text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 13:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375949#M184338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T13:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375950#M184339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI JOhn, &lt;/P&gt;&lt;P&gt;Thanks it is working with shedule line item, &lt;/P&gt;&lt;P&gt;Still it is saying item data is incomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please what else i need to pass.&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;P&gt;Veerendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 14:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375950#M184339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375951#M184340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the order actually saving now... and just stating that the line item is incomplete?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 14:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375951#M184340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375952#M184341</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;Best thing to know what are the fields to get the completeion status in item would be enter the same data that you are passing in BAPI in transaction VA01 and see the incompletion log. The transaction will traverse you through all the screens and fields where you need to fill valid data in order for it to be completed. Make a note of those fields and populate the same in your BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 14:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375952#M184341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375953#M184342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is still NOT saving, do this in the debugger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set a breakpoint near the beginning of your program (before the call out to the BAPI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you reach the breakpoint, from the menu bar of the debugger choose: Breakpoints &amp;gt; Breakpoint at &amp;gt; Function Module...  Enter func module SD_SALES_DOCU_MAINTAIN as the func module.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now execute.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will now breakpoint at the core func module that attempts the creation of the sales document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute just past this Func mod call.  Once you return from this func mod, check the contents of internal table RETURN - which is returned from the func mod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table contains the details of an issues.  These table contents are not passed back to the BAPI in their entirety... unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this should tell you WHY the creation is seeing incomplete data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 14:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-salesorder-createfromdat2/m-p/1375953#M184342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-16T14:29:30Z</dc:date>
    </item>
  </channel>
</rss>

