Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM SERIALNUMBER_LIST_UPDATE doesn't work

Hi ABAPers

I'm looking for a FM that let me to activate the Equipment View (t-code IQ02).

I tried with SERIALNUMBER_LIST_UPDATE but it doesn't work for me. This is my code:

REPORT  zupdate_equi_fm.


DATA: gt_iequi  TYPE STANDARD TABLE OF riequi,
gs_iequi 
TYPE riequi,
gt_imase 
TYPE STANDARD TABLE OF mase,
gs_imase 
TYPE mase.

gs_iequi
-matnr  = '000000000000017200'.
gs_iequi
-sernr  = '40586307601015'.
gs_iequi
-aedat  = sy-datum.
gs_iequi
-aenam  = sy-uname.
gs_iequi
-equnr  = '000000000047036700'.
gs_iequi
-eqtyp  = 'E'.
gs_iequi
-s_equi = 'X'.
gs_iequi
-herst  = 'HITRON TECHNOLOGIES INC'.
gs_iequi
-dbknz  = 'X'.
gs_iequi
-equpd  = 'X'.
gs_iequi
-begrui = 'E'.

APPEND gs_iequi   TO gt_iequi.
CLEAR: gs_iequi.

gs_imase
-matnr  = '000000000000017200'.
gs_imase
-lsernr = '40586307601015'.

APPEND gs_imase   TO gt_imase.
CLEAR: gs_iequi.

BREAK-POINT.

CALL FUNCTION 'SERIALNUMBER_LIST_UPDATE'
*   EXPORTING
*     is_master_data = space
TABLES
iequi         
= gt_iequi
imase         
= gt_imase.


Where is the problem?

Thanks!

Tags:
Not what you were looking for? View more on this topic or Ask a question