SAP Function Modules

TEM_DISPLAY_VERSIONS SAP Function module - Versions Display







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

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


Pattern for FM TEM_DISPLAY_VERSIONS - TEM DISPLAY VERSIONS





CALL FUNCTION 'TEM_DISPLAY_VERSIONS' "Versions Display
  EXPORTING
    im_tab_exposure =           " temy_versexpos_al  Exposures Table of Multiple Versions
*   im_tab_irrelevant_field =   " rsfsfieldst   Logical DB Field Selection: Field Name
*   im_str_variant =            " disvariant    Layout (External Use)
*   im_scale_left =             " tem_scale_left  Scaling of Predecimal Places
*   im_scale_right =            " tem_scale_right  Scaling of Decimal Places
*   im_title =                  " char40        Name des GUI-Titels
    .  "  TEM_DISPLAY_VERSIONS

ABAP code example for Function Module TEM_DISPLAY_VERSIONS





The ABAP code below is a full code listing to execute function module TEM_DISPLAY_VERSIONS 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_im_tab_exposure) = 'Check type of data required'.
DATA(ld_im_tab_irrelevant_field) = 'Check type of data required'.
DATA(ld_im_str_variant) = 'Check type of data required'.
DATA(ld_im_scale_left) = 'Check type of data required'.
DATA(ld_im_scale_right) = 'Check type of data required'.
DATA(ld_im_title) = 'Check type of data required'. . CALL FUNCTION 'TEM_DISPLAY_VERSIONS' EXPORTING im_tab_exposure = ld_im_tab_exposure * im_tab_irrelevant_field = ld_im_tab_irrelevant_field * im_str_variant = ld_im_str_variant * im_scale_left = ld_im_scale_left * im_scale_right = ld_im_scale_right * im_title = ld_im_title . " TEM_DISPLAY_VERSIONS
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_im_tab_exposure  TYPE TEMY_VERSEXPOS_AL ,
ld_im_tab_irrelevant_field  TYPE RSFSFIELDST ,
ld_im_str_variant  TYPE DISVARIANT ,
ld_im_scale_left  TYPE TEM_SCALE_LEFT ,
ld_im_scale_right  TYPE TEM_SCALE_RIGHT ,
ld_im_title  TYPE CHAR40 .

ld_im_tab_exposure = 'Check type of data required'.
ld_im_tab_irrelevant_field = 'Check type of data required'.
ld_im_str_variant = 'Check type of data required'.
ld_im_scale_left = 'Check type of data required'.
ld_im_scale_right = 'Check type of data required'.
ld_im_title = '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 TEM_DISPLAY_VERSIONS or its description.