SAP Function Modules

TOCX_CHECK_IMG_PROPERTIES SAP Function module







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

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


Pattern for FM TOCX_CHECK_IMG_PROPERTIES - TOCX CHECK IMG PROPERTIES





CALL FUNCTION 'TOCX_CHECK_IMG_PROPERTIES' "
  EXPORTING
    outline =                   " dsyah-outline
*   check_simg_not_lowest_level = 'X'  "
*   check_lowest_level_is_simg = 'X'  "
*   simg_has_attributes = 'X'   "
*   display_errorlog = 'X'      "
*   insert_included_substructures = ' '  "
  IMPORTING
    error_simg_not_on_lowest_level =   "
    error_lowest_level_is_no_simg =   "
    error_simg_has_no_attributes =   "
  TABLES
    hierarchy =                 " hitab
    .  "  TOCX_CHECK_IMG_PROPERTIES

ABAP code example for Function Module TOCX_CHECK_IMG_PROPERTIES





The ABAP code below is a full code listing to execute function module TOCX_CHECK_IMG_PROPERTIES 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_error_simg_not_on_lowest_level  TYPE STRING ,
ld_error_lowest_level_is_no_simg  TYPE STRING ,
ld_error_simg_has_no_attributes  TYPE STRING ,
it_hierarchy  TYPE STANDARD TABLE OF HITAB,"TABLES PARAM
wa_hierarchy  LIKE LINE OF it_hierarchy .


SELECT single OUTLINE
FROM DSYAH
INTO @DATA(ld_outline).

DATA(ld_check_simg_not_lowest_level) = 'some text here'.
DATA(ld_check_lowest_level_is_simg) = 'some text here'.
DATA(ld_simg_has_attributes) = 'some text here'.
DATA(ld_display_errorlog) = 'some text here'.
DATA(ld_insert_included_substructures) = 'some text here'.

"populate fields of struture and append to itab
append wa_hierarchy to it_hierarchy. . CALL FUNCTION 'TOCX_CHECK_IMG_PROPERTIES' EXPORTING outline = ld_outline * check_simg_not_lowest_level = ld_check_simg_not_lowest_level * check_lowest_level_is_simg = ld_check_lowest_level_is_simg * simg_has_attributes = ld_simg_has_attributes * display_errorlog = ld_display_errorlog * insert_included_substructures = ld_insert_included_substructures IMPORTING error_simg_not_on_lowest_level = ld_error_simg_not_on_lowest_level error_lowest_level_is_no_simg = ld_error_lowest_level_is_no_simg error_simg_has_no_attributes = ld_error_simg_has_no_attributes TABLES hierarchy = it_hierarchy . " TOCX_CHECK_IMG_PROPERTIES
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_error_simg_not_on_lowest_level  TYPE STRING ,
ld_outline  TYPE DSYAH-OUTLINE ,
it_hierarchy  TYPE STANDARD TABLE OF HITAB ,
wa_hierarchy  LIKE LINE OF it_hierarchy,
ld_error_lowest_level_is_no_simg  TYPE STRING ,
ld_check_simg_not_lowest_level  TYPE STRING ,
ld_error_simg_has_no_attributes  TYPE STRING ,
ld_check_lowest_level_is_simg  TYPE STRING ,
ld_simg_has_attributes  TYPE STRING ,
ld_display_errorlog  TYPE STRING ,
ld_insert_included_substructures  TYPE STRING .


SELECT single OUTLINE
FROM DSYAH
INTO ld_outline.


"populate fields of struture and append to itab
append wa_hierarchy to it_hierarchy.
ld_check_simg_not_lowest_level = 'some text here'.
ld_check_lowest_level_is_simg = 'some text here'.
ld_simg_has_attributes = 'some text here'.
ld_display_errorlog = 'some text here'.
ld_insert_included_substructures = '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 TOCX_CHECK_IMG_PROPERTIES or its description.