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

RFFMS200_BATCH SAP ABAP Report - Payment Selection







RFFMS200_BATCH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Information on this program can be found in the documentation on program 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_BATCH 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 RFFMS200_BATCH. "Basic submit
SUBMIT RFFMS200_BATCH AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMS200_BATCH 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: P_ANZPAR = Number of Parallel. Spec.Procs
Selection Text: P_BISDOC = FI Document Number
Selection Text: P_ERR = Display Errors Only
Selection Text: P_LISTE = List of converted documents
Selection Text: P_LOPEN = List of open documents
Selection Text: P_PSTDAT = Payment posting date
Selection Text: P_RCDOCS = D .
Selection Text: P_UPD_BL = Post Document
Selection Text: P_VONDOC = FI Document Number
Selection Text: P_BUKRS = D .
Selection Text: P_CC = D .
Selection Text: P_CLEAR = D .
Selection Text: P_DCC = D .
Selection Text: P_DLCLR = D .
Selection Text: P_DLOPEN = D .
Selection Text: P_FIKRS = D .
Selection Text: P_GJAHR = D .
Selection Text: P_OPEN = D .
Selection Text: P_TEST = D .
Selection Text: S_BELNR = D .
Selection Text: S_BNS201 = D .
Selection Text: S_BUDAT = D .
Selection Text: S_CPUDT = D .
Selection Text: S_ERFDT = D .
Title: Payment Selection
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: 030 = Create FM documents for paymts with no invoice reference
Text Symbol: 035 = Payments with no invoice ref.
Text Symbol: 040 = Additional document selection
Text Symbol: 045 = Payments with Invoice Ref.
Text Symbol: 050 = Type of documents for processing
Text Symbol: 060 = Database Errors
Text Symbol: 070 = Updating Control
Text Symbol: 100 = Process Control





Text Symbol: 101 = Display Errors Only
Text Symbol: 102 = Also display list of converted documents
Text Symbol: 103 = Also display list of open documents
Text Symbol: 105 = Log
Text Symbol: 110 = Value Restriction
Text Symbol: 210 = No Documents to Transfer
Text Symbol: 300 = Parallel processes executed
Text Symbol: 305 = Interval:
Text Symbol: 310 = Caution! Not all processes could be executed:
Text Symbol: 900 = Program RFFMS200_BATCH is only permitted for the "enhanced function"
Text Symbol: 910 = Parameters for parallel processing not maintained
Text Symbol: 999 = Spec.Processes


INCLUDES used within this REPORT RFFMS200_BATCH

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:

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_f_fm01d-fm_dp_dit 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_f_fm01d-fm_dp_dit 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.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING copies = 1 list_name = 'RFFMS200' list_text = l_name layout = 'X_65_132' mode = 'CURRENT' " Hinweis 973631 no_dialog = 'X' IMPORTING out_parameters = l_pri_param "Hinweis 973631 out_archive_parameters = l_arc_param "Hinweis 973631 valid = l_valid.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_job IMPORTING jobcount = l_jobnr.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = l_job jobcount = l_jobnr strtimmed = con_on recipient_obj = recipient.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

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_fikrs = l_t_fikrs-fikrs ip_application_data = con_on ip_applc = applc_ca IMPORTING f_fm01d = l_f_fm01d.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING * EVENTID = * EVENTPARM = * EXTERNAL_PROGRAM_ACTIVE = jobcount = my_count jobname = my_name * STEPCOUNT = EXCEPTIONS no_runtime_info = 1 OTHERS = 2.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = my_count job_read_jobname = my_name job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = jobhead * JOBLOG_ATTRIBUTES = * TABLES * JOB_READ_STEPLIST = * SPOOL_ATTRIBUTES = * CHANGING * RET = EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4 .








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