SAP Function Modules

SEM_SRM_SET_TABS_EXTERNAL SAP Function module







SEM_SRM_SET_TABS_EXTERNAL 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 SEM_SRM_SET_TABS_EXTERNAL into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM SEM_SRM_SET_TABS_EXTERNAL - SEM SRM SET TABS EXTERNAL





CALL FUNCTION 'SEM_SRM_SET_TABS_EXTERNAL' "
  EXPORTING
    is_tab_flags =              " uss_ys_tab_flags
*   it_sth_infl =               " uss_yt_sth_infl
*   it_sth_share =              " uss_yt_sth_share
*   it_sth_sth_grp =            " uss_yt_sth_sth_grp
*   it_sth_expect =             " uss_yt_sth_expect
    i_anlaenanz =               " char2         Component of Version Number
    .  "  SEM_SRM_SET_TABS_EXTERNAL

ABAP code example for Function Module SEM_SRM_SET_TABS_EXTERNAL





The ABAP code below is a full code listing to execute function module SEM_SRM_SET_TABS_EXTERNAL 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_is_tab_flags) = 'Check type of data required'.
DATA(ld_it_sth_infl) = 'Check type of data required'.
DATA(ld_it_sth_share) = 'Check type of data required'.
DATA(ld_it_sth_sth_grp) = 'Check type of data required'.
DATA(ld_it_sth_expect) = 'Check type of data required'.
DATA(ld_i_anlaenanz) = 'Check type of data required'. . CALL FUNCTION 'SEM_SRM_SET_TABS_EXTERNAL' EXPORTING is_tab_flags = ld_is_tab_flags * it_sth_infl = ld_it_sth_infl * it_sth_share = ld_it_sth_share * it_sth_sth_grp = ld_it_sth_sth_grp * it_sth_expect = ld_it_sth_expect i_anlaenanz = ld_i_anlaenanz . " SEM_SRM_SET_TABS_EXTERNAL
IF SY-SUBRC EQ 0. "All OK 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_is_tab_flags  TYPE USS_YS_TAB_FLAGS ,
ld_it_sth_infl  TYPE USS_YT_STH_INFL ,
ld_it_sth_share  TYPE USS_YT_STH_SHARE ,
ld_it_sth_sth_grp  TYPE USS_YT_STH_STH_GRP ,
ld_it_sth_expect  TYPE USS_YT_STH_EXPECT ,
ld_i_anlaenanz  TYPE CHAR2 .

ld_is_tab_flags = 'Check type of data required'.
ld_it_sth_infl = 'Check type of data required'.
ld_it_sth_share = 'Check type of data required'.
ld_it_sth_sth_grp = 'Check type of data required'.
ld_it_sth_expect = 'Check type of data required'.
ld_i_anlaenanz = 'Check type of data required'.

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 SEM_SRM_SET_TABS_EXTERNAL or its description.