Maintenance Table SM30 Screen FM

CALL FUNCTION ‘VIEW_MAINTENANCE_CALL’

      EXPORTING

        action                       ‘U’

        view_name                    ‘Z_TABLE_NAME’

      EXCEPTIONS

        client_reference             1

        foreign_lock                 2

        invalid_action               3

        no_clientindependent_auth    4

        no_database_function         5

        no_editor_function           6

        no_show_auth                 7

        no_tvdir_entry               8

        no_upd_auth                  9

        only_show_allowed            10

        system_failure               11

        unknown_field_in_dba_sellist 12

        view_not_found               13

        maintenance_prohibited       14

        others                       15.

    if sysubrc <> 0.

      message id symsgid type symsgty number symsgno

        with symsgv1 symsgv2 symsgv3 symsgv4 .

    endif.