Beruflich Dokumente
Kultur Dokumente
OIS2
Testmaterial
ALL 3 have same serial profile.
CO01- 5000000896
MIGO-GI
CO01
GI, GR
GR
Serial no cant be duplicated if stock exist if not then we can create same serial no next time as well for
same material.
RISERNR9
Instructions to delete off a serial number from SAP altogether:-
1. Shortcut 'IQ02' - Change Material Serial Number
2. Enter part Number that you want to delete serial numbers from
3. Press return twice - a list of all S/N's in SAP for that DTR will be given
4. Tick the S/N that is incorrect and needs removing
5. Click on the Green 'tick' button to proceed
6. If it says "ESTO" in the 'Status' line, then go to 'Edit', ‘Special Serial No Functions’
and then 'Manual Transaction'. (If this is not applicable go to step 8)
7. Tick the "Frm stock" box, and click on the tick - in the 'Status' line it will now say
"AVBL"
8. Go to 'Edit' and then 'Change Serial No'
9. Enter a unique Serial Number - I use the format of "your initials/todays date and time"
(e.g. MD0704261435, where the date format is YYMMDDHHMM ) - then click on the
Green tick
10. Go to 'Edit', ‘Special Serial No Functions’ and then 'Change Material'
11. Enter "Dummy part number" and click on the tick
12. Press save
13. Repeat steps 2 to 12 if there are more serial numbers to be removed from that DTR
No.
By using 1 we can make serial no unique based on equipment number in automatic
mode
IF_EX_MB_MIGO_BADI~PROPOSE_SERIALNUMBERS
Or use badi
Z00MMBADI0001
IF_EX_MB_CHECK_LINE_BADI~CHECK_LINE
ZXQSMU06
ZXQSMU07
Even I have a similar requirement to get the value of serial number in runtime in MIGO tcode, I
searched and dint find any FM or BAPI to fetch it. So I used the following code.
*field-symbols declarations
field-symbols: <it_goserial> type STANDARD TABLE,
<wa_goserial> type any,
<lv_searial_number> type any.
*for retreiving the serial number
ASSIGN ('(SAPLMIGO)OREF_DETAIL->T_GOSERIAL') TO <it_goserial>.
if sy-subrc = 0.
*Get the serial numbers entered
READ TABLE <it_goserial> INDEX 1 ASSIGNING <wa_goserial>.
if sy-subrc = 0.
*serial number is the second component of the wa_goserial structure (cannot use the component
name 'serialno' b/c the component is NOT defined in the Data Dictionary - it's defined in program
LMIGOKE1)
ASSIGN COMPONENT 2 OF STRUCTURE <wa_goserial> TO <lv_searial_number>.
endif.
endif.
<lv_searial_number> contains the derial number value at runtime.
Error in co11n
OMC1
If 101 is maintained for stor loc here then need to maintain 261 as well for the same else it will give
error for 261