2010 Nov 17 2:17 PM
Hi guys,
We are trying to crerate a device location and install a new device using FM 'ISU_S_WORKLIST_INSTALL'.
Can i am creating a device location using it?
Hoe can i am creating device location and installing device?
Regards,
Parixit Patel.
2010 Nov 18 9:44 AM
Hello,
The device location should be created prior to the device installation....
Please see the following which should help your to implement your required functionality:
Functional Modules:
ISU_S_WORKLIST_INSTALL
ISU_S_DEVLOC_CREATE
ISU_METER_INSTALL
See Transaction BAPI:
BAPI_FUNCLOC_CREATE :This BAPI enables you to create an individual functional location
BAPI_EQUI_INSTALL :used for installing a piece of equipment at a functional location or a superior equipment.
BAPI_EQMT_INSTALLFL :this method to install a piece of equipment at a functional location at a specified time. If the installation is performed successfully, the method returns the updated equipment data.
See transaction SWO1:
Object DEVICE -> Method Device.Install -> Install Equipment (Functional Location, Superior Equi)
Oject DEVLOC ->Methid DeviceLocation.CreateFromData -> Create Functional Location (IS-U)
Hope this is helpful.
Regards
Olivia
2010 Nov 18 10:37 AM
Thanks Olivia
In 'ISU_S_WORKLIST_INSTALL' i am passing equipment No and i am trying to create a full installation but it return message
'Internl Error' .
am i create a full installation using this FM?
Where 'ISU_S_WORKLIST_INSTALL' FM is use?
How can i am create a full installation?
Regards,
Parixit Patel.
2010 Nov 18 10:45 AM
2010 Nov 18 11:13 AM
Thanks Again Olivia
I am passing followong value in FM, But i am geting an error 'Different plants not permitted for installation/dismantling'.
Can u tell me what is the Problem ?
technical device installation
wls_auto-interface-anlage = " Installation
wls_auto-interface-eadat = " Date of Activity'.
Technical Device Installation
wls_auto-interface-action = '01'.
Auto Parameters
wls_auto-interface-upd_online = 'X'.
wls_auto-interface-no_dialog = 'X'.
wls_auto-interface-no_event = 'X'.
wls_auto-interface-no_statistic = 'X'.
wls_auto-interface-no_change_doc = 'X'.
Registers Data for automating Install/Removal/Reversal
wls_zw-anzerg = '01'. "'No of MR per results'.
wls_zw-anzdaysofperiod = '365'.
wls_zw-zwnummere = '001'. "'Register'.
wls_zw-zwstandce = "'Meter Readings'.
wls_zw-perverbr = '180'.
wls_zw-tarifart = 'DSCM'.
wls_zw-kondigre = '1000'.
Devices Data for automating Install/Removal/Reversal
wls_ger-matnr = "'Material No / Device Category'.
wls_ger-geraetneu = "'Serial Number'.
wls_ger-equnrneu = " 'Equipment Number'.
wls_ger-gerwechs = '05'.
wls_ger-create_new_dev = 'X'.
wls_ger-no_mr_required = 'X'.
APPEND wls_ger TO wlt_ger.
wls_auto-auto_zw = wlt_zw.
wls_auto-auto_ger = wlt_ger.
wls_auto-okcode = 'SAVE'.
wls_auto-zwstand = 'X'.
CALL FUNCTION 'ISU_S_WORKLIST_INSTALL'
EXPORTING
x_anlage = wa_enal-anlage
x_haus = wa_zmasternewcon-haus "'Connection Object'
x_eadat = wa_aufk1-zz_inst_date "'Date of Activity'
x_action = '01'
x_upd_online = 'X'
x_no_dialog = 'X'
x_no_event = 'X'
x_no_statistic = 'X'
x_no_change_doc = 'X'
IMPORTING
y_result_tab = wlt_res
CHANGING
xy_auto = wls_auto
xy_ext_cont = wls_cont
EXCEPTIONS
not_found = 1
foreign_lock = 2
invalid = 3
internal_error = 4
not_qualified = 5
input_error = 6
system_error = 7
not_customized = 8
OTHERS = 9.
Regards,
Parixit Patel.
Edited by: parixithpatel on Nov 18, 2010 6:47 PM
Edited by: parixithpatel on Nov 18, 2010 6:48 PM