RHFILLPOS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report adds up all of the time periods in which the positions assigned to a specific organizational unit or structure are unoccupied...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 RHFILLPOS into the relevant SAP transactions such as SE38 or SE80
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.
Title: Program RHFILLPOS
Text Symbol: 001 = Unocc. days
Text Symbol: 002 = Unocc. to
Text Symbol: 003 = Unocc. from
Text Symbol: 004 = New holder
Text Symbol: 005 = Average unocc. days per organizational unit
Text Symbol: 006 = Periods when positions are unoccupied per org. unit
Text Symbol: 007 = Average Unoccupied Days of a Position:
Text Symbol: 008 = Selection period:
Text Symbol: 009 = Relat. period holder
Text Symbol: IDO = ID of organizational unit
Text Symbol: IDP = ID of holder
Text Symbol: IDS = ID of position
Text Symbol: KEY = Key date:
Text Symbol: SHO = Abbreviation of org. unit
Text Symbol: SHS = Abbr. of position
Text Symbol: STP = Level
Text Symbol: SUM = Total
Text Symbol: VDA = Relationship period
INCLUDE RHODAT00.
INCLUDE RHFILLPOSTOP.
INCLUDE FPH5ATOP.
INCLUDE RHOINI00.
No SAP DATABASE tables are accessed within this REPORT code!
RH_READ_OBJECT call function 'RH_READ_OBJECT' exporting plvar = p1001-plvar otype = p1001-sclas realo = holder-realo * ISTAT = ' ' begda = p1001-begda endda = p1001-endda importing short = holder-short stext = holder-stext exceptions not_found = 1 others = 2.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting * I_INTERFACE_CHECK = i_callback_program = repid i_callback_pf_status_set = 'LIST_SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND_LIST' is_layout = list_layout it_fieldcat = list_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = sort[] * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = g_save is_variant = g_variant it_events = it_events[] it_event_exit = it_event_exit[] * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = grid_tab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .
RH_USER_VIEW_PARAMETER call function 'RH_USER_VIEW_PARAMETER' importing object_key_ftext = act_info-okey_ftext short_ftext = act_info-shor_ftext object_date_ftext = act_info-odat_ftext relation_date_ftext = act_info-vdat_ftext.
REUSE_ALV_GRID_LAYOUT_INFO_GET call function 'REUSE_ALV_GRID_LAYOUT_INFO_GET' importing et_fieldcat = p_fieldcat[] exceptions others = 0.
REUSE_ALV_GRID_LAYOUT_INFO_SET call function 'REUSE_ALV_GRID_LAYOUT_INFO_SET' exporting it_fieldcat = p_fieldcat[].
REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 1 importing et_events = it_events exceptions list_type_wrong = 1 others = 2.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = list_top_of_page.
REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING * IT_LIST_COMMENTARY = LIST_END_OF_PAGE * I_END_OF_LIST_GRID = 'X'.
K_KKB_LIST_LAYOUT_INFO_GET call function 'K_KKB_LIST_LAYOUT_INFO_GET' importing et_filtered_entries = et_filtered_entries et_filtered_entries_item = et_filtered_entries_item exceptions no_infos = 1 others = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.