02-09-2012 9:08 AM
hi friends,
in my requirement i have to populate the field likp-btgew in vl02n when the outbound delivery was created
i have updated the field by using user exits in program sapmv50a,
now the field is getting updated but my problem is when i change the line items weight dynamically the total
weight is not getting updated according to my change
i have read the sap oss note-415716(for delivery processing) the user exit (USEREXIT_SAVE_DOCUMENT_PREPARE)
is triggered only when i pressed save.
but my requirement is when user change any of the line item quantity and press enter the total weigt field has to get
updated bcz for multiple line items every time saving is not possible right? its bit lenghthier.........
can anybody pls suggest is there any other way or any usrexit or badi available for this req to update the screen
field likp-btgew dynamically.....
pls help......
regards
babu
02-09-2012 11:35 PM
Hi Babu,
The user exit you chose is not the correct one, check the ADD_LINE, or CHANGE_DATA exit's also check the global variables, There will be some standard internal table which captures the data change by users, generally starts with X/Y
for example XVBAP, YVBAP for sales order.
Best Regards,
Tapodipta Khan.
02-10-2012 2:59 AM
hi khan,
thank u for ur reply,
the userexits i have choosen r working properly except in one case,when i remove or add any of the line items in my delivery total weigt is not getting updated,except in this case, it is working fine when i created the new order r if change the line items quantity it is working fine moreover i will check the userexits specified by u .
if there is any other way pls let me know guys...
regards
babu
Edited by: babu888 on Feb 10, 2012 3:59 AM