cancel
Showing results for 
Search instead for 
Did you mean: 

Line items restriction in sales order

Former Member
0 Kudos

Hi,

how to restrict enduser to enter 10 line items if he enters more than 10 line items system has to restrict.What settings we have to done for this

Regards

Karthik.R

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hai,

u can achieve thru a user exit in order level.,

but in billing level u can achieve it .

SPRO-SALESAND DISTRIBUTION-BILLING--, check for the setting there.

regards

sriram.

Former Member
0 Kudos

HI.,

If you want to restrict the end user to enter only 10 line items ,we can satisfy this requirement with the help of user exit MV45AFZZ

REWARD if helpfull

Thanks & Regards

Narayana

Former Member
0 Kudos

Hi,

There is no restriction in sales order level.SAP has given this facility for restriction in billing document

However you can use userexit SAVE_DOCUMENT_PREPARE in program MV45AFZZ in sales order creation creation program and write the desired code with help of ABAPer.

Reward Points if useful

Regards,

Amrish Purohit

Former Member
0 Kudos

No my requirement is to restrict in sales order only not in billing document

Regards

Karthik.R

Former Member
0 Kudos

Hi,

I have given you solution for restriction in sales order only my dear

Reward points if useful

Regards,

Amrish Purohit

Former Member
0 Kudos

Yes Purohith,

As you given userexit in billing programme and u said to specify desired code in sales order programme with the help of abaper what is the desired code .

Regards

Karthik.R

Former Member
0 Kudos

Hi dear,

Kindly check twice before you make such statements.

This is program MV45AFZZ

USEREXIT_SAVE_DOCUMENT_PREPARE

Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.

The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.

Regards,

Amrish Purohit