SAP Reports / Programs

RFFMED_DRILLDOWN SAP ABAP Report - Search Entry Document







RFFMED_DRILLDOWN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Using this report, you can access and display entry documents from a selection list...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 RFFMED_DRILLDOWN 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

FMEDDW - Drilldown for Budget Entry Documents


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 RFFMED_DRILLDOWN. "Basic submit
SUBMIT RFFMED_DRILLDOWN AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMED_DRILLDOWN 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: S_BUDPER = D .
Selection Text: S_BUDTYP = D .
Selection Text: S_CHGDAT = D .
Selection Text: S_CHGUSR = D .
Selection Text: S_CMMT = D .
Selection Text: S_CRTDAT = D .
Selection Text: S_CRTUSR = D .
Selection Text: S_CSHYR = D .
Selection Text: S_DFAM = D .
Selection Text: S_DOCDAT = D .
Selection Text: S_DOCLN = D .
Selection Text: S_DOCNR = D .
Selection Text: S_DOCSTA = D .
Selection Text: S_DOCTYP = D .
Selection Text: S_FCTR = D .
Selection Text: S_FUNC = D .
Selection Text: S_FUND = D .
Selection Text: S_GRANT = D .
Selection Text: S_MEAS = D .
Selection Text: S_PERIOD = D .
Selection Text: S_PROCES = D .
Selection Text: S_REAREV = D .
Selection Text: S_RESP = D .
Selection Text: S_REVSTA = D .
Selection Text: S_TECH = D .
Selection Text: S_TXTNAM = D .
Selection Text: S_USD = D .
Selection Text: S_VALTYP = D .
Selection Text: S_VERS = D .
Selection Text: S_YEAR = D .
Selection Text: S_BUDCAT = D .
Selection Text: P_VARI = D .
Selection Text: P_SIGNUI = Convert sign to user interface
Selection Text: P_FMAREA = D .
Title: Search Entry Document
Text Symbol: 001 = Posted
Text Symbol: 002 = Preposted
Text Symbol: 003 = Preposted Posted





Text Symbol: 004 = Undone
Text Symbol: 005 = Normal
Text Symbol: 006 = Reversed
Text Symbol: 007 = Reversal
Text Symbol: 008 = To Be Reversed
Text Symbol: 009 = Document Status
Text Symbol: 010 = Reversal Status
Text Symbol: 011 = Entry Document
Text Symbol: 012 = Budget Type
Text Symbol: 013 = Process
Text Symbol: 014 = Layout Selection
Text Symbol: 015 = Reversal Reason
Text Symbol: E01 = Localization fields
Text Symbol: E02 = active
Text Symbol: L01 = FM area
Text Symbol: L02 = Budget Category
Text Symbol: L03 = Currency
Text Symbol: P01 = Select single ledger
Text Symbol: P02 = Ledger
Text Symbol: P03 = Ledger Text
Text Symbol: P04 = Record Type
Text Symbol: P05 = Description


INCLUDES used within this REPORT RFFMED_DRILLDOWN

INCLUDE IBUKUCON.
INCLUDE LFMKU_AUTHORITY_CHECKEQU.
INCLUDE IFMKU_DRILLDOWN_TOP.
INCLUDE IFMED_DRILLDOWN_TOP.
INCLUDE IFMKU_POPUP0100_PBO.
INCLUDE IFMKU_POPUP0200_PBO.
INCLUDE IFMKU_POPUP0300_PBO.
INCLUDE IFMKU_POPUP0100_PAI.
INCLUDE IFMKU_POPUP0200_PAI.
INCLUDE IFMKU_POPUP0300_PAI.
INCLUDE IFMBS_LDNR_SELECTION_FOR_MP.
INCLUDE IFMKU_DRILLDOWN_PBO.
INCLUDE IFMKU_DRILLDOWN_PAI.


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:

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = p_fmarea IMPORTING f_fm01 = l_f_fm01 EXCEPTIONS OTHERS = 1.






BUKU_CHECK_BUDCAT CALL FUNCTION 'BUKU_CHECK_BUDCAT' EXPORTING i_budcat = s_budcat-low EXCEPTIONS OTHERS = 1.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = l_tabname_extension TABLES dfies_tab = l_t_dfies EXCEPTIONS not_found = 0 OTHERS = 0.

FMKU_GET_REVERSAL_FACTOR CALL FUNCTION 'FMKU_GET_REVERSAL_FACTOR' EXPORTING i_fm_area = g_f_entry_doc-fm_area i_process = con_dummy_process i_ctem_category = g_f_entry_doc-ctem_category IMPORTING e_reversal_factor = g_reversal_factor.

FMAVC_CHECK_ALDNR_FOR_FM CALL FUNCTION 'FMAVC_CHECK_ALDNR_FOR_FM' EXPORTING i_aldnr = g_aldnr EXCEPTIONS no_avc_ledger = 1 no_fm_ledger = 2 OTHERS = 3.

FMAVC_GET_FILTER_SETTINGS_BUD CALL FUNCTION 'FMAVC_GET_FILTER_SETTINGS_BUD' EXPORTING i_aldnr = g_aldnr i_arcty = l_arcty i_fm_area = l_f_budget_item-fm_area i_fiscyear = l_f_budget_item-fiscyear IMPORTING e_s_filter_header = l_f_avc_filter_header EXCEPTIONS OTHERS = 1.

FMAVC_DERI_CONTROL_OBJECT CALL FUNCTION 'FMAVC_DERI_CONTROL_OBJECT' EXPORTING i_fm_area = l_f_budget_item-fm_area i_fiscyear = l_f_budget_item-fiscyear i_s_address = l_f_budget_item-address i_sldnr = l_f_budget_item-budcat i_aldnr = g_aldnr i_flg_posting_object = space i_flg_upd_idx = space i_flg_bypass_idx = space IMPORTING e_s_aco_address = l_f_aco_object e_flg_cover_eligibility = l_flg_ce EXCEPTIONS OTHERS = 1.

FMCU_CHECK_BUDTYPE CALL FUNCTION 'FMCU_CHECK_BUDTYPE' EXPORTING i_fm_area = l_f_budget_line-fm_area i_valtype = l_f_budget_line-valtype i_budtype = l_f_budget_line-budtype IMPORTING e_flg_eligibility = l_flg_eligible EXCEPTIONS OTHERS = 1.

FMAVC_ASSIGN_CEFFYEAR_AVC CALL FUNCTION 'FMAVC_ASSIGN_CEFFYEAR_AVC' EXPORTING i_fm_area = l_f_budget_item-fm_area i_aldnr = g_aldnr i_fiscyear = l_f_budget_item-fiscyear i_ceffyear = l_f_budget_item-ceffyear i_bldnr = l_f_budget_item-budcat IMPORTING e_ceffyear_avc = l_ceffyear EXCEPTIONS OTHERS = 1.

FMAVC_ASSIGN_CEFFYEAR_AVC CALL FUNCTION 'FMAVC_ASSIGN_CEFFYEAR_AVC' EXPORTING i_fm_area = -fm_area i_aldnr = g_aldnr i_fiscyear = -fiscyear i_ceffyear = -ceffyear i_bldnr = -budcat IMPORTING e_ceffyear_avc = l_ceffyear_line EXCEPTIONS OTHERS = 1.

FMBAS_MOVE_FMBL_TO_BUD_LINE CALL FUNCTION 'FMBAS_MOVE_FMBL_TO_BUD_LINE' EXPORTING i_s_fmbh = l_s_fmbh i_s_fmbl = i_flg_reverse_sign = 'X' IMPORTING e_s_budget_line = l_f_budget_line.

FMAVC_APPLY_BUDGET_FILTER_BADI CALL FUNCTION 'FMAVC_APPLY_BUDGET_FILTER_BADI' EXPORTING i_aldnr = g_aldnr i_arcty = l_arcty CHANGING c_budget_item = l_f_budget_line EXCEPTIONS no_entry_found = 1 record_not_matching = 2 OTHERS = 3.

FMAVC_DERI_CONTROL_OBJECT CALL FUNCTION 'FMAVC_DERI_CONTROL_OBJECT' EXPORTING i_fm_area = -fm_area i_fiscyear = -fiscyear i_s_address = l_f_budget_line-address i_sldnr = -budcat i_aldnr = g_aldnr i_flg_posting_object = space i_flg_upd_idx = space i_flg_bypass_idx = space IMPORTING e_s_aco_address = l_f_aco_object_line EXCEPTIONS OTHERS = 1.

FMCU_CHECK_BUDTYPE CALL FUNCTION 'FMCU_CHECK_BUDTYPE' EXPORTING i_fm_area = -fm_area i_valtype = -valtype i_budtype = -budtype IMPORTING e_flg_eligibility = l_flg_eligible_line EXCEPTIONS OTHERS = 1.

FMKU_VALXX_PER_SUM CALL FUNCTION 'FMKU_VALXX_PER_SUM' EXPORTING i_t_valxx = l_t_values IMPORTING e_s_val = l_annual_amount EXCEPTIONS OTHERS = 1.

FMAVC_APPLY_BUDGET_FILTER_BADI CALL FUNCTION 'FMAVC_APPLY_BUDGET_FILTER_BADI' EXPORTING i_aldnr = g_aldnr i_arcty = g_rrcty_choice * I_CONTROL_OBJECT = * IMPORTING * E_FLG_VALUES_CHANGED = CHANGING c_budget_item = l_f_budget_item EXCEPTIONS no_entry_found = 1 record_not_matching = 2 OTHERS = 3.

FMRB_READ_ALL_RIB_DOCS CALL FUNCTION 'FMRB_READ_ALL_RIB_DOCS' EXPORTING i_fm_area = p_fmarea i_fiscyear = ls_year-low i_bldnr = ls_budcat-low i_ldnr = l_ldnr i_s_sender_address = l_s_sender TABLES e_t_fmbh = l_t_fmbh EXCEPTIONS OTHERS = 1.

FMRB_APPLY_FILTER_BUDGET_DATA CALL FUNCTION 'FMRB_APPLY_FILTER_BUDGET_DATA' EXPORTING i_rib_ledger = g_rib_ledger i_s_budget_line = l_f_budget_item * I_FLG_ONLY_REF_BUDGET = ' ' * I_FLG_ONLY_DISTR_BUDGET = ' ' * I_SRC_LEDGER1 = * I_SRC_LEDGER3 = EXCEPTIONS record_not_matching = 1 customizing_error = 2 OTHERS = 3.

FMCU_CHECK_BUDTYPE CALL FUNCTION 'FMCU_CHECK_BUDTYPE' EXPORTING i_fm_area = g_f_document-fm_area i_valtype = g_f_document-valtype i_budtype = g_f_document-budtype IMPORTING e_budtype_txt = g_budtype_txt EXCEPTIONS OTHERS = 2.

BUKU_CHECK_PROCESS CALL FUNCTION 'BUKU_CHECK_PROCESS' EXPORTING i_process = g_f_document-process i_flg_text = con_on IMPORTING e_f_processt = g_f_processt EXCEPTIONS OTHERS = 2.

FMREV_READ_REVERSAL_REASON



CALL FUNCTION 'FMREV_READ_REVERSAL_REASON' EXPORTING i_reason_rev = g_f_document-reason_rev IMPORTING e_text = g_f_document-reason_rev_text.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FMED_S_DRILLDOWN' i_bypassing_buffer = con_on CHANGING ct_fieldcat = c_field_catalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FMED_S_CI_FMBL' i_bypassing_buffer = con_on CHANGING ct_fieldcat = l_t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.



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