SAP Reports / Programs

RHVOPOS0 SAP ABAP Report - Vacant positions







RHVOPOS0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RHVOPOS0 lists positions flagged as vacant or obsolete, according to selection criteria...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 RHVOPOS0 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 RHVOPOS0. "Basic submit
SUBMIT RHVOPOS0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHVOPOS0 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: VACANT = Display vacant positions
Selection Text: OBSOLET = Display obsolete positions
Title: Vacant positions
Text Symbol: VCB = to
Text Symbol: VAK = vacant from/to
Text Symbol: VAC = Vacant as of
Text Symbol: UNB = Unoccupied since
Text Symbol: SUM = Total
Text Symbol: SHS = Abbr. of position
Text Symbol: SHO = Abbreviation of org. unit
Text Symbol: POS = Position
Text Symbol: ORG = Organizational unit
Text Symbol: OID = ID of organizational unit
Text Symbol: OCU = occupied until
Text Symbol: OCC = Holder
Text Symbol: OBS = Obsolete as of
Text Symbol: NOP = No holder exists for position
Text Symbol: IDO = ID of position
Text Symbol: BSS = Staffing status
Text Symbol: BES = Occupied until
Text Symbol: 004 = Obsolete positions
Text Symbol: 003 = Key date
Text Symbol: 002 = Vacant positions
Text Symbol: 001 = Vacant positions


INCLUDES used within this REPORT RHVOPOS0

INCLUDE RHVOPIN2.


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_GET_VACANCY CALL FUNCTION 'RH_GET_VACANCY' EXPORTING vac_begda = pc-begda vac_endda = pc-endda vac_istat = pc-istat vac_objid = objec-objid vac_otype = objec-otype vac_plvar = objec-plvar vac_switch = ' ' IMPORTING free_begda = vk_begdafree holder_endda = vk_enddaholder vacancy_begda = vk_begdavacant vacancy_endda = vk_enddavacant vac_subrc = vk_subrc.

RH_CHECK_FOR_REDUNDANCY CALL FUNCTION 'RH_CHECK_FOR_REDUNDANCY' EXPORTING cr_begda = objec-begda cr_endda = objec-endda cr_istat = objec-istat cr_objid = objec-objid cr_otype = objec-otype cr_plvar = objec-plvar IMPORTING cr_redun_date = cr_date cr_subrc = cr_subrc.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = '1001' TABLES innnn = i1001 OBJECTS = read_objec.

RHPK_SHOW_CAREER_PLANING CALL FUNCTION 'RHPK_SHOW_CAREER_PLANING' EXPORTING plvar = pc-plvar otype = p_tab-otype sobid = carr_objid gdate = pc-begda EXCEPTIONS data_missing = 1 canceled = 2 no_authority = 3 person_not_found = 4 technical_error = 5 OTHERS = 6.

RHPK_SHOW_SUCCESSION_PLANING CALL FUNCTION 'RHPK_SHOW_SUCCESSION_PLANING' EXPORTING plvar = pc-plvar otype = $pos sobid = hide_hrsobid gdate = pc-begda EXCEPTIONS data_missing = 1 position_is_obsolet = 2 canceled = 3 no_authority = 4 position_not_found = 5 technical_error = 6 OTHERS = 7.

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' * I_CALLBACK_TOP_OF_PAGE = * I_CALLBACK_HTML_TOP_OF_PAGE = * I_STRUCTURE_NAME = * I_BACKGROUND_ID = is_layout = list_layout it_fieldcat = list_fieldcat[] * IT_EXCLUDING = it_special_groups = sp_group[] it_sort = sort[] * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = g_save is_variant = g_variant it_events = list_event[] it_event_exit = event_exit[] * IS_PRINT = * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = i_list_vk * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = list_top_of_page.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = list_event EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING * ES_LAYOUT = P_ES_LAYOUT et_fieldcat = p_fieldcat[] * ET_SORT = P_ET_SORT[] * ET_FILTER = P_ET_FILTER[] * ES_GRID_SCROLL = P_LIST_SCROLL * ES_VARIANT = P_ES_VARIANT * ET_MARKED_COLUMNS = * ET_FILTERED_ENTRIES = * EXCEPTIONS * NO_INFOS = 1 * PROGRAM_ERROR = 2 * OTHERS = 3 .

REUSE_ALV_GRID_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_SET' EXPORTING * IS_LAYOUT = it_fieldcat = p_fieldcat[].



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