Skip to Content

Assign Contract to existing Sales Order

Hello All,

I have scenario when a sales order is created prior to contract with block and then after I create a contract and then assign it to sales order in header (standard functionality).

My issue is in case above, system is not copying header data from contract to sales order.

My copy control routine at header is 51-General header data, 101-Header business data, 001-Partner header

Can someone help me out with suggestions, fixes?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • Oct 14, 2016 at 07:39 PM

    In your business process, since sales order is already created before contract is created, it won't copy. You need to first create contract, then with reference to contract if you create sales order, the header details will be copied.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Absolutely right!

      Copy functions will work e.g. if you create sales order with funtion "Create with reference" (Button in VA01 start screen).

      This is a little bit different than it is in SAP MM.

      Best regards

      Patrick

  • avatar image
    Former Member
    Oct 18, 2016 at 03:48 PM
    -1

    Hello Vix,

    Unfortunately, when creating documents in this order, the Create with Reference function will copy the line item data to the existing order, but will not copy the header. You would need to develop code via user exits/copy routines at the item level to update the header data based on the contract you are copying. The header copy routines are only executed when creating a new order.

    Bret

    Add comment
    10|10000 characters needed characters exceeded

    •  user exits/copy routines at the item level to update the header data based on the contract you are copying

      There are no user exits or routines to do such thing (and for a good reason). In any case, custom code is not an answer to everything. We should not be eager to slap ABAP on a bad business process. I wouldn't make such recommendations, especially when it's not even clear what is the purpose of such "backwards" process. IMHO OP needs to reconsider the design, as others already suggested.

  • Oct 15, 2016 at 04:26 AM

    Can you please share your business process on the purpose of Sales order creations prior contract creations?

    Phanikumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2016 at 12:44 PM

    Hi Shiva,

    How you expect to happen to copy the header data from contracts if sales order is already created prior to contract creation. This will not be possible. Moreover as mentioned by you about the copy control you are maintaining the copy control from contract to release order i.e. sales order which implies anything and every thing form contract to sales order will be copied as per the setting not vise versa.

    Adding to the above the cycle which you are trying is not possible and not a standard one too as per my understating. But I m really very eager to understand your business scenario in which your are trying to explore this business process. Request you to please explain the same to us.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 17, 2016 at 12:58 PM
    a sales order is created prior to contract with block and then after I create a contract

    Can you share the sequence of transactions which you have executed? With standard configuration, system will not allow you to create a contract with reference to a sale order and not sure, how you have assigned that, first of all.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2016 at 06:37 PM

    Hello everyone,

    Thank you for responding to my query. And sorry for updating late.

    For everyone's benefit let me explain the process. the process is very similar to AMAZON PRIME for free shipment and special pricing etc.

    Customer places the order and after the sales order is placed. Customers are given opportunity to sign-up for Membership as in my e.g. AMAZON PRIME. Customers are also given opportunity to take benefit of new membership.

    Membership is treated as periodic billing from contract. This functionality is to apply contract advantages to existing (non-processed orders).

    We were able to crack this and like everyone and said and i agree that cannot be achieved by standard configuration. So we used enhancement to do this in order update.

    In this enhancement we updated VBAK-VGBEL as ref doc. this enhancement has a flip side to it. It does not update document flow (Geez!! I wish life was simpler.. lol)

    I haven't found perfect solution to it yet but I will keep this forum updated.

    Let me know if some knows easier way to do this currently I'm looking at few doc flow functional module for it.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2016 at 04:41 AM
    Customer places the order and after the sales order is placed. Customers
     are given opportunity to sign-up for Membership as in my e.g. AMAZON 
    PRIME. Customers are also given opportunity to take benefit of new 
    membership.

    What if customer not participated in your member ship??

    **This functionality is to apply contract advantages to existing (non-processed orders)**

    What do you mean by Non-Processed orders?

    How you are passing the advantage of contracts to already created docs now??

    I feel, instead of disturbing the regular document flow -we may give the required details in a report format (depends on business final decision)

    Phanikumar

    
                        
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2016 at 09:16 PM

    Phani,

    Sorry that I confused you. Well, contracts are only created for customers that requires membership, otherwise sales orders will have a standard flow.

    Non processed orders refers to those order that is punched in and while on the call customer agrees to buy membership. The orders are blocked and sent to different dept. for contract creation. Customers are pre-authenticated in payment card. Order blocks are released for sales person to allow contract to be copied to sales order created prior to contract.

    I hope that clarifies.

    Thank you for follow-up keep it coming.

    Add comment
    10|10000 characters needed characters exceeded