Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error when calling FM REUSE_ALV_HIERSEQ_LIST_DISPLAY...

Hello Experts, 

I am having problems using the said FM. It says MOVE_TO_LIT_NOTALLOWED_NODATA. Below is my
code:

CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
      EXPORTING
*       I_INTERFACE_CHECK              = ' '
        i_callback_program             = gv_repid
*       I_CALLBACK_PF_STATUS_SET       = ' '
*       I_CALLBACK_USER_COMMAND        = ' '
        is_layout                      = gs_layout
        it_fieldcat                    = gt_fieldcat
*       IT_EXCLUDING                   =
*       IT_SPECIAL_GROUPS              =
*       IT_SORT                        =
*       IT_FILTER                      =
*       IS_SEL_HIDE                    =
*       I_SCREEN_START_COLUMN          = 0
*       I_SCREEN_START_LINE            = 0
*       I_SCREEN_END_COLUMN            = 0
*       I_SCREEN_END_LINE              = 0
*       I_DEFAULT                      = 'X'
*       I_SAVE                         = ' '
*       IS_VARIANT                     =
*       IT_EVENTS                      =
*       IT_EVENT_EXIT                  =
        i_tabname_header               = gv_tabname_header
        i_tabname_item                 = gv_tabname_item
*       I_STRUCTURE_NAME_HEADER        =
*       I_STRUCTURE_NAME_ITEM          =
        is_keyinfo                     = gs_keyinfo
*       IS_PRINT                       =
*       IS_REPREP_ID                   =
*       I_BYPASSING_BUFFER             =
*       I_BUFFER_ACTIVE                =
*       IR_SALV_HIERSEQ_ADAPTER        =
*       IT_EXCEPT_QINFO                =
*       I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
*     IMPORTING
*       E_EXIT_CAUSED_BY_CALLER        =
*       ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab_header                = im_header
        t_outtab_item                  = im_output
     EXCEPTIONS
       program_error                  = 1
       OTHERS                         = 2
              .
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

Hope you can help me guys. Thank you and take care!
Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question