FVD_RFC_COLLATERALS_CREATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FVD_RFC_COLLATERALS_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_RFC_COLLATERALS
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'FVD_RFC_COLLATERALS_CREATE' "Loan: Create Collaterals
EXPORTING
collateraltype = " bapicoll_policy-collat Collateral Type
* policy = " bapicoll_policy Contracts/Credit (Life Ins., Build.Savings Etc) Basic Data
* loan = " bapicoll_loan Verpfändetes Darlehen gemäß BAV/DV4
* stock = " bapicoll_stock Collateral in Securities in Accordance with BAV/PRF5
* userfields = " bapiloan_userfields Sort Values for Object
* testrun = SPACE " bapiloan_common-testrun Switch to Simulation Mode for Write BAPIs
* refresh = SPACE " bapiloan_common-testrun Refresh Global Settings In Write BAPIS
* i_flg_avoid_inner_join = SPACE " flag General Flag
IMPORTING
collateralid = " rsicher Collateral Reference Number
error = " bapiloan_common-error Error Indicator in BAPIs
TABLES
* expirydata = " bapicoll_expirydata Ablaufleistung der Lebensversicherung
* partner = " bapirel_bpobj Assignment of Partner to Contract
* arrangement = " bapicoll_arrangement Special arrangements
return = " bapiret2 Confirmation of Results
. " FVD_RFC_COLLATERALS_CREATE
The ABAP code below is a full code listing to execute function module FVD_RFC_COLLATERALS_CREATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_collateralid | TYPE RSICHER , |
| ld_error | TYPE BAPILOAN_COMMON-ERROR , |
| it_expirydata | TYPE STANDARD TABLE OF BAPICOLL_EXPIRYDATA,"TABLES PARAM |
| wa_expirydata | LIKE LINE OF it_expirydata , |
| it_partner | TYPE STANDARD TABLE OF BAPIREL_BPOBJ,"TABLES PARAM |
| wa_partner | LIKE LINE OF it_partner , |
| it_arrangement | TYPE STANDARD TABLE OF BAPICOLL_ARRANGEMENT,"TABLES PARAM |
| wa_arrangement | LIKE LINE OF it_arrangement , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_collateralid | TYPE RSICHER , |
| ld_collateraltype | TYPE BAPICOLL_POLICY-COLLAT , |
| it_expirydata | TYPE STANDARD TABLE OF BAPICOLL_EXPIRYDATA , |
| wa_expirydata | LIKE LINE OF it_expirydata, |
| ld_error | TYPE BAPILOAN_COMMON-ERROR , |
| ld_policy | TYPE BAPICOLL_POLICY , |
| it_partner | TYPE STANDARD TABLE OF BAPIREL_BPOBJ , |
| wa_partner | LIKE LINE OF it_partner, |
| ld_loan | TYPE BAPICOLL_LOAN , |
| it_arrangement | TYPE STANDARD TABLE OF BAPICOLL_ARRANGEMENT , |
| wa_arrangement | LIKE LINE OF it_arrangement, |
| ld_stock | TYPE BAPICOLL_STOCK , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_userfields | TYPE BAPILOAN_USERFIELDS , |
| ld_testrun | TYPE BAPILOAN_COMMON-TESTRUN , |
| ld_refresh | TYPE BAPILOAN_COMMON-TESTRUN , |
| ld_i_flg_avoid_inner_join | TYPE FLAG . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FVD_RFC_COLLATERALS_CREATE or its description.
FVD_RFC_COLLATERALS_CREATE - Loan: Create Collaterals FVD_REV_VDARL_UPDATE - Posting Module for Multiple Loans FVD_REV_SERVICE_POST - Posting Processing: Reversal Service FVD_REV_SERVICE - Reversal Service FVD_REV_PREPARE_POST - Posting Preparations for Reversal FVD_REV_POPUP_FOR_ACCOUNT_2 - Dialog for Selecting an Account in Case of Cleared Credit Position