SAP Function Modules

IWB_HTML_HELP_OBJECT_USE SAP Function module







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

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


Pattern for FM IWB_HTML_HELP_OBJECT_USE - IWB HTML HELP OBJECT USE





CALL FUNCTION 'IWB_HTML_HELP_OBJECT_USE' "
  EXPORTING
    structure_object =          " sdokobject    Structure ID
  TABLES
*   folder_objects =            " sdokobject
    context =                   " sdokpropty    Context
    objects =                   " iwhhobj
    properties =                " sdokproptl
    references =                " iwhhref
    objects_to_be_inspected =   " sdokobject
*   error_messages =            " iwhherr
    .  "  IWB_HTML_HELP_OBJECT_USE

ABAP code example for Function Module IWB_HTML_HELP_OBJECT_USE





The ABAP code below is a full code listing to execute function module IWB_HTML_HELP_OBJECT_USE 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:
it_folder_objects  TYPE STANDARD TABLE OF SDOKOBJECT,"TABLES PARAM
wa_folder_objects  LIKE LINE OF it_folder_objects ,
it_context  TYPE STANDARD TABLE OF SDOKPROPTY,"TABLES PARAM
wa_context  LIKE LINE OF it_context ,
it_objects  TYPE STANDARD TABLE OF IWHHOBJ,"TABLES PARAM
wa_objects  LIKE LINE OF it_objects ,
it_properties  TYPE STANDARD TABLE OF SDOKPROPTL,"TABLES PARAM
wa_properties  LIKE LINE OF it_properties ,
it_references  TYPE STANDARD TABLE OF IWHHREF,"TABLES PARAM
wa_references  LIKE LINE OF it_references ,
it_objects_to_be_inspected  TYPE STANDARD TABLE OF SDOKOBJECT,"TABLES PARAM
wa_objects_to_be_inspected  LIKE LINE OF it_objects_to_be_inspected ,
it_error_messages  TYPE STANDARD TABLE OF IWHHERR,"TABLES PARAM
wa_error_messages  LIKE LINE OF it_error_messages .

DATA(ld_structure_object) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_folder_objects to it_folder_objects.

"populate fields of struture and append to itab
append wa_context to it_context.

"populate fields of struture and append to itab
append wa_objects to it_objects.

"populate fields of struture and append to itab
append wa_properties to it_properties.

"populate fields of struture and append to itab
append wa_references to it_references.

"populate fields of struture and append to itab
append wa_objects_to_be_inspected to it_objects_to_be_inspected.

"populate fields of struture and append to itab
append wa_error_messages to it_error_messages. . CALL FUNCTION 'IWB_HTML_HELP_OBJECT_USE' EXPORTING structure_object = ld_structure_object TABLES * folder_objects = it_folder_objects context = it_context objects = it_objects properties = it_properties references = it_references objects_to_be_inspected = it_objects_to_be_inspected * error_messages = it_error_messages . " IWB_HTML_HELP_OBJECT_USE
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_structure_object  TYPE SDOKOBJECT ,
it_folder_objects  TYPE STANDARD TABLE OF SDOKOBJECT ,
wa_folder_objects  LIKE LINE OF it_folder_objects,
it_context  TYPE STANDARD TABLE OF SDOKPROPTY ,
wa_context  LIKE LINE OF it_context,
it_objects  TYPE STANDARD TABLE OF IWHHOBJ ,
wa_objects  LIKE LINE OF it_objects,
it_properties  TYPE STANDARD TABLE OF SDOKPROPTL ,
wa_properties  LIKE LINE OF it_properties,
it_references  TYPE STANDARD TABLE OF IWHHREF ,
wa_references  LIKE LINE OF it_references,
it_objects_to_be_inspected  TYPE STANDARD TABLE OF SDOKOBJECT ,
wa_objects_to_be_inspected  LIKE LINE OF it_objects_to_be_inspected,
it_error_messages  TYPE STANDARD TABLE OF IWHHERR ,
wa_error_messages  LIKE LINE OF it_error_messages.

ld_structure_object = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_folder_objects to it_folder_objects.

"populate fields of struture and append to itab
append wa_context to it_context.

"populate fields of struture and append to itab
append wa_objects to it_objects.

"populate fields of struture and append to itab
append wa_properties to it_properties.

"populate fields of struture and append to itab
append wa_references to it_references.

"populate fields of struture and append to itab
append wa_objects_to_be_inspected to it_objects_to_be_inspected.

"populate fields of struture and append to itab
append wa_error_messages to it_error_messages.

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