Problem with Sales Order BAPI  Update...Very Very Urgent....Pls Help me out

I am trying to update the sales order text using "BAPI_SALESORDER_CHANGE" But i am getting an error as " Sold-to party E455 not maintained for sales area E901 C1"
    I passed the sales order no, and the text to be upated and the Update flag is set to "U".
    When i try giving the same values in se37 it updates the sales order text successfully but when i use the same BAPI in the report i am getting the above error. Can anyone pls help me out.

hi
the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
<b>reward points</b>
Regards

Similar Messages

  • Problem with sales order bapi..

    HI experts,
    from va02, if my change means of transportation conditon types are updating correclty.
    but the same thing if i do with Action ZM05 velo related, this in not workig fine.
    in side my process i have BAPI_SALESORDER_CHANGE.
    Please let me know if any possbile solutions on this.
    Regards,
    Jayant

    Hi,
    you must commit or roolback after use this BAPI.
    Commit if returncode it's ok.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
    Rollback in another case.
    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
    * IMPORTING
    *   RETURN        =
    Rgds

  • Problem with sales order and Service order

    Dear Guru's
    We have a real problem with sales orders and service orders and how we treat these. For a project that uses a WBS, it's not a problem to manipulate SAP to give us a list of shortages (orders with no or limited supply) for each order, but for some reason our after sales orders and our service orders do not work this way.
    Thanks and Regards,
    Deethya.

    CLOSED

  • Transfer Posting problem with "sales order stock type" status

    Hello, i have this problem, i spend 2 days looking in the forum, but
    nothing, the question is:
    The SD users sell an item, and the item get the status of "sales order
    stock type" in the MMBE, but at the same time, the MM user made a
    trasfer posting in two steps, he take out material with transaction
    MIGO, mvt 351, to another plant, but the materail was already
    compromised with SD; now he cant sell the items, because he dont
    realize that the material was in sales order stock type, and he already
    transfer it to another plant. how can i block this? if a material in
    MMBE is with "sales order stock type" status, he CANT transfer it with
    351 mvt type, what config i have to make?  thanks a lot!!!!
    now the quantity of the unrestict use
    stock is lower than the sales order, we dont want to have this issue,
    thanks again
    Edited by: Alex Arti on Aug 6, 2008 7:14 PM
    Edited by: Alex Arti on Aug 6, 2008 7:16 PM

    Hi!
    Have you recently upgraded to EHP4? In this case, please, check the note 1441195. This note should solve the issue that you are reporting.
    I hope this helps,
    Esther.

  • Hi guys (very urgent pls help me out)

    i have an doubt that iam using JBoss AS, my scienraio is
    inital when start my Application Server it will connects to mysql DB datasource, i will retrieve some values those are DB Names like oracle,sql server,db2 etc in my JSP page iam placed at combo box upto this i am very much successful but now my problem is after gettinh those values in html select box.
    if user selects Oracle and in the same screen user can enter connection config details and after submitting the request. At runtime App Server want to connect for that particular Database.
    for ex Oracle and its connection parameters then it want to connect that particular Database without restarting the server.
    so mysql is internal DB and Oracle is external db. how to manage this scienraio
    please anyone knows solution, pls help me out......
    regards
    Yadav

    hi
    the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
    <b>reward points</b>
    Regards

  • Problem with Sales Order update(VA02)

    Hi,
    I have created a sales order. I am changing the same order. I am adding few more items to this order and saving it. When I am saving this order, it says that the order has been saved. and when I am trying to view the same order again using VA02, I am getting a 'SAP office express info' popup saying 'Express document "Update was terminated" received from author "Paddu"'. and the description says 'Update was terminated'.
    Error Info...   V2 101: Error during update of Table VBAP
    Can someone tell me why I am getting this error. and what is this error related to.
    and when I again view the order in VA02, the changes I did were not saved. Con someone please tell me the reason for this. Thanks in advance.
    Best Regards,
    Paddu.

    Hi Gert,
    Thanks for your reply. Sorry for not providing the details.
    I just found the update error details in SM13. Please find the details below.
    Function Module   : RV_SALES_DOCUMENT_UPDATE
    Status                  : Update was terminated
    Report                  : LV45UF0V
    Row                      : 175
    Error details   Class:     V2         Number:    101
    V2 101: Error during update of Table VBAP
    Could you please let me know if you find any reason for this error as it is very urgent. Once again I am very much thankful to your time. Tell me if you find any reason.
    Thannks & Regards,
    Paddu.

  • Problem with sales order update from MIGO ( using BADI)

    I have written a BADI while doing MIGO, through which I am updating Sales order “Order Quanity”.
    I am able to update the Quantity successfully in sales order, but I am getting following update termination message which is mentioned below.
    "Sales Order 376446 has failed an update to the billing date associated to Transaction MIGO
    Contact your STC Key user for assistance
    PO Number:"
    Any clue? Please suggest.
    Regards,
    Krishna Prasad MVN

    I have written a BADI while doing MIGO, through which I am updating Sales order “Order Quanity”.
    I am able to update the Quantity successfully in sales order, but I am getting following update termination message which is mentioned below.
    "Sales Order 376446 has failed an update to the billing date associated to Transaction MIGO
    Contact your STC Key user for assistance
    PO Number:"
    Any clue? Please suggest.
    Regards,
    Krishna Prasad MVN

  • Problem in Sales Order BAPI

    Hi All,
    M using BAPI_SALESORDER_CREATEFROMDAT2 to create Sales Order. It is working fine & creating sales order. But i also want to give Order Quantity in sales order. What is the field name for that in BAPI.
    Thanks in advance....
    Regards
    AK

    Hi AK....
    You  can assign the quantity in table  
    ORDER_SCHEDULES_IN
    you have to assign REQ_QTY in this table for material....
    Here For each material you have to assign Item no....
    like
    010
    020
    with ref to that material gets identified in this table.......
    eg.
    in item table
    item 010 and material no is 0000000001
    and if u wan to give quantity then
    ORDER_SCHEDULES_IN
    itme no 010 and   REQ_QTY = 10
    That will solve your problem
    Regards
    Ashish

  • Problem with sales order line items

    hey All,
    I wrote a simple test program this morning Using DI API that creates and updates orders, and I found some weird behaviour:
    1. Once an order is created, if a line item is deleted off the order in B1 - the updates work fine.
    2. If an item is added to the end of the order, the updates work fine.
    3. If an item is added in the middle of the existing line items, the next update does weird things - it swaps prices and item keys and screws up the order total.
    4. If an item code is changed to an existing item (such as changing the AddModel the actual item code), the update does weird thing, same as #3.
    Has anyone experienced issues such as this? Or has anyone successfully completed an application like this that works properly?

    Ok can anyone from SAP comment on this please? I have some more details if you want to duplicate this.
    My simple program just creates a sales order from DI API. Then you complete step 2, 3, 4 as listed below using a Business One Client.
    I then go back to my program and do some simple updates to the sales order through DI API using the SetCurrentLine method and looping over the Lines object count. Once I call the update method and go back into B1 to look at the order the DI API has updated the wrong items.
    Anyone have any ideas or run into a similiar problem? We are desperate here for a fix.
    Steps to duplicate
    1. Create B1 sales order using DI API with 4 line items for example
    2. In B1, delete a line item in the middle of the order
    3. Change the first any item Code to a different item
    4. Save the order in B1.
    6. Run a sales order update from DI API.
    7. Recall the order in B1 - the totals will be all jacked up and the prices will no longer match the items

  • Problem With Sales order

    Hi Guys
    we created a Salesorder  with  10 items in which the material for last item of  118 qty  was got abosolute before getting deliveres and a new item was created throught back order on the next day and allocated 1 qty from 118 qty
    the remaining Items and one qty conformed was deliverd and got shipped.
    here my problem is
    the item which i talking got stucked at that level with out making availability check for the remaining 117 qty thought there is stock for that material
    and also it is disabling the feilds in the VA02 Tcode to change the status .
    the one qty conformed was deliverd and shipped to cust with the othere items
    below are the two lines of item in  my sales order
    120     8201532     118     EA     START-DEV  ZOBS             0     D     10/17/2006     F002
    130     8201786     118     EA     START-DEV  ZTAN             120     D     10/17/2006     F002
    can any tell me please why and where this problem occured
    Thanks & Regards
    Babu

    Hi,
    Check up the material type of the Sales item and the availabillity checking group allocated in the material master.
    Reward points if satisfied.
    Thanks
    Augustine Ponraj

  • Problem with sales order consumption

    Hi
    I hope someone can help?  I have a problem with consumption of sales orders in APO.  When a sales order comes across from R/3 it doesn't consume the forecast until a later sales order comes across, then the previous one consumes forecast.  So all sales orders consume forecast apart from the latest one on each material.
    Many thanks
    Michael

    Hi Please confirm the following are right in your strategy configuration in R/3:
    Strategy:         40 Planning with final assembly
    Reqmts type for indep.reqmts   VSF Planning with final assembly
    Reqmts class: 101
    Consumption: 1 Consume planning with assembly
    Planning Ind.   1 Net requirements planning
    Reqmt type of customer reqmt   KSV  Sales order with consumption
    Requirements class             050  Warehouse consumpt.
    Allocation indicat.   1 Consume planning with assembly
    No MRP                  Requirement planned

  • Problem with sales order stock.

    Hi all,
    I have stuck in one problem, please help.
    We created one sales order A and after production stock is moved to that sales order.But then we created sales order B and moved stock of A to sales order B(By 413 E?). system created materail document for stock movement but stock was not transfered. we can see that stock is against sales order A only. But material document shows that stock is moved to B. then we deleted Sales order B.
    Now the stck is against sales order A. when we try to do shipment systen gives error ' VALUATED STOCK BECOMES NEGATIVE.' Message No. M7 314. We have to.ship this material.
    When I see the value of this stock it is showing zero.
    Please advice what to do.
    Thanks.
    Edited by: s j on May 10, 2010 3:25 PM

    Hi!
    Have you recently upgraded to EHP4? In this case, please, check the note 1441195. This note should solve the issue that you are reporting.
    I hope this helps,
    Esther.

  • Problem with Sales order Credit Limit

    Hi,
    Ex: Customer - A
    Credit Limit - 50000
    While creating the sales order, if the customer exceeds the credit limit, Block the customer for creating the sales order.
    How can i do this
    Solution Pls
    Rgds
    sunfico

    Hi,
    Good morning and greetings,
    You maintain the credit limits in FD32 and for establishing auto credit check functionalities use OVA8 and you can also specify leverage for +/- deviations...For releasing the blocked orders use VKM2.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Problem with Sales Order Creation

    Hi,
    In my sales order creation program if item qty is zero, it should not include that item in the order. It is not working properly with this example it is creating same order for customer 1001 and 1004. It is checking for qty = 0 condition and executing 'continue' statememt , then it is not checking 'At end of kunnr' and creating only one order for all the remaining 4 items from 1001 and 1004 other than 0 qty's.
    kunnr   matnr   qty     order#
    1001     51038     723     102255
    1001     51054     0
    1001     51055     0
    1004     51038     207     102255
    1004     51054     236     102255
    1004     51055     219     102255
    it should create like this.
    kunnr   matnr   qty     order#
    1001     51038     723     102255
    1001     51054     0
    1001     51055     0
    1004     51038     207     102256
    1004     51054     236     102256
    1004     51055     219     102256
    Please help me fix this.
    Thanks,
    veni.

    Hi,
    Here is the code.
    WHEN 'ORDERS'.
          DESCRIBE TABLE gt_zprice LINES lv_cnt.
          DO lv_cnt TIMES.
            lv_index = sy-index + 4.
            READ LINE lv_index FIELD VALUE chbox.
            IF chbox = 'X'.
              READ TABLE gt_zprice INTO gs_zprice1 INDEX sy-index.
              IF sy-subrc EQ 0.
                gs_zprice1-index = sy-index.
                APPEND gs_zprice1 TO gt2_zprice.
                CLEAR gs_zprice1.
              ENDIF.
            ENDIF.
            CLEAR chbox.
          ENDDO.
          gt4_zprice[] = gt2_zprice[].
         SORT gt4_zprice BY kunnr vtweg.
          LOOP AT gt4_zprice INTO gs_zprice1.
            IF gs_zprice1-crmemo IS INITIAL.
              AT NEW kunnr.
                MOVE 'Y' TO lv_flg.
              ENDAT.
              IF lv_flg EQ 'Y'.
                PERFORM headerdata.
                PERFORM texts.
                CLEAR lv_flg.
              ENDIF.
              IF gs_zprice1-eohqty IS INITIAL.
                CONTINUE.
              ENDIF.
              PERFORM itemdata.
              APPEND gs_zprice1 TO gt3_zprice.
              CLEAR gs_zprice1.
              AT END OF kunnr.
                PERFORM call_function.
                PERFORM update_pricetable.
                PERFORM errorcheckandcommit.
                REFRESH gt2_zprice.
                CLEAR chbox.
                REFRESH partner.
                REFRESH item.
                REFRESH itemx.
                REFRESH lt_schedules_in.
                REFRESH lt_schedules_inx.
                REFRESH conditions1.
                REFRESH order_text.
                lv_itemno = 10.
              ENDAT.
            ELSE.
              REFRESH gt2_zprice.
              CLEAR chbox.
            ENDIF.
          ENDLOOP.
          WRITE: /01(179) sy-uline.
          PERFORM headings.
          WRITE: /01(179) sy-uline.
          PERFORM displaydata.
      ENDCASE.
    Thanks,
    Veni.

  • Document Date Problem with Sale Order

    Hi,
    This issue is related to Create Sales Order ( VA01).
    In sales order after entering sold to party, purchase order no, required delivery date ,delivering plant , material, order quantity etc.
    When I am going through menu path GOTO>HEADER>SALES . In that DOCUMENT DATE
    field is there and this field taking back date that is 26.06.2008. Even I am preparing sales order today
    but in document date field system capturing fix date 26.06.2008.  Please help me why system capturing
    same date & how I can solve this problem.
    Manoj Pise.

    Hi
    manoj
    please check the system datum. date setting in yr computer u may fix the problem.
    pl check.
    thx

Maybe you are looking for

  • Error while extending iSupply Portal VO

    I try to extending iSupply Portal PosPosummaryVO by create a new view object, and extend PosPosummaryVO. after sql statement step, I appear a error message " Each row in the Query Result Columns must be mapped to a uniqe Query Attribute in the Mapped

  • Flash Player Video Performance issue in IE 9.0.124

    So everything was going fine until we got all users to update their player to the new 9.0.124 version. We host HD videos on our site and people love the quality we provide. Well at least until now. Videos started to stutter while download is still in

  • SMS issue on OS 10.2.1.537

    everything working find after the update to 10.2.1.537 expect the SMS. have no problem sending or getting sms/mms but nothing's visible within the "text messages" folder.  new sms also not notified and asterick and sound (despite setting the sound on

  • SMQ2 Error "Screen output without connection to user"

    Hi All, In the SMQ2 in CRM the queues are stuck with the message "Screen output without connection to user", and we are recieving an ABAP dump as "DYNPRO_SEND_IN_BACKGROUND" in the CRM system. Is anybody aware of such problem ?Please suggest. -Nishik

  • ITunes Library doesn't share to iPhone properly

    Hi everyone. I have an iPhone 4S and a WIndows 7 computer with iTunes 11. I have iTunes set to share entire library. Then when I go to my iPhone and select Music > Shared > and then select the library, it loads for a while and then appears, but I not