SAP Reports / Programs

RFFMSCHECK_OPEN_FM_INVOICE SAP ABAP Report - Check whether there are still open invoices in the old FM year







RFFMSCHECK_OPEN_FM_INVOICE 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 RFFMSCHECK_OPEN_FM_INVOICE 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 RFFMSCHECK_OPEN_FM_INVOICE. "Basic submit
SUBMIT RFFMSCHECK_OPEN_FM_INVOICE AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMSCHECK_OPEN_FM_INVOICE 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: P_AHHGJ = Current FM Fiscal Year
Selection Text: P_GJAHR = FM Fiscal Year
Selection Text: P_BUKRS = D .
Selection Text: P_FIKRS = D .
Selection Text: SO_BELNR = D .
Title: Check whether there are still open invoices in the old FM year
Text Symbol: 010 = Selection Using FM Area
Text Symbol: 011 = Selection Using Company Code
Text Symbol: 012 = FI fiscal year
Text Symbol: 013 = FM Fiscal Year
Text Symbol: 020 = CCode
Text Symbol: 021 = Doc.no.
Text Symbol: 022 = FisYr
Text Symbol: 032 = No Incorect Documents Found
Text Symbol: 033 = Docs with errors


INCLUDES used within this REPORT RFFMSCHECK_OPEN_FM_INVOICE

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:

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = p_bukrs IMPORTING e_fikrs = p_fikrs.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_application_data = con_on ip_applc = applc_ca ip_fikrs = p_fikrs IMPORTING f_fm01d = g_f_fm01d.

FM_PAYTR_READ_DOCUMENT_KEYS_FM CALL FUNCTION 'FM_PAYTR_READ_DOCUMENT_KEYS_FM' EXPORTING i_bukrs = p_bukrs i_fikrs = p_fikrs i_gjahr = p_gjahr i_hhm = p_hhm i_payflg = g_payflg TABLES t_fi_keys = g_t_fi_keys t_belnr = so_belnr.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_grid_title = g_grid_title it_fieldcat = g_t_fieldcat_docs i_default = 'X' is_print = g_f_print TABLES t_outtab = u_t_docs_wrong 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 RFFMSCHECK_OPEN_FM_INVOICE or its description.