SAP FVD_RFC_CONTRACT_GETMULT Function Module for Loan: Display Contract









FVD_RFC_CONTRACT_GETMULT is a standard fvd rfc contract getmult 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: Display Contract 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 rfc contract getmult FM, simply by entering the name FVD_RFC_CONTRACT_GETMULT into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVD_RFC_CONTRACT
Program Name: SAPLFVD_RFC_CONTRACT
Main Program: SAPLFVD_RFC_CONTRACT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FVD_RFC_CONTRACT_GETMULT 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_RFC_CONTRACT_GETMULT'"Loan: Display Contract
EXPORTING
* FLG_CONDITIONS = ' ' "Konditionshistorie bei BAPI's
* FLG_CURRENT = ' ' "Current Conditions in BAPIs
* FLG_FUTURE = ' ' "Conditions with Validity in the Future
* FLG_LAST = ' ' "Anzeige letzte Konditionen
* I_DGUEL_VON = SY-DATUM "Date Condition Effective From
* I_DGUEL_BIS = SY-DATUM "Datum Kondition gültig bis
* I_CALLN_APPLN = 'INT' "Calling Application

IMPORTING
ERROR = "Error Indicator in BAPIs
FLG_MAX_RECORD = "Selektionsbegrenzung von Darlehen

TABLES
* LOANNUMBER = "Structure for Contract Numbers
* USERFIELDS = "User Fields
* CLERKS = "Display of Clerk Relationship Data
* RETURN = "Confirmation of Results
* LOAN = "Display of Loan Contract Data
* PARTNER = "Assignment of Partner to Contract
* CONDITIONHEADER = "Display of Condition Header Data
* CONDITIONS = "Display of Condition Items
* FORMULA = "Display of Condition Details
* OBJECTS = "Display of Object Relationship Data
* COLLATERALS = "Display of Collateral Relationship Data
* CORRESPONDENCE = "Display of Correspondence Data
.



IMPORTING Parameters details for FVD_RFC_CONTRACT_GETMULT

FLG_CONDITIONS - Konditionshistorie bei BAPI's

Data type: BAPILOAN_COMMON-CONDITIONS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_CURRENT - Current Conditions in BAPIs

Data type: BAPILOAN_COMMON-CURRENT_COND
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_FUTURE - Conditions with Validity in the Future

Data type: BAPILOAN_COMMON-FUTURE_COND
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_LAST - Anzeige letzte Konditionen

Data type: BAPILOAN_COMMON-LAST_COND
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DGUEL_VON - Date Condition Effective From

Data type: VZZKOKO-DGUEL_KK
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DGUEL_BIS - Datum Kondition gültig bis

Data type: VZZKOKO-DGUEL_KK
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CALLN_APPLN - Calling Application

Data type: TB_CALLNG_APPLN
Default: 'INT'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FVD_RFC_CONTRACT_GETMULT

ERROR - Error Indicator in BAPIs

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

FLG_MAX_RECORD - Selektionsbegrenzung von Darlehen

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

TABLES Parameters details for FVD_RFC_CONTRACT_GETMULT

LOANNUMBER - Structure for Contract Numbers

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

USERFIELDS - User Fields

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

CLERKS - Display of Clerk Relationship Data

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

RETURN - Confirmation of Results

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

LOAN - Display of Loan Contract Data

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

PARTNER - Assignment of Partner to Contract

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

CONDITIONHEADER - Display of Condition Header Data

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

CONDITIONS - Display of Condition Items

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

FORMULA - Display of Condition Details

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

OBJECTS - Display of Object Relationship Data

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

COLLATERALS - Display of Collateral Relationship Data

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

CORRESPONDENCE - Display of Correspondence Data

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

Copy and paste ABAP code example for FVD_RFC_CONTRACT_GETMULT 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_error  TYPE BAPILOAN_COMMON-ERROR, "   
lt_loannumber  TYPE STANDARD TABLE OF LOANNUMBER, "   
lv_flg_conditions  TYPE BAPILOAN_COMMON-CONDITIONS, "   SPACE
lt_userfields  TYPE STANDARD TABLE OF BAPILOAN_USERFIELDS, "   
lt_clerks  TYPE STANDARD TABLE OF BAPILOANCLERKS_GET, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_loan  TYPE STANDARD TABLE OF BAPILOAN_GET, "   
lv_flg_current  TYPE BAPILOAN_COMMON-CURRENT_COND, "   ' '
lv_flg_max_record  TYPE BOOLE-BOOLE, "   
lt_partner  TYPE STANDARD TABLE OF BAPIREL_BPOBJ, "   
lv_flg_future  TYPE BAPILOAN_COMMON-FUTURE_COND, "   ' '
lv_flg_last  TYPE BAPILOAN_COMMON-LAST_COND, "   ' '
lt_conditionheader  TYPE STANDARD TABLE OF BAPICONDHEAD_GET, "   
lt_conditions  TYPE STANDARD TABLE OF BAPICONDITION_GET, "   
lv_i_dguel_von  TYPE VZZKOKO-DGUEL_KK, "   SY-DATUM
lt_formula  TYPE STANDARD TABLE OF BAPICONDDETAIL_GET, "   
lv_i_dguel_bis  TYPE VZZKOKO-DGUEL_KK, "   SY-DATUM
lt_objects  TYPE STANDARD TABLE OF BAPILOANOBJ_GET, "   
lv_i_calln_appln  TYPE TB_CALLNG_APPLN, "   'INT'
lt_collaterals  TYPE STANDARD TABLE OF BAPILOANCOL_GET, "   
lt_correspondence  TYPE STANDARD TABLE OF BAPILOANCOR_GET. "   

  CALL FUNCTION 'FVD_RFC_CONTRACT_GETMULT'  "Loan: Display Contract
    EXPORTING
         FLG_CONDITIONS = lv_flg_conditions
         FLG_CURRENT = lv_flg_current
         FLG_FUTURE = lv_flg_future
         FLG_LAST = lv_flg_last
         I_DGUEL_VON = lv_i_dguel_von
         I_DGUEL_BIS = lv_i_dguel_bis
         I_CALLN_APPLN = lv_i_calln_appln
    IMPORTING
         ERROR = lv_error
         FLG_MAX_RECORD = lv_flg_max_record
    TABLES
         LOANNUMBER = lt_loannumber
         USERFIELDS = lt_userfields
         CLERKS = lt_clerks
         RETURN = lt_return
         LOAN = lt_loan
         PARTNER = lt_partner
         CONDITIONHEADER = lt_conditionheader
         CONDITIONS = lt_conditions
         FORMULA = lt_formula
         OBJECTS = lt_objects
         COLLATERALS = lt_collaterals
         CORRESPONDENCE = lt_correspondence
. " FVD_RFC_CONTRACT_GETMULT




ABAP code using 7.40 inline data declarations to call FM FVD_RFC_CONTRACT_GETMULT

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 ERROR FROM BAPILOAN_COMMON INTO @DATA(ld_error).
 
 
"SELECT single CONDITIONS FROM BAPILOAN_COMMON INTO @DATA(ld_flg_conditions).
DATA(ld_flg_conditions) = ' '.
 
 
 
 
 
"SELECT single CURRENT_COND FROM BAPILOAN_COMMON INTO @DATA(ld_flg_current).
DATA(ld_flg_current) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_flg_max_record).
 
 
"SELECT single FUTURE_COND FROM BAPILOAN_COMMON INTO @DATA(ld_flg_future).
DATA(ld_flg_future) = ' '.
 
"SELECT single LAST_COND FROM BAPILOAN_COMMON INTO @DATA(ld_flg_last).
DATA(ld_flg_last) = ' '.
 
 
 
"SELECT single DGUEL_KK FROM VZZKOKO INTO @DATA(ld_i_dguel_von).
DATA(ld_i_dguel_von) = SY-DATUM.
 
 
"SELECT single DGUEL_KK FROM VZZKOKO INTO @DATA(ld_i_dguel_bis).
DATA(ld_i_dguel_bis) = SY-DATUM.
 
 
DATA(ld_i_calln_appln) = 'INT'.
 
 
 


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!