SAP Reports / Programs

RFFMDLPF_NEW SAP ABAP Report - Reset PAYFLG (Cleared Invoices)







RFFMDLPF_NEW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for As a rule, completely converted invoices are flagged with the indicator PAYFLAG = 'X' so that they are no longer selected from the payment selection (program RFFMS200)...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 RFFMDLPF_NEW 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

FM_DLPF - Reconstruct Document Bundle


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


Text pool values


Reset PAYFLG and Delete Reduction and Payment Records
Selection Text: P_BUKRS = D .
Selection Text: SO_BELNR = FI Invoice Number
Selection Text: P_TEST = Test Run
Selection Text: P_SINGLE = Single Document
Selection Text: P_S200 = Incl. Payment Selection
Selection Text: P_PAYFL = Only delete payflag
Selection Text: P_NOPBET = Ignore PBET
Selection Text: P_GJAHR = FI fiscal year
Selection Text: P_DELETE = Delete reduction/payt records
Selection Text: P_BUNDLE = Complete document lot
Selection Text: P_AUSWHL = select records for deletion
Title: Reset PAYFLG (Cleared Invoices)
Text Symbol: 099 = Doc. selctn
Text Symbol: 100 = CC Inv.
Text Symbol: 101 = Doc.No.I
Text Symbol: 102 = FY Inv.
Text Symbol: 103 = CC Pymt
Text Symbol: 104 = DocNr Py
Text Symbol: 105 = FY Pymt
Text Symbol: 106 = CPU Date
Text Symbol: 107 = FM FY
Text Symbol: 108 = Status
Text Symbol: 110 = Docs to be processed
Text Symbol: 120 = Control
Text Symbol: 130 = Processing Type
Text Symbol: 300 = Documents that must be processed using RFFMR200 (old scenario)
Text Symbol: 002 = No Documents were Selected
Text Symbol: 003 = Payflag Removed for the Following Records:
Text Symbol: 004 = Following records were deleted
Text Symbol: 005 = The following records can be deleted:
Text Symbol: 006 = Deleted
Text Symbol: 007 = (Test Run)
Text Symbol: 008 = (Updt.Run)
Text Symbol: 009 = Can be deleted
Text Symbol: 010 = No documents were changed.
Text Symbol: 011 = These documents were reconstructed:
Text Symbol: 012 = Payment selection log:





Text Symbol: 020 = CoCde
Text Symbol: 021 = Invoice
Text Symbol: 022 = FYear
Text Symbol: 023 = Ledg.
Text Symbol: 024 = Vtype
Text Symbol: 025 = AmtTy
Text Symbol: 026 = Oper.
Text Symbol: 027 = FM YR
Text Symbol: 028 = FMAr. Amt
Text Symbol: 029 = Payments
Text Symbol: 030 = PF
Text Symbol: 031 = Pstg Date
Text Symbol: 032 = Update Dte
Text Symbol: 051 = Amount TCurr
Text Symbol: 052 = TCrcy
Text Symbol: 053 = Amount LCurr


INCLUDES used within this REPORT RFFMDLPF_NEW

FM_RFFMS200_DATA.


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:

FMCA_GET_INIT_INFO CALL FUNCTION 'FMCA_GET_INIT_INFO' EXPORTING i_bukrs = p_bukrs CHANGING c_f_control_data = g_t_control_data.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = g_t_control_data-fikrs i_actvt = fmau_ac_ini i_msgty = 'E'.

FM_PAYTR_GET_GLOBAL_DATA CALL FUNCTION 'FM_PAYTR_GET_GLOBAL_DATA' TABLES t_ledger = l_t_ledger t_header = l_t_header t_control_data = l_t_control_data.

OUTBOUND_CALL_00101133_P CALL FUNCTION 'OUTBOUND_CALL_00101133_P' EXPORTING i_chgtype = 'D' i_origin = 'RFFMDLPF DELETE_REDU_AND_PAYED' i_data_complete = 'X' TABLES t_fmifiit = c_t_delete.

FM_CONVERT_SIGN_FI CALL FUNCTION 'FM_CONVERT_SIGN_FI' TABLES t_fmifiit = c_t_delete.

FM_FUNDS_CALL_RIB_FI CALL FUNCTION 'FM_FUNDS_CALL_RIB_FI' EXPORTING i_vorgn = c_t_delete-vrgng TABLES t_fmifiit_del = c_t_delete.

FM_FUNDS_CALL_RIB_POST CALL FUNCTION 'FM_FUNDS_CALL_RIB_POST' EXPORTING i_refbn = c_t_delete-knbelnr.

FM_TOTALS_UPDATE_FI CALL FUNCTION 'FM_TOTALS_UPDATE_FI' TABLES t_fmifiit = l_t_dummy t_fmifiit_del = c_t_delete.

FM_CONVERT_SIGN_FI CALL FUNCTION 'FM_CONVERT_SIGN_FI' TABLES t_fmifiit = c_t_delete.

FM_PAYMENT_PROFILE_CHECK CALL FUNCTION 'FM_PAYMENT_PROFILE_CHECK' EXPORTING i_bukrs = u_bukrs IMPORTING e_flg_active = l_flg_pay_active.






FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = l_t_bseg-bukrs IMPORTING e_fikrs = l_fikrs.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING ip_fikrs = l_fikrs ip_gjahr = l_t_bseg-gjahr ip_fipos = l_t_bseg-fipos IMPORTING f_fmfpo = l_f_fmfpo.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = l_t_rebuild_list EXCEPTIONS not_found = 1 OTHERS = 2.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' TABLES listobject = c_rebuild_list.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = c_s200_list EXCEPTIONS not_found = 1 OTHERS = 2.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' TABLES listobject = c_s200_list.

FMUDBSEGH_RC CALL FUNCTION 'FMUDBSEGH_RC' EXPORTING ip_fikrs = l_t_fm_items-fikrs ip_recovery_order = l_f_recovery_order.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = l_pf_status i_callback_user_command = 'USER_COMMAND' i_grid_title = g_grid_title is_layout = g_f_layout it_fieldcat = g_t_fieldcat_docs i_default = 'X' i_save = 'A' is_variant = g_f_variant is_print = g_f_print i_html_height_top = g_height_top TABLES t_outtab = g_t_display_del EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_top_of_page = 'TOP_OF_LIST' i_callback_html_top_of_page = 'HTML_TOP_OF_LIST' i_grid_title = g_grid_title is_layout = g_f_layout it_fieldcat = g_t_fieldcat_docs i_default = 'X' i_save = 'A' is_variant = g_f_variant is_print = g_f_print i_html_height_top = g_height_top TABLES t_outtab = g_t_display_del EXCEPTIONS program_error = 1 OTHERS = 2.



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