SAP Reports / Programs

RHPMSTPL SAP ABAP Report - Position Plan







RHPMSTPL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for FTE chart This report determines the following information for a financial year, budget structure element and corresponding lower-level budget structure elements with FTE budgets: Original budgets of the current financial year and, if applicable, the previous 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 RHPMSTPL 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 RHPMSTPL. "Basic submit
SUBMIT RHPMSTPL AND RETURN. "Return to original report after report execution complete
SUBMIT RHPMSTPL 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: PA_EINF = D Single
Selection Text: PA_ENDDA = D End date
Selection Text: PA_FALL = D Case groups/catalog
Selection Text: PA_FINAN = D Financing details
Selection Text: PA_FINY1 = D Comparison year
Selection Text: PA_FINYR = D Financial year
Selection Text: PA_FORM = D Form
Selection Text: PA_HOEH = D Higher Classification
Selection Text: PA_KEY = D Object key
Selection Text: PA_KOSTL = D Cost center
Selection Text: PA_MEHR = D Multiple
Selection Text: PA_NADA = D Inadequate
Selection Text: PA_NDUR = D Interrupted
Selection Text: PA_NIED = D Lower Classification
Selection Text: PA_OTEXT = D Object type name
Selection Text: PA_OTYPE = D Object Type
Selection Text: PA_PERS = D Personal data
Selection Text: PA_PLVAR = D Plan version
Selection Text: PA_PRSCR = D Print in SAPscript
Selection Text: PA_PRSTD = D Print (standard)
Selection Text: PA_SHORT = D Object abbreviation
Selection Text: PA_STAG = D Key date
Selection Text: PA_TARIF = D Pay scale information
Selection Text: PA_UNBE = D Unlimited
Selection Text: PA_VINT = D Internal rules
Selection Text: PA_WORK = D Working time
Selection Text: PERSG = D Employee group
Selection Text: PERSK = D Employee subgroup
Selection Text: SUBTY1 = D Subtype
Selection Text: SUBTY2 = D Subtype
Selection Text: PA_DURC = D Continuous
Selection Text: PA_BEGDA = D Start date
Selection Text: PA_BEFR = D Limited
Selection Text: PA_ANSA = Original budget
Selection Text: PA_ANAL = D Same
Selection Text: PA_ADAQ = D Adequate
Selection Text: PA_ABWE = D Different
Title: Position Plan





Text Symbol: 001 = No assignment
Text Symbol: 002 = Assigned on
Text Symbol: ADD = Also output
Text Symbol: ANS = Original budget
Text Symbol: BES = Description
Text Symbol: DES = Selection of description
Text Symbol: EIN = Initial Object
Text Symbol: KEY = Object key
Text Symbol: MGK = Restrict on basis of employee group/subgroup
Text Symbol: OBJ = Objects
Text Symbol: PAG = Page
Text Symbol: PLA = PlanStatus
Text Symbol: POF = Print options from
Text Symbol: PRB = Print options for background processing
Text Symbol: PRN = Print options
Text Symbol: SHT = Object abbreviation
Text Symbol: SUM = Total
Text Symbol: T01 = Restrict rules
Text Symbol: TIM = Evaluation period
Text Symbol: V01 = Budgeting rules
Text Symbol: V02 = Reclassif. rules
Text Symbol: V03 = Budgeting rules
Text Symbol: V04 = Reclassification rules


INCLUDES used within this REPORT RHPMSTPL

INCLUDE RHPMSTPL_TOP.
INCLUDE RHPMRSEL.
INCLUDE RHPMALV.


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:

RH_PM_GET_OBJECT_TEXT_2 CALL FUNCTION 'RH_PM_GET_OBJECT_TEXT_2' EXPORTING i_otype = gt_output_h-otype i_butyp = ld_butyp IMPORTING e_otext = ld_otext EXCEPTIONS text_not_found = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = con_self * I_INTERNAL_TABNAME = PD_TABNAME_FIELDCAT i_structure_name = pd_strucname_ddic * I_INCLNAME = LC_INCLUDENAME CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = gd_logo it_list_commentary = lt_list_commentary.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = con_self * I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = 'USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fieldcat * IT_EXCLUDING = LT_EXCLUDING * IT_SPECIAL_GROUPS = LT_SPECIAL_GROUPS it_sort = lt_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = ls_variant it_events = lt_events * IT_EVENT_EXIT = i_tabname_header = 'GT_OUTPUT_H' i_tabname_item = 'GT_OUTPUT_I' is_keyinfo = ls_keyinfo is_print = ls_print * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = LD_CALLER_EXIT * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab_header = gt_output_h t_outtab_item = gt_output_i EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = con_self * I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_STRUCTURE_NAME = i_background_id = gd_background is_layout = ls_layout it_fieldcat = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = LT_SPECIAL_GROUPS it_sort = lt_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = ls_variant it_events = lt_events * IT_EVENT_EXIT = is_print = ls_print * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_output_i EXCEPTIONS OTHERS = 1.

RH_PM_READ_T7PMH





CALL FUNCTION 'RH_PM_READ_T7PMH' EXPORTING molga = molga trfar = trfar lfbgr = lfbgr * LANGU = SY-LANGU IMPORTING lfbgt = ld_lfbgr_text * TABLES * T7PMO_TAB = EXCEPTIONS OTHERS = 1.

RH_PM_PREVIOUS_FINYR_GET CALL FUNCTION 'RH_PM_PREVIOUS_FINYR_GET' EXPORTING finyr = pa_finyr IMPORTING finyr_previous = gd_finyr_pre begda_previous = gd_begda_pre endda_previous = gd_endda_pre EXCEPTIONS previous_finyr_not_found = 1 OTHERS = 0.

RH_PM_GET_FINYR CALL FUNCTION 'RH_PM_GET_FINYR' IMPORTING e_begda = ld_begda e_endda = ld_endda e_interval = ld_dummy CHANGING ie_finyr = ld_finyr EXCEPTIONS OTHERS = 0.

RH_PM_READ_T7PM5 CALL FUNCTION 'RH_PM_READ_T7PM5' EXPORTING i_langu = sy-langu i_butgr = '01' i_bugru = pd_bugru IMPORTING e_pm5 = ls_t7pm5 EXCEPTIONS OTHERS = 1.

RH_PM_ORIGINAL_BUDGET_GET CALL FUNCTION 'RH_PM_ORIGINAL_BUDGET_GET' EXPORTING pd_begda = pchbegda pd_endda = pchendda TABLES pt_1519 = p1519 pt_1520 = p1520 EXCEPTIONS error_occured = 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 RHPMSTPL or its description.