cancel
Showing results for 
Search instead for 
Did you mean: 

sales order copy from billing document not allow reference twice

Former Member
0 Kudos

I'm facing problem that creating Sales document

when create the sales order "A" reference from billing "B",

I still can create the sales order " C" from billing "B",

we are not allow one billing can be reference to 2 orders ,

Is there any setting can solve this issue ?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member209761
Active Contributor
0 Kudos

Dear David,

In such scenarios , ie, copying from Billing to Order, the item category completion rule might not be helpful.

What you can do is , in your copying routine assigned in the VTAF , write a logic to check whether any previous sales order are created from the billing.

If yes, do not allow the sales order creation.

Check and revert back.

Thanks & Regards,

Hegal K Charles

moazzam_ali
Active Contributor
0 Kudos

We are doing the same with control in copy control. Check in copy control routine. Ask your ABAPER to write this logic in routine in VOFM. Tell him your requirement he will write this logic. Once you create a document with reference to billing system will never allow to create another document with reference to this.

Former Member
0 Kudos

Hi,

You can control this selecting the completion rule for the item category as A= Item is completed by first reference in VOV7/0vlp.

use this item category in T.code: VTAF under the billing type.

Hope this helps.

Regards,

Sharan

Former Member
0 Kudos

Forget my last message...