SAP Function Modules

AIND_HELP_VALUES_FOR_ARCHINDEX SAP Function module







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

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


Pattern for FM AIND_HELP_VALUES_FOR_ARCHINDEX - AIND HELP VALUES FOR ARCHINDEX





CALL FUNCTION 'AIND_HELP_VALUES_FOR_ARCHINDEX' "
* EXPORTING
*   i_archobject =              " arch_obj-object
*   i_active_only = ' '         " c
*   i_display_only =            " boole_d
*   i_fld_dynpprog = SPACE      " sy-repid
*   i_fld_dynpnr = SPACE        " sy-dynnr      ABAP Program: Number of Current Screen
*   i_fld_name = SPACE          " dynfnam       Field Name
  IMPORTING
    e_archindex =               " aind_t_archindex
* TABLES
*   t_archindex =               "
    .  "  AIND_HELP_VALUES_FOR_ARCHINDEX

ABAP code example for Function Module AIND_HELP_VALUES_FOR_ARCHINDEX





The ABAP code below is a full code listing to execute function module AIND_HELP_VALUES_FOR_ARCHINDEX 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_e_archindex  TYPE AIND_T_ARCHINDEX ,
it_t_archindex  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_archindex  LIKE LINE OF it_t_archindex .


SELECT single OBJECT
FROM ARCH_OBJ
INTO @DATA(ld_i_archobject).

DATA(ld_i_active_only) = 'Check type of data required'.
DATA(ld_i_display_only) = 'Check type of data required'.
DATA(ld_i_fld_dynpprog) = 'Check type of data required'.
DATA(ld_i_fld_dynpnr) = 'some text here'.
DATA(ld_i_fld_name) = 'some text here'.

"populate fields of struture and append to itab
append wa_t_archindex to it_t_archindex. . CALL FUNCTION 'AIND_HELP_VALUES_FOR_ARCHINDEX' * EXPORTING * i_archobject = ld_i_archobject * i_active_only = ld_i_active_only * i_display_only = ld_i_display_only * i_fld_dynpprog = ld_i_fld_dynpprog * i_fld_dynpnr = ld_i_fld_dynpnr * i_fld_name = ld_i_fld_name IMPORTING e_archindex = ld_e_archindex * TABLES * t_archindex = it_t_archindex . " AIND_HELP_VALUES_FOR_ARCHINDEX
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_e_archindex  TYPE AIND_T_ARCHINDEX ,
ld_i_archobject  TYPE ARCH_OBJ-OBJECT ,
it_t_archindex  TYPE STANDARD TABLE OF STRING ,
wa_t_archindex  LIKE LINE OF it_t_archindex,
ld_i_active_only  TYPE C ,
ld_i_display_only  TYPE BOOLE_D ,
ld_i_fld_dynpprog  TYPE SY-REPID ,
ld_i_fld_dynpnr  TYPE SY-DYNNR ,
ld_i_fld_name  TYPE DYNFNAM .


SELECT single OBJECT
FROM ARCH_OBJ
INTO ld_i_archobject.


"populate fields of struture and append to itab
append wa_t_archindex to it_t_archindex.
ld_i_active_only = 'some text here'.
ld_i_display_only = 'some text here'.
ld_i_fld_dynpprog = 'some text here'.
ld_i_fld_dynpnr = 'some text here'.
ld_i_fld_name = '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 AIND_HELP_VALUES_FOR_ARCHINDEX or its description.