cancel
Showing results for 
Search instead for 
Did you mean: 

User exit in delivery

gino_babu2
Participant
0 Kudos

Dear Gurus

Is there any user exit to restrict (error message) if we pick less quanitiy of goods in delivery than in sales order while doing VL01N.

Regards

Sidhu

Accepted Solutions (0)

Answers (3)

Answers (3)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Other alternative (more complicated) is do it with routines in the copy rules (tcode VTLA) because you need to define your own VOFM, run RV80HGEN and so on.

Regards

Eduardo

Lakshmipathi
Active Contributor
0 Kudos

I presume you were talking about picking quantity and not the delivery quantity since obviously, delivery quantity should always be equal or less than the order quantity and system will not give any error while doing so.

If you are talking about picking quantity, you can deactivate the same in OVLP; of course, it is purely depending upon business requirement. At the least, you can go for user exit which has already been suggested.

G. Lakshmipathi

jignesh_mehta3
Active Contributor
0 Kudos

Hello Sindhu,

You can insert the necessary ABAP code in Include MV50AFZ1 & Use either FORM USEREXIT_SAVE_DOCUMENT_PREPARE or FORM USEREXIT_SAVE_DOCUMENT.

Hope this helps,

Thanks,

Jignesh Mehta