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

RFFMKG06 SAP ABAP Report - Expiration Clause: Reversing Deferrals Due







RFFMKG06 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reverse Overdue Deferrals For more information on this program, see the application help on mass reversals of deferrals...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 RFFMKG06 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 RFFMKG06. "Basic submit
SUBMIT RFFMKG06 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMKG06 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_PSORNF = Net due date freely selectbl.
Selection Text: P_PSORNB = Posting date
Selection Text: P_PSORNA = From oldest document
Selection Text: PSOSTO = New due date
Selection Text: NUMBR = Number of documents due
Selection Text: LIFNR = Vendor
Selection Text: KUNNR = Customer
Selection Text: FAEDT = Net due date
Selection Text: FACID = Factory Cal.ID
Selection Text: BUKRS = Company code
Title: Expiration Clause: Reversing Deferrals Due
Text Symbol: 030 = Retro. due dte for net pymt
Text Symbol: 020 = Subseq. posting details
Text Symbol: 010 = Selections
Text Symbol: 001 = Reverse Deferral Request


INCLUDES used within this REPORT RFFMKG06

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_wfitem = wf_witem "parameter of RKASMAWF i_wflist = wf_wlist "parameter of RKASMAWF IMPORTING e_f_schedman_key = g_f_schedman_key.

FI_PSO_BLART_FROM_PSOTY_GET CALL FUNCTION 'FI_PSO_BLART_FROM_PSOTY_GET' EXPORTING i_psoty = '06' TABLES t_pso41 = l_t_pso41.

NET_DUE_DATE_GET CALL FUNCTION 'NET_DUE_DATE_GET' EXPORTING i_zfbdt = l_t_doc_all-zfbdt i_zbd1t = l_t_doc_all-zbd1t i_zbd2t = l_t_doc_all-zbd2t i_zbd3t = l_t_doc_all-zbd3t i_shkzg = 'S' "dummy i_rebzg = l_rebzg_dummy IMPORTING e_faedt = l_faedt.

FI_PSO_PSOWF_FILL CALL FUNCTION 'FI_PSO_PSOWF_FILL' TABLES t_psowf = l_t_psowf t_fikey = l_t_fikey.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_progn i_callback_pf_status_set = 'SET_SEL_STATUS' i_callback_user_command = 'LIST_REACTION' is_layout = l_f_layout it_fieldcat = l_t_fieldcat i_save = 'A' IMPORTING * E_EXIT_CAUSED_BY_CALLER = es_exit_caused_by_user = l_exit TABLES t_outtab = l_t_lotkz.

FI_PSO_DISPLAY CALL FUNCTION 'FI_PSO_DISPLAY' EXPORTING i_lotkz = l_t_lotkz-lotkz i_compy = l_t_lotkz-bukrs i_psotyp = '06' EXCEPTIONS unknown_type = 1 cancelled = 2 exit_all = 3 data_missing = 4 OTHERS = 5.

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.

FI_PSO_STUNDUNG_REVERSAL CALL FUNCTION 'FI_PSO_STUNDUNG_REVERSAL' EXPORTING i_psosto = psosto-low i_facid = facid-low i_bukrs = l_t_lotkz-bukrs i_lotkz = l_t_lotkz-lotkz i_gjahr = l_t_lotkz-gjahr i_psornf = p_psornf i_psorna = p_psorna i_psornb = p_psornb i_psorno = p_psorno i_budat = budat-low i_monat = monat-low i_blart = blart-low TABLES e_t_pso = l_t_pso e_t_item = l_t_item e_t_pssec = l_t_pssec e_t_pso_mass = l_t_pso_mass EXCEPTIONS error_message = 1.

FM_FMPSO_MASS_REVERSAL_CREATE CALL FUNCTION 'FM_FMPSO_MASS_REVERSAL_CREATE' IMPORTING e_bukrs = l_bukrs e_gjahr = l_gjahr e_lotkz = l_lotkz TABLES u_t_pso = l_t_pso u_t_item = l_t_item u_t_pssec = l_t_pssec u_t_pso_mass = l_t_pso_mass 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

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.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING correct_option = '+' date = l_faedt_early factory_calendar_id = l_t_factory_calendars-ident IMPORTING date = l_faedt_early EXCEPTIONS date_after_range = 3 date_before_range = 4.

FI_PSO_AMOUNT_FOLLOWING_ORDER CALL FUNCTION 'FI_PSO_AMOUNT_FOLLOWING_ORDER' EXPORTING i_bukrs = u_t_pso-bukrs i_lifnr = u_t_pso-lifnr i_kunnr = u_t_pso-kunnr i_rebzg = u_t_pso_mass-belnr i_rebzj = u_t_pso-gjahr i_rebzz = u_t_pso-buzei i_shkzg = u_t_pso-shkzg TABLES e_t_pso02 = l_t_pso4clear.

FM_DOCUMENT_CLEAR CALL FUNCTION 'FM_DOCUMENT_CLEAR' EXPORTING u_bukrs = u_t_pso-bukrs u_budat = u_t_pso-budat u_bldat = u_t_pso-bldat u_koart = u_t_pso-koart u_waers = u_t_pso-waers TABLES u_t_docs4clear = l_t_docs4clear EXCEPTIONS error_message = 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 RFFMKG06 or its description.