SAP Function Modules

FVD_LOAN_OL_SET_ALL_FROM_CONTR SAP Function module - Copy Data from SAPMF67A







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

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


Pattern for FM FVD_LOAN_OL_SET_ALL_FROM_CONTR - FVD LOAN OL SET ALL FROM CONTR





CALL FUNCTION 'FVD_LOAN_OL_SET_ALL_FROM_CONTR' "Copy Data from SAPMF67A
  EXPORTING
    i_sworkid =                 " sworkid       Processing Unit in the Business Operations
    i_s_vdarl =                 " vdarl         Loan
*   i_smode = ' '               " tb_loan_ol_datamode  Datenmodus, in der Satz angelegt wurde (C=Create, M=Modify)
*   i_tab_vzzkoko =             " trty_vzzkoko  Table Type for Table VZZKOKO
*   i_tab_vvzzkopo =            " trty_vvzzkopo  Table Type for Table VVZZKOPO
*   i_tab_vzzkopo =             " trty_vzzkopo  Table Type for Table VZZKOPO
*   i_tab_vzzkopa =             " trty_vzzkopa  Table Type for Table VZZKOPA
*   i_tab_vzzbepp =             " trty_vzzbepp  Table Type for Structure VZZBEPP
*   i_tab_vdgpo =               " trty_vdgpo    Business Partner Assignment
*   i_tab_vdgpodeb =            " trty_vdgpodeb  Table Type for VDGPODEB
*   i_s_vdarldvs =              " vdarldvs      Print and Dispatch Control Data for VDARL
*   i_tab_vdarlobj =            " trty_vdarlobj  Table Type Objects   VDARLOBJ
*   i_tab_vdarlsic =            " trty_vdarlsic  Table Type Collaterals VDARLSIC
*   i_tab_vdavis =              " trty_vdavis   Table Type for VDAVIS
*   i_tab_vddunn =              " trty_vddunn   Table Type for VDDUNN
*   i_tab_vdhgrpf =             " trty_vdhgrpf  Table Type for Table VDHGRPF
*   i_tab_vdriskclass =         " trty_vdriskclass  Table Type for VDRISKCLASS
*   i_tab_vdsonsi =             " trty_vdsonsi  Special arrangements
*   i_tab_vdzsb =               " trty_vdzsb    Table Type for Table VDZSB
*   i_tab_vdzv =                " trty_vdzv     Table Type for VDZV
*   i_tab_vigba3 =              " trty_vigba3   Table Type for Table VIGBA3
*   i_tab_vzbavf =              " trty_vzbavf   Table Type for VZBAVF
*   i_tab_vzbavv =              " trty_vzbavv   Table Type for VZBAVV
*   i_tab_vzzusp =              " trty_vzzusp   Standard Table Type for VZZUSP
*   i_s_vzsort =                " vzsort        Sort Values for Object
*   i_s_vdakte =                " vdakte        File with documents for loan allocation
*   i_tab_vduntr =              " trty_vduntr   Table Type for Table VDUNTR
*   i_tab_fo_xvzzkopo =         " trty_vzzkopo_update  Table Type for Table VZZKOPO with Update Indicator
*   i_tab_fo_yvzzkopo =         " trty_vzzkopo_update  Table Type for Table VZZKOPO with Update Indicator
  EXCEPTIONS
    FAILED = 1                  "               Error
    INPUT_NOT_FILLED = 2        "               Input parameter missing
    .  "  FVD_LOAN_OL_SET_ALL_FROM_CONTR

ABAP code example for Function Module FVD_LOAN_OL_SET_ALL_FROM_CONTR





The ABAP code below is a full code listing to execute function module FVD_LOAN_OL_SET_ALL_FROM_CONTR 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_sworkid) = 'Check type of data required'.
DATA(ld_i_s_vdarl) = 'Check type of data required'.
DATA(ld_i_smode) = '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_vzzkopo) = 'Check type of data required'.
DATA(ld_i_tab_vzzkopa) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp) = '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_s_vdarldvs) = 'Check type of data required'.
DATA(ld_i_tab_vdarlobj) = 'Check type of data required'.
DATA(ld_i_tab_vdarlsic) = 'Check type of data required'.
DATA(ld_i_tab_vdavis) = 'Check type of data required'.
DATA(ld_i_tab_vddunn) = 'Check type of data required'.
DATA(ld_i_tab_vdhgrpf) = 'Check type of data required'.
DATA(ld_i_tab_vdriskclass) = 'Check type of data required'.
DATA(ld_i_tab_vdsonsi) = 'Check type of data required'.
DATA(ld_i_tab_vdzsb) = 'Check type of data required'.
DATA(ld_i_tab_vdzv) = 'Check type of data required'.
DATA(ld_i_tab_vigba3) = 'Check type of data required'.
DATA(ld_i_tab_vzbavf) = 'Check type of data required'.
DATA(ld_i_tab_vzbavv) = 'Check type of data required'.
DATA(ld_i_tab_vzzusp) = 'Check type of data required'.
DATA(ld_i_s_vzsort) = 'Check type of data required'.
DATA(ld_i_s_vdakte) = 'Check type of data required'.
DATA(ld_i_tab_vduntr) = 'Check type of data required'.
DATA(ld_i_tab_fo_xvzzkopo) = 'Check type of data required'.
DATA(ld_i_tab_fo_yvzzkopo) = 'Check type of data required'. . CALL FUNCTION 'FVD_LOAN_OL_SET_ALL_FROM_CONTR' EXPORTING i_sworkid = ld_i_sworkid i_s_vdarl = ld_i_s_vdarl * i_smode = ld_i_smode * i_tab_vzzkoko = ld_i_tab_vzzkoko * i_tab_vvzzkopo = ld_i_tab_vvzzkopo * i_tab_vzzkopo = ld_i_tab_vzzkopo * i_tab_vzzkopa = ld_i_tab_vzzkopa * i_tab_vzzbepp = ld_i_tab_vzzbepp * i_tab_vdgpo = ld_i_tab_vdgpo * i_tab_vdgpodeb = ld_i_tab_vdgpodeb * i_s_vdarldvs = ld_i_s_vdarldvs * i_tab_vdarlobj = ld_i_tab_vdarlobj * i_tab_vdarlsic = ld_i_tab_vdarlsic * i_tab_vdavis = ld_i_tab_vdavis * i_tab_vddunn = ld_i_tab_vddunn * i_tab_vdhgrpf = ld_i_tab_vdhgrpf * i_tab_vdriskclass = ld_i_tab_vdriskclass * i_tab_vdsonsi = ld_i_tab_vdsonsi * i_tab_vdzsb = ld_i_tab_vdzsb * i_tab_vdzv = ld_i_tab_vdzv * i_tab_vigba3 = ld_i_tab_vigba3 * i_tab_vzbavf = ld_i_tab_vzbavf * i_tab_vzbavv = ld_i_tab_vzbavv * i_tab_vzzusp = ld_i_tab_vzzusp * i_s_vzsort = ld_i_s_vzsort * i_s_vdakte = ld_i_s_vdakte * i_tab_vduntr = ld_i_tab_vduntr * i_tab_fo_xvzzkopo = ld_i_tab_fo_xvzzkopo * i_tab_fo_yvzzkopo = ld_i_tab_fo_yvzzkopo EXCEPTIONS FAILED = 1 INPUT_NOT_FILLED = 2 . " FVD_LOAN_OL_SET_ALL_FROM_CONTR
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here 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_sworkid  TYPE SWORKID ,
ld_i_s_vdarl  TYPE VDARL ,
ld_i_smode  TYPE TB_LOAN_OL_DATAMODE ,
ld_i_tab_vzzkoko  TYPE TRTY_VZZKOKO ,
ld_i_tab_vvzzkopo  TYPE TRTY_VVZZKOPO ,
ld_i_tab_vzzkopo  TYPE TRTY_VZZKOPO ,
ld_i_tab_vzzkopa  TYPE TRTY_VZZKOPA ,
ld_i_tab_vzzbepp  TYPE TRTY_VZZBEPP ,
ld_i_tab_vdgpo  TYPE TRTY_VDGPO ,
ld_i_tab_vdgpodeb  TYPE TRTY_VDGPODEB ,
ld_i_s_vdarldvs  TYPE VDARLDVS ,
ld_i_tab_vdarlobj  TYPE TRTY_VDARLOBJ ,
ld_i_tab_vdarlsic  TYPE TRTY_VDARLSIC ,
ld_i_tab_vdavis  TYPE TRTY_VDAVIS ,
ld_i_tab_vddunn  TYPE TRTY_VDDUNN ,
ld_i_tab_vdhgrpf  TYPE TRTY_VDHGRPF ,
ld_i_tab_vdriskclass  TYPE TRTY_VDRISKCLASS ,
ld_i_tab_vdsonsi  TYPE TRTY_VDSONSI ,
ld_i_tab_vdzsb  TYPE TRTY_VDZSB ,
ld_i_tab_vdzv  TYPE TRTY_VDZV ,
ld_i_tab_vigba3  TYPE TRTY_VIGBA3 ,
ld_i_tab_vzbavf  TYPE TRTY_VZBAVF ,
ld_i_tab_vzbavv  TYPE TRTY_VZBAVV ,
ld_i_tab_vzzusp  TYPE TRTY_VZZUSP ,
ld_i_s_vzsort  TYPE VZSORT ,
ld_i_s_vdakte  TYPE VDAKTE ,
ld_i_tab_vduntr  TYPE TRTY_VDUNTR ,
ld_i_tab_fo_xvzzkopo  TYPE TRTY_VZZKOPO_UPDATE ,
ld_i_tab_fo_yvzzkopo  TYPE TRTY_VZZKOPO_UPDATE .

ld_i_sworkid = 'Check type of data required'.
ld_i_s_vdarl = 'Check type of data required'.
ld_i_smode = '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_vzzkopo = 'Check type of data required'.
ld_i_tab_vzzkopa = 'Check type of data required'.
ld_i_tab_vzzbepp = '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_s_vdarldvs = 'Check type of data required'.
ld_i_tab_vdarlobj = 'Check type of data required'.
ld_i_tab_vdarlsic = 'Check type of data required'.
ld_i_tab_vdavis = 'Check type of data required'.
ld_i_tab_vddunn = 'Check type of data required'.
ld_i_tab_vdhgrpf = 'Check type of data required'.
ld_i_tab_vdriskclass = 'Check type of data required'.
ld_i_tab_vdsonsi = 'Check type of data required'.
ld_i_tab_vdzsb = 'Check type of data required'.
ld_i_tab_vdzv = 'Check type of data required'.
ld_i_tab_vigba3 = 'Check type of data required'.
ld_i_tab_vzbavf = 'Check type of data required'.
ld_i_tab_vzbavv = 'Check type of data required'.
ld_i_tab_vzzusp = 'Check type of data required'.
ld_i_s_vzsort = 'Check type of data required'.
ld_i_s_vdakte = 'Check type of data required'.
ld_i_tab_vduntr = 'Check type of data required'.
ld_i_tab_fo_xvzzkopo = 'Check type of data required'.
ld_i_tab_fo_yvzzkopo = '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 FVD_LOAN_OL_SET_ALL_FROM_CONTR or its description.