SAP FVD_REV_COMPLETE_POST Function Module for General Postprocessing of Reversals









FVD_REV_COMPLETE_POST is a standard fvd rev complete post SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for General Postprocessing of Reversals 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 rev complete post FM, simply by entering the name FVD_REV_COMPLETE_POST into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_REV_COMPLETE_POST 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_REV_COMPLETE_POST'"General Postprocessing of Reversals
EXPORTING
I_TAB_VDBEKI_REV = "alle zu stornierten Belege
* I_FLG_ONLY_POST = "rein buchhalterische Verarbeitung
I_TAB_VDBEKI = "Table Type for Table VDBEKI
I_TAB_VDBEPI = "Table Type for Table VDBEPI
I_TAB_VDARL = "Table Type for Table VDARL
I_TAB_LOANREF = "Table Type LOANREF (Sorted)
I_TAB_VDBEPP = "Table Type for Table VDBEPP
I_REV_POST_INFO = "Loans: Posting Information
* I_FLG_SIMULATION = "
* I_FLG_BO_WITH = "Sonderfall GV mit nachfolgenden Buchungen

IMPORTING
E_TAB_VDARL_NEW = "geänderte Vertragsdaten
E_TAB_RETURN = "Meldungen für die rufende Anwendung
E_TAB_VDBEPP_NEW = "Table Type for Table VDBEPP
E_TAB_VDBEPP_OLD = "Table Type for Table VDBEPP

EXCEPTIONS
ERROR_COMPLETE_POSTING = 1
.



IMPORTING Parameters details for FVD_REV_COMPLETE_POST

I_TAB_VDBEKI_REV - alle zu stornierten Belege

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

I_FLG_ONLY_POST - rein buchhalterische Verarbeitung

Data type: TRUE
Optional: Yes
Call by Reference: Yes

I_TAB_VDBEKI - Table Type for Table VDBEKI

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

I_TAB_VDBEPI - Table Type for Table VDBEPI

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

I_TAB_VDARL - Table Type for Table VDARL

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

I_TAB_LOANREF - Table Type LOANREF (Sorted)

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

I_TAB_VDBEPP - Table Type for Table VDBEPP

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

I_REV_POST_INFO - Loans: Posting Information

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

I_FLG_SIMULATION -

Data type: C
Optional: Yes
Call by Reference: Yes

I_FLG_BO_WITH - Sonderfall GV mit nachfolgenden Buchungen

Data type: C
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FVD_REV_COMPLETE_POST

E_TAB_VDARL_NEW - geänderte Vertragsdaten

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

E_TAB_RETURN - Meldungen für die rufende Anwendung

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

E_TAB_VDBEPP_NEW - Table Type for Table VDBEPP

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

E_TAB_VDBEPP_OLD - Table Type for Table VDBEPP

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

EXCEPTIONS details

ERROR_COMPLETE_POSTING - Fehler bei den Buchungsnacharbeiten

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_REV_COMPLETE_POST 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_e_tab_vdarl_new  TYPE TRTY_VDARL, "   
lv_i_tab_vdbeki_rev  TYPE TRTY_VDBEKI, "   
lv_error_complete_posting  TYPE TRTY_VDBEKI, "   
lv_i_flg_only_post  TYPE TRUE, "   
lv_e_tab_return  TYPE BAPIRETTAB, "   
lv_i_tab_vdbeki  TYPE TRTY_VDBEKI, "   
lv_i_tab_vdbepi  TYPE TRTY_VDBEPI, "   
lv_e_tab_vdbepp_new  TYPE TRTY_VDBEPP, "   
lv_i_tab_vdarl  TYPE TRTY_VDARL, "   
lv_e_tab_vdbepp_old  TYPE TRTY_VDBEPP, "   
lv_i_tab_loanref  TYPE TRTY_LOANREF, "   
lv_i_tab_vdbepp  TYPE TRTY_VDBEPP, "   
lv_i_rev_post_info  TYPE RREV_POST_INFO, "   
lv_i_flg_simulation  TYPE C, "   
lv_i_flg_bo_with  TYPE C. "   

  CALL FUNCTION 'FVD_REV_COMPLETE_POST'  "General Postprocessing of Reversals
    EXPORTING
         I_TAB_VDBEKI_REV = lv_i_tab_vdbeki_rev
         I_FLG_ONLY_POST = lv_i_flg_only_post
         I_TAB_VDBEKI = lv_i_tab_vdbeki
         I_TAB_VDBEPI = lv_i_tab_vdbepi
         I_TAB_VDARL = lv_i_tab_vdarl
         I_TAB_LOANREF = lv_i_tab_loanref
         I_TAB_VDBEPP = lv_i_tab_vdbepp
         I_REV_POST_INFO = lv_i_rev_post_info
         I_FLG_SIMULATION = lv_i_flg_simulation
         I_FLG_BO_WITH = lv_i_flg_bo_with
    IMPORTING
         E_TAB_VDARL_NEW = lv_e_tab_vdarl_new
         E_TAB_RETURN = lv_e_tab_return
         E_TAB_VDBEPP_NEW = lv_e_tab_vdbepp_new
         E_TAB_VDBEPP_OLD = lv_e_tab_vdbepp_old
    EXCEPTIONS
        ERROR_COMPLETE_POSTING = 1
. " FVD_REV_COMPLETE_POST




ABAP code using 7.40 inline data declarations to call FM FVD_REV_COMPLETE_POST

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!