SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMS200 SAP ABAP Report - Payment selection







RFFMS200 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Payment Selection This program updates payments posted in Funds Management (FM) in Financial Accounting...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 RFFMS200 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

FMF0 - Payment Selection


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


Text pool values


Payments with no invoice ref.
Selection Text: S_ERFDT = D .
Selection Text: S_CPUDT = D .
Selection Text: S_BUDAT = D .
Selection Text: S_BNS201 = D .
Selection Text: S_BELNR = D .
Selection Text: P_TEST = D .
Selection Text: P_RCDOCS = D .
Selection Text: P_PSTDAT = D .
Selection Text: P_OPEN = D .
Selection Text: P_GJAHR = D .
Selection Text: P_FIKRS = D .
Selection Text: P_DLOPEN = D .
Selection Text: P_DLCLR = D .
Selection Text: P_DCC = D .
Selection Text: P_CLEAR = D .
Selection Text: P_CC = D .
Selection Text: P_BUKRS = D .
Selection Text: P_UPD_BL = Post Budgetary Ledger
Selection Text: P_LOPEN = List of open documents
Selection Text: P_LISTE = List of converted documents
Selection Text: P_ERR = Display errors only
Title: Payment selection
Text Symbol: 320 = Processes successfully executed
Text Symbol: 311 = Technical Errors during RFC Execution
Text Symbol: 310 = Caution! Not all processes could be executed:
Text Symbol: 305 = Interval:
Text Symbol: 300 = Parallel processes executed
Text Symbol: 110 = Value Restriction
Text Symbol: 105 = Log
Text Symbol: 103 = Also display list of open documents
Text Symbol: 102 = Also display list of converted documents
Text Symbol: 101 = Display errors only
Text Symbol: 100 = Process Control
Text Symbol: 070 = Updating Control
Text Symbol: 050 = Type of documents for processing
Text Symbol: 045 = Payments with invoice ref.
Text Symbol: 040 = Additional document selection





Text Symbol: 035 = Payments with no invoice ref.
Text Symbol: 013 = FM Fiscal Year
Text Symbol: 012 = FI fiscal year
Text Symbol: 011 = Selection Using Company Code
Text Symbol: 010 = Selection Using FM Area


INCLUDES used within this REPORT RFFMS200

FM_RFFMS200_DATA,
FM_RFFMS201_DATA.
INCLUDE RKASMAWF.


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:

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = 'RFFMS200' i_tcode = 'FMF0' i_wfitem = wf_witem i_wflist = wf_wlist i_flg_test = p_test IMPORTING e_f_schedman_key = g_f_schedman_key.

FM_PAYTR_ENQUEUE_S200P CALL FUNCTION 'FM_PAYTR_ENQUEUE_S200P' EXPORTING u_anz_paral = anz_paral.

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_dp_dit = g_param-80_90 i_rc_docs = p_rcdocs TABLES t_fi_keys = g_t_fi_keys t_belnr = s_belnr t_fi_keys_dp = g_t_fi_keys_dp.

FM_PAYTR_READ_DOCUMENT_KEYS_FI CALL FUNCTION 'FM_PAYTR_READ_DOCUMENT_KEYS_FI' EXPORTING i_bukrs = p_bukrs i_gjahr = p_gjahr i_dp_dit = g_param-80_90 TABLES t_fi_keys = g_t_fi_keys t_erfdt = s_erfdt t_belnr = s_belnr t_fi_keys_dp = g_t_fi_keys_dp.

FM_GET_PREDELIVERY_ACTIVATION CALL FUNCTION 'FM_GET_PREDELIVERY_ACTIVATION' EXPORTING i_predelivery = con_pwoc_active CHANGING c_active = l_flg_pwoc_active.

FM_PAYTR_CALL_S200_PARALLEL CALL FUNCTION 'FM_PAYTR_CALL_S200_PARALLEL' TABLES t_fi_keys = g_t_fi_keys t_fi_keys_dp = g_t_fi_keys_dp t_transfer = g_t_transfer t_transfer_docs = g_t_transfer_docs t_invoices_print = g_t_invoices_print t_docs_new = g_t_docs_new t_docs_rev = g_t_docs_rev t_param = g_param t_bukrs_data = g_t_bukrs_data t_mesg = g_t_mesg.

FM_PAYTR_CALL_S200_PARALLEL CALL FUNCTION 'FM_PAYTR_CALL_S200_PARALLEL' "#EC ENHOK STARTING NEW TASK g_t_task-task DESTINATION IN GROUP rfc_dest PERFORMING return_info ON END OF TASK TABLES t_fi_keys = g_t_fi_keys_part t_fi_keys_dp = g_t_fi_keys_dp t_transfer = l_t_transfer t_transfer_docs = l_t_transfer_docs t_invoices_print = l_t_invoices_print t_docs_new = l_t_docs_new t_docs_rev = l_t_docs_rev t_param = g_param t_bukrs_data = l_t_bukrs_data t_mesg = l_t_mesg EXCEPTIONS system_failure = 1 MESSAGE rfc_err communication_failure = 2 MESSAGE rfc_err resource_failure = 3 OTHERS = 4.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FM_PAYTR_CALL_S201 CALL FUNCTION 'FM_PAYTR_CALL_S201' EXPORTING i_gjahr = g_t_s201_org-gjahr i_bukrs = g_t_s201_org-bukrs i_cpudt = p_ccpudt i_open = p_open i_clear = p_clear i_cc = p_cc i_dlopen = p_dlopen i_dlclr = p_dlclr i_dcc = p_dcc i_test = p_test i_pstdat = p_pstdat i_s200 = g_flg_ak_paym_fiar i_liste = g_liste_s201 TABLES t_belnr = s_bns201 t_budat = s_budat t_cpudt = s_cpudt t_mesg = g_t_mesg_s201.

FM_PAYTR_DISPLAY_DOCUMENTS_ALV CALL FUNCTION 'FM_PAYTR_DISPLAY_DOCUMENTS_ALV' EXPORTING i_liste = p_liste i_lopen = p_lopen i_test = p_test i_hhm_sel = p_hhm i_fikrs = p_fikrs i_bukrs = p_bukrs i_gjahr = p_gjahr i_fiar = g_flg_ak_paym_fiar IMPORTING e_cnt_transfer = g_cnt_transfer TABLES t_transfer_docs = g_t_transfer_docs t_invoices_print = g_t_invoices_print t_belnr = s_belnr t_bukrs_data = g_t_bukrs_data t_docs_new = g_t_docs_new t_docs_rev = g_t_docs_rev t_mesg = g_t_mesg.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = l_s200_list EXCEPTIONS not_found = 1.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' TABLES listobject = l_s200_list.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key i_wfitem = wf_witem i_wfokey = wf_okey i_aplstat = g_aplstat i_cnt_obj = g_cnt_transfer.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = l_t_fikrs-fikrs ip_application_data = con_on ip_applc = applc_ca IMPORTING f_fm01d = l_f_fm01d.

FI_COMPANY_CODE_DATA





CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = u_bukrs.

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

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

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_application_data = con_on ip_applc = applc_ca ip_fikrs = c_fikrs IMPORTING f_fm01d = c_f_fm01d.

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

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_application_data = con_on ip_applc = applc_ca ip_fikrs = u_fikrs IMPORTING f_fm01d = l_f_fm01d.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

FM_LEDGER_CHECK_ACTIVE CALL FUNCTION 'FM_LEDGER_CHECK_ACTIVE' EXPORTING i_fm_area = l_t_fikrs-fikrs IMPORTING e_flg_active = c_flg_upd_bl.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = l_t_fikrs-fikrs ip_application_data = con_on ip_applc = applc_ca IMPORTING f_fm01d = l_f_fm01d.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = l_f_layout it_fieldcat = l_t_fieldcat * IT_EVENTS = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = lt_output.



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