2010 Apr 22 12:07 AM
Hi,
I want to know the user exit for VL02N or VL02 for following scenario.
-Stop user from changing "Delivery Qty" for certain condition. Which user-exit should I use?
(I am not sure how to use method CHANGE_DELIVERY_ITEM of BADI LE_SHP_DELIVERY_PROC)
Thanks,
Chirag
Hi,
I want to know the user exit for VL02N or VL02 for following scenario.
-Stop user from changing "Delivery Qty" for certain condition. Which user-exit should I use?
(I am not sure how to use method CHANGE_DELIVERY_ITEM of BADI LE_SHP_DELIVERY_PROC)
Thanks,
Chirag
2010 Apr 22 5:59 AM
hi,
There are many ways to find user exit:
1. Go tcode SMOD ->under SD module search for it.
2. Find the main program of VL02N search for key word 'call customer-function' of the man program put break point and study the documentation.
2010 Apr 22 6:00 AM
Hope you want to disable the field "delivery quantity". In this case you can use the method "CHANGE_FIELD_ATTRIBUTES" of badi "LE_SHP_DELIVERY_PROC". Try below code
data : CT_FIELD_ATTRIBUTES type SHP_SCREEN_ATTRIBUTES_T,
WA_FIELD_ATRIBUTES type SHP_SCREEN_ATTRIBUTES.
MOVE 'LIPSD-G_LFIMG' to wa_field_attributes-name.
move '0' to wa_field_attributes-input.
append wa_field_attributes to ct_field_attributes.Regards
Vinod
2010 Apr 30 3:38 PM
Hi Guys,
Thanks for the replies.
I have another requirement to not to allow user to delete whole Delivery in certain condition and display custom error message.
Is it possible to utilize any method from BADI or I need to use another user exit/BADI?
If any method from BADI, how do I use it?
Thanks,
Chirag
2010 May 01 11:37 AM
Use form routine USEREXIT_SAVE_PREPEARE in user exit MV50AFZ1. Check the value LIKP-UPDKZ ( ='D' ) if the user is deleting the delivery.
Regards
Vinod
2010 May 14 8:19 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |