SAP FVD_ADDFLOW_OL_SET_DATA Function Module for Additional Flows: Set General Data
FVD_ADDFLOW_OL_SET_DATA is a standard fvd addflow ol set data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Additional Flows: Set General Data processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fvd addflow ol set data FM, simply by entering the name FVD_ADDFLOW_OL_SET_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_ADDFLOW_OL
Program Name: SAPLFVD_ADDFLOW_OL
Main Program: SAPLFVD_ADDFLOW_OL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_ADDFLOW_OL_SET_DATA pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FVD_ADDFLOW_OL_SET_DATA'"Additional Flows: Set General Data.
EXPORTING
* I_VDARL = "Loan
* I_TZPAB = "Financial Assets Management Product Types
* I_TAS_TDLOANFUNC = "Table Type (Sorted) for TDLOANFUNC
* I_TAS_TZB0A = "Table Type for TZB0A (Sorted)
* I_TAS_TZB0T = "Table Type for Table TZB0T
* I_TAS_TZB06 = "Table Type for TZB06 (Sorted)
* I_TAS_TVDST = "Table Type for TVDST
* I_TAS_TVDTX = "Table Type for TVDTX
* I_KEY_DATE = SY-DATUM "Key Date
* I_NO_AUTO_CHARGE = ' ' "Keine autom. Gebührenerzeugung
* I_NO_PREPAYMENT_PENALTY = ' ' "Vorfälligkeitsentschädigung nicht rechnen.
* I_RBO = "Business operation number (loans)
* I_TAB_VZGPODEB = "Table Type for VDGPODEB
* I_RLOAM = "Capital Amounts - Transfer Structure
* I_SZBMETH = "Interest calculation method
* I_SKALID = "Factory Calendar
I_WAERS = "Local Currency Key
* I_RKURSBER = "Rate calculation indicator
* I_TZPA = "Financial Assets Management Product Types
IMPORTING Parameters details for FVD_ADDFLOW_OL_SET_DATA
I_VDARL - Loan
Data type: VDARLOptional: Yes
Call by Reference: Yes
I_TZPAB - Financial Assets Management Product Types
Data type: TZPABOptional: Yes
Call by Reference: Yes
I_TAS_TDLOANFUNC - Table Type (Sorted) for TDLOANFUNC
Data type: TRTY_TDLOANFUNCOptional: Yes
Call by Reference: Yes
I_TAS_TZB0A - Table Type for TZB0A (Sorted)
Data type: TRTY_TZB0AOptional: Yes
Call by Reference: Yes
I_TAS_TZB0T - Table Type for Table TZB0T
Data type: TRTY_TZB0TOptional: Yes
Call by Reference: Yes
I_TAS_TZB06 - Table Type for TZB06 (Sorted)
Data type: TRTY_TZB06Optional: Yes
Call by Reference: Yes
I_TAS_TVDST - Table Type for TVDST
Data type: TRTY_TVDSTOptional: Yes
Call by Reference: Yes
I_TAS_TVDTX - Table Type for TVDTX
Data type: TRTY_TVDTXOptional: Yes
Call by Reference: Yes
I_KEY_DATE - Key Date
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
I_NO_AUTO_CHARGE - Keine autom. Gebührenerzeugung
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_NO_PREPAYMENT_PENALTY - Vorfälligkeitsentschädigung nicht rechnen.
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_RBO - Business operation number (loans)
Data type: RBOOptional: Yes
Call by Reference: Yes
I_TAB_VZGPODEB - Table Type for VDGPODEB
Data type: TRTY_VDGPODEBOptional: Yes
Call by Reference: Yes
I_RLOAM - Capital Amounts - Transfer Structure
Data type: RLOAMOptional: Yes
Call by Reference: Yes
I_SZBMETH - Interest calculation method
Data type: SZBMETHOptional: Yes
Call by Reference: Yes
I_SKALID - Factory Calendar
Data type: SKALIDOptional: Yes
Call by Reference: Yes
I_WAERS - Local Currency Key
Data type: WAERSOptional: No
Call by Reference: Yes
I_RKURSBER - Rate calculation indicator
Data type: RKURSBEROptional: Yes
Call by Reference: Yes
I_TZPA - Financial Assets Management Product Types
Data type: TZPAOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FVD_ADDFLOW_OL_SET_DATA Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_vdarl | TYPE VDARL, " | |||
| lv_i_tzpab | TYPE TZPAB, " | |||
| lv_i_tas_tdloanfunc | TYPE TRTY_TDLOANFUNC, " | |||
| lv_i_tas_tzb0a | TYPE TRTY_TZB0A, " | |||
| lv_i_tas_tzb0t | TYPE TRTY_TZB0T, " | |||
| lv_i_tas_tzb06 | TYPE TRTY_TZB06, " | |||
| lv_i_tas_tvdst | TYPE TRTY_TVDST, " | |||
| lv_i_tas_tvdtx | TYPE TRTY_TVDTX, " | |||
| lv_i_key_date | TYPE SY-DATUM, " SY-DATUM | |||
| lv_i_no_auto_charge | TYPE FLAG, " SPACE | |||
| lv_i_no_prepayment_penalty | TYPE FLAG, " SPACE | |||
| lv_i_rbo | TYPE RBO, " | |||
| lv_i_tab_vzgpodeb | TYPE TRTY_VDGPODEB, " | |||
| lv_i_rloam | TYPE RLOAM, " | |||
| lv_i_szbmeth | TYPE SZBMETH, " | |||
| lv_i_skalid | TYPE SKALID, " | |||
| lv_i_waers | TYPE WAERS, " | |||
| lv_i_rkursber | TYPE RKURSBER, " | |||
| lv_i_tzpa | TYPE TZPA. " |
|   CALL FUNCTION 'FVD_ADDFLOW_OL_SET_DATA' "Additional Flows: Set General Data |
| EXPORTING | ||
| I_VDARL | = lv_i_vdarl | |
| I_TZPAB | = lv_i_tzpab | |
| I_TAS_TDLOANFUNC | = lv_i_tas_tdloanfunc | |
| I_TAS_TZB0A | = lv_i_tas_tzb0a | |
| I_TAS_TZB0T | = lv_i_tas_tzb0t | |
| I_TAS_TZB06 | = lv_i_tas_tzb06 | |
| I_TAS_TVDST | = lv_i_tas_tvdst | |
| I_TAS_TVDTX | = lv_i_tas_tvdtx | |
| I_KEY_DATE | = lv_i_key_date | |
| I_NO_AUTO_CHARGE | = lv_i_no_auto_charge | |
| I_NO_PREPAYMENT_PENALTY | = lv_i_no_prepayment_penalty | |
| I_RBO | = lv_i_rbo | |
| I_TAB_VZGPODEB | = lv_i_tab_vzgpodeb | |
| I_RLOAM | = lv_i_rloam | |
| I_SZBMETH | = lv_i_szbmeth | |
| I_SKALID | = lv_i_skalid | |
| I_WAERS | = lv_i_waers | |
| I_RKURSBER | = lv_i_rkursber | |
| I_TZPA | = lv_i_tzpa | |
| . " FVD_ADDFLOW_OL_SET_DATA | ||
ABAP code using 7.40 inline data declarations to call FM FVD_ADDFLOW_OL_SET_DATA
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single DATUM FROM SY INTO @DATA(ld_i_key_date). | ||||
| DATA(ld_i_key_date) | = SY-DATUM. | |||
| DATA(ld_i_no_auto_charge) | = ' '. | |||
| DATA(ld_i_no_prepayment_penalty) | = ' '. | |||
Search for further information about these or an SAP related objects