HSAPLAV0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report used to list down the vacant positions that have been approved during certain financial 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 HSAPLAV0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PY_SA_HSAPLAV0 - List of approved vacant jobs
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.
Selection Text: P_YEAR = Financial Year
Selection Text: P_NO = D .
Selection Text: P_HAS = D .
Selection Text: P_FORM = Logical Form Name
Selection Text: P_DATE = Reporting Date
Selection Text: P_BOTH = D .
Title: List of Approved Vacant Jobs per Financial Year
Text Symbol: N04 = Error Messages
Text Symbol: N03 = Warning Messages
Text Symbol: N02 = Successfully Processed Positions
Text Symbol: N01 = Selection Statistics
Text Symbol: L02 = Application Log
Text Symbol: I04 = Error
Text Symbol: I03 = Warning
Text Symbol: I02 = Precessed
Text Symbol: I01 = List
Text Symbol: B01 = Print PDF
Text Symbol: 026 = To
Text Symbol: 025 = From
Text Symbol: 024 = Financial Year
Text Symbol: 021 = Select one record for printing
Text Symbol: 015 = Selected Positions
Text Symbol: 013 = Successfully Processed Positions
Text Symbol: 012 = Unsuccessfully Processed Positions
Text Symbol: 011 = Vacant type
Text Symbol: 010 = PDF Options
Text Symbol: 008 = Financial Year
INCLUDE HSAPLAV0_TOP.
INCLUDE HSAPLAV0_SEL.
INCLUDE HSAPLAV0_F01.
No SAP DATABASE tables are accessed within this REPORT code!
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 = abap_true IMPORTING free_begda = gv_vk_begdafree holder_endda = gv_vk_enddaholder vacancy_begda = gv_vk_begdavacant vacancy_endda = gv_vk_enddavacant vac_subrc = gv_vk_subrc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.