SAP Function Modules

EXIT_SAPLFVD_REPAY_OL_005 SAP Function module - User Exit Transfer of all Relevant Data







EXIT_SAPLFVD_REPAY_OL_005 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 EXIT_SAPLFVD_REPAY_OL_005 into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: XFVDREPOL
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM EXIT_SAPLFVD_REPAY_OL_005 - EXIT SAPLFVD REPAY OL 005





CALL FUNCTION 'EXIT_SAPLFVD_REPAY_OL_005' "User Exit Transfer of all Relevant Data
  EXPORTING
    i_rbo =                     " vdbohead-rbo  Business Operation Number (Loans)
    i_modus =                   " tb_repay_modus  Mode for Payoff Data
    i_loghandle =               " balloghndl    Application Log: Log Handle
    i_rtemplate =               " tdrepay_templ-rtemplate  Template Key
    i_flg_activity_allowed =    " char2         Two-Character Indicator
    i_flg_foreign_call =        " char1         Single-Character Flag
    i_flg_confirmation_call =   " char1         Single-Character Flag
    i_flg_confirmation_active =   " char1       Single-Character Flag
    i_flg_notiz =               " char1         Single-Character Flag
    i_vdarl =                   " vdarl         Loans
    i_rrepayment =              " rrepayment    Screen Fields for Payoff
    i_vdbohead =                " vdbohead      Business Operation: Header
    i_vdpopo =                  " vdpopo        File Item
    i_vzzkoko_non_repay =       " vzzkoko       Table Condition Header
    i_vzzkoko_repay =           " vzzkoko       Table Condition Header
    i_vzzkoko_actual =          " vzzkoko       Table Condition Header
    i_tab_vdrepayment =         " trty_vdrepayment  Table Type for Table VDREPAYMENT
    i_tab_vzzkoko =             " trty_vzzkoko  Table Type for Table VZZKOKO
    i_tab_vvzzkopo =            " trty_vvzzkopo  Table Type for Table VVZZKOPO
    i_tab_vvzzkopo_non_repay =   " trty_vvzzkopo  Table Type for Table VVZZKOPO
    i_tab_vvzzkopo_repay =      " trty_vvzzkopo  Table Type for Table VVZZKOPO
    i_tab_vvzzkopo_actual =     " trty_vvzzkopo  Table Type for Table VVZZKOPO
    i_tab_vzzbepp_non_repay =   " trty_vzzbepp  Table Type for Structure VZZBEPP
    i_tab_vzzbepp_repay =       " trty_vzzbepp  Table Type for Structure VZZBEPP
    i_tab_vzzbepp_actual =      " trty_vzzbepp  Table Type for Structure VZZBEPP
    i_tab_vzzbepp_actual_db =   " trty_vzzbepp  Table Type for Structure VZZBEPP
    i_tab_open_items =          " trty_rvzzbepp  Table Type for Structure RVZZBEPP
    i_tab_open_items_sel =      " trty_rvzzbepp  Table Type for Structure RVZZBEPP
    i_tab_additional_transactions =   " trty_rbobepp  Table Category for RBOBEPP (Standard)
    i_tab_vdgpo =               " trty_vdgpo    Business Partner Assignment
    i_tab_vdgpodeb =            " trty_vdgpodeb  Table Type for VDGPODEB
    i_tab_but0bk =              " trty_but0bk   Table Type for Table BUTOBK
    i_tab_vzfgd =               " trty_vzfgd    Table Type for Table VZFGD (Release Data)
    i_tab_vzfgd_all =           " trty_vzfgd    Table Type for Table VZFGD (Release Data)
    .  "  EXIT_SAPLFVD_REPAY_OL_005

ABAP code example for Function Module EXIT_SAPLFVD_REPAY_OL_005





The ABAP code below is a full code listing to execute function module EXIT_SAPLFVD_REPAY_OL_005 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).

 

SELECT single RBO
FROM VDBOHEAD
INTO @DATA(ld_i_rbo).

DATA(ld_i_modus) = 'Check type of data required'.
DATA(ld_i_loghandle) = 'Check type of data required'.

SELECT single RTEMPLATE
FROM TDREPAY_TEMPL
INTO @DATA(ld_i_rtemplate).

DATA(ld_i_flg_activity_allowed) = 'Check type of data required'.
DATA(ld_i_flg_foreign_call) = 'Check type of data required'.
DATA(ld_i_flg_confirmation_call) = 'Check type of data required'.
DATA(ld_i_flg_confirmation_active) = 'Check type of data required'.
DATA(ld_i_flg_notiz) = 'Check type of data required'.
DATA(ld_i_vdarl) = 'Check type of data required'.
DATA(ld_i_rrepayment) = 'Check type of data required'.
DATA(ld_i_vdbohead) = 'Check type of data required'.
DATA(ld_i_vdpopo) = 'Check type of data required'.
DATA(ld_i_vzzkoko_non_repay) = 'Check type of data required'.
DATA(ld_i_vzzkoko_repay) = 'Check type of data required'.
DATA(ld_i_vzzkoko_actual) = 'Check type of data required'.
DATA(ld_i_tab_vdrepayment) = 'Check type of data required'.
DATA(ld_i_tab_vzzkoko) = 'Check type of data required'.
DATA(ld_i_tab_vvzzkopo) = 'Check type of data required'.
DATA(ld_i_tab_vvzzkopo_non_repay) = 'Check type of data required'.
DATA(ld_i_tab_vvzzkopo_repay) = 'Check type of data required'.
DATA(ld_i_tab_vvzzkopo_actual) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp_non_repay) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp_repay) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp_actual) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp_actual_db) = 'Check type of data required'.
DATA(ld_i_tab_open_items) = 'Check type of data required'.
DATA(ld_i_tab_open_items_sel) = 'Check type of data required'.
DATA(ld_i_tab_additional_transactions) = 'Check type of data required'.
DATA(ld_i_tab_vdgpo) = 'Check type of data required'.
DATA(ld_i_tab_vdgpodeb) = 'Check type of data required'.
DATA(ld_i_tab_but0bk) = 'Check type of data required'.
DATA(ld_i_tab_vzfgd) = 'Check type of data required'.
DATA(ld_i_tab_vzfgd_all) = 'Check type of data required'. . CALL FUNCTION 'EXIT_SAPLFVD_REPAY_OL_005' EXPORTING i_rbo = ld_i_rbo i_modus = ld_i_modus i_loghandle = ld_i_loghandle i_rtemplate = ld_i_rtemplate i_flg_activity_allowed = ld_i_flg_activity_allowed i_flg_foreign_call = ld_i_flg_foreign_call i_flg_confirmation_call = ld_i_flg_confirmation_call i_flg_confirmation_active = ld_i_flg_confirmation_active i_flg_notiz = ld_i_flg_notiz i_vdarl = ld_i_vdarl i_rrepayment = ld_i_rrepayment i_vdbohead = ld_i_vdbohead i_vdpopo = ld_i_vdpopo i_vzzkoko_non_repay = ld_i_vzzkoko_non_repay i_vzzkoko_repay = ld_i_vzzkoko_repay i_vzzkoko_actual = ld_i_vzzkoko_actual i_tab_vdrepayment = ld_i_tab_vdrepayment i_tab_vzzkoko = ld_i_tab_vzzkoko i_tab_vvzzkopo = ld_i_tab_vvzzkopo i_tab_vvzzkopo_non_repay = ld_i_tab_vvzzkopo_non_repay i_tab_vvzzkopo_repay = ld_i_tab_vvzzkopo_repay i_tab_vvzzkopo_actual = ld_i_tab_vvzzkopo_actual i_tab_vzzbepp_non_repay = ld_i_tab_vzzbepp_non_repay i_tab_vzzbepp_repay = ld_i_tab_vzzbepp_repay i_tab_vzzbepp_actual = ld_i_tab_vzzbepp_actual i_tab_vzzbepp_actual_db = ld_i_tab_vzzbepp_actual_db i_tab_open_items = ld_i_tab_open_items i_tab_open_items_sel = ld_i_tab_open_items_sel i_tab_additional_transactions = ld_i_tab_additional_transactions i_tab_vdgpo = ld_i_tab_vdgpo i_tab_vdgpodeb = ld_i_tab_vdgpodeb i_tab_but0bk = ld_i_tab_but0bk i_tab_vzfgd = ld_i_tab_vzfgd i_tab_vzfgd_all = ld_i_tab_vzfgd_all . " EXIT_SAPLFVD_REPAY_OL_005
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_rbo  TYPE VDBOHEAD-RBO ,
ld_i_modus  TYPE TB_REPAY_MODUS ,
ld_i_loghandle  TYPE BALLOGHNDL ,
ld_i_rtemplate  TYPE TDREPAY_TEMPL-RTEMPLATE ,
ld_i_flg_activity_allowed  TYPE CHAR2 ,
ld_i_flg_foreign_call  TYPE CHAR1 ,
ld_i_flg_confirmation_call  TYPE CHAR1 ,
ld_i_flg_confirmation_active  TYPE CHAR1 ,
ld_i_flg_notiz  TYPE CHAR1 ,
ld_i_vdarl  TYPE VDARL ,
ld_i_rrepayment  TYPE RREPAYMENT ,
ld_i_vdbohead  TYPE VDBOHEAD ,
ld_i_vdpopo  TYPE VDPOPO ,
ld_i_vzzkoko_non_repay  TYPE VZZKOKO ,
ld_i_vzzkoko_repay  TYPE VZZKOKO ,
ld_i_vzzkoko_actual  TYPE VZZKOKO ,
ld_i_tab_vdrepayment  TYPE TRTY_VDREPAYMENT ,
ld_i_tab_vzzkoko  TYPE TRTY_VZZKOKO ,
ld_i_tab_vvzzkopo  TYPE TRTY_VVZZKOPO ,
ld_i_tab_vvzzkopo_non_repay  TYPE TRTY_VVZZKOPO ,
ld_i_tab_vvzzkopo_repay  TYPE TRTY_VVZZKOPO ,
ld_i_tab_vvzzkopo_actual  TYPE TRTY_VVZZKOPO ,
ld_i_tab_vzzbepp_non_repay  TYPE TRTY_VZZBEPP ,
ld_i_tab_vzzbepp_repay  TYPE TRTY_VZZBEPP ,
ld_i_tab_vzzbepp_actual  TYPE TRTY_VZZBEPP ,
ld_i_tab_vzzbepp_actual_db  TYPE TRTY_VZZBEPP ,
ld_i_tab_open_items  TYPE TRTY_RVZZBEPP ,
ld_i_tab_open_items_sel  TYPE TRTY_RVZZBEPP ,
ld_i_tab_additional_transactions  TYPE TRTY_RBOBEPP ,
ld_i_tab_vdgpo  TYPE TRTY_VDGPO ,
ld_i_tab_vdgpodeb  TYPE TRTY_VDGPODEB ,
ld_i_tab_but0bk  TYPE TRTY_BUT0BK ,
ld_i_tab_vzfgd  TYPE TRTY_VZFGD ,
ld_i_tab_vzfgd_all  TYPE TRTY_VZFGD .


SELECT single RBO
FROM VDBOHEAD
INTO ld_i_rbo.

ld_i_modus = 'Check type of data required'.
ld_i_loghandle = 'Check type of data required'.

SELECT single RTEMPLATE
FROM TDREPAY_TEMPL
INTO ld_i_rtemplate.

ld_i_flg_activity_allowed = 'Check type of data required'.
ld_i_flg_foreign_call = 'Check type of data required'.
ld_i_flg_confirmation_call = 'Check type of data required'.
ld_i_flg_confirmation_active = 'Check type of data required'.
ld_i_flg_notiz = 'Check type of data required'.
ld_i_vdarl = 'Check type of data required'.
ld_i_rrepayment = 'Check type of data required'.
ld_i_vdbohead = 'Check type of data required'.
ld_i_vdpopo = 'Check type of data required'.
ld_i_vzzkoko_non_repay = 'Check type of data required'.
ld_i_vzzkoko_repay = 'Check type of data required'.
ld_i_vzzkoko_actual = 'Check type of data required'.
ld_i_tab_vdrepayment = 'Check type of data required'.
ld_i_tab_vzzkoko = 'Check type of data required'.
ld_i_tab_vvzzkopo = 'Check type of data required'.
ld_i_tab_vvzzkopo_non_repay = 'Check type of data required'.
ld_i_tab_vvzzkopo_repay = 'Check type of data required'.
ld_i_tab_vvzzkopo_actual = 'Check type of data required'.
ld_i_tab_vzzbepp_non_repay = 'Check type of data required'.
ld_i_tab_vzzbepp_repay = 'Check type of data required'.
ld_i_tab_vzzbepp_actual = 'Check type of data required'.
ld_i_tab_vzzbepp_actual_db = 'Check type of data required'.
ld_i_tab_open_items = 'Check type of data required'.
ld_i_tab_open_items_sel = 'Check type of data required'.
ld_i_tab_additional_transactions = 'Check type of data required'.
ld_i_tab_vdgpo = 'Check type of data required'.
ld_i_tab_vdgpodeb = 'Check type of data required'.
ld_i_tab_but0bk = 'Check type of data required'.
ld_i_tab_vzfgd = 'Check type of data required'.
ld_i_tab_vzfgd_all = 'Check type of data required'.

Contribute (Add Comments)

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 EXIT_SAPLFVD_REPAY_OL_005 or its description.