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

RFFMKG07 SAP ABAP Report - Create Funds Commitments from Standing Requests







RFFMKG07 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Create funds commitment from standing request If you create a standing request, the program automatically generates a funds commitment for the appropriate current fiscal year...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 RFFMKG07 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

FMPSO002 - Funds Commits.from Standing Rqsts


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 RFFMKG07. "Basic submit
SUBMIT RFFMKG07 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMKG07 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_TESTL = D Test run
Selection Text: LOTKZ = D Request number
Selection Text: GJAHR = D Fiscal year
Selection Text: BUKRS = D Company code
Title: Create Funds Commitments from Standing Requests
Text Symbol: 010 = Selections
Text Symbol: 003 = Fnds Commt from Standing Request
Text Symbol: 002 = Create fnds cmmits for standing requests: Prod. run
Text Symbol: 001 = Create funds commitments for standing requests: Test run


INCLUDES used within this REPORT RFFMKG07

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 = sy-repid "report id i_tcode = 'FMPSO002' "transaction code i_wfitem = wf_witem "parameter of RKASMAWF i_wflist = wf_wlist "parameter of RKASMAWF i_flg_test = p_testl "flag for test mode IMPORTING e_f_schedman_key = g_f_schedman_key.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key "obtained from schedman init i_wfitem = wf_witem "parameter of RKASMAWF i_wfokey = wf_okey "parameter of RKASMAWF i_aplstat = g_aplstat. "result filled

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = g_s_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

FMR2_READ_KBLK CALL FUNCTION 'FMR2_READ_KBLK' EXPORTING i_belnr = g_t_psoseg-kblnr IMPORTING e_kblk = g_t_kblk EXCEPTIONS error_message = 1.

FM_FI_TAX_SET CALL FUNCTION 'FM_FI_TAX_SET' EXPORTING i_reset_all = 'X' TABLES u_t_bset = l_t_bset.

FI_PSO_EARMARKED_FUNDS_CREATE CALL FUNCTION 'FI_PSO_EARMARKED_FUNDS_CREATE' EXPORTING i_check = p_testl i_create = 'X' i_mb_bltyp = g_t_collect_lotkz-mb_bltyp i_mb_blart = g_t_collect_lotkz-mb_blart i_mb_lock = g_t_collect_lotkz-mb_lock i_gjahr = gjahr-low TABLES c_t_pso = l_t_pso c_t_item = l_t_item EXCEPTIONS error_message = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = g_s_display_profile i_t_log_handle = g_t_log_handle EXCEPTIONS OTHERS = 1.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key "obtained from schedman init i_wfitem = wf_witem "parameter of RKASMAWF i_wfokey = wf_okey "parameter of RKASMAWF i_aplstat = g_aplstat. "result filled

FI_PSO_RECURRING_CHANGE_WRITE CALL FUNCTION 'FI_PSO_RECURRING_CHANGE_WRITE' EXPORTING f_pso_old = l_f_pso TABLES t_vbkpf_old = l_t_vbkpf t_vbsec_old = l_t_vbsec t_vbseg_old = l_t_vbseg_old t_vbset_old = l_t_vbset t_pso_new = l_t_pso t_vbkpf_new = l_t_vbkpf t_vbsec_new = l_t_vbsec t_vbseg_new = l_t_vbseg_new t_vbset_new = l_t_vbset EXCEPTIONS error_message = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = l_s_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 RFFMKG07 or its description.