Skip to Content
0
Mar 12, 2020 at 02:19 PM

Getting error as Equipment can't be blocked during device full removal in "ISU_S_WORKLIST_INSTALL"

161 Views

Getting this issue only in some cases.
CALL FUNCTION 'ENQUEUE_EIEQUI'
          EXPORTING
            equnr          = equipment 
          EXCEPTIONS
            foreign_lock   = 1
            system_failure = 2
            OTHERS         = 3.
        IF sy-subrc <> 0.
        ENDIF.


CALL FUNCTION 'ISU_S_WORKLIST_INSTALL'
            EXPORTING
              x_haus         = premise
              x_devloc       = device location
              x_anlage       = installation
              x_eadat        = removal_date
              x_action       = "02" 
              x_upd_online   = 'X'
              x_no_dialog    = 'X'
            IMPORTING
              y_db_update    = lv_db_update
            CHANGING
              xy_obj         = xyz_obj
              xy_auto        = xyz_auto

CALL FUNCTION 'DEQUEUE_EIEQUI'
          EXPORTING
            equnr = equipmet.