SAP FVD_CBR_CREATE Function Module for Start Creation of Message to Credit Bureau









FVD_CBR_CREATE is a standard fvd cbr create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Start Creation of Message to Credit Bureau 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 fvd cbr create FM, simply by entering the name FVD_CBR_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_CBR_CREATE 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 'FVD_CBR_CREATE'"Start Creation of Message to Credit Bureau
EXPORTING
* I_SIMULATION = 'X' "Simulation (X = Simulation, ' ' = Echtlauf)
I_WRK_VDARL = "Loan
I_WRK_BILL_HIST = "Invoice History
I_WRK_DEFAULT = "Data from Default for Processing in Credit Bureau
I_WRK_VZZKOKO = "Table Type for Table VZZKOKO
I_TAB_VZZKOPO = "Table Type for Table VZZKOPO
I_TAB_VDBOHEAD = "Table Type for Table VDBOHEAD
I_TAB_VDBEKI = "Table Type for Table VDBEKI
I_TAB_VDBEPI = "Table Type for Table VDBEPI
I_TAB_VZZBEPP = "Table Type for Structure VZZBEPP
* I_CORRECTION = ' ' "Korrektur, (X = Korrektur; ' ' = normaler Lauf)
I_OBJ_CBR_LOG = "Application Log: Facade
I_VDCBR_KEY = "Data Selection for Reporting to Credit Bureau
I_TIMEST = "UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
I_IDENT = "Nuber of Data Provider
I_WRK_HEAD = "Header Record of Output File for Credit Bur. (Metro2 Format)
I_RVD_CBR_RES_BP = "Business Partner Information for Credit Bureau
I_WRK_VDCBR_HIST = "History of Data Supplied to Credit Bureau

IMPORTING
E_CBR_CREATED = "Boolean Variable
E_CBR_HIST = "History of Data Supplied to Credit Bureau
E_VDCBR_RES_DATA = "Table of Credit Bureau Data Reported Per Loan
E_VDCBR_RES_PART = "Partner Data Reported for Credit Bureau
E_VDCBR_RES_HT = "Header and Totals Records for Data Reported to Credit Bur.

EXCEPTIONS
NO_CBR_CREATED = 1
.



IMPORTING Parameters details for FVD_CBR_CREATE

I_SIMULATION - Simulation (X = Simulation, ' ' = Echtlauf)

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_WRK_VDARL - Loan

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

I_WRK_BILL_HIST - Invoice History

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

I_WRK_DEFAULT - Data from Default for Processing in Credit Bureau

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

I_WRK_VZZKOKO - Table Type for Table VZZKOKO

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

I_TAB_VZZKOPO - Table Type for Table VZZKOPO

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

I_TAB_VDBOHEAD - Table Type for Table VDBOHEAD

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

I_TAB_VDBEKI - Table Type for Table VDBEKI

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

I_TAB_VDBEPI - Table Type for Table VDBEPI

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

I_TAB_VZZBEPP - Table Type for Structure VZZBEPP

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

I_CORRECTION - Korrektur, (X = Korrektur; ' ' = normaler Lauf)

Data type: XFLAG
Default: ' '
Optional: Yes
Call by Reference: Yes

I_OBJ_CBR_LOG - Application Log: Facade

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

I_VDCBR_KEY - Data Selection for Reporting to Credit Bureau

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

I_TIMEST - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

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

I_IDENT - Nuber of Data Provider

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

I_WRK_HEAD - Header Record of Output File for Credit Bur. (Metro2 Format)

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

I_RVD_CBR_RES_BP - Business Partner Information for Credit Bureau

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

I_WRK_VDCBR_HIST - History of Data Supplied to Credit Bureau

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

EXPORTING Parameters details for FVD_CBR_CREATE

E_CBR_CREATED - Boolean Variable

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

E_CBR_HIST - History of Data Supplied to Credit Bureau

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

E_VDCBR_RES_DATA - Table of Credit Bureau Data Reported Per Loan

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

E_VDCBR_RES_PART - Partner Data Reported for Credit Bureau

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

E_VDCBR_RES_HT - Header and Totals Records for Data Reported to Credit Bur.

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

EXCEPTIONS details

NO_CBR_CREATED - Keine Meldungsdaten an Kreditbüro erstellt

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_CBR_CREATE 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_i_simulation  TYPE XFLAG, "   'X'
lv_e_cbr_created  TYPE BOOLE, "   
lv_no_cbr_created  TYPE BOOLE, "   
lv_i_wrk_vdarl  TYPE VDARL, "   
lv_i_wrk_bill_hist  TYPE VDBILL_HIST, "   
lv_i_wrk_default  TYPE RVD_CBR_DEFAULT, "   
lv_i_wrk_vzzkoko  TYPE VZZKOKO, "   
lv_i_tab_vzzkopo  TYPE TRTY_VZZKOPO, "   
lv_i_tab_vdbohead  TYPE TRTY_VDBOHEAD, "   
lv_i_tab_vdbeki  TYPE TRTY_VDBEKI, "   
lv_i_tab_vdbepi  TYPE TRTY_VDBEPI, "   
lv_i_tab_vzzbepp  TYPE TRTY_VZZBEPP, "   
lv_e_cbr_hist  TYPE VDCBR_HIST, "   
lv_i_correction  TYPE XFLAG, "   ' '
lv_i_obj_cbr_log  TYPE CL_FVD_LOG, "   
lv_e_vdcbr_res_data  TYPE VDCBR_RES_DATA, "   
lv_i_vdcbr_key  TYPE RVD_CBR_KEY, "   
lv_e_vdcbr_res_part  TYPE TRTY_VDCBR_RES_PART, "   
lv_i_timest  TYPE TIMESTAMP, "   
lv_e_vdcbr_res_ht  TYPE VDCBR_RES_HT, "   
lv_i_ident  TYPE TB_CBR_IDENT_NUMBER, "   
lv_i_wrk_head  TYPE RVD_CBR_HEADER_SEGM, "   
lv_i_rvd_cbr_res_bp  TYPE RVD_CBR_RES_BP, "   
lv_i_wrk_vdcbr_hist  TYPE VDCBR_HIST. "   

  CALL FUNCTION 'FVD_CBR_CREATE'  "Start Creation of Message to Credit Bureau
    EXPORTING
         I_SIMULATION = lv_i_simulation
         I_WRK_VDARL = lv_i_wrk_vdarl
         I_WRK_BILL_HIST = lv_i_wrk_bill_hist
         I_WRK_DEFAULT = lv_i_wrk_default
         I_WRK_VZZKOKO = lv_i_wrk_vzzkoko
         I_TAB_VZZKOPO = lv_i_tab_vzzkopo
         I_TAB_VDBOHEAD = lv_i_tab_vdbohead
         I_TAB_VDBEKI = lv_i_tab_vdbeki
         I_TAB_VDBEPI = lv_i_tab_vdbepi
         I_TAB_VZZBEPP = lv_i_tab_vzzbepp
         I_CORRECTION = lv_i_correction
         I_OBJ_CBR_LOG = lv_i_obj_cbr_log
         I_VDCBR_KEY = lv_i_vdcbr_key
         I_TIMEST = lv_i_timest
         I_IDENT = lv_i_ident
         I_WRK_HEAD = lv_i_wrk_head
         I_RVD_CBR_RES_BP = lv_i_rvd_cbr_res_bp
         I_WRK_VDCBR_HIST = lv_i_wrk_vdcbr_hist
    IMPORTING
         E_CBR_CREATED = lv_e_cbr_created
         E_CBR_HIST = lv_e_cbr_hist
         E_VDCBR_RES_DATA = lv_e_vdcbr_res_data
         E_VDCBR_RES_PART = lv_e_vdcbr_res_part
         E_VDCBR_RES_HT = lv_e_vdcbr_res_ht
    EXCEPTIONS
        NO_CBR_CREATED = 1
. " FVD_CBR_CREATE




ABAP code using 7.40 inline data declarations to call FM FVD_CBR_CREATE

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_i_simulation) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_correction) = ' '.
 
 
 
 
 
 
 
 
 
 
 


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!