TEM_DISPLAY_ANALYSIS 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_ANALYSIS 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
CALL FUNCTION 'TEM_DISPLAY_ANALYSIS' "Display an Analysis
EXPORTING
im_tab_analyzed_exposure = " temy_analyzed_exposure Table of Analysis Results
* im_tab_irrelevant_field = " rsfsfieldst Logical DB Field Selection: Field Name
* im_str_variant = " disvariant Layout (External Use)
* im_str_profile_head = " tems_new_profile_ui Screen-UI-Elements for Master Data Exp. Plng Profile MAIN
* im_str_version_head = " tems_version_head_ui Header Information for Version
* im_str_ref_version_head = " tems_version_head_ui Header Information for Version
* im_scale_left = " tem_scale_left Scaling of Predecimal Places
* im_scale_right = " tem_scale_right Scaling of Decimal Places
* im_flg_read_hdgmgt = TEMCO_XTRUE " tem_read_hedgemgt Read Data from Hedge Management
. " TEM_DISPLAY_ANALYSIS
The ABAP code below is a full code listing to execute function module TEM_DISPLAY_ANALYSIS 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_analyzed_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_str_profile_head) = 'Check type of data required'.
DATA(ld_im_str_version_head) = 'Check type of data required'.
DATA(ld_im_str_ref_version_head) = '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_flg_read_hdgmgt) = 'Check type of data required'. . CALL FUNCTION 'TEM_DISPLAY_ANALYSIS' EXPORTING im_tab_analyzed_exposure = ld_im_tab_analyzed_exposure * im_tab_irrelevant_field = ld_im_tab_irrelevant_field * im_str_variant = ld_im_str_variant * im_str_profile_head = ld_im_str_profile_head * im_str_version_head = ld_im_str_version_head * im_str_ref_version_head = ld_im_str_ref_version_head * im_scale_left = ld_im_scale_left * im_scale_right = ld_im_scale_right * im_flg_read_hdgmgt = ld_im_flg_read_hdgmgt . " TEM_DISPLAY_ANALYSIS
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_analyzed_exposure | TYPE TEMY_ANALYZED_EXPOSURE , |
| ld_im_tab_irrelevant_field | TYPE RSFSFIELDST , |
| ld_im_str_variant | TYPE DISVARIANT , |
| ld_im_str_profile_head | TYPE TEMS_NEW_PROFILE_UI , |
| ld_im_str_version_head | TYPE TEMS_VERSION_HEAD_UI , |
| ld_im_str_ref_version_head | TYPE TEMS_VERSION_HEAD_UI , |
| ld_im_scale_left | TYPE TEM_SCALE_LEFT , |
| ld_im_scale_right | TYPE TEM_SCALE_RIGHT , |
| ld_im_flg_read_hdgmgt | TYPE TEM_READ_HEDGEMGT . |
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_ANALYSIS or its description.