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

RFVIMW01 SAP ABAP Report - Create Batch Input Session for Changing Tax Code ID for Current LO







RFVIMW01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates a batch input session which converts the tax code from "old tax code" to "new tax code" as from a specific date for all active rental agreements...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 RFVIMW01 into the relevant SAP transactions such as SE38 or SE80


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 RFVIMW01. "Basic submit
SUBMIT RFVIMW01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIMW01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


VAT Code Change: Affected Contracts
Selection Text: P_DGAB = New tax code valid as from
Selection Text: P_MAPNAM = Name of batch input session
Selection Text: P_MW_NEW = New tax code
Selection Text: P_MW_OLD = Old tax code
Selection Text: P_WARN = Ignore warnings
Title: Create Batch Input Session for Changing Tax Code ID for Current LO
Text Symbol: 090 = Batch input session generated successfully:
Text Symbol: 095 = No contracts selected, no batch input session
Text Symbol: 096 = generated
Text Symbol: 100 = VAT code / Batch input session
Text Symbol: 101 = Adjustment Valid From


INCLUDES used within this REPORT RFVIMW01

INCLUDE RFVICNSV.


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:

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING BYPASS_BUFFER = 'X' CLIENT = SY-MANDT OBJNR = VIMIMV-SNKS STATUS = CON_ISTAT-MV_AKTIV EXCEPTIONS OBJECT_NOT_FOUND = 01 STATUS_NOT_ACTIVE = 02 OTHERS = 03.

FVZK_INIT_VZZKOPO CALL FUNCTION 'FVZK_INIT_VZZKOPO' TABLES IVZZKOPO = TAB_VVZZKOPO.

FVZK_LOAD_VZZKOPO CALL FUNCTION 'FVZK_LOAD_VZZKOPO' EXPORTING FLG_KOPA_READ = SPACE GET_EMPTY = SPACE GSART = CON_GSART_MV INIT_TABLES = SPACE KOKO_KEY = LOC_KOKO_KEY TABLES IVZZKOPO = TAB_VVZZKOPO.

FVZK_LOAD_VZZKOPO CALL FUNCTION 'FVZK_LOAD_VZZKOPO' EXPORTING FLG_KOPA_READ = SPACE GET_EMPTY = SPACE GSART = CON_GSART_MV INIT_TABLES = SPACE KOKO_KEY = LOC_KOKO_KEY TABLES IVZZKOPO = TAB_VVZZKOPO.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT *<<<< DEST = E02 GROUP = PAR_MAPNAME *<<<< HOLDDATE = E04 *<<<< KEEP = E05 USER = SY-UNAME .

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = CON_TCODE_CHANGE_ACT_MV TABLES DYNPROTAB = TAB_BDCDATA.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP' EXCEPTIONS NOT_OPEN = 01.

FVST_STATUS_CHECK_AND_SET CALL FUNCTION 'FVST_STATUS_CHECK_AND_SET' EXPORTING RFVSTIMP = LOC_RFVSTIMP IMPORTING * CHANGE_FLAG = * OBJNR_TMP = WARNING_OCCURED = PAR_FLG_W EXCEPTIONS * ALLOWED_WITH_WARNING = 1 * ACTIVITY_NOT_POSSIBLE_MESS_HAN = 2 * ACTIVITY_NOT_POSSIBLE = 3 * OTHERS = 4 OTHERS = 1.

END_OF_PERIOD_DETERMINE CALL FUNCTION 'END_OF_PERIOD_DETERMINE' EXPORTING I_AMMRHY = PV_AMMRHY I_DPERBEG = LV_DATE I_KZ_PERBEG = LF_PERBEG IMPORTING E_DPEREND = LV_DATE.



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