FVD_REV_SERVICE 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_REV_SERVICE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_REVERSE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FVD_REV_SERVICE' "Reversal Service
EXPORTING
i_tab_vdbeki_rev = " trty_rvdbeki_rev_bank Tabelle mit zu stornierenden Belegen
i_rev_post_info = " rrev_post_info Loans: Posting Information
* i_revaccount_payed_disb = " true 'X', wenn Auszahlung Storno auf Forderung
* i_flg_simulation = " c Nur Simulation der Buchungen
* i_tab_vdarl_release = " trty_vdarl_key Tabelle von Darlehen, für die keine Freigabeprüfung durchgeführt wird
* i_flg_only_post = " true rein buchhalterische Verarbeitung
* i_revacc_cleared_post = " tb_revacc_cleared_post Account Selection for Posting - Reversal or Acc. Receivable
IMPORTING
e_tab_vdbeki_new = " trty_vdbeki erzeugte VDBEKI-Sätze
e_tab_vdbepi_new = " trty_vdbepi erzeugte VDBEPI-Sätze
e_tab_vdarl_new = " trty_vdarl geänderte Vertragsdaten
e_tab_bseg_op = " trty_bseg Open Items
e_tab_return = " bapirettab Meldungen für die rufende Anwendung
e_tab_vdbepp_new = " trty_vdbepp Table Type for Table VDBEPP
e_tab_vdbepp_old = " trty_vdbepp Table Type for Table VDBEPP
EXCEPTIONS
POSTING_IMPOSSIBLE = 1 " Stornierung nicht durchführbar
POSTING_DATE_MISSING = 2 " Buchungsdatum nicht vorhanden
REVERSAL_REASON_MISSING = 3 " Stornogrund nicht vorhanden
CONTRACT_DATA_NOT_FOUND = 4 " Vertragsdaten nicht gefunden
ERROR_POSTING_PREPARATION = 5 " Fehler in den Buchungsvorbereitungen
ERROR_COMPLETE_POSTING = 6 " Fehler in den Buchungsnacharbeiten
POST_INFO_INVALID = 7 " Buchungsinfo fehlerhaft
. " FVD_REV_SERVICE
The ABAP code below is a full code listing to execute function module FVD_REV_SERVICE 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).
| ld_e_tab_vdbeki_new | TYPE TRTY_VDBEKI , |
| ld_e_tab_vdbepi_new | TYPE TRTY_VDBEPI , |
| ld_e_tab_vdarl_new | TYPE TRTY_VDARL , |
| ld_e_tab_bseg_op | TYPE TRTY_BSEG , |
| ld_e_tab_return | TYPE BAPIRETTAB , |
| ld_e_tab_vdbepp_new | TYPE TRTY_VDBEPP , |
| ld_e_tab_vdbepp_old | TYPE TRTY_VDBEPP . |
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_e_tab_vdbeki_new | TYPE TRTY_VDBEKI , |
| ld_i_tab_vdbeki_rev | TYPE TRTY_RVDBEKI_REV_BANK , |
| ld_e_tab_vdbepi_new | TYPE TRTY_VDBEPI , |
| ld_i_rev_post_info | TYPE RREV_POST_INFO , |
| ld_e_tab_vdarl_new | TYPE TRTY_VDARL , |
| ld_i_revaccount_payed_disb | TYPE TRUE , |
| ld_e_tab_bseg_op | TYPE TRTY_BSEG , |
| ld_i_flg_simulation | TYPE C , |
| ld_e_tab_return | TYPE BAPIRETTAB , |
| ld_i_tab_vdarl_release | TYPE TRTY_VDARL_KEY , |
| ld_e_tab_vdbepp_new | TYPE TRTY_VDBEPP , |
| ld_i_flg_only_post | TYPE TRUE , |
| ld_e_tab_vdbepp_old | TYPE TRTY_VDBEPP , |
| ld_i_revacc_cleared_post | TYPE TB_REVACC_CLEARED_POST . |
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_REV_SERVICE or its description.
FVD_REV_SERVICE - Reversal Service FVD_REV_PREPARE_POST - Posting Preparations for Reversal FVD_REV_POPUP_FOR_ACCOUNT_2 - Dialog for Selecting an Account in Case of Cleared Credit Position FVD_REV_POPUP_FOR_ACCOUNT - Dialog for Selecting an Account for Transferred Disbursements FVD_REV_LOAN_PROC_SET - Update Processing Indicator: Table VDARL FVD_REV_DEPEND_DOCUMENTS_GET - Determines Documents that Must Also be Reversed