SAP Reports / Programs

RFFMHR01 SAP ABAP Report - Generating Budget Elements from BS Elements for Several Funds







RFFMHR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use program RFFMHR01 to generate HR budget objects in Position Management for one or more funds...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 RFFMHR01 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

FMHGG - Generate BS Elements f. Several Fnds


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 RFFMHR01. "Basic submit
SUBMIT RFFMHR01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMHR01 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_FONDS = Fund
Selection Text: P_GJAHR = Fiscal year
Selection Text: P_FUNSEL = D Preselection fund
Selection Text: P_FIKRS = FM area
Title: Generating Budget Elements from BS Elements for Several Funds
Text Symbol: 003 = Fund Selection
Text Symbol: 002 = Error messages:
Text Symbol: 001 = Budget elements successfully created for fund:


INCLUDES used within this REPORT RFFMHR01

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 = 'RFFMHR01' I_TCODE = 'FMHGG' I_WFITEM = WF_WITEM I_WFLIST = WF_WLIST IMPORTING E_F_SCHEDMAN_KEY = G_F_SCHEDMAN_KEY.

FM_BUDGETOBJECTS_GENERATE CALL FUNCTION 'FM_BUDGETOBJECTS_GENERATE' EXPORTING I_FIKRS = P_FIKRS I_GJAHR = P_GJAHR TABLES T_FONDS = S_FONDS T_GEN_FONDS = L_R_GEN_FONDS T_ERRORS = L_T_ERRORS.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING I_F_SCHEDMAN_KEY = G_F_SCHEDMAN_KEY I_WFITEM = WF_WITEM I_WFOKEY = WF_OKEY I_APLSTAT = G_APLSTAT I_CNT_OBJ = SY-TFILL.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING DOKCLASS = 'NA' * DOKLANGU = SY-LANGU DOKNAME = L_DOKNAME * DOKTITLE = ' ' * CALLED_BY_PROGRAM = ' ' * CALLED_BY_DYNP = ' ' * CALLED_FOR_TAB = ' ' * CALLED_FOR_FIELD = ' ' * CALLED_FOR_TAB_FLD_BTCH_INPUT = ' ' MSG_VAR_1 = L_T_ERRORS-MESSAGE_V1 MSG_VAR_2 = L_T_ERRORS-MESSAGE_V2 MSG_VAR_3 = L_T_ERRORS-MESSAGE_V3 MSG_VAR_4 = L_T_ERRORS-MESSAGE_V4 * CALLED_BY_CUAPROG = ' ' * CALLED_BY_CUASTAT = * SHORT_TEXT = ' ' TABLES LINKS = L_T_DUMMY EXCEPTIONS OBJECT_NOT_FOUND = 1 SAPSCRIPT_ERROR = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'RFFMHR01' DYNUMB = '1000' TABLES DYNPFIELDS = L_T_FIELDS EXCEPTIONS OTHERS = 0.

FM_F4_FOR_FUND CALL FUNCTION 'FM_F4_FOR_FUND' EXPORTING I_FIKRS = L_FIKRS I_FUND = C_FONDS IMPORTING E_FUND = L_FONDS EXCEPTIONS NO_SELECT = 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 RFFMHR01 or its description.