Skip to Content
0

ISU_S_WORKLIST_INSTALL and updating periodic consumption

Oct 31, 2016 at 11:43 AM

152

avatar image

Hi,

I am using FM ISU_S_WORKLIST_INSTALL followed by ISU_S_WORKLIST_INSTALL_PROVIDE to perform device replacement with action '03'.

I can see that device is replaced.But periodic consumption for the replaced device is not populated.Can anyone let me know if i have missed anything.

CALL FUNCTION 'ISU_S_WORKLIST_INSTALL_PROVIDE'
EXPORTING
x_devloc = ' '
x_anlage = gw_euiinstln-anlage "aj
x_eadat = lst_deviceinfo_i-zinsdate
x_geraetneu = lst_deviceinfo_i-geraetneu
x_geraetalt = lst_deviceinfo_r-geraetneu
x_matnr = gw_zidmtt003-matnr
x_matnralt = ls_egerr-matnr
x_action = '03'
x_upd_online = 'X'
x_no_dialog = 'X' "aj
IMPORTING
y_obj = lst_xy_obj "26/10/2016
y_auto = lw_auto
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.

and before calling

ISU_S_WORKLIST_INSTALL

lw_auto-consumption = 'X'. "31/10/2016
lst_xy_obj-auto-consumption = 'X'. "31/10/2016

ls_mod-zwstandce = '0'.
ls_mod-perverbr = lw_auto_zw-perverbr.
ls_mod-anzerg = ls_ezwg-anzerg.
ls_mod-anzdaysofperiod = '365'. "31/10/2016
APPEND ls_mod TO lw_auto-auto_zw_mod.

LOOP AT lw_auto-auto_zw INTO lw_auto_zw.

logic to fill values

MODIFY lw_auto-auto_zw FROM lw_auto_zw TRANSPORTING zwstandce
perverbr
tarifart
kondigre
zwstandca
perverbre
anzdaysofperiod.
ENDLOOP.


LOOP AT lst_xy_obj-auto-auto_zw INTO lw_auto_zw.

MODIFY lst_xy_obj-auto-auto_zw FROM lw_auto_zw TRANSPORTING zwstandce
perverbr
tarifart
kondigre
zwstandca
perverbre
anzdaysofperiod.
ENDLOOP.

Thanks for inputs

Anjana Rao

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Daniel McCollum Oct 31, 2016 at 11:40 PM
2

PERVERBR isn't considered under TX type 03, per the documentation in EMIGALL for the INST_MGMT object.

PERVERBRE isnt considered under any TX type.

I would suggest your approach isn't supported.

EDMLELPV / EXIT_SAPLEL55_007 may be required perhaps.

Share
10 |10000 characters needed characters left characters exceeded
Nic Teunckens Nov 11, 2016 at 11:22 PM
0

As Daniel mentioned, the UserExit "ZXELXU19" (FM "EXIT_SAPLEL55_007") should do the trick.

Not the best approach, but if all other options fail : FM "ISU_DB_EASTE_UPDATE" is (as the name suggests) a function that can perform an update on table "EASTE" ... HANDLE WITH CAUTION, best option is to use the UserExit!

Share
10 |10000 characters needed characters left characters exceeded