SAP RDB_READ_REC_GENVALUES_CONVERT Function Module for RDB: Kennzahlw. ES aus DB-Format in Leseformat konvertiern
RDB_READ_REC_GENVALUES_CONVERT is a standard rdb read rec genvalues convert SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for RDB: Kennzahlw. ES aus DB-Format in Leseformat konvertiern 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 rdb read rec genvalues convert FM, simply by entering the name RDB_READ_REC_GENVALUES_CONVERT into the relevant SAP transaction such as SE37 or SE38.
Function Group: RDB_READ_RECA
Program Name: SAPLRDB_READ_RECA
Main Program: SAPLRDB_READ_RECA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RDB_READ_REC_GENVALUES_CONVERT 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 'RDB_READ_REC_GENVALUES_CONVERT'"RDB: Kennzahlw. ES aus DB-Format in Leseformat konvertiern.
EXPORTING
I_HEADER_T = "Einzelsatz-Header (Tabelle)
I_XNOSUM = "Flag: Kennzahlwerte nicht addieren
CHANGING
C_GENPOS_T = "Einzelsatz-Position gen. Knz. ohne Whrg. (Tabelle)
C_CURRPOS_T = "Einzelsatz-Position gen. Knz. mit Whrg. (Tabelle)
C_GENVALUES_T = "Generische Kennzahlwerte
C_CURRVALUES_T = "Gen. Kennzahlwerte in Währung
C_REC_GENVALUES_T = "Gen. Kennzahlwerte pro Einzelsatz
C_REC_CURRVALUES_T = "Gen. Kennzahlw. in Währung pro Einzelsatz
IMPORTING Parameters details for RDB_READ_REC_GENVALUES_CONVERT
I_HEADER_T - Einzelsatz-Header (Tabelle)
Data type: RDB_REC_HEADER_TOptional: No
Call by Reference: Yes
I_XNOSUM - Flag: Kennzahlwerte nicht addieren
Data type: XFELDOptional: No
Call by Reference: Yes
CHANGING Parameters details for RDB_READ_REC_GENVALUES_CONVERT
C_GENPOS_T - Einzelsatz-Position gen. Knz. ohne Whrg. (Tabelle)
Data type: RDB_REC_GENPOS1_TOptional: No
Call by Reference: Yes
C_CURRPOS_T - Einzelsatz-Position gen. Knz. mit Whrg. (Tabelle)
Data type: RDB_REC_CURRPOS1_TOptional: No
Call by Reference: Yes
C_GENVALUES_T - Generische Kennzahlwerte
Data type: RDB_READ_SUM_GEN_TOptional: No
Call by Reference: Yes
C_CURRVALUES_T - Gen. Kennzahlwerte in Währung
Data type: RDB_READ_SUM_CURR_TOptional: No
Call by Reference: Yes
C_REC_GENVALUES_T - Gen. Kennzahlwerte pro Einzelsatz
Data type: RDB_REC_VGEN_TOptional: No
Call by Reference: Yes
C_REC_CURRVALUES_T - Gen. Kennzahlw. in Währung pro Einzelsatz
Data type: RDB_REC_VCURR_TOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RDB_READ_REC_GENVALUES_CONVERT 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_c_genpos_t | TYPE RDB_REC_GENPOS1_T, " | |||
| lv_i_header_t | TYPE RDB_REC_HEADER_T, " | |||
| lv_i_xnosum | TYPE XFELD, " | |||
| lv_c_currpos_t | TYPE RDB_REC_CURRPOS1_T, " | |||
| lv_c_genvalues_t | TYPE RDB_READ_SUM_GEN_T, " | |||
| lv_c_currvalues_t | TYPE RDB_READ_SUM_CURR_T, " | |||
| lv_c_rec_genvalues_t | TYPE RDB_REC_VGEN_T, " | |||
| lv_c_rec_currvalues_t | TYPE RDB_REC_VCURR_T. " |
|   CALL FUNCTION 'RDB_READ_REC_GENVALUES_CONVERT' "RDB: Kennzahlw. ES aus DB-Format in Leseformat konvertiern |
| EXPORTING | ||
| I_HEADER_T | = lv_i_header_t | |
| I_XNOSUM | = lv_i_xnosum | |
| CHANGING | ||
| C_GENPOS_T | = lv_c_genpos_t | |
| C_CURRPOS_T | = lv_c_currpos_t | |
| C_GENVALUES_T | = lv_c_genvalues_t | |
| C_CURRVALUES_T | = lv_c_currvalues_t | |
| C_REC_GENVALUES_T | = lv_c_rec_genvalues_t | |
| C_REC_CURRVALUES_T | = lv_c_rec_currvalues_t | |
| . " RDB_READ_REC_GENVALUES_CONVERT | ||
ABAP code using 7.40 inline data declarations to call FM RDB_READ_REC_GENVALUES_CONVERT
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.Search for further information about these or an SAP related objects