SAP Reports / Programs

RFMOAFIX SAP ABAP Report - FMOA Characteristic Derivation: Derivation of Fixed Characteristics







RFMOAFIX is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report contains the definition (FORMS) for each rule from the FM Object Derivation Tool that are defined as type PERFORM...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 RFMOAFIX 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 RFMOAFIX. "Basic submit
SUBMIT RFMOAFIX AND RETURN. "Return to original report after report execution complete
SUBMIT RFMOAFIX VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: FMOA Characteristic Derivation: Derivation of Fixed Characteristics


INCLUDES used within this REPORT RFMOAFIX

INCLUDE LABADRTYP.


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_GET_YEAR_FROM_DATE CALL FUNCTION 'FM_GET_YEAR_FROM_DATE' EXPORTING i_farea = l_fikrs i_date = l_posting_date IMPORTING e_year = l_year EXCEPTIONS applc_not_supported = 1 no_periv = 2.

FM_COM_ITEM_READ CALL FUNCTION 'FM_COM_ITEM_READ' EXPORTING i_fikrs = l_fikrs i_gjahr = l_year i_fipex = l_fipex IMPORTING e_f_fmci = l_fmci EXCEPTIONS master_data_not_found = 1 input_error = 2 OTHERS = 3.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = l_bukrs IMPORTING e_t001 = l_t001 EXCEPTIONS system_error = 1.

READ_SKA1 CALL FUNCTION 'READ_SKA1' EXPORTING xktopl = l_t001-ktopl xsaknr = l_saknr IMPORTING xska1 = l_ska1 EXCEPTIONS key_incomplete = 1 not_authorized = 2 not_found = 3 OTHERS = 4.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING objnr = l_objnr EXCEPTIONS not_found = 1.

FM_CO_ASS_INPUT_GET_NP CALL FUNCTION 'FM_CO_ASS_INPUT_GET_NP' EXPORTING i_aufnr = l_aufnr i_budat = l_budat i_fikrs = l_fikrs IMPORTING e_fistl = l_fistl e_fipos = l_fipos e_fonds = l_fonds e_budget_period = l_budget_pd e_fkber = l_fkber e_grant_nbr = l_grant_nbr e_measure = l_measure EXCEPTIONS no_customizing_found = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_fipos IMPORTING e_fipex = l_fipex EXCEPTIONS input_error = 1 data_not_found = 2.

FM_CO_ASS_INPUT_GET_NV CALL FUNCTION 'FM_CO_ASS_INPUT_GET_NV' EXPORTING i_aufpl = l_aufpl i_aplzl = l_aplzl i_fikrs = l_fikrs i_budat = l_budat IMPORTING e_fistl = l_fistl e_fipos = l_fipos e_fonds = l_fonds e_budget_period = l_budget_pd e_fkber = l_fkber e_grant_nbr = l_grant_nbr e_measure = l_measure EXCEPTIONS no_customizing_found = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_fipos IMPORTING e_fipex = l_fipex EXCEPTIONS input_error = 1 data_not_found = 2.

FM_CO_ASS_INPUT_GET_SD CALL FUNCTION 'FM_CO_ASS_INPUT_GET_SD' EXPORTING i_vbeln = l_vbeln i_posnr = l_posnr i_fikrs = l_fikrs i_budat = l_budat IMPORTING e_fistl = l_fistl e_fipos = l_fipos e_fonds = l_fonds e_budget_period = l_budget_pd e_fkber = l_fkber e_grant_nbr = l_grant_nbr e_measure = l_measure EXCEPTIONS no_customizing_found = 1 assignment_incomplete = 2 not_active = 3 OTHERS = 4.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_fipos IMPORTING e_fipex = l_fipex EXCEPTIONS input_error = 1 data_not_found = 2.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING objnr = l_objnr autyp = l_autyp EXCEPTIONS not_found = 1.

FM_CO_ASS_INPUT_GET_PM CALL FUNCTION 'FM_CO_ASS_INPUT_GET_PM' EXPORTING i_aufnr = l_aufnr i_budat = l_budat i_fikrs = l_fikrs IMPORTING e_fistl = l_fistl e_fipos = l_fipos e_budget_period = l_budget_pd e_fonds = l_fonds e_fkber = l_fkber e_grant_nbr = l_grant_nbr e_measure = l_measure EXCEPTIONS no_customizing_found = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_fipos IMPORTING e_fipex = l_fipex EXCEPTIONS input_error = 1 data_not_found = 2.

AMIN_COST_OBJECTS_GET CALL FUNCTION 'AMIN_COST_OBJECTS_GET' EXPORTING i_budat = l_budat i_anln1 = l_anln1 i_anln2 = l_anln2 i_bukrs = l_bukrs IMPORTING e_caufn = l_caufn EXCEPTIONS not_found = 1.

AMIN_COST_OBJECTS_GET CALL FUNCTION 'AMIN_COST_OBJECTS_GET' EXPORTING i_budat = l_budat i_anln1 = l_anln1 i_anln2 = l_anln2 i_bukrs = l_bukrs IMPORTING e_eaufn = l_eaufn EXCEPTIONS not_found = 1.

AMIN_COST_OBJECTS_GET CALL FUNCTION 'AMIN_COST_OBJECTS_GET' EXPORTING i_budat = l_budat i_anln1 = l_anln1 i_anln2 = l_anln2 i_bukrs = l_bukrs IMPORTING e_posnr = l_posnr EXCEPTIONS not_found = 1.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING edit_imp = ' ' int_num = l_posnr IMPORTING ext_num = l_posid.

AMIN_COST_OBJECTS_GET





CALL FUNCTION 'AMIN_COST_OBJECTS_GET' EXPORTING i_budat = l_budat i_anln1 = l_anln1 i_anln2 = l_anln2 i_bukrs = l_bukrs IMPORTING e_kostlv = l_kostlv EXCEPTIONS not_found = 1.

AMIN_COST_OBJECTS_GET CALL FUNCTION 'AMIN_COST_OBJECTS_GET' EXPORTING i_budat = l_budat i_anln1 = l_anln1 i_anln2 = l_anln2 i_bukrs = l_bukrs IMPORTING e_kostl = l_kostl EXCEPTIONS not_found = 1.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING kostl = l_kostl EXCEPTIONS not_found = 1 OTHERS = 2.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING i_aufkv = l_aufkv EXCEPTIONS not_found = 1 OTHERS = 2.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING i_aufkv = l_aufkv EXCEPTIONS not_found = 1 OTHERS = 2.

K_AUFK_READ CALL FUNCTION 'K_AUFK_READ' EXPORTING i_aufnr = l_aufnr i_no_buffer_read = ' ' i_no_database_read = ' ' IMPORTING e_aufk = l_aufk EXCEPTIONS not_found = 1 OTHERS = 2.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING edit_imp = ' ' int_num = l_aufk-pspel IMPORTING ext_num = l_posid.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING prctr = l_prctr EXCEPTIONS not_found = 1 OTHERS = 2.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufkv-aufnr IMPORTING i_aufkv = l_aufkv EXCEPTIONS not_found = 1 OTHERS = 2.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_posid = l_prps-posid NO_BUFFER = 'X' IMPORTING e_prps = l_prps EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_posid = l_prps-posid NO_BUFFER = 'X' IMPORTING e_prps = l_prps EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_posid = l_prps-posid NO_BUFFER = 'X' IMPORTING e_prps = l_prps EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_posid = l_prps-posid NO_BUFFER = 'X' IMPORTING e_prps = l_prps EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

FM_GET_YEAR_FROM_DATE CALL FUNCTION 'FM_GET_YEAR_FROM_DATE' EXPORTING i_bukrs = l_bukrs i_date = l_posting_date IMPORTING e_year = l_year EXCEPTIONS applc_not_supported = 1 no_periv = 2.

FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING i_bukrs = l_bukrs i_saknr = l_saknr i_flg_buffer_all = space i_gjahr = l_year IMPORTING e_fipos = l_fipos EXCEPTIONS fipos_data_not_found = 1 no_account_found = 2 no_fipos_found = 3 OTHERS = 4.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_fipos IMPORTING e_fipex = l_fipex EXCEPTIONS input_error = 1 data_not_found = 2.

FM_FIPOS_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_GET_FROM_FIPEX' EXPORTING i_fipex = l_fipex IMPORTING e_fipos = l_fipos EXCEPTIONS input_error = 1 data_not_found = 2.

FM_GET_YEAR_FROM_DATE CALL FUNCTION 'FM_GET_YEAR_FROM_DATE' EXPORTING i_farea = l_fikrs i_date = l_posting_date IMPORTING e_year = l_year EXCEPTIONS applc_not_supported = 1 no_periv = 2.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING ip_gjahr = l_year ip_fikrs = l_fikrs ip_fipos = l_fipos ip_flg_buffer_all = space IMPORTING f_fmfpo = l_fmfpo EXCEPTIONS error_message = 1.

FM_GET_YEAR_FROM_DATE CALL FUNCTION 'FM_GET_YEAR_FROM_DATE' EXPORTING i_farea = l_fikrs i_date = l_posting_date IMPORTING e_year = l_year EXCEPTIONS applc_not_supported = 1 no_periv = 2.




FMFCTR_READ_QUICK CALL FUNCTION 'FMFCTR_READ_QUICK' EXPORTING ip_gjahr = l_year ip_fictr = l_fistl ip_fikrs = l_fikrs ip_flg_buffer_all = space IMPORTING f_fmfctr = l_fmfctr EXCEPTIONS error_message = 1.

RK_KOSTL_READ CALL FUNCTION 'RK_KOSTL_READ' EXPORTING datum = l_posting_date kokrs = l_kokrs kostl = l_kostl IMPORTING xcsksv = l_csksv EXCEPTIONS kostl_not_complete = 1 kostl_not_found = 2 text_not_found = 3 kokrs_missing = 4 OTHERS = 5.

RK_KOSTL_READ CALL FUNCTION 'RK_KOSTL_READ' EXPORTING datum = l_posting_date kokrs = l_kokrs kostl = l_kostl IMPORTING xcsksv = l_csksv EXCEPTIONS kostl_not_complete = 1 kostl_not_found = 2 text_not_found = 3 kokrs_missing = 4 OTHERS = 5.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufkv-aufnr IMPORTING i_aufkv = l_aufkv EXCEPTIONS not_found = 1 OTHERS = 2.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING edit_imp = ' ' int_num = l_aufkv-pspel IMPORTING ext_num = l_fmderive-wbs_element.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING i_posid = l_prps-posid NO_BUFFER = 'X' IMPORTING e_prps = l_prps EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

AMIN_COST_OBJECTS_GET CALL FUNCTION 'AMIN_COST_OBJECTS_GET' EXPORTING i_budat = l_budat i_anln1 = l_anln1 i_anln2 = l_anln2 i_bukrs = l_bukrs IMPORTING e_ants = l_ants EXCEPTIONS not_found = 1.

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = l_ants-fipos IMPORTING e_fipex = l_fmderive-commit_item EXCEPTIONS input_error = 1 data_not_found = 2.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING edit_imp = ' ' int_num = l_ants-posnr IMPORTING ext_num = l_fmderive-wbs_element.

REMD_DECODE_IMKEY CALL FUNCTION 'REMD_DECODE_IMKEY' EXPORTING i_imkey = l_ants-imkey IMPORTING e_viremaster = l_viremaster EXCEPTIONS object_does_not_exist = 1 object_key_inconsistent = 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 RFMOAFIX or its description.