SAP Reports / Programs

RFVIHKAR SAP ABAP Report - Heating Expenses Settlement - Read A-Tape (Evaluation Groups)







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

FOHA - Import A-tape


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 RFVIHKAR. "Basic submit
SUBMIT RFVIHKAR AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIHKAR 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: WHICH2 = Server
Selection Text: WHICH1 = Local
Selection Text: P_ADVANC = Transfer to RU / LO
Selection Text: HKOST_MD = Read from diskette/magnet.tape
Selection Text: D_NAME = File name
Title: Heating Expenses Settlement - Read A-Tape (Evaluation Groups)
Text Symbol: UFZ = Error messages
Text Symbol: UEF = Error log
Text Symbol: UED = CoCd BE no. RU no. Rntl agrmnt Consumer no. Eval. group New eval. group
Text Symbol: UE2 = Overview of all changed lease-outs / rental units
Text Symbol: UE1 = Compare consumer numbers with external evaluation group
Text Symbol: SWA = Records with warning:
Text Symbol: SNG = Records Unchanged:
Text Symbol: SL2 = Import File
Text Symbol: SL1 = Details on A-tape
Text Symbol: SGL = Records Read:
Text Symbol: SGE = Records Blocked:
Text Symbol: SGA = Records Changed:
Text Symbol: SFA = Incorrect Records:
Text Symbol: SAG = Skipped Records:
Text Symbol: FET = Incorrect Records
Text Symbol: 200 = Transfer evaluation group to RU/RA


INCLUDES used within this REPORT RFVIHKAR

INCLUDE FVIMECDF . "DEFINITIONEN FÜR VERBUCHER
INCLUDE FVIMVCDV . "DEFINITIONEN FÜR VERBUCHER
INCLUDE FVIMVCDC .
INCLUDE IFRE_CHECK_RE_CLASSIC.


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:

DATASET_NAME_DETERMINE CALL FUNCTION 'DATASET_NAME_DETERMINE' EXPORTING FILE_IDENTIFIER = REC_TYP_A IMPORTING DS_NAME = D_NAME TIPZZ = TIPZZ EXCEPTIONS IDENTIFIER_NOT_DEFINIED = 01 INSTPAR_NOTFOUND = 02 NO_FILE_DESCRIPTION = 03.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING LINE_FROM = ZEILE_VON LINE_TO = ZEILE_BIS OBJECT = TEXT-FET SHOW_LINNO = TRUE EXCEPTIONS INCONSISTENT_RANGE = 01 NO_MESSAGES = 02.

MV_CHECK_ACTIVE CALL FUNCTION 'MV_CHECK_ACTIVE' EXPORTING OBJNR = PAR_VIMIMV-SNKS SMIVE = PAR_VIMIMV-SMIVE EXCEPTIONS MV_NOT_ACTIVE = 01 STATUS_FAILURE = 02.

ENQUEUE_EFIMIVE CALL FUNCTION 'ENQUEUE_EFIMIVE' EXPORTING MANDT = SY-MANDT BUKRS = PAR_VIMIMV-BUKRS SMIVE = PAR_VIMIMV-SMIVE SWENR = PAR_VIMIMV-SWENR SMENR = PAR_VIMIMV-SMENR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

ENQUEUE_EFIMEHK CALL FUNCTION 'ENQUEUE_EFIMEHK' EXPORTING BUKRS = PAR_VIMI01-BUKRS SWENR = PAR_VIMI01-SWENR SMENR = PAR_VIMI01-SMENR EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

DEQUEUE_EFIMIVE CALL FUNCTION 'DEQUEUE_EFIMIVE' EXPORTING BUKRS = PAR_VIMIMV-BUKRS SMIVE = PAR_VIMIMV-SMIVE SWENR = PAR_VIMIMV-SWENR SMENR = PAR_VIMIMV-SMENR.

DEQUEUE_EFIMEHK CALL FUNCTION 'DEQUEUE_EFIMEHK' EXPORTING BUKRS = PAR_VIMI01-BUKRS SWENR = PAR_VIMI01-SWENR SMENR = PAR_VIMI01-SMENR.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = MSG_ID MSGTY = MSG_TYP MSGV1 = PAR_1 MSGV2 = PAR_2 MSGV3 = PAR_3 MSGV4 = PAR_4 TXTNR = MSG_NR ZEILE = ZEILE_MSG EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 01 NOT_ACTIVE = 02.

MV_UPDATE_HK CALL FUNCTION 'MV_UPDATE_HK' EXPORTING SATZ_KZ = AENDERN_KZ UPD_VIMIMV = PAR_VIMIMV EXCEPTIONS UNKNOWN_OPERATION_SPECIFIED = 01 UPDATE_FAILURE = 02.

ME_UPDATE_HK CALL FUNCTION 'ME_UPDATE_HK' EXPORTING SATZ_KZ = AENDERN_KZ UPD_VIMI01 = PAR_VIMI01 EXCEPTIONS UNKNOWN_OPERATION_SPECIFIED = 01 UPDATE_FAILURE = 02.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = PAR_ERROR_TAB.

FVAU_AUTHORITY_CHECK CALL FUNCTION 'FVAU_AUTHORITY_CHECK' EXPORTING OBJECT = AUTH_OBJECT AUTHPAR = AUTHPAR.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = con_fname CHANGING physical_filename = DS_NAME EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = con_fname CHANGING physical_filename = DS_NAME EXCEPTIONS OTHERS = 1.

UPLOAD * CALL FUNCTION 'UPLOAD' * EXPORTING ** CODEPAGE = ' ' * FILENAME = FILENAME * FILETYPE = 'BIN' ** ITEM = ' ' ** FILEMASK_MASK = ' ' ** FILEMASK_TEXT = ' ' ** filetype_no_change = 'X' ** FILEMASK_ALL = ' ' ** FILETYPE_NO_SHOW = ' ' ** LINE_EXIT = ' ' ** USER_FORM = ' ' ** USER_PROG = ' ' * SILENT = 'M' * IMPORTING ** filesize = * CANCEL = CANCEL * ACT_FILENAME = FILENAME * TABLES * DATA_TAB = TAB_RF61ABD * EXCEPTIONS * CONVERSION_ERROR = 1 * INVALID_TABLE_WIDTH = 2 * INVALID_TYPE = 3 * NO_BATCH = 4 * UNKNOWN_ERROR = 5 * OTHERS = 6.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = ld_filename FILETYPE = 'BIN' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' IMPORTING FILELENGTH = ld_filelength * HEADER = TABLES data_tab = TAB_RF61ABD EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17 .

UPLOAD * CALL FUNCTION 'UPLOAD' * EXPORTING ** CODEPAGE = ' ' * FILENAME = FILENAME * FILETYPE = 'ASC' ** ITEM = ' ' ** FILEMASK_MASK = ' ' ** FILEMASK_TEXT = ' ' ** filetype_no_change = 'X' ** FILEMASK_ALL = ' ' ** FILETYPE_NO_SHOW = ' ' ** LINE_EXIT = ' ' ** USER_FORM = ' ' ** USER_PROG = ' ' * SILENT = 'M' * IMPORTING ** filesize = * CANCEL = CANCEL * ACT_FILENAME = FILENAME * TABLES * DATA_TAB = TAB_RF61ADS * EXCEPTIONS * CONVERSION_ERROR = 1 * INVALID_TABLE_WIDTH = 2 * INVALID_TYPE = 3 * NO_BATCH = 4 * UNKNOWN_ERROR = 5 * OTHERS = 6.

GUI_UPLOAD





CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = ld_filename FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' IMPORTING FILELENGTH = ld_filelength * HEADER = TABLES data_tab = TAB_RF61ADS EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17 .



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