12-18-2006 4:28 PM
Dear all
Since we are working with serial numbers on contracts and deliveries, and since that data is rather well hidden for a user, we have a requirement to bring the chosen serial number (technical object) to the foreground, ie. replace/append it at the end of the item description. This should happen immediately as soon as the user changes the serial number via "Serial numbers" (in delivery) or "Technical objects" (in contract).
This works rather well for contracts (SAPMV45A) where we use a function module "GET_SERNOS_OF_DOCUMENT" in userexit USEREXIT_CHECK_VBAP. The trouble is that we couldn't find a userexit in the delivery program to perform similar steps.
What we have looked at:
A) USEREXIT* in SAPMV50A - none of the exits were called after returning from the "Serial Number" popup window
B) LE_SHP_DELIVERY_PROC (BADI) - only methods CHANGE_F*_ATTRIBUTES were called after returning from the "Serial Number" popup, but they don't have XLIPS as export parameter (is just import).
Does anyone have an idea for how to solve this?
Many thanks in advance! - Tom
12-18-2006 4:40 PM
try checking MV45AFZZ...which is common one for most of the SD related stuff.
12-19-2006 12:37 PM
Dear Ramesh
For Contracts (= Sales Doc ~ SAPMV45A), we're OK, it's for deliveries (~SAPMV50A) that we can't find a good userexit that is triggered upon returning from the "Serial Number"s window.
Thanks & Kind regards
Tom