Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Schedule line Restriction

Former Member
0 Likes
816

Hi ,

We have a requirement by which any schedule line of a sales order should be delivered completely.

I mean if we have 10 items to deliver and we we have the stock for 6 .

System will automatically decides to deliver the avilable quantites.

I need to restrict this funtionality.

I have used include MV50AFZ1.

User EXIT -- USEREXIT_SAVE_DOCUMENT.

This working fine for vl01n,

But when we try to do for VL10a.

this peice of code is not working as it is working for VL01n.

I guess i am missing something triky peice of code .

Can anyone who has knowledge of this application suggest me wat i am missing.

Regards

Satheesh.

Hi ,

We have a requirement by which any schedule line of a sales order should be delivered completely.

I mean if we have 10 items to deliver and we we have the stock for 6 .

System will automatically decides to deliver the avilable quantites.

I need to restrict this funtionality.

I have used include MV50AFZ1.

User EXIT -- USEREXIT_SAVE_DOCUMENT.

This working fine for vl01n,

But when we try to do for VL10a.

this peice of code is not working as it is working for VL01n.

I guess i am missing something triky peice of code .

Can anyone who has knowledge of this application suggest me wat i am missing.

Regards

Satheesh.

3 REPLIES 3
Read only

christian_wohlfahrt
Active Contributor
0 Likes
657

Hi Satheesh,

VL10A is a report, with two includes for user-exits:

v50r_userexit_prepare

v50r_userexit_transf

Of course it's possible, that FMs for booking are called, which include MV50AFZ1-exits.

But ...save_document isn't working - maybe you are lucky and a different event is called.

Regards,

Christian

Read only

0 Likes
657

Thank you christain,

Can u please explain more in detail, where are these

v50r_userexit_prepare

v50r_userexit_transf

existing.

Regards

Satheesh

Read only

0 Likes
657

Hi,

you have access with SE38 - that are really just simply includes.

I found them in TA VL10A -> system-status, doubleclick on program name, -> include v50rincl. There is a small list of includes with routines.

Regards,

Christian