cancel
Showing results for 
Search instead for 
Did you mean: 

sales order issue

Former Member
0 Kudos

Hi,

how can i make configuration in such a way that when i create sales order it should allow only one line item

Regards

Rakesh

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Dear Rakesh

I dont know why you want to control the number of line items in sale order which can very well be controlled in billing so that with less sale orders, you can create more invoices; rather many sale orders to many invoices which will affect the system speed.

Still if you want, you can try with any of the following sale order user exits

User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT or

User-Exits in program MV45AFZB - USEREXIT_CHECK_VBAP

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi Rakesh,

This can be very well acheived with the help of user exit MV45AFZZ.

In this include MV45AFZZ , the code should be written in the form USEREXIT_SAVE_DOCUMENT_PREPARE .

Regards,

Vvieks

Note : If you need a code for this , then pls let me know.

Answers (0)