2005 May 11 9:36 AM
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.
2005 May 11 10:16 AM
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
2005 May 11 10:26 AM
Thank you christain,
Can u please explain more in detail, where are these
v50r_userexit_prepare
v50r_userexit_transf
existing.
Regards
Satheesh
2005 May 11 11:49 AM
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