FVD_API_CP_LOAN 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_CP_LOAN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_API_CHGPTR_APPLICATION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FVD_API_CP_LOAN' "
EXPORTING
i_bukrs = " bukrs
i_sarchiv = " sarchiv
i_ranl = " ranl
* i_upd_vdarl = " char1
* i_wrk_vdarl_old = " vdarl
* i_wrk_vdarl_new = " vdarl
* i_upd_vzzkoko = " char1
* i_tab_vdvzzkoko_old = " trty_vdvzzkoko
* i_tab_vdvzzkoko_new = " trty_vdvzzkoko
* i_upd_vzzkopo = " char1
* i_tab_vdvzzkopo_old = " trty_vdvzzkopo
* i_tab_vdvzzkopo_new = " trty_vdvzzkopo
* i_upd_vdarlsic = " char1
* i_tab_vdvdarlsic_old = " trty_vdvdarlsic
* i_tab_vdvdarlsic_new = " trty_vdvdarlsic
* i_upd_vdsonsi = " char1
* i_tab_vdvdsonsi_old = " trty_vdvdsonsi
* i_tab_vdvdsonsi_new = " trty_vdvdsonsi
* i_upd_vdhgrpf = " char1
* i_tab_vdvdhgrpf_old = " trty_vdvdhgrpf
* i_tab_vdvdhgrpf_new = " trty_vdvdhgrpf
* i_upd_vdarlobj = " char1
* i_tab_vdvdarlobj_old = " trty_vdvdarlobj
* i_tab_vdvdarlobj_new = " trty_vdvdarlobj
* i_upd_vigba3 = " char1
* i_tab_vdvigba3_old = " trty_vdvigba3
* i_tab_vdvigba3_new = " trty_vdvigba3
* i_upd_vdgpo = " char1
* i_tab_vdvdgpo_old = " trty_vdvdgpo
* i_tab_vdvdgpo_new = " trty_vdvdgpo
EXCEPTIONS
ERROR = 1 "
. " FVD_API_CP_LOAN
The ABAP code below is a full code listing to execute function module FVD_API_CP_LOAN 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).
DATA(ld_i_bukrs) = 'Check type of data required'.
DATA(ld_i_sarchiv) = 'Check type of data required'.
DATA(ld_i_ranl) = 'Check type of data required'.
DATA(ld_i_upd_vdarl) = 'Check type of data required'.
DATA(ld_i_wrk_vdarl_old) = 'Check type of data required'.
DATA(ld_i_wrk_vdarl_new) = 'Check type of data required'.
DATA(ld_i_upd_vzzkoko) = 'Check type of data required'.
DATA(ld_i_tab_vdvzzkoko_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvzzkoko_new) = 'Check type of data required'.
DATA(ld_i_upd_vzzkopo) = 'Check type of data required'.
DATA(ld_i_tab_vdvzzkopo_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvzzkopo_new) = 'Check type of data required'.
DATA(ld_i_upd_vdarlsic) = 'Check type of data required'.
DATA(ld_i_tab_vdvdarlsic_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvdarlsic_new) = 'Check type of data required'.
DATA(ld_i_upd_vdsonsi) = 'Check type of data required'.
DATA(ld_i_tab_vdvdsonsi_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvdsonsi_new) = 'Check type of data required'.
DATA(ld_i_upd_vdhgrpf) = 'Check type of data required'.
DATA(ld_i_tab_vdvdhgrpf_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvdhgrpf_new) = 'Check type of data required'.
DATA(ld_i_upd_vdarlobj) = 'Check type of data required'.
DATA(ld_i_tab_vdvdarlobj_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvdarlobj_new) = 'Check type of data required'.
DATA(ld_i_upd_vigba3) = 'Check type of data required'.
DATA(ld_i_tab_vdvigba3_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvigba3_new) = 'Check type of data required'.
DATA(ld_i_upd_vdgpo) = 'Check type of data required'.
DATA(ld_i_tab_vdvdgpo_old) = 'Check type of data required'.
DATA(ld_i_tab_vdvdgpo_new) = 'Check type of data required'. . CALL FUNCTION 'FVD_API_CP_LOAN' EXPORTING i_bukrs = ld_i_bukrs i_sarchiv = ld_i_sarchiv i_ranl = ld_i_ranl * i_upd_vdarl = ld_i_upd_vdarl * i_wrk_vdarl_old = ld_i_wrk_vdarl_old * i_wrk_vdarl_new = ld_i_wrk_vdarl_new * i_upd_vzzkoko = ld_i_upd_vzzkoko * i_tab_vdvzzkoko_old = ld_i_tab_vdvzzkoko_old * i_tab_vdvzzkoko_new = ld_i_tab_vdvzzkoko_new * i_upd_vzzkopo = ld_i_upd_vzzkopo * i_tab_vdvzzkopo_old = ld_i_tab_vdvzzkopo_old * i_tab_vdvzzkopo_new = ld_i_tab_vdvzzkopo_new * i_upd_vdarlsic = ld_i_upd_vdarlsic * i_tab_vdvdarlsic_old = ld_i_tab_vdvdarlsic_old * i_tab_vdvdarlsic_new = ld_i_tab_vdvdarlsic_new * i_upd_vdsonsi = ld_i_upd_vdsonsi * i_tab_vdvdsonsi_old = ld_i_tab_vdvdsonsi_old * i_tab_vdvdsonsi_new = ld_i_tab_vdvdsonsi_new * i_upd_vdhgrpf = ld_i_upd_vdhgrpf * i_tab_vdvdhgrpf_old = ld_i_tab_vdvdhgrpf_old * i_tab_vdvdhgrpf_new = ld_i_tab_vdvdhgrpf_new * i_upd_vdarlobj = ld_i_upd_vdarlobj * i_tab_vdvdarlobj_old = ld_i_tab_vdvdarlobj_old * i_tab_vdvdarlobj_new = ld_i_tab_vdvdarlobj_new * i_upd_vigba3 = ld_i_upd_vigba3 * i_tab_vdvigba3_old = ld_i_tab_vdvigba3_old * i_tab_vdvigba3_new = ld_i_tab_vdvigba3_new * i_upd_vdgpo = ld_i_upd_vdgpo * i_tab_vdvdgpo_old = ld_i_tab_vdvdgpo_old * i_tab_vdvdgpo_new = ld_i_tab_vdvdgpo_new EXCEPTIONS ERROR = 1 . " FVD_API_CP_LOAN
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
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_i_bukrs | TYPE BUKRS , |
| ld_i_sarchiv | TYPE SARCHIV , |
| ld_i_ranl | TYPE RANL , |
| ld_i_upd_vdarl | TYPE CHAR1 , |
| ld_i_wrk_vdarl_old | TYPE VDARL , |
| ld_i_wrk_vdarl_new | TYPE VDARL , |
| ld_i_upd_vzzkoko | TYPE CHAR1 , |
| ld_i_tab_vdvzzkoko_old | TYPE TRTY_VDVZZKOKO , |
| ld_i_tab_vdvzzkoko_new | TYPE TRTY_VDVZZKOKO , |
| ld_i_upd_vzzkopo | TYPE CHAR1 , |
| ld_i_tab_vdvzzkopo_old | TYPE TRTY_VDVZZKOPO , |
| ld_i_tab_vdvzzkopo_new | TYPE TRTY_VDVZZKOPO , |
| ld_i_upd_vdarlsic | TYPE CHAR1 , |
| ld_i_tab_vdvdarlsic_old | TYPE TRTY_VDVDARLSIC , |
| ld_i_tab_vdvdarlsic_new | TYPE TRTY_VDVDARLSIC , |
| ld_i_upd_vdsonsi | TYPE CHAR1 , |
| ld_i_tab_vdvdsonsi_old | TYPE TRTY_VDVDSONSI , |
| ld_i_tab_vdvdsonsi_new | TYPE TRTY_VDVDSONSI , |
| ld_i_upd_vdhgrpf | TYPE CHAR1 , |
| ld_i_tab_vdvdhgrpf_old | TYPE TRTY_VDVDHGRPF , |
| ld_i_tab_vdvdhgrpf_new | TYPE TRTY_VDVDHGRPF , |
| ld_i_upd_vdarlobj | TYPE CHAR1 , |
| ld_i_tab_vdvdarlobj_old | TYPE TRTY_VDVDARLOBJ , |
| ld_i_tab_vdvdarlobj_new | TYPE TRTY_VDVDARLOBJ , |
| ld_i_upd_vigba3 | TYPE CHAR1 , |
| ld_i_tab_vdvigba3_old | TYPE TRTY_VDVIGBA3 , |
| ld_i_tab_vdvigba3_new | TYPE TRTY_VDVIGBA3 , |
| ld_i_upd_vdgpo | TYPE CHAR1 , |
| ld_i_tab_vdvdgpo_old | TYPE TRTY_VDVDGPO , |
| ld_i_tab_vdvdgpo_new | TYPE TRTY_VDVDGPO . |
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_CP_LOAN or its description.