FVD_API_EXP_GET_CONTRACT 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_API_EXP_GET_CONTRACT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_API_EXP_GET
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FVD_API_EXP_GET_CONTRACT' "API: Read Detailed Data for a Contract (Master Data)
EXPORTING
i_bukrs = " bukrs Company Code
i_ranl = " ranl Contract Number
* i_get_all_conditions = SPACE " c Konditionshistorie lesen: X = Ja
* i_calln_appln = 'INT' " tb_callng_appln Calling Application
* i_actvt = '03' " tp105-aktyp Activity Category for Business Partner Management
IMPORTING
e_str_vdarl = " vdarl Loan
e_tab_vdgpo = " trty_vdgpo Business Partner Assignment
e_tab_vzzkoko = " trty_vzzkoko Table Type for Table VZZKOKO
e_tab_vzzkopo = " trty_vzzkopo Table Type for Table VZZKOPO
e_tab_vzzkopa = " trty_vzzkopa Table Type for Table VZZKOPA
e_tab_vdarlobj = " trty_vdarlobj Table Type Objects VDARLOBJ
e_tab_vdarlsic = " trty_vdarlsic Table Type Collaterals VDARLSIC
e_str_vdarldvs_ext = " vdarldvs_ext Enhancement Print and Dispatch Ctrl Data for BAPI CONTRACT
e_str_vzsort = " vzsort Sort Values for Object
e_str_vdlink_dd2sf = " vdlink_dd2sf Drawdowns for sub-facility
e_tab_vdzsb = " trty_vdzsb Table Type for Table VDZSB
e_str_vdakte = " vdakte File with documents for loan allocation
e_tab_vduntr = " trty_vduntr Table Type for Table VDUNTR
e_tab_vdavis = " trty_vdavis Table Type for VDAVIS
e_tab_vdhgrpf = " trty_vdhgrpf Table Type for Table VDHGRPF
e_tab_vdsonsi = " trty_vdsonsi Special arrangements
e_tab_vdgpo_son = " trty_vdgpo Geschäftspartnerzuordnung der Sondervereinbarungen
e_tab_vdsubfacility = " trty_vdsubfacility Table Type for VDSUBFACILITY
e_flg_cms_data = " xfeld
EXCEPTIONS
COMPANY_CODE_NOT_FOUND = 1 " Company Code was not Found
CONTRACT_NOT_FOUND = 2 " Contract not found
NO_AUTH_FOR_SF = 3 " No Authorization for structured finance
. " FVD_API_EXP_GET_CONTRACT
The ABAP code below is a full code listing to execute function module FVD_API_EXP_GET_CONTRACT 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_e_str_vdarl | TYPE VDARL , |
| ld_e_tab_vdgpo | TYPE TRTY_VDGPO , |
| ld_e_tab_vzzkoko | TYPE TRTY_VZZKOKO , |
| ld_e_tab_vzzkopo | TYPE TRTY_VZZKOPO , |
| ld_e_tab_vzzkopa | TYPE TRTY_VZZKOPA , |
| ld_e_tab_vdarlobj | TYPE TRTY_VDARLOBJ , |
| ld_e_tab_vdarlsic | TYPE TRTY_VDARLSIC , |
| ld_e_str_vdarldvs_ext | TYPE VDARLDVS_EXT , |
| ld_e_str_vzsort | TYPE VZSORT , |
| ld_e_str_vdlink_dd2sf | TYPE VDLINK_DD2SF , |
| ld_e_tab_vdzsb | TYPE TRTY_VDZSB , |
| ld_e_str_vdakte | TYPE VDAKTE , |
| ld_e_tab_vduntr | TYPE TRTY_VDUNTR , |
| ld_e_tab_vdavis | TYPE TRTY_VDAVIS , |
| ld_e_tab_vdhgrpf | TYPE TRTY_VDHGRPF , |
| ld_e_tab_vdsonsi | TYPE TRTY_VDSONSI , |
| ld_e_tab_vdgpo_son | TYPE TRTY_VDGPO , |
| ld_e_tab_vdsubfacility | TYPE TRTY_VDSUBFACILITY , |
| ld_e_flg_cms_data | TYPE XFELD . |
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_e_str_vdarl | TYPE VDARL , |
| ld_i_bukrs | TYPE BUKRS , |
| ld_e_tab_vdgpo | TYPE TRTY_VDGPO , |
| ld_i_ranl | TYPE RANL , |
| ld_e_tab_vzzkoko | TYPE TRTY_VZZKOKO , |
| ld_i_get_all_conditions | TYPE C , |
| ld_e_tab_vzzkopo | TYPE TRTY_VZZKOPO , |
| ld_i_calln_appln | TYPE TB_CALLNG_APPLN , |
| ld_e_tab_vzzkopa | TYPE TRTY_VZZKOPA , |
| ld_i_actvt | TYPE TP105-AKTYP , |
| ld_e_tab_vdarlobj | TYPE TRTY_VDARLOBJ , |
| ld_e_tab_vdarlsic | TYPE TRTY_VDARLSIC , |
| ld_e_str_vdarldvs_ext | TYPE VDARLDVS_EXT , |
| ld_e_str_vzsort | TYPE VZSORT , |
| ld_e_str_vdlink_dd2sf | TYPE VDLINK_DD2SF , |
| ld_e_tab_vdzsb | TYPE TRTY_VDZSB , |
| ld_e_str_vdakte | TYPE VDAKTE , |
| ld_e_tab_vduntr | TYPE TRTY_VDUNTR , |
| ld_e_tab_vdavis | TYPE TRTY_VDAVIS , |
| ld_e_tab_vdhgrpf | TYPE TRTY_VDHGRPF , |
| ld_e_tab_vdsonsi | TYPE TRTY_VDSONSI , |
| ld_e_tab_vdgpo_son | TYPE TRTY_VDGPO , |
| ld_e_tab_vdsubfacility | TYPE TRTY_VDSUBFACILITY , |
| ld_e_flg_cms_data | TYPE XFELD . |
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_API_EXP_GET_CONTRACT or its description.
FVD_API_EXP_GET_CONTRACT - API: Read Detailed Data for a Contract (Master Data) FVD_API_EXP_GET_CASHFLOW - API: Get Detailed Data for Cash Flow of a Contract FVD_API_EXP_GET_CAPITALS - API: Get Loan Data for Capital of a Contract FVD_API_EXP_EXPORT_LOAN_RFC - API: Read Loan Data and ALE Export (per RFC) FVD_API_EXP_EXPORT_LOAN - API: Read Loan Data and ALE Export FVD_API_EXP_CREATE_IDOCS - API: Create IDocs and Transfer to ALE Layer