Ship to party address no change in sales order after delivery creation

hi
We have a below requirement
After creation of delivery document,we should not be able to go and change ship to party in va02 of sales order..
Tried using partner functions config,but it disables ship to party change completely...
But we want to disable ship to party change only if delivery is already created.
regards
sudha

hi swetha,
as per my understanding goes:
you need to make SH field GREY when a delivery document is generated for it.
but now even if delivery is created or not SH field is GREYED.
you can use
USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ
LOGIC : when ever the sales order status is completed or partially completed then only this SH field should be GREYED other wise NOT.
hope this clears your issue & please check from your end
balajia

Similar Messages

  • SD : Ship to party and bill to party address getting changed in sales order

    Dear All ,
    We are facing a problem in production client regarding Ship to party and bill to party address getting changed at the sales order level. First of all , i would like to discuss the sales business process in which the problem is getting faced.
    Step 1 : The sales order is created for machine with all relevant details and the ship to party and bill to party address is changed as per the business requirement.
    Step 2 : The outbound delivery is created with reference to sales order.
    Step 3 : The commercial invoice, intercompany invoice and excise invoice is created.
    Step 4 : The Credit memo request is created with reference to commercial invoice no.
    Step 5 : The Credit memo is created.
    Step 6 : The FOC value contract is created with reference to credit memo.
    Step 7 : The FOC release order is created with reference to value contract, where ship to party and bill to party address is changed as per requirement.
    Step 8 : Outbound delivery is created for realse order.
    Step 9 : The FOC invoice is created.
    The problem is the moment we change the address in step 1 , the system gets in manual mode. Hence, whenever Bill to party and ship to party address is changed at Step 7, the same gets replicated at the machine invoice level which is incorrect.
    Please comment / reply ASAP.
    Regards.

    During the manual change if you  want to assign a new address number (which
    prevents the changing of the address in the preceding document),
    you can use Note 97832 (modification).

  • Ship to party  name (despcription) change in Sales order

    The requirement is as follow:
    After entering the Sold to party in a sales order, user enters the Ship to party code and would like change the name (description) of the ship to party as he likes in sales order. But without maintaining / modifying changes in partner functions/ customer master.  There is only one ship to party, so there will be no pop up to select the ship to party.
    This is something like one time customer ...here they want the the ship to party name can be changed.
    With Regards,
    Amar

    You should be able to change address in sales order and that change is only valid for this particular sales order. User should go to header partner function tab and select the ship to part and go to details and then change the address.
    Be sure that your delivery note is reading ship to party address from sales order not from customer master otherwise you will get old address in delivery papers.

  • Tax condition(JVAT) of ship to party is not triggering in Sales order

    Hi,
    Tax condition(JVAT) of ship to party is not triggering in sales order...
    Scenario:
    Tax condition types:
    JCST- CST Payable
    JVAT- VAT Payable GJ
    Customer Tax classification for JVAT in OVK3:
    1-  VAT 4%
    A- VAT 0%
    B- VAT 2%
    Material Tax classification for JVAT in OVK4:
    0-Tax Exempt
    1-Full Tax
    In CMR for
    Sold to Party:1001(Mumbai), In Sales Area Data(Billing Tab),we have
    Country/Name/Tax category/Name/Tax Class./Descrption
    IN / INDIA / JCST  / CST Payable / 1 / CST 3%
    IN / INDIA / JVAT / VAT Pay GJ  / 1 / VAT 4%
    In CMR for
    Ship to Party:2001(Gujarat),In Sales Area Data(Billing Tab),we have
    Country/Name/Tax category/Name/Tax Class./Descrption
    IN / INDIA / JCST  / CST Payable / 1 / CST 3%
    IN / INDIA / JVAT / VAT Pay GJ  / A / VAT 0%
    Access Seq:   JLST
    Condition table : 368(Country/Region of Del Plant/Region/Tax class1-Cust/Tax Class1-Mat)
    Condition record maintained for JVAT as IN/GJ/GJ/1/1 as 4%
    Condition record maintained for JVAT as IN/GJ/GJ/A/1 as 0%
    Now the sale(Shipping to) is happening in Gujarat..
    In sales order
    I entered SP:1001 and SH: 2001
    When i check the pricing in sales order,condition type JVAT is triggering 4% which is not true as it as to pick 0%
    Kindly guide me where i went wrong...
    Regards
    Azeez.Mohd

    Hi Friends.
    I found the solution...
    Its customization mistake..
    Solution:
    When we have 'n' tax categories then we should have 'n' condition tables..
    I have 2 tax categories: JCST and JVAT but i have only one condition table 368 which is wrong.. i should have 2 condition tables.. so i created another con. table 468 and assigned to access aeq JLST.
    then when i create cond. record , we have to select the appropriate table then it will fetch accordingly.. in sales order..
    with regards

  • Change a sales order while delivery

    Hi Gurus,
    I need to change the status of a sales order line item from being complete to incomplete in case it fails some validation during delivery creation.
    I was earlier planning to code this in the copy-control routine ( order to delivery)  and use the standard FM BAPI_SALESORDER_CHANGE in the copy control code to attain this, but however, the sales order cannot be edited when being delivered.
    Is there any other means of attaining this. Backend update of tables can lead to a couple of challenges and undesired behavior that I want to avoid.
    Regards,
    Jasmit

    Dear Jasmit ,
    As Regards to the Change a sales order while delivery.
    There will be 2 Approaches for it
    1. Firstly use the User Exit SAPMV45A.
    2. Use the Enhancement V45S0001/V50S0001/V50R0004
    This will definitely help in your requirement .
    Regards,
    Saurabh Goel

  • How to change the pricing rate of Sales Order after delivery is created?

    Is it possible to update(change) the pricing rate which belong to a specific condition type, of the "Sales Orders"  after corresponding delivery is created ?
    number of the Sales Order to be changed is huge. How can I handle this situation ?
    immediate replies would be rewarded

    Repricing is only possible if your pricing record has a valid from date that is equal to or before the pricing date on the order. Otherwise, your pricing rate change will be applicable only from the begin date of that record.
    Assuming that it is allowed by config, you can go to VA02, go to conditions, and then there is small button at the bottom, that says 'Update'. By pressing that, your system will automatically reprice the sales order, provided, as I said, all pre-conditions are met. Once you know that you can do this, then you can adopt any of the technical solutions that Rich had suggested above to do the mass changes.

  • Price has been changed in sales order after invoice created

    Hi,
    We have a scenario where there has been a change in sales order prices after invoice created. when user try to pull out a report for incomplete sales orders through V.02 and these orders populating in (incompletion log is showing for Customer Expected price).
    when I looked into the changes for those sales orders, there is FI job which did all those changes and it is difficult to find the details of what the job does.
    Please suggest me the work around how should I remove these sales orders from incompletion log.
    Thanks
    Anuja

    Hi. Anuja. has accounting document generated.? Because once the accounting document generates there no fields we can change apart from output types. I think in your scenario there are no accounting documents generated. may be , because of that reason The pricing has changed after the invoice. In order to solve this , in billing type uncheck posting block check box......
    I Think it might helpful.
    regards, ADITHYA

  • Sales Order - Returns change the sales order item delivery status

    Hi All,
    we have the following requirement from our users:
    after creating a return, the original sales order should have the
    delivery item status changed.The system should permit that a new
    delivery can be created for sales order item already delivered / billed (a new delivery with the quantity that has being returned) but has a return document,
    without increasing the sales order quantity.
    Does any body got the same requirement ?
    Thanks in advance,
    Marcus

    Hi Marcus,
      After creating return order you have to do the goods receipts.But this doesn't mean that you will be able to create a delivery with the old order itself.
      You have to create the order again and ahve to create a new delivery,goods issue and billing.
      Another option is as Roberto said that you have to reverse the goods issue thru VL09 and then cancel(delete) your delivery and then you can create a new delivery wr.t to your original sales order.
      Reward points if it helps.
    Regards
    Karan

  • Field sequence Change in Sales order after adding new field( Resolved)

    Hi I have added a new filed into sales order/item overview.(addded thr se51-layout ) . but when i go to va01/02/03, i noticed that the field sequence is changed due to my new field.(but when i see the layout its differnt and correct.)( even i checked changing the groups also)
    Is there something i need to do..?Please advise. Thanks a lot.
    <b>Answer:</b>
    Table view is configurable in VA01/02/03.( No matter where you add the  new fields)
    Users can always move them to desired position.
    Message was edited by: Deadlock1
    Message was edited by: Deadlock1
    Message was edited by: Deadlock1

    Hi
    In the comments for the subroutine, it says:
    *       Parameter new_pricing controls the new pricing in the calling *
    *       form. It can be filled according the the allowed values       *
    *       of domain KNPRS (Pricing type), for example:                  *
    *       ' ' = no new pricing                                          *
    *       B   = Carry out new pricing                                   *
    *       C   = Copy manual pricing elements and redetermine the others
    So, you must write:
    If VBAP_WERKS NE *VBAP_WERKS.
      new_pricing = 'B'.
    Endif.
    Regards
    Eduardo
    Edited by: E_Hinojosa on Aug 25, 2011 8:21 AM

  • Disable certain changes in sales order after production order release

    We are in the MTO scenario and are also using variant configuration. The business requirement is that after a production order has been released (REL status) the preceding sales order item should be “locked” for certain changes. Such changes would include VC and some other fields (e.g. quantity and dates). Some minor changes like texts should still be allowed.
    The best idea we could come up with is to put some validation in the sales order user exits, but there are some disadvantages. It seems kind of strange though that there would be no such functionality in standard SAP (e.g. some changes in the order can’t be made after a delivery has been created). Is there by chance anything in the configuration that we missed?
    I found this old thread, but it still seems to require user exits. Unfortunately couldn't find anything specifically on the production order / SO integration.
    Thank you!

    Hi Jelena,
    Try in the userexit MV45AFZZ
      (form userexit_field_modification)
    Example:
    select * from afpo where kdauf = vbap-vbeln
    and   kdpos = vbap-posnr.        
    if sy-subrc = 0.
    select single * from aufk where aufnr = afpo-aufnr.
    if aufk-loekz = ' '.                                 
    select single * from jest where objnr = aufk-objnr
    and   stat  = 'I0002''   
    and   inact = ' '.
    if sy-subrc = 0.
    screen-input = 0'.
    endif.
    endif
    endif.
    endselect.
    .H.Terras

  • Sales orders and delivery creation

    Hi :
    im selecting sales orders , items and schedule line
    from a custom table based on plant, shipping point and delivery creation date.
    Is there any relation between Schedule lines and delivery creation date.
    For delivery creation date d_date = SY-DATUM, and should select Mat Avail dt MBDAT or Trans. planning dt TDDAT which ever comes earlier.
    vbep-edatu = itab-d_date.
    select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
    on a1belnr = vbapvbeln
    inner join vbep on a1posnr = vbepposnr
    where a1~werks = p_werks
    AND vbap~vstel = p_vstel
    AND vbep~edatu = p_edatu
    AND (vbep~mbdat <= p_edatu OR
    vbep~tddat <= p_edatu ).
    can anyone help me with this select statement.
    Thanks.
    Raghu

    Hi,
    Modify the Selec as below:
    select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
    on a1belnr = vbapvbeln
    inner join vbep
    <b>on  vbapvbeln =  vbepvbeln and vbapposnr = vbepposnr</b>
    where a1~werks = p_werks
    AND vbap~vstel = p_vstel
    AND vbep~edatu = p_edatu
    AND (vbep~mbdat <= p_edatu OR
    vbep~tddat <= p_edatu ).
    Regards,
    Anji

  • Restrict Sales Order for Delivery Creation

    Dear Experts,
    We are supplying material to our customer (He is our subsidiary company). All the material codes within the two companies (i.e., our customer and us) are same. My customer is creating Purchase Order on us and through BDC program auto sales order is getting generated at our company. Pricing conditions are also copied from the PO to SO. We are not maintaining any pricing conditions for this customer.
    My customer wants to supply the materials only against the sales orders created during the month only. Example: If auto sales orders are created during August'09 till 31st Aug, delivery should be created before 31st August only. From 1st Sept'09 onwards delivery should not create against the open sales orders created till 31st aug'09. When we try to do the delivery, system should not allow for creation of delivery from 1st Sept'09 onwards.
    Can u please guide me whether we have any standard process for this to control the delivery creation? or we need to go for any development?
    Your early reply in this regard is highly appreciated.
    Thanks
    Murthy SD

    hi you can use scheduling aggrement concept for the same.
    Alternatively , you can write logic in the exits .
    program:
    MV50AFZ1
    code:
    loop at xlips.
              select single vbegdat venddat from VEDA into (VEDA-VBEGDAT,VEDA-VENDDAT)
                                                   where vbeln = xlips-vgbel
                                                     and vposn = xlips-vgpos.
                 if sy-subrc = 0.
                 if VEDA-VBEGDAT is initial and VEDA-VENDDAT is initial.
                 else.
                  if sy-datum ge VEDA-VBEGDAT and sy-datum le  VEDA-VENDDAT.
                  else.
                  MESSAGE  'sales order referred is outside validity range' type 'E'.
                  endif.
                 endif.
                 endif.
              endloop.
    the code is to be writeen in exit of delivery i.e whenever delivery is being created wr to order it checks the dates in order
    Rwd points if helpful
    regards
    chandresh

  • Assign LC to Sales order after delivery is created

    Dear All,
    Business want to assign the LC to sales order even after creation of delivery document.
    But once delivery is created Payment guaratee procedure and Financial doc no. fields in sales order are greyed out.
    Is it possible to make this fields editable even after delivery.
    We can assign LC to delivery document but there too many deliveries with reference to one order and user very often misses to assign LC to delivery.
    Please advice.
    Regards
    Mayank

    Hello,
    Firstly for Sales Orders against which you have created Delivery, LC No. (Financial Document) feild in the Sales Order can not be made editable now. It is against the Business Principles as explained above.
    Regarding your doubt on making the Feild mandatory in future, there will definitely be different Distribution Channel for Exports or some other thing that is common for all Export Orders where LC is required. Apply a User Exit in which you can write a code to check that Condition that is common for all Export Order & make the Financial Document No. Feild mandatory.
    But for Sales Orders for which you have created Delivery, the feild cannot be entered now & you have following two options:
    If you want to enter the LC no. just for information sake, Enter in it any Text Id available in Sales order or update the Table entry directly for VBKD - LCNUM feild, but this is not recomemded practice & check with your ABAPer whether it is possible or not.
    Hope this clarifies,
    Thanks,
    Jignesh Mehta

  • Plant change in Sales Order not possible due to Sales Order BOM

    Hi all,
    we are trying to change the Delivery Plant in a Sales Order after the creation of a Sales Order BOM, but it gives a V1773 message first, then a blocking error V1810. The same happens with a Production Order.
    How can we change the Delivery Plant after the creation of one of these objects?
    Our scenario:
    - Make To Order
    - Sales Order BOM created with transaction CS61
    - Sales Order Routing created with transaction CA01
    We need to create the Sales Order BOM on the Production Plant (which doesn't change), but we need to be able to change the Delivery Plant in any time.
    Should you have further questions, feel free to ask.
    Thanks in advance,
    Giuseppe

    Hello Caselli,
    For V1773, please check the solution provided by note 588884, which is a modification. With this note it turns possible to delete all multi-level sales order BOM using transaction CSKB, which may be useful.
    The behavior mentioned by you is the standard behavior of the system. The scenario works as designed, a plant change is only possible as long as there is no other document assigned to the sales order.
    Longtext of V1 810 says:
    The plant can no longer be changed in the following situations:
        2. There is a production order for the order item but it is not a static assembly order.
    Your scenario seems to be point 2 as mentioned above. You can check the requirement type (VBAP-BEDAE) and requirement class in OVZH and assembly type (MNTGA) in OVZG.
    If you change the plant for the items with existing production orders, it will cause the incorrect values in the COPA. An order item is assigned to plant A and the corresponding production order exits. This
    means that the costs are assigned to plant A (this is the place where the costs accrue). Order and production order will be balanced at plant A.
    If you now, after the process has already started, should allow to change the order to plant B the following examples of problems will come up:
    - The costs accrued in plant A (see production order)
    - The SD order is now assigned to plant B, this means billing will be with plant B
    This leads to the fact the costs are on plant A, plant B has a benefit. Plant A cannot settle the costs and plant B has unexpected earnings. Inconsistencies in all involved process steps, SD, CO, COPA are the results.
    If you want to change the plant in the sales order you'll have to perform these steps:
    = Delete the production order.
    = Change the plant of the sales order item from A to C.
      This should be possible unless there are other documents which are already assigned to this sales    order item. Save.
    = Create a new production order and assign it to the sales order item again.
    I hope I am able to help you with this information.
    Best Regards,
    Bhavin Joshi

  • Dynamic data flow from sales order to delivery and vice-versa

    Hi Experts,
    One of our teams working for a client (transportation industry) on ECC 6.0 is facing an issue in relation to copying of partner data. (Ship-to-party address field changes to be precise)
    Currently, whenever the partner address data changed in a Sale order, though delivery is already created prior to this change, the change done is dynamically getting reflected in delivery too. Further, if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    We have checked the copy controls under VTLA and didn’t find any specific modifications made in this regard. Our question is:
    Is there any configuration available in standard SAP through which the data updates (like header data viz. partner field data etc.) get dynamically updated forward and backwards in a sales flow(i.e. from sales order to delivery and vice-versa)
    Your help on this will be highly appreciated.
    Regards,
    Jagan

    if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    The standard functionality is if you change the address of a partner function, the same will get reflected in an existing sale order.  This being the case, can you reconfirm your statement that in delivery, if you change the partner function, the same will get updated in sale order also?
    G. Lakshmipathi

Maybe you are looking for