SAP Reports / Programs

RFFMRP08 SAP ABAP Report - Transfer of Parked Documents from Logistics Invoice Verification







RFFMRP08 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to reconstruct the parked documents of Logistics Invoice Verification in Funds Management (FM)...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 RFFMRP08 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

FMN1 - Reconstruction of Parked MM Docs


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


Text pool values


***Log: Document Transfer from Financial Accounting
Selection Text: S_BELNRM = D .
Selection Text: S_BELNR = D .
Selection Text: P_TEST = D .
Selection Text: P_PRECHK = D .
Selection Text: P_NOPBET = D .
Selection Text: P_GJAHRM = D .
Selection Text: P_GJAHR = D .
Selection Text: P_ERROR = D .
Selection Text: P_DELETE = D .
Selection Text: P_CMPLET = D .
Selection Text: P_BUKRS = D .
Title: Transfer of Parked Documents from Logistics Invoice Verification
Text Symbol: 330 = MM Doc.
Text Symbol: 320 = FI doc.
Text Symbol: 301 = Text
Text Symbol: 300 = Message Text
Text Symbol: 291 = Time:
Text Symbol: 290 = Date
Text Symbol: 281 = No. of documents not posted:
Text Symbol: 280 = No. of docs posted:
Text Symbol: 261 = No
Text Symbol: 260 = Ye
Text Symbol: 255 = Int. Check:
Text Symbol: 251 = Upd. Run
Text Symbol: 250 = Test Run
Text Symbol: 140 = Old Data Processing
Text Symbol: 130 = Process Control
Text Symbol: 120 = Selection Using the SAP Unique Key (AW Fields)
Text Symbol: 110 = Selection Using Invoice Refer.
Text Symbol: 100 = Selection
Text Symbol: 001 = Log: Document Transfer from Financial Accounting


INCLUDES used within this REPORT RFFMRP08

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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FM_CCF_REBUILD_PREPARE_FI CALL FUNCTION 'FM_CCF_REBUILD_PREPARE_FI' EXPORTING i_bukrs = lt_fmifihd-refbk i_knbelnr = lt_fmifihd-refbn i_kngjahr = lt_fmifihd-refgj i_flg_reverse = con_on i_flg_test = u_test i_flg_rebuild = 'X' EXCEPTIONS fm_doc_missing = 1 cf_impossible = 3 OTHERS = 5.

FM_DOCUMENT_DELETE CALL FUNCTION 'FM_DOCUMENT_DELETE' EXPORTING u_awref = l_awref u_aworg = l_aworg u_awtyp = 'RMRP' u_test = u_test u_flg_ccf_del = con_on u_flg_reas_del = con_on u_flg_rebuild = con_on EXCEPTIONS document_vendor_interface = 2 no_document_found = 3 document_not_deleted = 4 document_acnew = 5 document_not_in_ledger = 8 OTHERS = 9.

MRM_INVOICE_READ CALL FUNCTION 'MRM_INVOICE_READ' EXPORTING i_belnr = uf_document-belnr_mm i_gjahr = uf_document-gjahr_mm IMPORTING e_rbkpv = lf_rbkpv TABLES t_drseg = lt_drseg EXCEPTIONS entry_not_found = 1 lock_error = 2 OTHERS = 3.

MRM_INVOICE_CHECK CALL FUNCTION 'MRM_INVOICE_CHECK' EXPORTING i_rbkpv = lf_rbkpv i_fix_payment_terms = l_fix_pay_trm i_fix_quantity_amount = 'X' i_fix_account_assignment = 'X' i_change_document = 'X' i_rbstat_new = lf_rbkpv-rbstat IMPORTING e_rbkpv = lf_rbkpv TABLES t_frseg = lt_frseg t_co = lt_co t_ma = lt_ma t_drseg = lt_drseg EXCEPTIONS error_message = 1 OTHERS = 2.

MRM_INVOICE_PARK CALL FUNCTION 'MRM_INVOICE_PARK' EXPORTING i_rbkpv = lf_rbkpv i_simulation = 'Y' i_xupda = 'U' i_rbstat_new = lf_rbkpv-rbstat ti_drseg = lt_drseg ti_selbest = lt_rbselbest[] TABLES te_acchd = lt_acchd te_accit = lt_accit te_acccr = lt_acccr te_accbset = lt_accbset te_accfi = lt_accfi EXCEPTIONS invalid_status = 1 update_impossible = 2 user_exit = 3 error_message = 4 OTHERS = 5.

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' EXPORTING i_free_table = ' ' i_comp = '-' TABLES t_acccr = lt_acccr t_acchd = lt_acchd t_accit = lt_accit t_accfi = lt_accfi t_acctx = lt_accbset EXCEPTIONS error_message = 1 OTHERS = 2.

FI_DOCUMENT_PROJECT CALL FUNCTION 'FI_DOCUMENT_PROJECT' TABLES t_acccr = lt_acccr t_acchd = lt_acchd t_accit = lt_accit t_accfi = lt_accfi t_acctx = lt_accbset EXCEPTIONS system_error = 1 error_message = 2 OTHERS = 3.

FM_DOCUMENT_CLOSE CALL FUNCTION 'FM_DOCUMENT_CLOSE' TABLES t_acccr = lt_acccr t_acchd = lt_acchd t_accit = lt_accit t_accfi = lt_accfi t_acctx = lt_accbset EXCEPTIONS error_message = 1 OTHERS = 2.

BP_CHECK_FUNDS_LAST CALL FUNCTION 'BP_CHECK_FUNDS_LAST'.

FM_FIBELNR_SET CALL FUNCTION 'FM_FIBELNR_SET' TABLES it_accit = lt_accit.

FM_DOCUMENT_POST CALL FUNCTION 'FM_DOCUMENT_POST' EXPORTING i_update = con_off i_awtyp = lt_acchd-awtyp i_awref = lt_acchd-awref i_aworg = lt_acchd-aworg i_awsys = lt_acchd-awsys.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = u_bukrs IMPORTING e_fikrs = l_fikrs.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = l_fikrs i_actvt = fmau_ac_ini i_msgty = 'E'.

FMCA_GET_INIT_INFO CALL FUNCTION 'FMCA_GET_INIT_INFO' EXPORTING i_bukrs = u_bukrs CHANGING c_f_control_data = gf_control_data.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RFFMRP08' i_callback_user_command = 'USER_COMMAND' i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' i_callback_top_of_page = 'TOP_OF_PAGE' i_grid_title = l_text is_layout = lf_layout it_fieldcat = lt_fieldcat TABLES t_outtab = u_t_totlist.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'fmrp08_outlist' CHANGING ct_fieldcat = ct_fieldcat.

MASS_MESSAGE_SHOW_LONGTEXT





CALL FUNCTION 'MASS_MESSAGE_SHOW_LONGTEXT' EXPORTING arbgb = l_arbgb msgnr = l_msgnr msgv1 = lf_outlist-msgv1 msgv2 = lf_outlist-msgv2 msgv3 = lf_outlist-msgv3 msgv4 = lf_outlist-msgv4.

FMALE_READ_CUST CALL FUNCTION 'FMALE_READ_CUST' IMPORTING central_system = l_central_system EXCEPTIONS central_system_not_defined = 1 OTHERS = 2.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = l_own_system.

FM_GET_EXPERT_MODE CALL FUNCTION 'FM_GET_EXPERT_MODE' IMPORTING e_exception_active = l_fmale_ignore_system.



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