SAP FVD_PPM_OL_GET_REVERSE_FLOW Function Module for Generate Reversal Flow for Premium Difference









FVD_PPM_OL_GET_REVERSE_FLOW is a standard fvd ppm ol get reverse flow SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Generate Reversal Flow for Premium Difference 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 ppm ol get reverse flow FM, simply by entering the name FVD_PPM_OL_GET_REVERSE_FLOW into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVD_PPM_OL
Program Name: SAPLFVD_PPM_OL
Main Program: SAPLFVD_PPM_OL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FVD_PPM_OL_GET_REVERSE_FLOW 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_PPM_OL_GET_REVERSE_FLOW'"Generate Reversal Flow for Premium Difference
EXPORTING
I_VDARL_KEY = "VDARL Key Structure
I_LOGHANDLE = "Application Log: Log Handle
I_COMPONENT = "Component of Object to Which Premium Plan Belongs
I_EXT_KEY = "External Key for Objects for a Premium Plan
I_REVERSE_DATE = "DATS Field Type
I_REVERSE_AMOUNT = "Difference Amount for Insurance
I_PAYER = "Business Partner Number
I_BANK_ID = "Partner Bank Type
I_PAYM_METHOD = "Payment Method
* I_RBO = "Business operation number (loans)

IMPORTING
E_STR_VZZBEPP = "Transaction Data - Planned and Actual Item

EXCEPTIONS
PARAM_INVALID = 1 NOT_FOUND = 2 FLOW_CREATION_FAILED = 3 COMPONENT_INVALID = 4
.



IMPORTING Parameters details for FVD_PPM_OL_GET_REVERSE_FLOW

I_VDARL_KEY - VDARL Key Structure

Data type: VDARL_KEY
Optional: No
Call by Reference: No ( called with pass by value option)

I_LOGHANDLE - Application Log: Log Handle

Data type: BALLOGHNDL
Optional: No
Call by Reference: No ( called with pass by value option)

I_COMPONENT - Component of Object to Which Premium Plan Belongs

Data type: TB_PPM_COMPONENT
Optional: No
Call by Reference: No ( called with pass by value option)

I_EXT_KEY - External Key for Objects for a Premium Plan

Data type: TB_PPM_EXT_KEY
Optional: No
Call by Reference: No ( called with pass by value option)

I_REVERSE_DATE - DATS Field Type

Data type: DATS
Optional: No
Call by Reference: No ( called with pass by value option)

I_REVERSE_AMOUNT - Difference Amount for Insurance

Data type: TB_BOINS_DIFF_AMOUNT
Optional: No
Call by Reference: No ( called with pass by value option)

I_PAYER - Business Partner Number

Data type: BP_PARTNR_NEW
Optional: No
Call by Reference: No ( called with pass by value option)

I_BANK_ID - Partner Bank Type

Data type: BVTYP
Optional: No
Call by Reference: No ( called with pass by value option)

I_PAYM_METHOD - Payment Method

Data type: DZLSCH
Optional: No
Call by Reference: No ( called with pass by value option)

I_RBO - Business operation number (loans)

Data type: RBO
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FVD_PPM_OL_GET_REVERSE_FLOW

E_STR_VZZBEPP - Transaction Data - Planned and Actual Item

Data type: VZZBEPP
Optional: No
Call by Reference: Yes

EXCEPTIONS details

PARAM_INVALID - Parameter Incorrect

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOT_FOUND - Zahlungsplan existiert nicht

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

FLOW_CREATION_FAILED - Fehler bei Erzeugung der Bewegung

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

COMPONENT_INVALID - Komponente fehlerhaft

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FVD_PPM_OL_GET_REVERSE_FLOW 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_key  TYPE VDARL_KEY, "   
lv_e_str_vzzbepp  TYPE VZZBEPP, "   
lv_param_invalid  TYPE VZZBEPP, "   
lv_i_loghandle  TYPE BALLOGHNDL, "   
lv_not_found  TYPE BALLOGHNDL, "   
lv_i_component  TYPE TB_PPM_COMPONENT, "   
lv_i_ext_key  TYPE TB_PPM_EXT_KEY, "   
lv_flow_creation_failed  TYPE TB_PPM_EXT_KEY, "   
lv_i_reverse_date  TYPE DATS, "   
lv_component_invalid  TYPE DATS, "   
lv_i_reverse_amount  TYPE TB_BOINS_DIFF_AMOUNT, "   
lv_i_payer  TYPE BP_PARTNR_NEW, "   
lv_i_bank_id  TYPE BVTYP, "   
lv_i_paym_method  TYPE DZLSCH, "   
lv_i_rbo  TYPE RBO. "   

  CALL FUNCTION 'FVD_PPM_OL_GET_REVERSE_FLOW'  "Generate Reversal Flow for Premium Difference
    EXPORTING
         I_VDARL_KEY = lv_i_vdarl_key
         I_LOGHANDLE = lv_i_loghandle
         I_COMPONENT = lv_i_component
         I_EXT_KEY = lv_i_ext_key
         I_REVERSE_DATE = lv_i_reverse_date
         I_REVERSE_AMOUNT = lv_i_reverse_amount
         I_PAYER = lv_i_payer
         I_BANK_ID = lv_i_bank_id
         I_PAYM_METHOD = lv_i_paym_method
         I_RBO = lv_i_rbo
    IMPORTING
         E_STR_VZZBEPP = lv_e_str_vzzbepp
    EXCEPTIONS
        PARAM_INVALID = 1
        NOT_FOUND = 2
        FLOW_CREATION_FAILED = 3
        COMPONENT_INVALID = 4
. " FVD_PPM_OL_GET_REVERSE_FLOW




ABAP code using 7.40 inline data declarations to call FM FVD_PPM_OL_GET_REVERSE_FLOW

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!