SAP RKD_POPUP_VALUE_DISPLAY Function Module for









RKD_POPUP_VALUE_DISPLAY is a standard rkd popup value display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rkd popup value display FM, simply by entering the name RKD_POPUP_VALUE_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function RKD_POPUP_VALUE_DISPLAY 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 'RKD_POPUP_VALUE_DISPLAY'"
EXPORTING
I_COLUMN_TEXT = "
I_LONG_TEXT = "
I_PRIMARY_DECIMALS = "
* I_TWO_LINE_TEXT = "
* I_DECIM_CURR = RKD_FALSE "
* I_DECIM_CURR_SEL = RKD_FALSE "

IMPORTING
E_RETURN_CODE = "

CHANGING
C_DECIMAL_DISPLAY = "
C_VALUE_DISPLAY = "
C_UNIT_DISPLAY = "
.



IMPORTING Parameters details for RKD_POPUP_VALUE_DISPLAY

I_COLUMN_TEXT -

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

I_LONG_TEXT -

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

I_PRIMARY_DECIMALS -

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

I_TWO_LINE_TEXT -

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

I_DECIM_CURR -

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

I_DECIM_CURR_SEL -

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

EXPORTING Parameters details for RKD_POPUP_VALUE_DISPLAY

E_RETURN_CODE -

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

CHANGING Parameters details for RKD_POPUP_VALUE_DISPLAY

C_DECIMAL_DISPLAY -

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

C_VALUE_DISPLAY -

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

C_UNIT_DISPLAY -

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

Copy and paste ABAP code example for RKD_POPUP_VALUE_DISPLAY 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_e_return_code  TYPE RKB1B-OK, "   
lv_i_column_text  TYPE RKB1B-SPALTE, "   
lv_c_decimal_display  TYPE CFBZW01-DECIM, "   
lv_i_long_text  TYPE RKB1B-LNMI1, "   
lv_c_value_display  TYPE CFBZW01-ROUND, "   
lv_c_unit_display  TYPE RKD6_S_UNIT, "   
lv_i_primary_decimals  TYPE RKB1B-DECIM, "   
lv_i_two_line_text  TYPE RKD_S_TEXTE-TXTLG, "   
lv_i_decim_curr  TYPE RKD_FLAG, "   RKD_FALSE
lv_i_decim_curr_sel  TYPE RKD_FLAG. "   RKD_FALSE

  CALL FUNCTION 'RKD_POPUP_VALUE_DISPLAY'  "
    EXPORTING
         I_COLUMN_TEXT = lv_i_column_text
         I_LONG_TEXT = lv_i_long_text
         I_PRIMARY_DECIMALS = lv_i_primary_decimals
         I_TWO_LINE_TEXT = lv_i_two_line_text
         I_DECIM_CURR = lv_i_decim_curr
         I_DECIM_CURR_SEL = lv_i_decim_curr_sel
    IMPORTING
         E_RETURN_CODE = lv_e_return_code
    CHANGING
         C_DECIMAL_DISPLAY = lv_c_decimal_display
         C_VALUE_DISPLAY = lv_c_value_display
         C_UNIT_DISPLAY = lv_c_unit_display
. " RKD_POPUP_VALUE_DISPLAY




ABAP code using 7.40 inline data declarations to call FM RKD_POPUP_VALUE_DISPLAY

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 OK FROM RKB1B INTO @DATA(ld_e_return_code).
 
"SELECT single SPALTE FROM RKB1B INTO @DATA(ld_i_column_text).
 
"SELECT single DECIM FROM CFBZW01 INTO @DATA(ld_c_decimal_display).
 
"SELECT single LNMI1 FROM RKB1B INTO @DATA(ld_i_long_text).
 
"SELECT single ROUND FROM CFBZW01 INTO @DATA(ld_c_value_display).
 
 
"SELECT single DECIM FROM RKB1B INTO @DATA(ld_i_primary_decimals).
 
"SELECT single TXTLG FROM RKD_S_TEXTE INTO @DATA(ld_i_two_line_text).
 
DATA(ld_i_decim_curr) = RKD_FALSE.
 
DATA(ld_i_decim_curr_sel) = RKD_FALSE.
 


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!