SAP SD_CFS_DISPLAY Function Module for NOTRANSL: Anzeigen Kundenstammblatt
SD_CFS_DISPLAY is a standard sd cfs display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Anzeigen Kundenstammblatt 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 sd cfs display FM, simply by entering the name SD_CFS_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: V06K
Program Name: SAPLV06K
Main Program: SAPLV06K
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function SD_CFS_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 'SD_CFS_DISPLAY'"NOTRANSL: Anzeigen Kundenstammblatt.
EXPORTING
* IV_KUNNR = "Debtor Number 1
* IV_VKORG = "Sales Organization
* IT_RG_VTWEG = "Range Table: CHAR2
* IT_RG_SPART = "Range Table: CHAR2
* IT_OBJ_REQUEST = "CFS: Table Type for CFS Structure TDS_CFS_OBJ_REQUEST
IMPORTING
ES_CFS_ADDRESS_DATA = "CFS: Transfer Structure Address Data
ET_CFS_BILLING_DATA = "CFS: Table for BILLING DATA
ET_CFS_PAY_DELI_TERMS = "CFS: Tabee for DELIVERY_TERMS
ET_CFS_PARTNER_DATA = "CFS: Table for PARTNER_DATA
ET_CFS_STATISTICS_S001 = "CFS: Table for STATISTICS S001
ET_CFS_STATISTICS_MEASURES = "CFS: Table for STATISTICS MEASURES
ET_CFS_LAST_SD_DOCUMENTS = "CFS: Table for LAST SD DOCUMENTS
ET_CFS_Q_NOTIFICATIONS = "CFS: Table for Q_NOTIFICATIONS
ET_CFS_S_NOTIFICATIONS = "CFS: Table for S_NOTIFICATIONS
ET_CFS_CREDIT_INFO = "CFS: Table for CREDIT_INFO
ET_CFS_PROMOTIONS = "CFS: Table for CFS PROMOTIONS
ES_CFS_CUST_CLASSIFICATION = "CFS: Structure for GET_CLASSIFICATION
ET_CFS_PAYMENT_CARDS = "CFS: Table for PAYMENT CARDS
ES_CFS_QUICKINFO = "CFS: Structure for QUICKINFO
ET_CFS_BACKORDERS = "CFS: Table for BACKORDERS
ES_CFS_KEY_FIGURES = "CFS: Structure for GET_KEY_FIGURES
ET_CFS_CONTACT_PERSON = "CFS: Table for GET_CONTACT_PERSON
ET_CFS_ORDER_INFO_CUST = "CFS: Table for GET_ORDER_INFO_CUST
ET_CFS_PRICING_CUST = "CFS: Table for PRICING_CUST
ET_CFS_SHIPPING_CUST = "CFS: Table for SHIPPING CUSTOMER
ET_CFS_PART_DELIVERIES = "CFS: Table for PART_DELIVERIES
ES_CFS_TRANSP_DATA = "CFS: Structure for TRANSP_DATA
CHANGING
* CT_CFS_ERROR = "CFS: Table of Error Messages
IMPORTING Parameters details for SD_CFS_DISPLAY
IV_KUNNR - Debtor Number 1
Data type: KUNNROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_VKORG - Sales Organization
Data type: VKORGOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RG_VTWEG - Range Table: CHAR2
Data type: TRG_CHAR2Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_RG_SPART - Range Table: CHAR2
Data type: TRG_CHAR2Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_OBJ_REQUEST - CFS: Table Type for CFS Structure TDS_CFS_OBJ_REQUEST
Data type: TDT_CFS_OBJ_REQUESTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SD_CFS_DISPLAY
ES_CFS_ADDRESS_DATA - CFS: Transfer Structure Address Data
Data type: TDS_CFS_ADDRESS_DATAOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_BILLING_DATA - CFS: Table for BILLING DATA
Data type: TDT_CFS_BILLING_DATAOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_PAY_DELI_TERMS - CFS: Tabee for DELIVERY_TERMS
Data type: TDT_CFS_DELIVERY_TERMSOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_PARTNER_DATA - CFS: Table for PARTNER_DATA
Data type: TDT_CFS_PARTNER_DATAOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_STATISTICS_S001 - CFS: Table for STATISTICS S001
Data type: TDT_CFS_STATISTICS_S001Optional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_STATISTICS_MEASURES - CFS: Table for STATISTICS MEASURES
Data type: TDT_CFS_STATISTICS_MEASOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_LAST_SD_DOCUMENTS - CFS: Table for LAST SD DOCUMENTS
Data type: TDT_CFS_LAST_SD_DOCOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_Q_NOTIFICATIONS - CFS: Table for Q_NOTIFICATIONS
Data type: TDT_CFS_Q_NOTIFICATIONSOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_S_NOTIFICATIONS - CFS: Table for S_NOTIFICATIONS
Data type: TDT_CFS_S_NOTIFICATIONSOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_CREDIT_INFO - CFS: Table for CREDIT_INFO
Data type: TDT_CFS_CREDIT_INFOOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_PROMOTIONS - CFS: Table for CFS PROMOTIONS
Data type: TDT_CFS_PROMOTIONSOptional: No
Call by Reference: No ( called with pass by value option)
ES_CFS_CUST_CLASSIFICATION - CFS: Structure for GET_CLASSIFICATION
Data type: TDS_CFS_CLASSIFICATIONOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_PAYMENT_CARDS - CFS: Table for PAYMENT CARDS
Data type: TDT_CFS_PAYMENT_CARDSOptional: No
Call by Reference: No ( called with pass by value option)
ES_CFS_QUICKINFO - CFS: Structure for QUICKINFO
Data type: TDS_CFS_QUICKINFOOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_BACKORDERS - CFS: Table for BACKORDERS
Data type: TDT_CFS_BACKORDERSOptional: No
Call by Reference: No ( called with pass by value option)
ES_CFS_KEY_FIGURES - CFS: Structure for GET_KEY_FIGURES
Data type: TDS_CFS_KEY_FIGURESOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_CONTACT_PERSON - CFS: Table for GET_CONTACT_PERSON
Data type: TDT_CFS_CONTACT_PERSONOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_ORDER_INFO_CUST - CFS: Table for GET_ORDER_INFO_CUST
Data type: TDT_CFS_ORDER_INFO_CUSTOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_PRICING_CUST - CFS: Table for PRICING_CUST
Data type: TDT_CFS_PRICING_CUSTOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_SHIPPING_CUST - CFS: Table for SHIPPING CUSTOMER
Data type: TDT_CFS_SHIPPING_CUSTOptional: No
Call by Reference: No ( called with pass by value option)
ET_CFS_PART_DELIVERIES - CFS: Table for PART_DELIVERIES
Data type: TDT_CFS_PART_DELIVERIESOptional: No
Call by Reference: No ( called with pass by value option)
ES_CFS_TRANSP_DATA - CFS: Structure for TRANSP_DATA
Data type: TDS_CFS_TRANSP_DATAOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SD_CFS_DISPLAY
CT_CFS_ERROR - CFS: Table of Error Messages
Data type: TDT_CFS_ERROROptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SD_CFS_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_iv_kunnr | TYPE KUNNR, " | |||
| lv_ct_cfs_error | TYPE TDT_CFS_ERROR, " | |||
| lv_es_cfs_address_data | TYPE TDS_CFS_ADDRESS_DATA, " | |||
| lv_et_cfs_billing_data | TYPE TDT_CFS_BILLING_DATA, " | |||
| lv_et_cfs_pay_deli_terms | TYPE TDT_CFS_DELIVERY_TERMS, " | |||
| lv_et_cfs_partner_data | TYPE TDT_CFS_PARTNER_DATA, " | |||
| lv_et_cfs_statistics_s001 | TYPE TDT_CFS_STATISTICS_S001, " | |||
| lv_et_cfs_statistics_measures | TYPE TDT_CFS_STATISTICS_MEAS, " | |||
| lv_et_cfs_last_sd_documents | TYPE TDT_CFS_LAST_SD_DOC, " | |||
| lv_et_cfs_q_notifications | TYPE TDT_CFS_Q_NOTIFICATIONS, " | |||
| lv_et_cfs_s_notifications | TYPE TDT_CFS_S_NOTIFICATIONS, " | |||
| lv_et_cfs_credit_info | TYPE TDT_CFS_CREDIT_INFO, " | |||
| lv_et_cfs_promotions | TYPE TDT_CFS_PROMOTIONS, " | |||
| lv_iv_vkorg | TYPE VKORG, " | |||
| lv_es_cfs_cust_classification | TYPE TDS_CFS_CLASSIFICATION, " | |||
| lv_et_cfs_payment_cards | TYPE TDT_CFS_PAYMENT_CARDS, " | |||
| lv_es_cfs_quickinfo | TYPE TDS_CFS_QUICKINFO, " | |||
| lv_et_cfs_backorders | TYPE TDT_CFS_BACKORDERS, " | |||
| lv_it_rg_vtweg | TYPE TRG_CHAR2, " | |||
| lv_es_cfs_key_figures | TYPE TDS_CFS_KEY_FIGURES, " | |||
| lv_it_rg_spart | TYPE TRG_CHAR2, " | |||
| lv_et_cfs_contact_person | TYPE TDT_CFS_CONTACT_PERSON, " | |||
| lv_it_obj_request | TYPE TDT_CFS_OBJ_REQUEST, " | |||
| lv_et_cfs_order_info_cust | TYPE TDT_CFS_ORDER_INFO_CUST, " | |||
| lv_et_cfs_pricing_cust | TYPE TDT_CFS_PRICING_CUST, " | |||
| lv_et_cfs_shipping_cust | TYPE TDT_CFS_SHIPPING_CUST, " | |||
| lv_et_cfs_part_deliveries | TYPE TDT_CFS_PART_DELIVERIES, " | |||
| lv_es_cfs_transp_data | TYPE TDS_CFS_TRANSP_DATA. " |
|   CALL FUNCTION 'SD_CFS_DISPLAY' "NOTRANSL: Anzeigen Kundenstammblatt |
| EXPORTING | ||
| IV_KUNNR | = lv_iv_kunnr | |
| IV_VKORG | = lv_iv_vkorg | |
| IT_RG_VTWEG | = lv_it_rg_vtweg | |
| IT_RG_SPART | = lv_it_rg_spart | |
| IT_OBJ_REQUEST | = lv_it_obj_request | |
| IMPORTING | ||
| ES_CFS_ADDRESS_DATA | = lv_es_cfs_address_data | |
| ET_CFS_BILLING_DATA | = lv_et_cfs_billing_data | |
| ET_CFS_PAY_DELI_TERMS | = lv_et_cfs_pay_deli_terms | |
| ET_CFS_PARTNER_DATA | = lv_et_cfs_partner_data | |
| ET_CFS_STATISTICS_S001 | = lv_et_cfs_statistics_s001 | |
| ET_CFS_STATISTICS_MEASURES | = lv_et_cfs_statistics_measures | |
| ET_CFS_LAST_SD_DOCUMENTS | = lv_et_cfs_last_sd_documents | |
| ET_CFS_Q_NOTIFICATIONS | = lv_et_cfs_q_notifications | |
| ET_CFS_S_NOTIFICATIONS | = lv_et_cfs_s_notifications | |
| ET_CFS_CREDIT_INFO | = lv_et_cfs_credit_info | |
| ET_CFS_PROMOTIONS | = lv_et_cfs_promotions | |
| ES_CFS_CUST_CLASSIFICATION | = lv_es_cfs_cust_classification | |
| ET_CFS_PAYMENT_CARDS | = lv_et_cfs_payment_cards | |
| ES_CFS_QUICKINFO | = lv_es_cfs_quickinfo | |
| ET_CFS_BACKORDERS | = lv_et_cfs_backorders | |
| ES_CFS_KEY_FIGURES | = lv_es_cfs_key_figures | |
| ET_CFS_CONTACT_PERSON | = lv_et_cfs_contact_person | |
| ET_CFS_ORDER_INFO_CUST | = lv_et_cfs_order_info_cust | |
| ET_CFS_PRICING_CUST | = lv_et_cfs_pricing_cust | |
| ET_CFS_SHIPPING_CUST | = lv_et_cfs_shipping_cust | |
| ET_CFS_PART_DELIVERIES | = lv_et_cfs_part_deliveries | |
| ES_CFS_TRANSP_DATA | = lv_es_cfs_transp_data | |
| CHANGING | ||
| CT_CFS_ERROR | = lv_ct_cfs_error | |
| . " SD_CFS_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM SD_CFS_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.Search for further information about these or an SAP related objects