SAP FVD_RFC_OBJECT_CREATE Function Module for Loan RFC: Create Collateral Object
FVD_RFC_OBJECT_CREATE is a standard fvd rfc object 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 Loan RFC: Create Collateral Object 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 object create FM, simply by entering the name FVD_RFC_OBJECT_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_RFC_OBJECTS
Program Name: SAPLFVD_RFC_OBJECTS
Main Program: SAPLFVD_RFC_OBJECTS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FVD_RFC_OBJECT_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_RFC_OBJECT_CREATE'"Loan RFC: Create Collateral Object.
EXPORTING
ADDRESS = "Address
* OBJECTDESCRIPT = "Object Name
COLLATERALOBJECT = "Collateral Object
* LANDREGISTRY = "Land Register
* USERFIELDS = "User Fields
* NEWMASTERNUMBER = ' ' "Objektstammnummer bilden: TRUE (='X') und FALSE (=' ')
* TESTRUN = ' ' "Switch to Simulation Mode for Write BAPIs
* REFRESH = ' ' "Refresh Global Settings In Write BAPIS
* I_FLG_AVOID_INNER_JOIN = ' ' "General Flag
IMPORTING
OBJECTID = "Collateral Object Number
MASTERNUMBER = "Object master number
LANDREGISTRYID = "Land Register Number
ERROR = "Error Indicator in BAPIs
TABLES
* PARTSOFBUILDING = "Tabelle der Gebäudeteile zum Objekt
* PARTNER = "Assignment of Partner to Contract
RETURN = "Confirmation of Results
IMPORTING Parameters details for FVD_RFC_OBJECT_CREATE
ADDRESS - Address
Data type: BAPIADDR1Optional: No
Call by Reference: No ( called with pass by value option)
OBJECTDESCRIPT - Object Name
Data type: BAPIADDR_OBJDAT-OBJ_DSCRPTOptional: Yes
Call by Reference: No ( called with pass by value option)
COLLATERALOBJECT - Collateral Object
Data type: BAPICOLLOBJ_CREATEOptional: No
Call by Reference: No ( called with pass by value option)
LANDREGISTRY - Land Register
Data type: BAPILOAN_LANDREGOptional: Yes
Call by Reference: No ( called with pass by value option)
USERFIELDS - User Fields
Data type: BAPILOAN_USERFIELDSOptional: Yes
Call by Reference: No ( called with pass by value option)
NEWMASTERNUMBER - Objektstammnummer bilden: TRUE (='X') und FALSE (=' ')
Data type: BAPILOAN_COMMON-MASTERNODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TESTRUN - Switch to Simulation Mode for Write BAPIs
Data type: BAPILOAN_COMMON-TESTRUNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
REFRESH - Refresh Global Settings In Write BAPIS
Data type: BAPILOAN_COMMON-REFRESHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_AVOID_INNER_JOIN - General Flag
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_RFC_OBJECT_CREATE
OBJECTID - Collateral Object Number
Data type: BAPICOLLOBJ_GETDETAIL-OBJECT_NOOptional: No
Call by Reference: No ( called with pass by value option)
MASTERNUMBER - Object master number
Data type: BAPICOLLOBJ_GETDETAIL-MASTERNOOptional: No
Call by Reference: No ( called with pass by value option)
LANDREGISTRYID - Land Register Number
Data type: BAPICOLLOBJ_GETDETAIL-LNDREGNOOptional: No
Call by Reference: No ( called with pass by value option)
ERROR - Error Indicator in BAPIs
Data type: BAPILOAN_COMMON-ERROROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FVD_RFC_OBJECT_CREATE
PARTSOFBUILDING - Tabelle der Gebäudeteile zum Objekt
Data type: BAPIBUILPAR_CREATEOptional: Yes
Call by Reference: Yes
PARTNER - Assignment of Partner to Contract
Data type: BAPIREL_BPOBJOptional: Yes
Call by Reference: Yes
RETURN - Confirmation of Results
Data type: BAPIRET2Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_RFC_OBJECT_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_address | TYPE BAPIADDR1, " | |||
| lv_objectid | TYPE BAPICOLLOBJ_GETDETAIL-OBJECT_NO, " | |||
| lt_partsofbuilding | TYPE STANDARD TABLE OF BAPIBUILPAR_CREATE, " | |||
| lt_partner | TYPE STANDARD TABLE OF BAPIREL_BPOBJ, " | |||
| lv_masternumber | TYPE BAPICOLLOBJ_GETDETAIL-MASTERNO, " | |||
| lv_objectdescript | TYPE BAPIADDR_OBJDAT-OBJ_DSCRPT, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_landregistryid | TYPE BAPICOLLOBJ_GETDETAIL-LNDREGNO, " | |||
| lv_collateralobject | TYPE BAPICOLLOBJ_CREATE, " | |||
| lv_error | TYPE BAPILOAN_COMMON-ERROR, " | |||
| lv_landregistry | TYPE BAPILOAN_LANDREG, " | |||
| lv_userfields | TYPE BAPILOAN_USERFIELDS, " | |||
| lv_newmasternumber | TYPE BAPILOAN_COMMON-MASTERNO, " SPACE | |||
| lv_testrun | TYPE BAPILOAN_COMMON-TESTRUN, " SPACE | |||
| lv_refresh | TYPE BAPILOAN_COMMON-REFRESH, " SPACE | |||
| lv_i_flg_avoid_inner_join | TYPE FLAG. " SPACE |
|   CALL FUNCTION 'FVD_RFC_OBJECT_CREATE' "Loan RFC: Create Collateral Object |
| EXPORTING | ||
| ADDRESS | = lv_address | |
| OBJECTDESCRIPT | = lv_objectdescript | |
| COLLATERALOBJECT | = lv_collateralobject | |
| LANDREGISTRY | = lv_landregistry | |
| USERFIELDS | = lv_userfields | |
| NEWMASTERNUMBER | = lv_newmasternumber | |
| TESTRUN | = lv_testrun | |
| REFRESH | = lv_refresh | |
| I_FLG_AVOID_INNER_JOIN | = lv_i_flg_avoid_inner_join | |
| IMPORTING | ||
| OBJECTID | = lv_objectid | |
| MASTERNUMBER | = lv_masternumber | |
| LANDREGISTRYID | = lv_landregistryid | |
| ERROR | = lv_error | |
| TABLES | ||
| PARTSOFBUILDING | = lt_partsofbuilding | |
| PARTNER | = lt_partner | |
| RETURN | = lt_return | |
| . " FVD_RFC_OBJECT_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM FVD_RFC_OBJECT_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.| "SELECT single OBJECT_NO FROM BAPICOLLOBJ_GETDETAIL INTO @DATA(ld_objectid). | ||||
| "SELECT single MASTERNO FROM BAPICOLLOBJ_GETDETAIL INTO @DATA(ld_masternumber). | ||||
| "SELECT single OBJ_DSCRPT FROM BAPIADDR_OBJDAT INTO @DATA(ld_objectdescript). | ||||
| "SELECT single LNDREGNO FROM BAPICOLLOBJ_GETDETAIL INTO @DATA(ld_landregistryid). | ||||
| "SELECT single ERROR FROM BAPILOAN_COMMON INTO @DATA(ld_error). | ||||
| "SELECT single MASTERNO FROM BAPILOAN_COMMON INTO @DATA(ld_newmasternumber). | ||||
| DATA(ld_newmasternumber) | = ' '. | |||
| "SELECT single TESTRUN FROM BAPILOAN_COMMON INTO @DATA(ld_testrun). | ||||
| DATA(ld_testrun) | = ' '. | |||
| "SELECT single REFRESH FROM BAPILOAN_COMMON INTO @DATA(ld_refresh). | ||||
| DATA(ld_refresh) | = ' '. | |||
| DATA(ld_i_flg_avoid_inner_join) | = ' '. | |||
Search for further information about these or an SAP related objects