SAP OIJ_HELP_VALUES_MEINS Function Module for F4 help for quantity units: check re commercial units of measure









OIJ_HELP_VALUES_MEINS is a standard oij help values meins SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 help for quantity units: check re commercial units of measure 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 oij help values meins FM, simply by entering the name OIJ_HELP_VALUES_MEINS into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJ_HELP_VALUES_MEINS 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 'OIJ_HELP_VALUES_MEINS'"F4 help for quantity units: check re commercial units of measure
EXPORTING
PROGRAM = "ABAP program, caller in external procedures
DYNNR = "ABAP program, number of current screen
FIELDNAME = "Field name
MODE = "
* STANDARD_ONLY = ' ' "Y=std'zd only/N=Not std'zd only/''=All
* STD_DETAILS = 'X' "'X'=Show Temp, pres, etc, ' '=Show UOM & Name only

TABLES
* DIMID_TAB = "Structure for table of dimisions for F4 UOM Function
.



IMPORTING Parameters details for OIJ_HELP_VALUES_MEINS

PROGRAM - ABAP program, caller in external procedures

Data type: SY-CPROG
Optional: No
Call by Reference: No ( called with pass by value option)

DYNNR - ABAP program, number of current screen

Data type: SY-DYNNR
Optional: No
Call by Reference: No ( called with pass by value option)

FIELDNAME - Field name

Data type: DYNPREAD-FIELDNAME
Optional: No
Call by Reference: No ( called with pass by value option)

MODE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

STANDARD_ONLY - Y=std'zd only/N=Not std'zd only/''=All

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

STD_DETAILS - 'X'=Show Temp, pres, etc, ' '=Show UOM & Name only

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for OIJ_HELP_VALUES_MEINS

DIMID_TAB - Structure for table of dimisions for F4 UOM Function

Data type: ROIJ_DIMID
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for OIJ_HELP_VALUES_MEINS 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_program  TYPE SY-CPROG, "   
lt_dimid_tab  TYPE STANDARD TABLE OF ROIJ_DIMID, "   
lv_dynnr  TYPE SY-DYNNR, "   
lv_fieldname  TYPE DYNPREAD-FIELDNAME, "   
lv_mode  TYPE DYNPREAD, "   
lv_standard_only  TYPE DYNPREAD, "   ' '
lv_std_details  TYPE DYNPREAD. "   'X'

  CALL FUNCTION 'OIJ_HELP_VALUES_MEINS'  "F4 help for quantity units: check re commercial units of measure
    EXPORTING
         PROGRAM = lv_program
         DYNNR = lv_dynnr
         FIELDNAME = lv_fieldname
         MODE = lv_mode
         STANDARD_ONLY = lv_standard_only
         STD_DETAILS = lv_std_details
    TABLES
         DIMID_TAB = lt_dimid_tab
. " OIJ_HELP_VALUES_MEINS




ABAP code using 7.40 inline data declarations to call FM OIJ_HELP_VALUES_MEINS

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 CPROG FROM SY INTO @DATA(ld_program).
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_dynnr).
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_fieldname).
 
 
DATA(ld_standard_only) = ' '.
 
DATA(ld_std_details) = 'X'.
 


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!