Skip to Content
0

Assign Contract to existing Sales Order

Oct 14, 2016 at 05:56 PM

558

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

8 Answers

Shiva Ram Oct 14, 2016 at 07:39 PM
2

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,

Show 1 Share
10 |10000 characters needed characters left 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

0
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

Show 1 Share
10 |10000 characters needed characters left 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.

1
Phanikumar Valiveti Oct 15, 2016 at 04:26 AM
0

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

Phanikumar

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 17, 2016 at 12:44 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
G Lakshmipathi
Oct 17, 2016 at 12:58 PM
0
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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 25, 2016 at 06:37 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Phanikumar Valiveti Oct 26, 2016 at 04:41 AM
0
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


                            
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 26, 2016 at 09:16 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded