07-30-2007 11:34 PM
Hi ,
Does anyone know the global structure or internal table in which the serial numbers entered for the items get stored while creating an outbound delivery, TCode VL01N program SAPMV50A.
I need to refer back to the serial numbers entered while inside a user-exit which gets triggered during save.
N.B:- It is not XLIPS-SERNR.
Greatly appreciate if someone can help out.
Thanks
Rudra
07-31-2007 1:16 AM
07-31-2007 2:35 AM
07-31-2007 4:18 PM
Hi Seshu/Karthikeyan,
Appreciate your responses, however XLIPS-ANZSN contains the number of serial numbers entered.
Like if you have entered serial numbers for 5 items then this field will contain the value 5 not the actual serial numbers entered.
I need to know the table where the serial numbers entered are stored.
Thanks
Rudra
07-31-2007 5:35 PM
Check these tables -> T377 ,SNUM Tables
FV50XFSN -> it is within SAPMV50A
----
FORM SERIALNUMBER_UPDATE.
CHECK AUFRUFER NE CHART.
CHECK V50AGL-WARENAUSG_STORNO NE CHARX.
CALL FUNCTION 'SERIALPROFILE_CHECK'
EXPORTING
OPERATION = 'SDLP'.
ENDFORM.
Check the program : FV50XFSN -> it is within SAPMV50A
FORM SERIALNUMBER_AUTOMATICALLY.
DATA: XANZSN LIKE RISA0-ANZAHL,
XTRTYP LIKE T180-TRTYP,
XOPERA(04) TYPE C,
lf_ident like sy-uzeit, "v_n_814124
lt_msg type tsmesg,
ls_msg like line of lt_msg,
lf_msgno like sy-msgno, "^_n_814124
LF_VORGANG(04) TYPE C.
IF V50AGL-SAMMELGANG NE CHARX.
XTRTYP = T180-AKTYP.
ELSE.
XTRTYP = CHARH.
ENDIF.
loop at xlikp where updkz ne updkz_delete and "hp_403037
klief is initial .
LIKP = XLIKP.
PERFORM XVBUK_LESEN(SAPFV50K) USING LIKP-VBELN.
CHECK NOT VBUK-WBSTK = CHARC.
LOOP AT XLIPS WHERE VBELN = XLIKP-VBELN
AND SERAIL <> SPACE
AND UPDKZ <> UPDKZ_DELETE.
also this fm for serial numbers SERNR_ADD_TO_AU
Thanks
Seshu