12-19-2006 9:44 PM
I am using bapi_equi_create to create a device. The device gets created, but when I look at the device in display mode (IQ03), it does not have a 'IS Data' tab. I believe the information on the 'IS Data' tab is specific to the IS-U(tilities) add-in. When creating a device using IQ01, the IS Data tab shows up - I was hoping to get the same results using this bapi.
Is there something I'm missing when using this bapi? We are on Basis level SAPKB62058 and IS-U/CCS 4.71. Here is my code:
***************************************************************
REPORT ZJS_BAPI_CREATE_DEVICE .
data : w_equi_gen type BAPI_ITOB,
w_equi_spc type BAPI_ITOB_EQ_ONLY,
w_equnr type BAPI_ITOB_PARMS-EQUIPMENT,
w_return type bapiret2.
parameters: p_sernr type equi-sernr obligatory.
w_equi_gen-authgrp = 'ZMTR'.
w_equi_gen-objecttype = 'METER'.
w_equi_gen-acquisval = '999.99'.
w_equi_gen-currency = 'USD'.
w_equi_gen-manfacture = 'ITRON'.
w_equi_gen-manserno = '124458'.
w_equi_gen-manmodel = 'C1SRIDM'.
w_equi_gen-constyear = '2006'.
w_equi_gen-constmonth = '12'.
w_equi_gen-start_from = 20060101.
w_equi_gen-maintplant = 'MAIN'.
w_equi_gen-descript = 'MTR/ERT CL200 240V 3W 1PH'.
w_equi_gen-consttype = '000000000010013884'.
w_equi_spc-material = '000000000010013884'.
w_equi_spc-serialno = p_sernr.
w_equi_spc-equicatgry = 'I'.
CALL FUNCTION 'BAPI_EQUI_CREATE'
EXPORTING
data_general = w_equi_gen
data_specific = w_equi_spc
VALID_DATE = SY-DATUM
DATA_INSTALL =
IMPORTING
EQUIPMENT = w_equnr
RETURN = w_return.
call function 'BAPI_TRANSACTION_COMMIT'.
write: / 'equnr = ', w_equnr.
12-20-2006 12:43 PM
hi
good
go through this link, which ll give you idea how to work with
bapi_equi_create .
thanks
mrutyun^
12-20-2006 12:43 PM
hi
good
go through this link, which ll give you idea how to work with
bapi_equi_create .
thanks
mrutyun^
12-20-2006 4:24 PM
My question really is: Has anyone been able to have the 'IS Data' tab show up on IQ03 when viewing a device created via bapi_equi_create?
The other tabs (general, location, organization, structure, serdata, configuration data) show up just fine. The IS Data tab holds IS-U specific data such as 'Inspection Release'.