Application Development 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: 

VL06G User/Customer/Filed exit

Former Member
0 Kudos

Hi all,

I have created a table which can hold at any moment certain delivery numbers (LIKP-VBELN). I would like to prevent any user from posting goods issue documents related to the delivery numbers held in my table when he/she uses transaction VL06G.

In transaction VL02N I made it (SE37 -> FIELD_EXIT_VBELN_VL), but not in transaction VL06G.

Any ideas? Is there any User/Customer/Field exit in transaction VL06G?

Thanks,

George

1 ACCEPTED SOLUTION

rmazzali
Active Contributor
0 Kudos

use the exit MV50AFZ1(FORM USEREXIT_SAVE_DOCUMENT_PREPARE)

and check IF fcode(4) = 'WABU'. to understand when the user is posting the good issue. Works even in background.

Regards

Roberto

2 REPLIES 2

rmazzali
Active Contributor
0 Kudos

use the exit MV50AFZ1(FORM USEREXIT_SAVE_DOCUMENT_PREPARE)

and check IF fcode(4) = 'WABU'. to understand when the user is posting the good issue. Works even in background.

Regards

Roberto

Former Member
0 Kudos

Hi Roberto,

Your answer seems to be correct. Thank you for your help.

Regards,

George