SAP CNV_CMIS_A_20_GET_DETAIL_RFC Function Module for Get and display table values via RFC
CNV_CMIS_A_20_GET_DETAIL_RFC is a standard cnv cmis a 20 get detail rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get and display table values via RFC 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 cnv cmis a 20 get detail rfc FM, simply by entering the name CNV_CMIS_A_20_GET_DETAIL_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_CMIS_A_20_WL
Program Name: SAPLCNV_CMIS_A_20_WL
Main Program: SAPLCNV_CMIS_A_20_WL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function CNV_CMIS_A_20_GET_DETAIL_RFC 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 'CNV_CMIS_A_20_GET_DETAIL_RFC'"Get and display table values via RFC.
EXPORTING
* PACKID = '90106' "Package Number to Specify CMIS and TDMS Packages
* VERSION = '001' "Version number
* TABNAME = 'AD01C_CHKT' "Table name
* KEY_VALUE = 'CHK001D' "Table with a 512 byte field
EXCEPTIONS
NO_DDIC_INFO = 1 SOURCE_DATA_ERR = 2 TARGET_DATA_ERR = 3
IMPORTING Parameters details for CNV_CMIS_A_20_GET_DETAIL_RFC
PACKID - Package Number to Specify CMIS and TDMS Packages
Data type: CNV_MBT_PACKIDDefault: '90106'
Optional: No
Call by Reference: No ( called with pass by value option)
VERSION - Version number
Data type: CNVCMIS_A_20_VERSNDefault: '001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME - Table name
Data type: DD02L-TABNAMEDefault: 'AD01C_CHKT'
Optional: No
Call by Reference: No ( called with pass by value option)
KEY_VALUE - Table with a 512 byte field
Data type: TAB512Default: 'CHK001D'
Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_DDIC_INFO - DDIC information not found
Data type:Optional: No
Call by Reference: Yes
SOURCE_DATA_ERR - Couldn't read data from source system
Data type:Optional: No
Call by Reference: Yes
TARGET_DATA_ERR - Couldn't read data from target system
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_CMIS_A_20_GET_DETAIL_RFC 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_packid | TYPE CNV_MBT_PACKID, " '90106' | |||
lv_no_ddic_info | TYPE CNV_MBT_PACKID, " | |||
lv_version | TYPE CNVCMIS_A_20_VERSN, " '001' | |||
lv_source_data_err | TYPE CNVCMIS_A_20_VERSN, " | |||
lv_tabname | TYPE DD02L-TABNAME, " 'AD01C_CHKT' | |||
lv_target_data_err | TYPE DD02L, " | |||
lv_key_value | TYPE TAB512. " 'CHK001D' |
  CALL FUNCTION 'CNV_CMIS_A_20_GET_DETAIL_RFC' "Get and display table values via RFC |
EXPORTING | ||
PACKID | = lv_packid | |
VERSION | = lv_version | |
TABNAME | = lv_tabname | |
KEY_VALUE | = lv_key_value | |
EXCEPTIONS | ||
NO_DDIC_INFO = 1 | ||
SOURCE_DATA_ERR = 2 | ||
TARGET_DATA_ERR = 3 | ||
. " CNV_CMIS_A_20_GET_DETAIL_RFC |
ABAP code using 7.40 inline data declarations to call FM CNV_CMIS_A_20_GET_DETAIL_RFC
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.DATA(ld_packid) | = '90106'. | |||
DATA(ld_version) | = '001'. | |||
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_tabname). | ||||
DATA(ld_tabname) | = 'AD01C_CHKT'. | |||
DATA(ld_key_value) | = 'CHK001D'. | |||
Search for further information about these or an SAP related objects