SAP FVD_BUS_MAIN Function Module for Loan: General Dispatcher Module for Business Transactions









FVD_BUS_MAIN is a standard fvd bus main SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Loan: General Dispatcher Module for Business Transactions 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 bus main FM, simply by entering the name FVD_BUS_MAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_BUS_MAIN 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_BUS_MAIN'"Loan: General Dispatcher Module for Business Transactions
EXPORTING
I_VDARL_KEY = "VDARL Schlussel-Struktur
I_GSART = "Product Type
I_PRODUCT_ID = "Interne Produkt-ID
* I_RBO = "Business operation number (loans)
I_SBOCAT = "Geschäftsvorfalltyp
* I_MODUS = 'D' "Mode for Payoff Data

EXCEPTIONS
LOAN_INVALID = 1 BO_INVALID = 2 LOG_HEADER_INCONSISTENT = 3
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFVN_BUS_OPERATION_001 Customer Functions for SAPLFvn_bus_operation
EXIT_SAPLFVN_BUS_OPERATION_101 Additional Data for FN8D
EXIT_SAPLFVN_BUS_OPERATION_102 User Exit for ZUONR and RSOLL
EXIT_SAPLFVN_BUS_OPERATION_500 Customer Function for Determining Country

IMPORTING Parameters details for FVD_BUS_MAIN

I_VDARL_KEY - VDARL Schlussel-Struktur

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

I_GSART - Product Type

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

I_PRODUCT_ID - Interne Produkt-ID

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

I_RBO - Business operation number (loans)

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

I_SBOCAT - Geschäftsvorfalltyp

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

I_MODUS - Mode for Payoff Data

Data type: TB_REPAY_MODUS
Default: 'D'
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

LOAN_INVALID - Darlehen nicht vorhanden

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

BO_INVALID - Geschäftsvorfallnummer nicht vorhanden

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

LOG_HEADER_INCONSISTENT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FVD_BUS_MAIN 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_vdarl_key  TYPE VDARL_KEY, "   
lv_loan_invalid  TYPE VDARL_KEY, "   
lv_i_gsart  TYPE VVSART, "   
lv_bo_invalid  TYPE VVSART, "   
lv_i_product_id  TYPE TB_PR_PRODINT, "   
lv_log_header_inconsistent  TYPE TB_PR_PRODINT, "   
lv_i_rbo  TYPE RBO, "   
lv_i_sbocat  TYPE SBO_CAT, "   
lv_i_modus  TYPE TB_REPAY_MODUS. "   'D'

  CALL FUNCTION 'FVD_BUS_MAIN'  "Loan: General Dispatcher Module for Business Transactions
    EXPORTING
         I_VDARL_KEY = lv_i_vdarl_key
         I_GSART = lv_i_gsart
         I_PRODUCT_ID = lv_i_product_id
         I_RBO = lv_i_rbo
         I_SBOCAT = lv_i_sbocat
         I_MODUS = lv_i_modus
    EXCEPTIONS
        LOAN_INVALID = 1
        BO_INVALID = 2
        LOG_HEADER_INCONSISTENT = 3
. " FVD_BUS_MAIN




ABAP code using 7.40 inline data declarations to call FM FVD_BUS_MAIN

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_modus) = 'D'.
 


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!