ALE Change sales order when Delivey order already created and posted

Dear All,
We  know that
ALE with message type of ORDERCHG can change the sales orde automatically when the purchase order have changes.
And I can still change affect the sales order by change the purchase order even the following delivery has been created and posted.
Have someone has the familiar experience, and is there any
solutions to block this function?
(I mean once the delivery order has been created, the changes on purchase order should not effect the sales order)
Thank you very much!
Best regards,
Sophia

Dear All,
Anyone have the similar experience ?
Is there any clues?
Thanks
Best regards,
Sophia

Similar Messages

  • How to change sales order no. in already posted down payment?

    A sales order was created and a down payment was also posted.
    Later sales order was deleted, but the related down payment still exists.
    Subsequently a new sales order was created for the same customer.
    Now customer is asking to clear his current sales order against the older down payment (which has reference of the deleted sales order)
    An error is getting raised while clearing the sales order and down payment in F-32 as the down payment has reference to deleted sales order.
    Now can I change the sales order no. in the down payment document?
    or is there any other way to clear these transactions, current sales order and old down payment?

    Hi,
    Reverse the down payment entry and repost the same with reference to the new sales order number.
    FB08  to reverse accounting document.
    Regards,
    Srinu

  • Changing Sales Order from using Sales Order Stock to Std Unrestricted

    Hi
    We have set up some materials to default to an Item Category/Schedule lines that creates the Sales Order with relevance to Sales Order Stock.
    However in some instances we need to change the Sales Order to a Std Item Category that just uses Unrestricted stock.
    When we test this currently, we are unable to update the original Line Item as it is GREY.
    So we have been adding a "reason for rejection" then copying information into a 2nd line with a Std Item Category.
    But it is still sitting in MD04 under the Sales Order Stock configuarion and not reducing Unrestricted Stock . .. .
    What are we doing wrong?
    I had assumed that changing the Item Category would remove the Sales Order Stock requirement and use normal Unrestricted.
    Thanks
    Hayley

    Hi,
    In VOV4, has the standard item category been assigned under Manual Item Category column? If the value is assigned, then you can change the item category in sales order.
    Regards,

  • Change Sales Order category to custom category in CIF

    Hi,
    I am CIFing Sales Order from ECC to APO, as per my requirement I need to change the category of sales order for which their are no confirmation.
    The Sales order get CIFed to APO in standard category BM and i want to change to custom category ZM
    I am using a user exit EXIT_SAPLCSLS_002 to read the Sales Order in ECC and changing the Sales Order ATP category to ZM but I am getting an error that it does not match correctly.
    but when I use a different standard category BL instead of ZM it works properly.
    Has anyone used an user exit to change the Sales Order Category, can you please help?
    Thanks & Regards,
    Sanjog Mishrikotkar

    Hi,
    Please try the user exit EXIT_/SAPAPO/SAPLCIF_SLS_001 in APO. This will be called while transferring the Sales orders to APO and the category will be changed. Also maintain the category you are changing in APO.
    Please look at the link for further details
    http://help.sap.com/saphelp_scm50/helpdata/EN/8f/987337e68ae526e10000009b38f889/content.htm
    Regards,
    Sireesh

  • Block For billing when sales order is created

    Hi experts,
                   I have a requirement in which i want to block the sales documrnt for billing when the sales order is created with particular discount value.
    for this i have checked the condition of discount first it works fine no i want to block it for billing.
    My SD consultant told open the sales doc in change mode(VA02) and then go to Billing Block field (FAKSK)  and then give 02 Compl confirm missing and save the doc
    So for this i have writen a method.
    SET Parameter ID 'VBELN' Field OBJECT-KEY.
    Call Transaction 'VA02' and SKIP FIRST SCREEN.
    SET Parameter ID 'FAKSK' Field '02'.
    in this it is calling the VA02 screen but i am not able to pass the billing block value and save.
    Please give me a solution how to do this.
    for blocking i have also used the standard method in BUS2032  SetDefaultBillingBlock
    it is not blocking the billing.
    Or should i use some bapi for this.
    Regards,
    Hari

    Hi Hari,
    SET parameter ID only sets the value to an input field. It wont saves to the database. More over i don't find any parameter ID for billing block in VA02.(May be because it is a drop down).
    Use BAPI BAPI_SALESORDER_CHANGE Pass the sales order number, ORDER_HEADER_IN-BILL_BLOCK = ur blocking code, ORDER_HEADER_INX-BILL_BLOCK = X.
    After calling the BAPI call BAPI_TRANSACTION_COMMIT.
    Above procedure is to programativally.
    If u want to do it manually then directly open VA02 and change the billing block and save.
    I dont think we can set parameter ID for billing block
    Thanks,
    Vinod.

  • Sending Email to Material Department when a Sales Order is created

    Hello All,
           I am a facing the problem to find out the exit when creating the sales order.
    My Requirement is whenever a sales order is created via VA01, a email is sent to the material department with some contents. My task is to enhance the contents of the email.
    Can anybody tell me where, this exit is triggered.
    I have checked in USEREXIT_SAVE_DOCUMENT_PREPARE and
    USEREXIT_SAVE_DOCUMENT. But nothing written in these to forms
    Please come up with ur Ideas
    Regards,
    Vasanth.M

    Hi,
    There might be some output type which is associated with VA02 , that output type triggers when ever you create or change , that might be sending the mail.
    You Go to <b>NACE</b> transaction there you can see the output type related to sales order , in that look for output types which are sending mails. there you can get the driver program and use that progrm , go to SE38 and modify the content accordingly..
    Regards
    vijay

  • BAPI / FM to change Sales order item data

    Hi,
    I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
    KZWI2 - Subtotal 2 from pricing procedure for condition
    KZWI3 - Subtotal 3 from pricing procedure for condition
    KZWI4 - Subtotal 4 from pricing procedure for condition
    KZWI5 - Subtotal 5 from pricing procedure for condition
    I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
    Does any one have idea on how to use this FM or if any other FM is there please let me know?
    Thanks & Regards,
    Sunanda.

    hi Sunanda..
    I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
    example:
    How to change pricing Conditions in Sales order in change sales order bapi
    thanks,
    Padma

  • Error in change sales order.

    Hi ,
    my process is : First create SO than Billing  than Delivery. i need to change the sales order Batch  when
    delivery saved.
    When  i change Sales order Batch  withouting creating billing it is changing Fine through BAPI FM .
    But when i create So --Billing --- delivery than in this case Sales order batch not changing.
    it is giving error like below.
    Field  CHARGE  Can not be changed VBAPKOM 000010 is ready for input'
    Message is comming from message class V1 and Message no 739.
    PLease Reply .
    If any clue Have.
    Thanks.

    Hi,
    When you create a Billing Document for the Sales Order it is no longer possible to change a lot of fields (as these fields have been copied to the Billing Document). Field Batch is one of those fields.
    So if you have to include the batch in the Sales order you must update this field prior to creating the Billing Document.
    Regards,
    John.

  • Problem in updating Billing plan while changing Sales order

    Hi All,
            I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
         The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
       Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
       Please provide your valuable suggestions for updating the Billing date in VKDFS table.
        Thanks in advance for your help.
    Thanks and regards,
    Siva

    Hi,
    I had the same problem. Here is an example code to resolve it:
    REPORT  ytestfg.
    DATA: i_bsid LIKE bsid OCCURS 0,
          i_bsid2 LIKE bsid OCCURS 0.
    TABLES: bsid.
    DATA: doc     LIKE     vbak-vbeln,
          pos(6) TYPE n.
    DATA e_fpla     LIKE     fpla.
    DATA e_fplt     LIKE     fpltvb OCCURS 0 .
    DATA: zfpla     LIKE     fplavb OCCURS 0,
    zfplt     LIKE     fpltvb OCCURS 0.
    DATA zfplt2     LIKE     fpltvb OCCURS 0 WITH HEADER LINE.
    doc = 'G03060619'.
    pos = '000010'.
    CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
      EXPORTING
        document_number = doc.
    CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
      EXPORTING
        i_vbeln                = doc
        i_posnr                = pos
      IMPORTING
        e_fpla                 = e_fpla
      TABLES
        e_fplt                 = e_fplt
      EXCEPTIONS
        no_billingplan_allowed = 1
        no_billingplan_found   = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Read the billing plan
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr          = e_fpla-fplnr
      I_VFKDAT       =
      I_BFKDAT       =
      TABLES
       zfpla          = zfpla
        zfplt          = zfplt
    Upddate the ZFPLT2 table with the new values
    MOVE zfplt[] TO zfplt2[].
    READ TABLE zfplt2 INDEX 1.
    zfplt2-afdat = '20080927'.
    Very important to set field updkz = 'U' ***
    zfplt2-updkz = 'U'. "--> UPDATE!!
    MODIFY zfplt2 INDEX 1.
    CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
      TABLES
        fpla_new = zfpla
        fpla_old = zfpla
        fplt_new = zfplt2 " --> NEW
        fplt_old = zfplt.
    CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Edited by: PHO_BA on Mar 9, 2009 5:28 PM

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • End User Transaction for Mass Change Sales Orders

    Hello,
    Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
    In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
    But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
    Thanks,
    Jake.

    Hi
    See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
    Regards
    Eduardo

  • Getting error in while changing sales order which is created using BAPI

    Hi All,
       I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
    Error mesage :    No status object is available for SDI 300082407/10    (Order Number/Item Number)
    In Header i  am passing these values ...
         wa_order_header_in-doc_type = vbak-auart.
        wa_order_header_in-sales_org = vbak-vkorg.
        wa_order_header_in-distr_chan = vbak-vtweg.
        wa_order_header_in-division = vbak-spart.
    Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
    REFOBJECTTYPE
    REFOBJECTKEY
    REFDOCTYPE
    Regards,
    Sudhakar Reddy A

    rectified

  • Want to get a popup when sales order is created or saved

    hi all ,
             I want to get a popup when sales order is created or saved .Is there any  user exit for the same?
    thanks in advance ,
    Naval bhatt

    Hi,
    try this.
    Go to the include MV45AFZZ of Sales Order Main program SAPMV45A
    and find the correct exit in that and write the User exit code after saving the document FORM USEREXIT_SAVE_DOCUMENT_PREPARE or
    FORM USEREXIT_SAVE_DOCUMENT by calling/writing the
    fun module POP_UP_TO_CONFIRM.
    Regards,
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • When sales order is created ,costing of a material cann't be created automa

    dear suppporter:
      when sales order is created ,costing of a material cann't be created automatically.if i cost the material in va02 ,the cost can be generated.please help me analyse it .
    best regards.

    There is Tick in Delivery block 01 Deliveries: Blocking Reasons/Criteria
    I have observed in testing Before you save a sales order, you look at the schedule line overview, you can see what the system would Proposed confirm date and confirmed qty, if the block were  not set. However, as soon as you save the sales order,(warring message Oldest open items over due will appear) the confirmed quantities are automatically reset to zero because sales order is Blocked. Here the goods remain available for other customers.
    Note : When you release the sales order the automatically in sales order confirmed qty and proposed date will come.
    Here the problem is  when they do MRP run after sales order saved with block Planned order is creating.

  • Trigger custom idoc through ALV when sales order is created in VA01 & VA02

    Dear Experts,
    I am new to the concept of ALV_idoc. Please give me the procedure in detail.
    How to send custom fields to non SAP system when sales order is created or modified in VA01 &VA02?
    Can i use existing Logical Systems and Ports and partner profiles?
    Thanks & Regards
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Jan 17, 2012

    hi,
    the first option is the right one. the FM invoked makes a direct input, so all the functionalities in S.O. are the standard one in the same way as if you are making it manually.
    Also you can have some exits in the Idoc FM, so you can manipulate data there before loading the sales order.
    pls. reward if helpful
    regards
    Roberto

Maybe you are looking for