RFVIVW02 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 RFVIVW02 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOOG - Reverse settl.management contract
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.
Selection Text: P_STGRD = Reason for reversal
Selection Text: P_SOLLID = Debit position ID
Selection Text: P_MONAT = Posting period
Selection Text: P_GJAHR = Debit position fiscal year
Selection Text: P_BUDAT = Posting date
Title: OLD Management Contract Settlement Reversal
Text Symbol: XBI = Posting run identification
Text Symbol: XBB = Posting parameters
Text Symbol: LN8 = Object
Text Symbol: LN7 = , Posting periods
Text Symbol: LN6 = , Fiscal year
Text Symbol: LN5 = Settlement identif.
Text Symbol: LN4 = Event
Text Symbol: LN3 = Management contract
Text Symbol: LN2 = Settlement date
Text Symbol: LM0 = Company code........
Text Symbol: E01 = *** No entries were found ***
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EXT_BELNR_TRAFO CALL FUNCTION 'EXT_BELNR_TRAFO' EXPORTING IMP_VISLID = VISLID IMPORTING EXP_EXTBELNR = VVABBLN EXP_VISLID = VISLID EXCEPTIONS INTERVAL_NOT_FOUND = 1 NO_ENTRY = 2 NUMBER_RANGE_NOT_INTERN = 3 OBJECT_NOT_FOUND = 4 QUANTTITY_IS_0 = 5 OTHERS = 6.
REAL_ESTATE_BUDAT_FOR_XBLNR CALL FUNCTION 'REAL_ESTATE_BUDAT_FOR_XBLNR' EXPORTING I_BUDAT_STORNO = P_BUDAT I_XBLNR = VVABBLN * i_bukrs = bukrs " Verschiedene BUKRS für VW 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.
IMMO_BDC_OPEN CALL FUNCTION 'IMMO_BDC_OPEN' EXPORTING FBSSPARA = BSSPARA EXCEPTIONS ERROR_BDC_OPEN = 01.
DOCUMENT_REVERSE_BDCDATA CALL FUNCTION 'DOCUMENT_REVERSE_BDCDATA' EXPORTING FBSSPARA = BSSPARA NO_CLOSE = ' ' NO_OPEN = 'X' TABLES TDOCUMENT = TDOCUMENT EXCEPTIONS OTHERS = 01.
VISLID_BOOKING CALL FUNCTION 'VISLID_BOOKING' EXPORTING VERBART = 'U' TVISLID = VISLID.
VIVW09_BOOKING CALL FUNCTION 'VIVW09_BOOKING' IN UPDATE TASK "Baustein benutzen EXPORTING TVIVW09 = IVIVW09.
VIVW08_BOOKING CALL FUNCTION 'VIVW08_BOOKING' IN UPDATE TASK "Baustein benutzen EXPORTING TVIVW08 = IVIVW08.
OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING DATUM = SY-DATUM LANGU = SY-LANGU NO_BUKRS = ' ' NO_KOKRS = ' ' OBJNR = IVIVW09-J_OBJNR IMPORTING IDENTIFICATION = IDENTIFICATION.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = MESSAGE-ARBGB MSGTY = MESSAGE-MSGTY MSGV1 = MESSAGE-MSGV1 MSGV2 = MESSAGE-MSGV2 MSGV3 = MESSAGE-MSGV3 MSGV4 = MESSAGE-MSGV4 TXTNR = MESSAGE-TXTNR ZEILE = MESSAGE-ZEILE EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 01 NOT_ACTIVE = 02.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 01 E_MESSAGE = 02 I_MESSAGE = 03 W_MESSAGE = 04.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING OBJECT = ' ' SHOW_LINNO = SPACE EXCEPTIONS INCONSISTENT_RANGE = 01 NO_MESSAGES = 02.
USERDATA_MAINTAIN CALL FUNCTION 'USERDATA_MAINTAIN' EXPORTING * HERKUNFT = E01 INUSER = RUSER IMPORTING EXUSER = RUSER.
ERROR_RULE_ACCOUNT_NEW CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' EXPORTING ARBEITSGEBIET = 'X' CHANNEL = 'O' * DATEI = 'fehlerprotokoll' MESSAGENUMMER = 'X' NUR_IMPORT = 'X' SEVERITY = 'X' SORTIERT = 'X' ** IMPORTING ** AUSGABEDATEI = * spool_nr = viea05-spool_nr TABLES FEHLER_IMPORT = TSPROT_U.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' "TH EXPORTING "TH I_BUDAT = P_BUDAT "TH I_MONAT = I_MONAT_DETERMINE "TH I_PERIV = T001-PERIV "TH IMPORTING "TH E_GJAHR = GJAHR "TH E_MONAT = I_MONAT_DETERMINE "TH EXCEPTIONS "TH OTHERS = 01. "TH
FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING I_BUKRS = BUKRS I_GJAHR = GJAHR I_KOART = '+' I_KONTO = '+' I_MONAT = I_MONAT_CHECK "TH EXCEPTIONS ERROR_PERIOD = 01 ERROR_PERIOD_ACC = 02.
F4IF_GET_SHLP_DESCR * CALL FUNCTION 'F4IF_GET_SHLP_DESCR' * EXPORTING * SHLPNAME = 'MCSLN' * IMPORTING * SHLP = LOC_SHLP * EXCEPTIONS * OTHERS = 1.
* CALL FUNCTION 'F4_SEARCH_HELP' * EXPORTING * SHLP = LOC_SHLP * CALL_CONTROL = LOC_CALL_CONTROL * TABLES * FLDS_OUT_TAB = LOC_FLDS_OUT_TAB * EXCEPTIONS * USER_CANCEL = 1 * NO_DATA_FOUND = 2 * INTERNAL_ERROR = 3 * NOT_YET_IMPLEMENTED = 4 * OTHERS = 5.
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 RFVIVW02 or its description.
RFVIVW02 - OLD Management Contract Settlement Reversal RFVIVW02 - OLD Management Contract Settlement Reversal RFVIVW01 - Management Costs Settlement RFVIVW01 - Management Costs Settlement RFVIVSTO - Set Indicator for Input Tax Option in Rental Agreements RFVIVSTO - Set Indicator for Input Tax Option in Rental Agreements