SAP Reports / Programs | Financial Accounting(FI) SAP FI

MF05RFR0 SAP ABAP INCLUDE - Include for Resetting Cleared Items







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


Text pool values


Title: Include for Resetting Cleared Items


INCLUDES used within this REPORT MF05RFR0

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:

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'J' titel = text-100 diagnosetext1 = text1 diagnosetext2 = text2 diagnosetext3 = text3 textline1 = text-109 textline2 = text-110 IMPORTING answer = answer.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING titel = text-100 textline1 = text-111 textline2 = text-112 textline3 = text-113 text_option1 = text-114 text_option2 = text-115 IMPORTING answer = afb08.

FM_REVERSE_CLEARING_MF05RFR0_S call function 'FM_REVERSE_CLEARING_MF05RFR0_S' exporting i_afb08 = afb08 is_clearing_doc = rf05r TABLES it_ragl1 = xragl1.

FM_REVERSE_CLEARING_MF05RFR0 call function 'FM_REVERSE_CLEARING_MF05RFR0' exporting i_rf05r = rf05r tables it_xragl3 = xragl3 it_xragl1 = xragl1 CHANGING c_afb08 = afb08.

G_BEB_SET_RESET_CLEARING_DATE CALL FUNCTION 'G_BEB_SET_RESET_CLEARING_DATE' EXPORTING company_code = rf05r-bukrs document_number = rf05r-augbl fiscal_year = rf05r-gjahr rev_posting_date = stodt IMPORTING ed_abort = ld_abort TABLES reset_cleared_items = xragl1 EXCEPTIONS OTHERS = 1.

REVERSE_CLEARING CALL FUNCTION 'REVERSE_CLEARING' IN UPDATE TASK EXPORTING i_augbu = rf05r-bukrs i_augbl = rf05r-augbl i_auggj = rf05r-gjahr i_xerlk = xerlk "Korrespondenz ist zu erledigen i_stodt = stodt "Note649957 TABLES t_ragl1 = xragl1 "Belegzeilen t_ragl2 = xragl2 "Finanzdispo t_ragl3 = xragl3 "Zahlungsverhalten t_bkorm = xbkorm. "Korrespondenz

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = rf05r-bukrs EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.

FI_WT_RESET_CLEARING CALL FUNCTION 'FI_WT_RESET_CLEARING' IN UPDATE TASK EXPORTING i_augbu = rf05r-bukrs i_augbl = rf05r-augbl i_auggj = rf05r-gjahr TABLES t_ragl1 = xragl1.

OPEN_FI_PERFORM_00001040_E CALL FUNCTION 'OPEN_FI_PERFORM_00001040_E' EXPORTING i_xvbup = 'X' i_rf05r = rf05r "Note1003528 TABLES t_xragl = xragl1.

OPEN_FI_PERFORM_00001041_E CALL FUNCTION 'OPEN_FI_PERFORM_00001041_E' "/N418865 EXPORTING "/N418865 i_rf05r = rf05r "/N418865 IMPORTING "/N418865 e_leave_screen = l_leave_screen "/N418865 EXCEPTIONS "/N418865 OTHERS = 0. "/N418865

CALL_FB08 CALL FUNCTION 'CALL_FB08' "Simulation des Stornos EXPORTING i_bukrs = rf05r-bukrs i_belnr = rf05r-augbl i_gjahr = rf05r-gjahr i_stgrd = rf05r-stgrd i_budat = rf05r-budat i_monat = rf05r-monat i_xsimu = 'X' i_bldat = rf05r-bldat "N1580518 i_vatdate = rf05r-vatdate "N1660511 IMPORTING e_budat = stodt e_monat = stomo EXCEPTIONS not_possible = 4.

CALL_FB08 CALL FUNCTION 'CALL_FB08' "Simulation des Stornos EXPORTING i_bukrs = f100_tab-bukrs i_belnr = f100_tab-belnr i_gjahr = f100_tab-gjahr i_stgrd = rf05r-stgrd i_budat = rf05r-budat i_monat = rf05r-monat i_xsimu = 'X' i_bldat = rf05r-bldat "N1580518 i_vatdate = rf05r-vatdate "N1660511 EXCEPTIONS not_possible = 4.

CALL_FBRA CALL FUNCTION 'CALL_FBRA' "Rücknahme des Ausgleichs EXPORTING i_bukrs = rf05r-bukrs i_augbl = rf05r-augbl i_gjahr = rf05r-gjahr i_xerlk = xerlk i_augdt = augdt i_stodt = stodt i_stomo = stomo TABLES t_accnt = xaccnt.

CALL_FB08 CALL FUNCTION 'CALL_FB08' "Storno des Ausgleichsbelegs EXPORTING i_bukrs = rf05r-bukrs i_belnr = rf05r-augbl i_gjahr = rf05r-gjahr i_stgrd = rf05r-stgrd i_budat = rf05r-budat i_monat = rf05r-monat i_bldat = rf05r-bldat "N1580518 i_vatdate = rf05r-vatdate. "N1660511

CALL_FB08 CALL FUNCTION 'CALL_FB08' "Storno der Bewertung (SAPF100) EXPORTING i_bukrs = f100_tab-bukrs i_belnr = f100_tab-belnr i_gjahr = f100_tab-gjahr i_stgrd = rf05r-stgrd i_budat = rf05r-budat i_monat = rf05r-monat i_bldat = rf05r-bldat "N1580518 i_vatdate = rf05r-vatdate. "N1660511

K_FI_REVERSE_CLEARING CALL FUNCTION 'K_FI_REVERSE_CLEARING' TABLES t_bkpfco = xbkpfco EXCEPTIONS OTHERS = 0.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING gjahr = rf05r-gjahr process = 'BELEG ' event = 'RES_CLR ' TABLES tkomp = tkomp.

PYORD_DELETE CALL FUNCTION 'PYORD_DELETE' IN UPDATE TASK TABLES t_pyordkey = lt_pyord_key.



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