FVD_RFC_CONTRACT_GETDETAIL 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_CONTRACT_GETDETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_RFC_CONTRACT
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'FVD_RFC_CONTRACT_GETDETAIL' "Display Loan Contract
EXPORTING
companycode = " bapiloan_get-comp_code Company Code
loannumber = " bapiloan_get-contract_no Contract Number
* archive = SPACE " bapiloan_get-archive Archiving Category Indicator
* i_calln_appln = 'INT' " tb_callng_appln Calling Application
IMPORTING
loan = " bapiloan_get Display of Loan Contract Data
correspondence = " bapiloancor_get Display of Correspondence Data
userfields = " bapiloan_userfields User Fields
error = " bapiloan_common-error Error Indicator in BAPIs
* TABLES
* partner = " bapirel_bpobj Assignment of Partner to Contract
* conditionheader = " bapicondhead_get Display of Condition Header Data
* conditions = " bapicondition_get Display of Condition Items
* formula = " bapiconddetail_get Display of Condition Details
* objects = " bapiloanobj_get Display of Object Relationship Data
* collaterals = " bapiloancol_get Display of Collateral Relationship Data
* clerks = " bapiloanclerks_get Display of Clerk Relationship Data
* files = " bapiloan_vdakte Med. Record Data
* file_documents = " bapiloan_vduntr Loan Documents in a File
* payment_advices = " bapiloan_vdavis Payt Adv
* encumbrances = " bapiloan_vdhgrpf Encumbrances
* return = " bapiret2 Confirmation of Results
. " FVD_RFC_CONTRACT_GETDETAIL
The ABAP code below is a full code listing to execute function module FVD_RFC_CONTRACT_GETDETAIL 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_loan | TYPE BAPILOAN_GET , |
| ld_correspondence | TYPE BAPILOANCOR_GET , |
| ld_userfields | TYPE BAPILOAN_USERFIELDS , |
| ld_error | TYPE BAPILOAN_COMMON-ERROR , |
| it_partner | TYPE STANDARD TABLE OF BAPIREL_BPOBJ,"TABLES PARAM |
| wa_partner | LIKE LINE OF it_partner , |
| it_conditionheader | TYPE STANDARD TABLE OF BAPICONDHEAD_GET,"TABLES PARAM |
| wa_conditionheader | LIKE LINE OF it_conditionheader , |
| it_conditions | TYPE STANDARD TABLE OF BAPICONDITION_GET,"TABLES PARAM |
| wa_conditions | LIKE LINE OF it_conditions , |
| it_formula | TYPE STANDARD TABLE OF BAPICONDDETAIL_GET,"TABLES PARAM |
| wa_formula | LIKE LINE OF it_formula , |
| it_objects | TYPE STANDARD TABLE OF BAPILOANOBJ_GET,"TABLES PARAM |
| wa_objects | LIKE LINE OF it_objects , |
| it_collaterals | TYPE STANDARD TABLE OF BAPILOANCOL_GET,"TABLES PARAM |
| wa_collaterals | LIKE LINE OF it_collaterals , |
| it_clerks | TYPE STANDARD TABLE OF BAPILOANCLERKS_GET,"TABLES PARAM |
| wa_clerks | LIKE LINE OF it_clerks , |
| it_files | TYPE STANDARD TABLE OF BAPILOAN_VDAKTE,"TABLES PARAM |
| wa_files | LIKE LINE OF it_files , |
| it_file_documents | TYPE STANDARD TABLE OF BAPILOAN_VDUNTR,"TABLES PARAM |
| wa_file_documents | LIKE LINE OF it_file_documents , |
| it_payment_advices | TYPE STANDARD TABLE OF BAPILOAN_VDAVIS,"TABLES PARAM |
| wa_payment_advices | LIKE LINE OF it_payment_advices , |
| it_encumbrances | TYPE STANDARD TABLE OF BAPILOAN_VDHGRPF,"TABLES PARAM |
| wa_encumbrances | LIKE LINE OF it_encumbrances , |
| 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_loan | TYPE BAPILOAN_GET , |
| ld_companycode | TYPE BAPILOAN_GET-COMP_CODE , |
| it_partner | TYPE STANDARD TABLE OF BAPIREL_BPOBJ , |
| wa_partner | LIKE LINE OF it_partner, |
| ld_correspondence | TYPE BAPILOANCOR_GET , |
| ld_loannumber | TYPE BAPILOAN_GET-CONTRACT_NO , |
| it_conditionheader | TYPE STANDARD TABLE OF BAPICONDHEAD_GET , |
| wa_conditionheader | LIKE LINE OF it_conditionheader, |
| ld_userfields | TYPE BAPILOAN_USERFIELDS , |
| ld_archive | TYPE BAPILOAN_GET-ARCHIVE , |
| it_conditions | TYPE STANDARD TABLE OF BAPICONDITION_GET , |
| wa_conditions | LIKE LINE OF it_conditions, |
| ld_error | TYPE BAPILOAN_COMMON-ERROR , |
| ld_i_calln_appln | TYPE TB_CALLNG_APPLN , |
| it_formula | TYPE STANDARD TABLE OF BAPICONDDETAIL_GET , |
| wa_formula | LIKE LINE OF it_formula, |
| it_objects | TYPE STANDARD TABLE OF BAPILOANOBJ_GET , |
| wa_objects | LIKE LINE OF it_objects, |
| it_collaterals | TYPE STANDARD TABLE OF BAPILOANCOL_GET , |
| wa_collaterals | LIKE LINE OF it_collaterals, |
| it_clerks | TYPE STANDARD TABLE OF BAPILOANCLERKS_GET , |
| wa_clerks | LIKE LINE OF it_clerks, |
| it_files | TYPE STANDARD TABLE OF BAPILOAN_VDAKTE , |
| wa_files | LIKE LINE OF it_files, |
| it_file_documents | TYPE STANDARD TABLE OF BAPILOAN_VDUNTR , |
| wa_file_documents | LIKE LINE OF it_file_documents, |
| it_payment_advices | TYPE STANDARD TABLE OF BAPILOAN_VDAVIS , |
| wa_payment_advices | LIKE LINE OF it_payment_advices, |
| it_encumbrances | TYPE STANDARD TABLE OF BAPILOAN_VDHGRPF , |
| wa_encumbrances | LIKE LINE OF it_encumbrances, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
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_CONTRACT_GETDETAIL or its description.
FVD_RFC_CONTRACT_GETDETAIL - Display Loan Contract FVD_RFC_COLLATERALS_GETDETAIL - Loan RFC: Detailed Data for Collateral 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