<?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: Issue with BAPI_SALESORDER_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448231#M828247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the same thing even it is giving 'Enter Sales Order Number ' ....into BAPIRETURN table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earliest help is appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2008 03:59:05 GMT</pubDate>
    <dc:creator>shishupalreddy</dc:creator>
    <dc:date>2008-02-18T03:59:05Z</dc:date>
    <item>
      <title>Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448227#M828243</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 trying to add line items to the exising sales orders based on some conditions using &lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CHANGE &lt;/P&gt;&lt;P&gt;but it is populating &lt;/P&gt;&lt;P&gt;"ENter the Sales Document Number " as error message into RETURN table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the reason for this message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent !!!!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 03:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448227#M828243</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-18T03:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448228#M828244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show your code? You may not be passing sales order number correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 03:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448228#M828244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T03:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448229#M828245</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;Please see the code below .&lt;/P&gt;&lt;P&gt;order_number = l_t_final-vbeln.&lt;/P&gt;&lt;P&gt;     flag-UPDATEFLAG = 'U'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Item-ITM_NUMBER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; orderheader-SALES_ORG = xvbak-vkorg.&lt;/P&gt;&lt;P&gt; orderheader-DISTR_CHAN = xvbak-vtweg.&lt;/P&gt;&lt;P&gt; orderheader-DIVISION = xvbap-spart .&lt;/P&gt;&lt;P&gt; append orderheader .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; item-HG_LV_ITEM = l_t_final-uepos.&lt;/P&gt;&lt;P&gt; item-MATERIAL = l_t_final-matnr.&lt;/P&gt;&lt;P&gt; item-PLANT = l_t_final-werks.&lt;/P&gt;&lt;P&gt; item-SHIP_POINT = l_t_final-vstel.&lt;/P&gt;&lt;P&gt; append item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; check_fld-UPDATEFLAG = 'X'.&lt;/P&gt;&lt;P&gt; CHECK_FLD-HG_LV_ITEM = 'X'.&lt;/P&gt;&lt;P&gt; check_fld-MATERIAL = 'X'.&lt;/P&gt;&lt;P&gt; CHECK_FLd-PLANT = 'X'.&lt;/P&gt;&lt;P&gt; CHECK_FLD-STORE_LOC = 'X'.&lt;/P&gt;&lt;P&gt; CHECK_FLD-SHIP_POINt = 'X'.&lt;/P&gt;&lt;P&gt; append check_fld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    salesdocument               =   order_number&lt;/P&gt;&lt;P&gt;   ORDER_HEADER_IN             = orderheader&lt;/P&gt;&lt;P&gt;    order_header_inx            =  flag&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SIMULATION                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BEHAVE_WHEN_ERROR           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INT_NUMBER_ASSIGNMENT       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LOGIC_SWITCH                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    return                      = return&lt;/P&gt;&lt;P&gt;   ORDER_ITEM_IN               =  item&lt;/P&gt;&lt;P&gt;   ORDER_ITEM_INX              = check_fld&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARTNERS                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARTNERCHANGES              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARTNERADDRESSES            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_REF              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_INST             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_PART_OF          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_VALUE            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_BLOB             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_VK               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_CFGS_REFINST          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SCHEDULE_LINES              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SCHEDULE_LINESX             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_TEXT                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ORDER_KEYS                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONDITIONS_IN               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONDITIONS_INX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some input on this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 03:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448229#M828245</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-18T03:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448230#M828246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer below thread. You will get sample coding for this BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3422591"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 03:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448230#M828246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T03:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448231#M828247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the same thing even it is giving 'Enter Sales Order Number ' ....into BAPIRETURN table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earliest help is appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 03:59:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448231#M828247</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-18T03:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448232#M828248</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;Change the update flag as &lt;STRONG&gt;'I'&lt;/STRONG&gt; in item flag structure to add new items in sales order and check the result. Also note that you have to specify the quantity when adding new items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 05:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448232#M828248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T05:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448233#M828249</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 provided all the detials but still it is giving the same error &lt;/P&gt;&lt;P&gt;" enter the sales order number "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get me appropriate solution &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448233#M828249</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-18T06:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448234#M828250</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;Put a break point before calling the BAPi and check whether the value of the document is avaialable during the period &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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448234#M828250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448235#M828251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Before Calling the BAPI_SALESORDER_CHANGE bapi please check whether there are lagging zeros for your sales order number if not appned the lagging zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;J.Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448235#M828251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448236#M828252</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;document number has all the zeros , but still it is giving the same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please provide me the solution.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 02:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448236#M828252</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-19T02:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448237#M828253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;            field check_fld-updateflag should have the value 'I' if you are inserting the new item to the sales order. But u r using 'X' in ur code so please change it to 'I' and check it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE:&lt;/P&gt;&lt;P&gt;Controls processing functions with the value in the UPDATEFLAG field (change indicator). &lt;/P&gt;&lt;P&gt;The following entries are available:&lt;/P&gt;&lt;P&gt;' ': Create a new sales document item&lt;/P&gt;&lt;P&gt;I: Create a new sales document item&lt;/P&gt;&lt;P&gt;U: Change an existing sales document item&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Delete an existing sales document item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check_fld-UPDATEFLAG = 'X'.  (Instead use check_fld-UPDATEFLAG = 'I')&lt;/P&gt;&lt;P&gt;CHECK_FLD-HG_LV_ITEM = 'X'.&lt;/P&gt;&lt;P&gt;check_fld-MATERIAL = 'X'.&lt;/P&gt;&lt;P&gt;CHECK_FLd-PLANT = 'X'.&lt;/P&gt;&lt;P&gt;CHECK_FLD-STORE_LOC = 'X'.&lt;/P&gt;&lt;P&gt;CHECK_FLD-SHIP_POINt = 'X'.&lt;/P&gt;&lt;P&gt;append check_fld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the sol;ution is helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;J.Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 04:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448237#M828253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T04:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448238#M828254</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;Please find some points below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this method to change or delete sales orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change header, item, schedule line and configuration data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, note that you should:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only specify fields that should be changed &lt;/P&gt;&lt;P&gt;Select these fields by entering an X in the checkboxes &lt;/P&gt;&lt;P&gt;Enter a U in the UPDATEFLAG field &lt;/P&gt;&lt;P&gt;Always specify key fields when changing the data, including in the checkboxes &lt;/P&gt;&lt;P&gt;The configuration is an exception here. If this needs to be changed, you need to complete it again fully. &lt;/P&gt;&lt;P&gt;Maintain quantities and dates in the schedule line data &lt;/P&gt;&lt;P&gt;Possible UPDATEFLAGS: &lt;/P&gt;&lt;P&gt;U = change&lt;/P&gt;&lt;P&gt;D = delete&lt;/P&gt;&lt;P&gt;I = add&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Delete the whole order &lt;/P&gt;&lt;P&gt;Delete order items &lt;/P&gt;&lt;P&gt;Change the order &lt;/P&gt;&lt;P&gt;Change the configuration &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Minimum entry: &lt;/P&gt;&lt;P&gt;You must enter the order number in the SALESDOCUMENT structure.&lt;/P&gt;&lt;P&gt;You must always enter key fields for changes.&lt;/P&gt;&lt;P&gt;You must always specify the update indicator in the ORDER_HEADER_INX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit control: &lt;/P&gt;&lt;P&gt;The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are adding the line items, your update flag must be set to 'I' in both the places. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the update flag to 'I' and try again. Plz let me know if u still have issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asif Ali Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 06:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448238#M828254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T06:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448239#M828255</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 changes the updateflag to 'I' but still it is giving the below message &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field header_inx-updateflagI is not an input field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help is appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 06:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448239#M828255</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-19T06:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448240#M828256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     keep the header level update flag as 'U' and item level header flag as 'I'.  and also enter all the key fields at the header level and also at item level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if there are any new errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 06:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448240#M828256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448241#M828257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you are not passing the fields for Updation in ORDER_HEADER_INX structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the code below:&lt;/P&gt;&lt;P&gt;FLAG- UPDATEFLAG = 'U'.&lt;/P&gt;&lt;P&gt;FLAG - SALES_ORG = 'X'.&lt;/P&gt;&lt;P&gt;FLAG - DISTR_CHAN = 'X'.&lt;/P&gt;&lt;P&gt;FLAG - DIVISION = 'X'.&lt;/P&gt;&lt;P&gt;APPEND FLAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Item details also follow the same logic.&lt;/P&gt;&lt;P&gt;Since you are adding the line items you should keep the flag as 'I'.&lt;/P&gt;&lt;P&gt;CHECK_FLD-UPDATEFLAG = 'I'.&lt;/P&gt;&lt;P&gt;CHECK_FLD-HG_LV_ITEM = 'X'.&lt;/P&gt;&lt;P&gt;check_fld-MATERIAL = 'X'.&lt;/P&gt;&lt;P&gt;CHECK_FLd-PLANT = 'X'.&lt;/P&gt;&lt;P&gt;CHECK_FLD-STORE_LOC = 'X'.&lt;/P&gt;&lt;P&gt;CHECK_FLD-SHIP_POINt = 'X'.&lt;/P&gt;&lt;P&gt;append check_fld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 07:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448241#M828257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T07:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448242#M828258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thanks for the quick replies ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing as u said . but it is triggering *Enter Sales Order Number *  once BAPI gets into&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SD_SALES_DOCUMENT_READ' function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and greatfull to the solutions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 07:13:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448242#M828258</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-19T07:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448243#M828259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also use this FM.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;           SALESDOCUMENT         = SALESDOCUMENT&lt;/P&gt;&lt;P&gt;           ORDER_HEADER_IN       = DA_ORDER_HEADER_IN&lt;/P&gt;&lt;P&gt;           ORDER_HEADER_INX      = &lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;           RETURN               = RETURN&lt;/P&gt;&lt;P&gt;           ITEM_IN              = DA_ORDER_ITEM_IN&lt;/P&gt;&lt;P&gt;           ITEM_INX             = DA_ORDER_ITEM_INX&lt;/P&gt;&lt;P&gt;           SCHEDULE_IN          = SCHEDULE_LINES&lt;/P&gt;&lt;P&gt;           SCHEDULE_INX         = SCHEDULE_LINESX&lt;/P&gt;&lt;P&gt;           partners             = partners&lt;/P&gt;&lt;P&gt;           partnerchanges       = partnerchanges&lt;/P&gt;&lt;P&gt;           partneraddresses     = partneraddresses&lt;/P&gt;&lt;P&gt;           CONDITIONS_IN        = CONDITIONS_IN&lt;/P&gt;&lt;P&gt;           CONDITIONS_INX       = CONDITIONS_INX&lt;/P&gt;&lt;P&gt;           SALES_CFGS_REF       = ORDER_CFGS_REF&lt;/P&gt;&lt;P&gt;           SALES_CFGS_INST      = ORDER_CFGS_INST&lt;/P&gt;&lt;P&gt;           SALES_CFGS_PART_OF   =    ORDER_CFGS_PART_OF&lt;/P&gt;&lt;P&gt;           SALES_CFGS_VALUE     = ORDER_CFGS_VALUE&lt;/P&gt;&lt;P&gt;           SALES_CFGS_BLOB      = ORDER_CFGS_BLOB&lt;/P&gt;&lt;P&gt;           sales_cfgs_vk        = order_cfgs_vk&lt;/P&gt;&lt;P&gt;           sales_cfgs_refinst   = order_cfgs_refinst&lt;/P&gt;&lt;P&gt;           SALES_TEXT           = ORDER_TEXT&lt;/P&gt;&lt;P&gt;           SALES_KEYS           = ORDER_KEYS&lt;/P&gt;&lt;P&gt;           EXTENSIONIN          = EXTENSIONIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 07:19:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448243#M828259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T07:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448244#M828260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still i am gettig the same error , ENTER THE SALES DOCUMENT NUMBER .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pLEASE Provide me the solution very urgent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 07:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448244#M828260</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-19T07:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448245#M828261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz check:&lt;/P&gt;&lt;P&gt;1. whether the order number u r passing exists. &lt;/P&gt;&lt;P&gt;2. In Debugging mode whether order number that is passed to BAPI is initial or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 08:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448245#M828261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T08:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448246#M828262</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 passing the order number which is existing one and anyhow i am also checking that order is initial or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_SALESORDER_CHANGE fm to add additional line to the existing sales order based on some conditions with in user exit , but it is always giving &lt;/P&gt;&lt;P&gt;ENTER THE DOCUMENT NUMBER error populatin into RETURN table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Once SD_SLESDOCUMENT_CHANGE executed within the BAPI , it is populating the error message&lt;/P&gt;&lt;P&gt;ENTER THE document number .*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody throw some light on this Thread and provide me the solution .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpfull answeres will be given Reward Points without fail .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shishupalreddy ramreddy on Feb 20, 2008 6:16 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shishupalreddy ramreddy on Feb 20, 2008 6:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 22:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi-salesorder-change/m-p/3448246#M828262</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2008-02-19T22:59:41Z</dc:date>
    </item>
  </channel>
</rss>

