on 02-18-2011 7:22 AM
Hi Experrts:-
I need to change the status of serial number (equipment number ) during Migo (good receipt,Transfer posting).
I have checked all the user exits and number of badis but i am not getting serial number at run time if i get serial numbar
in exit od badi i will change the status
I have used following badi:-
MB_DOCUMENT_BADI
MB_MIGO_ITEM_BAdI
Thanks
Depending on your needs, you need to put below code in a different UserExit or BAdI :
types: begin of ty_s_goserial, "Cfr. INCLUDE 'LMIGOKE1' for 'trx. MIGO
selected type xfeld,
serialno type gernr,
uii type uii_char72,
subrk type xfeld,
end of ty_s_goserial.
data: lt_goserial type standard table of ty_s_goserial with non-unique default key.
data: ls_goserial like line of lt_goserial value is initial.
field-symbols: <fs_goserial> like lt_goserial. "type goserial.
unassign <fs_goserial>.
"Get the SERIALNOs via trx.MIGO-itabs ('GOSERIAL')
assign ('(SAPLMIGO)OREF_DETAIL->T_GOSERIAL') to <fs_goserial>.
loop at <fs_goserial> into ls_goserial.
"do your checks or whatever ...
endloop.
Check the possible 'enhancement points' via break-point in the "CL_EXITHANDLER"-class, method 'GET_INSTANCE' code-line 28 (SY-SUBRC) when running trx. "MIGO". As you can clearly see, this is only applicable when running trx.'MIGO'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use user exits EXIT_SAPLIE01_005 and EXIT_SAPLIE01_007 in customer exit IQSM0005.
Regards,
Lakshman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.