SAP Reports / Programs

RFVIVS02 SAP ABAP Report - OLD Management Contract Debit Position Reversal







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

FOOF - Reverse debit pos.management contr.


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 RFVIVS02. "Basic submit
SUBMIT RFVIVS02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIVS02 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_MONAT = Reverse Doc. Posting Period
Selection Text: P_GJAHR = Debit Position Fiscal Year
Selection Text: P_BUDAT = Reverse Doc. Posting Date
Title: OLD Management Contract Debit Position Reversal
Text Symbol: XBI = Posting Run Identification
Text Symbol: XBB = Posting Parameters
Text Symbol: LN6 = , Fiscal Year
Text Symbol: LN5 = Identification:
Text Symbol: LN3 = Company Code Management Contract Object
Text Symbol: LN2 = Settlement Date
Text Symbol: LN1 = Management Contract Debit Position Reversal
Text Symbol: E01 = *** No entries were found ***


INCLUDES used within this REPORT RFVIVS02

No INCLUDES are used within this REPORT code!


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

VIBEPP_UPDATE * CALL FUNCTION 'VIBEPP_UPDATE' IN UPDATE TASK "RW * EXPORTING "RW * VIBEPP_KZ = 'D' "RW * TABLES "RW * IVIBEPP = TVIBEPP "RW * EXCEPTIONS "RW * INVALID_UPD_KZ = 1 "RW * VIBEPP_INSERT_ERROR = 2 "RW * VIBEPP_UPDATE_ERROR = 3 "RW * VISLID_INSERT_ERROR = 4 "RW * VISLID_UPDATE_ERROR = 5 "RW * OTHERS = 6. "RW

REMD_DECODE_IMKEY CALL FUNCTION 'REMD_DECODE_IMKEY' EXPORTING I_INTRENO = VIBEPP-INTRENO2 IMPORTING E_VIREMASTER = E_VIREMASTER EXCEPTIONS OBJECT_DOES_NOT_EXIST = 1 OBJECT_KEY_INCONSISTENT = 2 OTHERS = 3.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING OBJNR = E_VIREMASTER-OBJNR IMPORTING IDENTIFICATION = IDENTIFICATION EXCEPTIONS OTHERS = 1.

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 * CORRECTIONS_OPTION = ' ' * LINE_FROM = '000' * LINE_TO = '999' OBJECT = ' ' * SEND_IF_ONE = ' ' SHOW_LINNO = SPACE * IMPORTING * CORRECTIONS_WANTED = 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 = TABLES FEHLER_IMPORT = TSPROT_U.

FVVI_AUTHORITY_MESSAGE CALL FUNCTION 'FVVI_AUTHORITY_MESSAGE' EXPORTING AUTH_ACTVT = VVACTVT AUTH_BUKRS = BUKRS AUTH_OBJECT = AUTH_OBJECT *<<<< auth_subrc = sy-subrc " <<< DELETE KI3K055338 AUTH_SUBRC = LOC_SUBRC " <<< INSERT KI3K055338 * AUTH_SWENR = E05 EXCEPTIONS AUTHORITY_DESTROYED = 01 NO_AUTHORITY = 02 NO_AUTHORITY_PROFILE = 03 NO_USER_ENTRY = 04 TOO_MUCH_PARAMETER = 05 UNKNOWN_ERROR = 06 WRONG_FIELD_NAME = 07.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = PMESG.

ERROR_RULE_ACCOUNT_FILL CALL FUNCTION 'ERROR_RULE_ACCOUNT_FILL' TABLES APPL_ERROR = TSPROT_U.

ERROR_RULE_ACCOUNT_NEW





CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' EXPORTING ARBEITSGEBIET = 'X' CHANNEL = 'S' * DATEI = 'fehlerprotokoll' MESSAGENUMMER = 'X' NUR_IMPORT = 'X' SEVERITY = 'X' * sortiert = 'X' * importing * AUSGABEDATEI = * 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.

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.



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