SAP OIU_HELP_VALUES_GROUP Function Module for Help values for Hierarchy nodes in any set









OIU_HELP_VALUES_GROUP is a standard oiu help values group SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Help values for Hierarchy nodes in any set processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for oiu help values group FM, simply by entering the name OIU_HELP_VALUES_GROUP into the relevant SAP transaction such as SE37 or SE38.

Function Group: OIU_SET_FUNCTIONS
Program Name: SAPLOIU_SET_FUNCTIONS
Main Program: SAPLOIU_SET_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function OIU_HELP_VALUES_GROUP pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'OIU_HELP_VALUES_GROUP'"Help values for Hierarchy nodes in any set
EXPORTING
FIELDNAME = "Name of screen field for set id
* TITLE_FIELDNAME = "Name of screen field for set name
PROGRAM = "Name of main program for calling screen
DYNNR = "Screen Number for F4 values
SETCLASS = "Set Class for F4 Logic
* DISPLAY_ONLY = ' ' "'X' = Display Only, ' ' = Update
.



IMPORTING Parameters details for OIU_HELP_VALUES_GROUP

FIELDNAME - Name of screen field for set id

Data type: DYNPREAD-FIELDNAME
Optional: No
Call by Reference: Yes

TITLE_FIELDNAME - Name of screen field for set name

Data type: DYNPREAD-FIELDNAME
Optional: Yes
Call by Reference: Yes

PROGRAM - Name of main program for calling screen

Data type: SY-CPROG
Optional: No
Call by Reference: Yes

DYNNR - Screen Number for F4 values

Data type: SY-DYNNR
Optional: No
Call by Reference: Yes

SETCLASS - Set Class for F4 Logic

Data type: SETHEADER-SETCLASS
Optional: No
Call by Reference: Yes

DISPLAY_ONLY - 'X' = Display Only, ' ' = Update

Data type:
Default: ' '
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIU_HELP_VALUES_GROUP Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_fieldname  TYPE DYNPREAD-FIELDNAME, "   
lv_title_fieldname  TYPE DYNPREAD-FIELDNAME, "   
lv_program  TYPE SY-CPROG, "   
lv_dynnr  TYPE SY-DYNNR, "   
lv_setclass  TYPE SETHEADER-SETCLASS, "   
lv_display_only  TYPE SETHEADER. "   ' '

  CALL FUNCTION 'OIU_HELP_VALUES_GROUP'  "Help values for Hierarchy nodes in any set
    EXPORTING
         FIELDNAME = lv_fieldname
         TITLE_FIELDNAME = lv_title_fieldname
         PROGRAM = lv_program
         DYNNR = lv_dynnr
         SETCLASS = lv_setclass
         DISPLAY_ONLY = lv_display_only
. " OIU_HELP_VALUES_GROUP




ABAP code using 7.40 inline data declarations to call FM OIU_HELP_VALUES_GROUP

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_fieldname).
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_title_fieldname).
 
"SELECT single CPROG FROM SY INTO @DATA(ld_program).
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_dynnr).
 
"SELECT single SETCLASS FROM SETHEADER INTO @DATA(ld_setclass).
 
DATA(ld_display_only) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!