SAP CBRC_CU_LIST_DATA_SAVE_IN_DVS Function Module for NOTRANSL: Ablage einer Kundenliste als CSV Datei im DVS









CBRC_CU_LIST_DATA_SAVE_IN_DVS is a standard cbrc cu list data save in dvs 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: Ablage einer Kundenliste als CSV Datei im DVS 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 cbrc cu list data save in dvs FM, simply by entering the name CBRC_CU_LIST_DATA_SAVE_IN_DVS into the relevant SAP transaction such as SE37 or SE38.

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



Function CBRC_CU_LIST_DATA_SAVE_IN_DVS 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 'CBRC_CU_LIST_DATA_SAVE_IN_DVS'"NOTRANSL: Ablage einer Kundenliste als CSV Datei im DVS
EXPORTING
I_CUSTOMER_LIST_TAB = "Table Type Customer List
I_TRACK_SUBST = "Specification
* I_DOCUMENT_KEY_WA = "DDS: DMS document key
* I_DATA_CARRIER = 'SAP-SYSTEM' "Name of Data Carrier
I_DVS_DOCTYPE = "Document Type
* I_CSV_SEPERATOR = ',' "
* I_ENCODING = 'windows-1252' "Identifier for Character Format (UTF-8, UCS-2, ...)
I_WS_APPLICATION = "Application

IMPORTING
E_DOCUMENT_KEY_WA = "DDS: DMS document key
E_FLG_ERROR = "Indicator: Error
E_ERROR_TAB = "Error Message Table
.



IMPORTING Parameters details for CBRC_CU_LIST_DATA_SAVE_IN_DVS

I_CUSTOMER_LIST_TAB - Table Type Customer List

Data type: CCRCTT_CU_LIST
Optional: No
Call by Reference: Yes

I_TRACK_SUBST - Specification

Data type: ESESUBID
Optional: No
Call by Reference: Yes

I_DOCUMENT_KEY_WA - DDS: DMS document key

Data type: CVDDOCKEY
Optional: Yes
Call by Reference: Yes

I_DATA_CARRIER - Name of Data Carrier

Data type: DRAW-DTTRG
Default: 'SAP-SYSTEM'
Optional: Yes
Call by Reference: Yes

I_DVS_DOCTYPE - Document Type

Data type: DRAW-DOKAR
Optional: No
Call by Reference: Yes

I_CSV_SEPERATOR -

Data type: CHAR1
Default: ','
Optional: Yes
Call by Reference: Yes

I_ENCODING - Identifier for Character Format (UTF-8, UCS-2, ...)

Data type: ABAP_ENCOD
Default: 'windows-1252'
Optional: Yes
Call by Reference: Yes

I_WS_APPLICATION - Application

Data type: DRAW-DAPPL
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CBRC_CU_LIST_DATA_SAVE_IN_DVS

E_DOCUMENT_KEY_WA - DDS: DMS document key

Data type: CVDDOCKEY
Optional: No
Call by Reference: Yes

E_FLG_ERROR - Indicator: Error

Data type: ESEBOOLE
Optional: No
Call by Reference: Yes

E_ERROR_TAB - Error Message Table

Data type: CCRCTT_MSG
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CBRC_CU_LIST_DATA_SAVE_IN_DVS 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_document_key_wa  TYPE CVDDOCKEY, "   
lv_i_customer_list_tab  TYPE CCRCTT_CU_LIST, "   
lv_e_flg_error  TYPE ESEBOOLE, "   
lv_i_track_subst  TYPE ESESUBID, "   
lv_e_error_tab  TYPE CCRCTT_MSG, "   
lv_i_document_key_wa  TYPE CVDDOCKEY, "   
lv_i_data_carrier  TYPE DRAW-DTTRG, "   'SAP-SYSTEM'
lv_i_dvs_doctype  TYPE DRAW-DOKAR, "   
lv_i_csv_seperator  TYPE CHAR1, "   ','
lv_i_encoding  TYPE ABAP_ENCOD, "   'windows-1252'
lv_i_ws_application  TYPE DRAW-DAPPL. "   

  CALL FUNCTION 'CBRC_CU_LIST_DATA_SAVE_IN_DVS'  "NOTRANSL: Ablage einer Kundenliste als CSV Datei im DVS
    EXPORTING
         I_CUSTOMER_LIST_TAB = lv_i_customer_list_tab
         I_TRACK_SUBST = lv_i_track_subst
         I_DOCUMENT_KEY_WA = lv_i_document_key_wa
         I_DATA_CARRIER = lv_i_data_carrier
         I_DVS_DOCTYPE = lv_i_dvs_doctype
         I_CSV_SEPERATOR = lv_i_csv_seperator
         I_ENCODING = lv_i_encoding
         I_WS_APPLICATION = lv_i_ws_application
    IMPORTING
         E_DOCUMENT_KEY_WA = lv_e_document_key_wa
         E_FLG_ERROR = lv_e_flg_error
         E_ERROR_TAB = lv_e_error_tab
. " CBRC_CU_LIST_DATA_SAVE_IN_DVS




ABAP code using 7.40 inline data declarations to call FM CBRC_CU_LIST_DATA_SAVE_IN_DVS

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 DTTRG FROM DRAW INTO @DATA(ld_i_data_carrier).
DATA(ld_i_data_carrier) = 'SAP-SYSTEM'.
 
"SELECT single DOKAR FROM DRAW INTO @DATA(ld_i_dvs_doctype).
 
DATA(ld_i_csv_seperator) = ','.
 
DATA(ld_i_encoding) = 'windows-1252'.
 
"SELECT single DAPPL FROM DRAW INTO @DATA(ld_i_ws_application).
 


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!