FM ISU_S_WORKLIST_INSTALL_PROVIDE

Hi all experts,
I need to make this FM works but it seems that it has failed with either error "no_found" or "input error" .
   CALL FUNCTION 'ISU_S_WORKLIST_INSTALL_PROVIDE'
    EXPORTING
      x_anlage        = anlage
      x_eadat         = x_eadat
      x_geraetalt     = old_device
      x_action         = '05'
      x_upd_online   = ' '
    IMPORTING
      y_obj          = obj
      y_auto         = 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.
On the codings above, can anyone suggest how to get to correct values ?
For my own testing, i have selected anlage from EASTS and old_device from EGERR-Garaet.
Help is very much appreciated. Thank you in advance !

Hi Kevin,
the action '05' is only possible with update.
Set x_upd_online = 'X' and it will work.
best regards
Sabine

Similar Messages

  • Function Module ISU_S_METERREAD_CREATE

    Hi,
    In Function Module ISU_S_METERREAD_CREATE which is the field used to create master and sub installation Meter Reading?
    Regards
    Anbu

    Hi Rohit ,
    First you have to call FM ISU_S_WORKLIST_INSTALL_PROVIDE and it will give you the AUTO structure filled.
    Make sure you set the ok code in AUTO structure to 'SAVE'. 
    And then you just fill in AUTO-ZW structure with your meter readings like this :
    LOOP AT lt_auto_zw ASSIGNING <fs_auto_zw>.
    <fs_auto_zw>-zwnummere = '001'. " Register Number
    <fs_auto_zw>-zwstandce = '0'. " Meter Reading
    <fs_auto_zw>-tarifart = 'WT_FIREM'. " Rate Type
    <fs_auto_zw>-perverbr = '0'. " Periodic Consumption
    <fs_auto_zw>-kondigre = 'FACTS'. " Rate Fact Group
    <fs_auto_zw>-anzdaysofperiod = is_install-anzdaysofperiod. " Days of Periodic Consumption
    ENDLOOP.
    After these steps you call FM  ISU_S_WORKLIST_INSTALL.
    If you do not have filled in AUTO-ZW structure, you will get the exception as you mentioned.
    You can also see this link :  How to use ISU_S_WORKLIST_INSTALL
    Chu

Maybe you are looking for