on 04-19-2017 8:11 AM
Hi.
I need to manually(from internal table) add serial numbes in transaction MIGO_GI but i fail to find any BADI or EXIT that meets my requirements.
I tried IQSM0008 and MB_MIGO_BADI, but I don't have access to the serial number table displayed in MIGO_GI.
So my question is if there is some BADI or EXIT status, from where I can modify the serial number table.
Hello Lasha
I think you could do something like this in one of your (earlier) BAdI / UserExits, but Modifying this data is obviously
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,
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>.
"Checks or Modifying ...
LOOP AT <fs_goserial> INTO ls_goserial.
"...
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for quick responce, I got the table after I removed
subrk TYPE xfeld
from the type definition.
I added the code to some of the exits( I'm appending a line to the table) but it's not showing in the screen.(it's getting changed back to the original before it's displayed to screen)
Can you tell me an example of User Exit or BADI where the modified table is saved?
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
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.