SAP Reports / Programs

RFVISL70 SAP ABAP Report - OLD Reverse Debit Position Run







RFVISL70 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for INCLUDE 'FVVI_STORNO_SOLLSTELLUNG' OBJECT DOKU ID TX LANGUAGE E..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFVISL70 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

FOSC - Debit position reversal
FOSJ - RU-Unoccupied:Reverse debit position


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 RFVISL70. "Basic submit
SUBMIT RFVISL70 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVISL70 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_STGRD = Reason for reversal
Selection Text: P_SOLLID = Debit position ID
Selection Text: P_NANZBL = D Max. no. of cleared documents
Selection Text: P_MONAT = Reverse doc. posting period
Selection Text: P_GJAHR = Debit position fiscal year
Selection Text: P_BUDAT = Reverse doc. posting date
Title: OLD Reverse Debit Position Run
Text Symbol: XBP = Other
Text Symbol: XBI = Posting run identification
Text Symbol: XBB = Posting parameters
Text Symbol: 014 = The following are affected
Text Symbol: 013 = Lease-outs
Text Symbol: 001 = & documents were selected ;; => 002 or 008
Text Symbol: 002 = & of them cannot be ;; => 003
Text Symbol: 003 = reversed. ;;
Text Symbol: 004 = Should the documents be reversed ? ;;
Text Symbol: 005 = Reverse documents? ;;
Text Symbol: 006 = ID &1, fiscal yr. &2, executed on
Text Symbol: 007 = from &3; doc.date
Text Symbol: 008 = All documents can be ;; => 009
Text Symbol: 009 = reversed. ;;
Text Symbol: 010 = RUs
Text Symbol: 011 = Rental units
Text Symbol: 012 = LOs


INCLUDES used within this REPORT RFVISL70

INCLUDE RFVICNSV.
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:

HELP_VALUES_GET_WITH_MACO CALL FUNCTION 'HELP_VALUES_GET_WITH_MACO' EXPORTING * CUCOL = 1 * CUROW = 1 MC_ID = LOC_MCID MC_OBJECT = 'MCSL' * SELSTR = ' ' IMPORTING SELECTVALUE = P_SOLLID * complete_string = * tables * USER_FUNCTION_VALUES = EXCEPTIONS NO_SELECTION = 1 NO_VALUES = 2 NO_VALUES_SELECTED = 3 OTHERS = 4.

EXT_BELNR_TRAFO CALL FUNCTION 'EXT_BELNR_TRAFO' EXPORTING * IMP_DATE = SY-DATUM * IMP_EXTBELEGNR = ' ' * IMP_OBJECT = 'FVVI_SOID' IMP_VISLID = VISLID * NR_RANGE_NR = '01' IMPORTING EXP_EXTBELNR = XBLNR EXP_VISLID = VISLID FLG_DB_ENTRY = FLG_KZ_DB_ENTRY EXCEPTIONS OTHERS = 01.

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 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.

REAL_ESTATE_MAP_PLAY CALL FUNCTION 'REAL_ESTATE_MAP_PLAY' " PZM EXPORTING I_DATE = SY-DATUM I_IMMED = ' ' I_MAPNAME = GROUPID_STORNO I_TIME = SY-UZEIT I_USER = SY-UNAME IMPORTING E_RESULT = LOC_SUBRC.

FVVI_AUTHORITY_MESSAGE CALL FUNCTION 'FVVI_AUTHORITY_MESSAGE' EXPORTING AUTH_ACTVT = AUTH_ACTVT AUTH_BUKRS = BUKRS AUTH_OBJECT = AUTH_OBJECT *<<<< auth_subrc = sy-subrc " <<< DELETE KI3K057248 AUTH_SUBRC = LOC_SUBRC. " <<< INSERT KI3K057248

PERIOD_DETERMINE * call function 'PERIOD_DETERMINE' " PZ 3.0 Migrat. - old FB

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' " PZ 3.0 Migrat. - new FB

PERIOD_CHECK CALL FUNCTION 'PERIOD_CHECK' EXPORTING I_BUKRS = VISLID-BUKRS I_GJAHR = LOC_GJAHR I_KOART = '+' I_KONTO = '+' I_MONAT = P_MONAT EXCEPTIONS ERROR_PERIOD = 01 ERROR_PERIOD_ACC = 02.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = LOC_TEXT1 DIAGNOSETEXT2 = LOC_TEXT2 DIAGNOSETEXT3 = LOC_TEXT3 TEXTLINE1 = LOC_TEXT4 *<< TEXTLINE2 = ' ' TITEL = LOC_TITEL IMPORTING ANSWER = LOC_ANSWER.

FVST_STATUS_CHECK_AND_SET CALL FUNCTION 'FVST_STATUS_CHECK_AND_SET' EXPORTING RFVSTIMP = LOC_RFVSTIMP EXCEPTIONS OTHERS = 01.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' * exporting * open_file = 'X' * close_file = 'X' * condense = 'X' * master_langu = 'E' * accept_not_init = ' ' * iv_suppress_statistics = ' ' TABLES XMSG = TAB_ERR_PROT EXCEPTIONS FILE_NOT_FOUND = 1 WRONG_CALL = 2 OTHERS = 3.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

ERROR_RULE_ACCOUNT_FILL * CALL FUNCTION 'ERROR_RULE_ACCOUNT_FILL' * TABLES * APPL_ERROR = TAB_ERR_PROT.

APPEND_PROTOCOL ** CALL FUNCTION 'APPEND_PROTOCOL' ** EXPORTING ACCEPT_NOT_INIT = 'X' ** TABLES XMSG = TAB_ERR_PROT.

ERROR_RULE_ACCOUNT_NEW * CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' " evtl. SUBMIT RSPUTPRT

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

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



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 RFVISL70 or its description.