SAP Function Modules

ITOB_CHECK_AUTHGROUP SAP Function module







ITOB_CHECK_AUTHGROUP is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ITOB_CHECK_AUTHGROUP into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: ITO2
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ITOB_CHECK_AUTHGROUP - ITOB CHECK AUTHGROUP





CALL FUNCTION 'ITOB_CHECK_AUTHGROUP' "
  EXPORTING
    begru_imp =                 " t370b-begru
*   use_buf = 'X'               " sy-binpt
*   langu = SY-LANGU            " sy-langu
*   dialog_mode = 'X'           " sy-binpt
*   dialog_cursor = SPACE       " dd03d-fieldname
*   dialog_stepl = 0            " sy-stepl
*   init_message_data = 'X'     " sy-binpt
*   x_mess_type = 'E'           " sy-msgty
*   read_text_tables = 'X'      " sy-binpt
*   check_auth_tcode = ' '      " sy-tcode
  IMPORTING
    t370b_exp =                 " t370b
    t370b_t_exp =               " t370b_t
  EXCEPTIONS
    EMPTY_KEY = 1               "
    APPLICATION_ERROR = 2       "
    .  "  ITOB_CHECK_AUTHGROUP

ABAP code example for Function Module ITOB_CHECK_AUTHGROUP





The ABAP code below is a full code listing to execute function module ITOB_CHECK_AUTHGROUP including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
ld_t370b_exp  TYPE T370B ,
ld_t370b_t_exp  TYPE T370B_T .


SELECT single BEGRU
FROM T370B
INTO @DATA(ld_begru_imp).

DATA(ld_use_buf) = 'some text here'.
DATA(ld_langu) = 'Check type of data required'.
DATA(ld_dialog_mode) = 'some text here'.

DATA(ld_dialog_cursor) = some text here
DATA(ld_dialog_stepl) = 'some text here'.
DATA(ld_init_message_data) = 'some text here'.
DATA(ld_x_mess_type) = 'some text here'.
DATA(ld_read_text_tables) = 'some text here'.
DATA(ld_check_auth_tcode) = 'some text here'. . CALL FUNCTION 'ITOB_CHECK_AUTHGROUP' EXPORTING begru_imp = ld_begru_imp * use_buf = ld_use_buf * langu = ld_langu * dialog_mode = ld_dialog_mode * dialog_cursor = ld_dialog_cursor * dialog_stepl = ld_dialog_stepl * init_message_data = ld_init_message_data * x_mess_type = ld_x_mess_type * read_text_tables = ld_read_text_tables * check_auth_tcode = ld_check_auth_tcode IMPORTING t370b_exp = ld_t370b_exp t370b_t_exp = ld_t370b_t_exp EXCEPTIONS EMPTY_KEY = 1 APPLICATION_ERROR = 2 . " ITOB_CHECK_AUTHGROUP
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_t370b_exp  TYPE T370B ,
ld_begru_imp  TYPE T370B-BEGRU ,
ld_t370b_t_exp  TYPE T370B_T ,
ld_use_buf  TYPE SY-BINPT ,
ld_langu  TYPE SY-LANGU ,
ld_dialog_mode  TYPE SY-BINPT ,
ld_dialog_cursor  TYPE DD03D-FIELDNAME ,
ld_dialog_stepl  TYPE SY-STEPL ,
ld_init_message_data  TYPE SY-BINPT ,
ld_x_mess_type  TYPE SY-MSGTY ,
ld_read_text_tables  TYPE SY-BINPT ,
ld_check_auth_tcode  TYPE SY-TCODE .


SELECT single BEGRU
FROM T370B
INTO ld_begru_imp.

ld_use_buf = 'some text here'.
ld_langu = 'Check type of data required'.
ld_dialog_mode = 'some text here'.

ld_dialog_cursor = some text here
ld_dialog_stepl = 'some text here'.
ld_init_message_data = 'some text here'.
ld_x_mess_type = 'some text here'.
ld_read_text_tables = 'some text here'.
ld_check_auth_tcode = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ITOB_CHECK_AUTHGROUP or its description.