SAP Reports / Programs

RFFMERLK SAP ABAP Report - Complete earmarked funds (items)







RFFMERLK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Complete Earmarked Funds (Line Items) You can use this program to set or reset the completed indicator for all the chosen 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 RFFMERLK 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

FMRE_SERLK - Close Earmarked Funds


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 RFFMERLK. "Basic submit
SUBMIT RFFMERLK AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMERLK 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: SO_GRPNO = D .
Selection Text: SO_GEBER = D .
Selection Text: SO_FISTL = D .
Selection Text: SO_FIPEX = D .
Selection Text: SO_FDATK = D .
Selection Text: SO_BUKRS = D .
Selection Text: SO_BLTYP = D .
Selection Text: SO_BLART = D .
Selection Text: SO_BELNR = D .
Selection Text: P_VARI = D .
Selection Text: SO_BUDPD = D .
Selection Text: P_TEST = Test run
Selection Text: P_SET = Set completion indicator
Selection Text: P_RESET = Undo completion indicator
Selection Text: P_CPLDOC = Close doc. automatically
Title: Complete earmarked funds (items)
Text Symbol: 110 = Process documents
Text Symbol: 100 = Select document by FM acct asst
Text Symbol: 080 = Test run
Text Symbol: 070 = UPDATE
Text Symbol: 030 = Preselect documents
Text Symbol: 020 = Control
Text Symbol: 010 = General document selection


INCLUDES used within this REPORT RFFMERLK

INCLUDE FMREQUAT.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-030.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = g_repid i_callback_pf_status_set = 'ALV_PF_STATUS' i_callback_user_command = 'ALV_USER_COMMAND' * I_STRUCTURE_NAME = is_layout = g_f_layout it_fieldcat = g_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = g_t_sortinfo * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = g_f_variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = g_t_seldata EXCEPTIONS program_error = 1 OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

FMFR_CHANGE_COMPLETION_FLAG CALL FUNCTION 'FMFR_CHANGE_COMPLETION_FLAG' EXPORTING i_flg_commit = space i_flg_checkonly = p_test i_flg_complete_doc = p_cpldoc IMPORTING e_count_success = l_count_success e_count_sethead = l_count_sethead TABLES t_positions = l_t_erlpos EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' IMPORTING max_severity = l_max_severity EXCEPTIONS OTHERS = 1.

FMFR_CHANGE_COMPLETION_FLAG CALL FUNCTION 'FMFR_CHANGE_COMPLETION_FLAG' EXPORTING i_flg_commit = space i_flg_checkonly = p_test i_flg_complete_doc = p_cpldoc IMPORTING e_count_success = l_count_success e_count_sethead = l_count_sethead TABLES t_positions = l_t_erlpos EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' IMPORTING max_severity = l_max_severity EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_re1 text = text-110.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_f_log importing e_log_handle = l_log_handle "note1370269 EXCEPTIONS OTHERS = 1.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = l_t_messages.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'FMR_ALV_ERLK2' TABLES x031l_tab = l_t_fieldinfos.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'FMR_ALV_ERLK1' CHANGING ct_fieldcat = g_t_fieldcat.

READ_NETWORK_NPLNR_VORNR CALL FUNCTION 'READ_NETWORK_NPLNR_VORNR' EXPORTING aplzl = g_t_seldata-aplzl aufpl = g_t_seldata-aufpl IMPORTING nplnr = g_t_seldata-nplnr vornr = g_t_seldata-vornr EXCEPTIONS not_found = 01.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_f_variant i_save = 'A' IMPORTING e_exit = l_flg_exit es_variant = l_f_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = l_f_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE





CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = l_f_variant.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = u_log_handle "note1370269 i_s_msg = l_f_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.



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