SAP Reports / Programs | Real Estate Management(RE) SAP RE

RFVISTOR SAP ABAP Report - Reversal of Input Tax Run







RFVISTOR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFVISTOR into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FOVJ - Reverse input tax treatment run


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFVISTOR. "Basic submit
SUBMIT RFVISTOR AND RETURN. "Return to original report after report execution complete
SUBMIT RFVISTOR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_BUDAT = Posting date
Selection Text: P_GJAHR = Fiscal year
Selection Text: P_MONAT = Posting period
Selection Text: P_SOLLID = Input tax run
Selection Text: P_STGRD = Reason for reversal
Title: Reversal of Input Tax Run
Text Symbol: 001 = & documents were selected ;;
Text Symbol: 002 = Should the documents be reversed ? ;;
Text Symbol: 003 = Reverse documents? ;;
Text Symbol: 004 = ID &1, fiscal year &2, carried out on
Text Symbol: 005 = from &3; doc. date:
Text Symbol: 006 = The following correction items are affected:
Text Symbol: 007 = Reverse posting details


INCLUDES used within this REPORT RFVISTOR

INCLUDE MF60EJAN.
INCLUDE MF60ETRF.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

EXT_BELNR_TRAFO CALL FUNCTION 'EXT_BELNR_TRAFO' EXPORTING IMP_VISLID = VISLID IMPORTING EXP_EXTBELNR = XBLNR EXP_VISLID = VISLID FLG_DB_ENTRY = FLG_KZ_DB_ENTRY EXCEPTIONS OTHERS = 01.

EXT_BELNR_TRAFO CALL FUNCTION 'EXT_BELNR_TRAFO' EXPORTING IMP_VISLID = VISLID IMPORTING EXP_EXTBELNR = XBLNR EXP_VISLID = VISLID FLG_DB_ENTRY = FLG_KZ_DB_ENTRY EXCEPTIONS OTHERS = 01.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = VISLID-BUKRS IMPORTING E_T001 = T001.

REAL_ESTATE_BUDAT_FOR_XBLNR CALL FUNCTION 'REAL_ESTATE_BUDAT_FOR_XBLNR' EXPORTING I_BUDAT_STORNO = P_BUDAT I_XBLNR = XBLNR * i_bukrs = vislid-bukrs " eindeutig ???? I_STGRD = P_STGRD IX_GET_BUDAT_ONLY = '' * IMPORTING * E_BUDAT = EXCEPTIONS NOT_FOUND_STGRD = 1 NOT_FOUND_DOCUMENT = 2 INVALID_BUDAT = 3 OTHERS = 4.

FVAU_AUTHORITY_CHECK CALL FUNCTION 'FVAU_AUTHORITY_CHECK' EXPORTING OBJECT = AUTH_OBJECT AUTHPAR = AUTHPAR EXCEPTIONS NO_AUTHORITY = 1 INVALID_OBJECT = 2 OTHERS = 3.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = P_BUDAT I_PERIV = T001-PERIV I_MONAT = P_MONAT IMPORTING E_GJAHR = LOC_GJAHR E_MONAT = P_MONAT EXCEPTIONS FISCAL_YEAR = 1 PERIOD = 2 PERIOD_VERSION = 3 POSTING_PERIOD = 4 SPECIAL_PERIOD = 5 VERSION = 6 POSTING_DATE = 7 OTHERS = 8.

FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING I_BUKRS = VISLID-BUKRS I_GJAHR = LOC_GJAHR I_KOART = '+' I_KONTO = '+' I_MONAT = LOC_MONAT EXCEPTIONS ERROR_PERIOD = 1 ERROR_PERIOD_ACC = 2 OTHERS = 3.

USERDATA_MAINTAIN CALL FUNCTION 'USERDATA_MAINTAIN' EXPORTING INUSER = LOC_RUSER IMPORTING EXUSER = LOC_RUSER.

DOCUMENT_REVERSE_BDCDATA CALL FUNCTION 'DOCUMENT_REVERSE_BDCDATA' EXPORTING FBSSPARA = LOC_BSSPARA TABLES TDOCUMENT = TAB_BELEG_STORNO EXCEPTIONS OTHERS = 01.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = LOC_TEXT1 TEXTLINE1 = LOC_TEXT2 TITEL = LOC_TITEL IMPORTING ANSWER = LOC_ANSWER.

ERROR_RULE_ACCOUNT_FILL CALL FUNCTION 'ERROR_RULE_ACCOUNT_FILL' TABLES APPL_ERROR = TAB_ERR_PROT.

ERROR_RULE_ACCOUNT_NEW CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' " evtl. SUBMIT RSPUTPRT



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFVISTOR or its description.