SAP REVISION_LEVEL_F4_HELP Function Module for Function module for F4 help revision level









REVISION_LEVEL_F4_HELP is a standard revision level f4 help SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Function module for F4 help revision level 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 revision level f4 help FM, simply by entering the name REVISION_LEVEL_F4_HELP into the relevant SAP transaction such as SE37 or SE38.

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



Function REVISION_LEVEL_F4_HELP 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 'REVISION_LEVEL_F4_HELP'"Function module for F4 help revision level
EXPORTING
* AEOBJ = '4' "
* DYNAME = ' ' "
* DYNUMB = ' ' "
* FIELDNAME = ' ' "
* FLG_DISPLAY = ' ' "Indicator : F4 from display field
* FLG_ONLY_VALID = 'X' "Indicator: for a material, only the
* STEPL = 0 "
* I_MATNR = "

IMPORTING
AREVLV = "Revision level
.



IMPORTING Parameters details for REVISION_LEVEL_F4_HELP

AEOBJ -

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

DYNAME -

Data type: SY-REPID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DYNUMB -

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

FIELDNAME -

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

FLG_DISPLAY - Indicator : F4 from display field

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

FLG_ONLY_VALID - Indicator: for a material, only the

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

STEPL -

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

I_MATNR -

Data type: RC29A-MATNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for REVISION_LEVEL_F4_HELP

AREVLV - Revision level

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

Copy and paste ABAP code example for REVISION_LEVEL_F4_HELP 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_aeobj  TYPE TCC03-AEOBJ, "   '4'
lv_arevlv  TYPE AEOI-REVLV, "   
lv_dyname  TYPE SY-REPID, "   SPACE
lv_dynumb  TYPE SY-DYNNR, "   SPACE
lv_fieldname  TYPE DYNPREAD-FIELDNAME, "   SPACE
lv_flg_display  TYPE CSDATA-XFELD, "   ' '
lv_flg_only_valid  TYPE CSDATA-XFELD, "   'X'
lv_stepl  TYPE DYNPREAD-STEPL, "   0
lv_i_matnr  TYPE RC29A-MATNR. "   

  CALL FUNCTION 'REVISION_LEVEL_F4_HELP'  "Function module for F4 help revision level
    EXPORTING
         AEOBJ = lv_aeobj
         DYNAME = lv_dyname
         DYNUMB = lv_dynumb
         FIELDNAME = lv_fieldname
         FLG_DISPLAY = lv_flg_display
         FLG_ONLY_VALID = lv_flg_only_valid
         STEPL = lv_stepl
         I_MATNR = lv_i_matnr
    IMPORTING
         AREVLV = lv_arevlv
. " REVISION_LEVEL_F4_HELP




ABAP code using 7.40 inline data declarations to call FM REVISION_LEVEL_F4_HELP

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 AEOBJ FROM TCC03 INTO @DATA(ld_aeobj).
DATA(ld_aeobj) = '4'.
 
"SELECT single REVLV FROM AEOI INTO @DATA(ld_arevlv).
 
"SELECT single REPID FROM SY INTO @DATA(ld_dyname).
DATA(ld_dyname) = ' '.
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_dynumb).
DATA(ld_dynumb) = ' '.
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_fieldname).
DATA(ld_fieldname) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_display).
DATA(ld_flg_display) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_only_valid).
DATA(ld_flg_only_valid) = 'X'.
 
"SELECT single STEPL FROM DYNPREAD INTO @DATA(ld_stepl).
 
"SELECT single MATNR FROM RC29A INTO @DATA(ld_i_matnr).
 


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!