HSAPLEAV0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for PY_SA_HSAPLEAV0
If you would like to execute this report or see the full code listing simply enter HSAPLEAV0 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_HSAPLEAV0 - Leave Passage Report
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_SCH = Time Schema
Selection Text: P_SIMD = Evaluation up to
Title: Leave Passage Calculation Report KSA
Text Symbol: 013 = Leave Passage Report
Text Symbol: 014 = Selected Employees
Text Symbol: 015 = Employee Processing Errors
Text Symbol: 016 = Succesfully Processed Employees
Text Symbol: 017 = Error
Text Symbol: 018 = Simulation Data
Text Symbol: 019 = Time Schema
Text Symbol: O01 = Amount
Text Symbol: O02 = Currency
Text Symbol: O03 = Message
INCLUDE HSAPLEAV0_TOP.
INCLUDE HSAPLEAV0_F01.
No SAP DATABASE tables are accessed within this REPORT code!
F4_POPUP_SCHEMA CALL FUNCTION 'F4_POPUP_SCHEMA' EXPORTING procl = 'T' molga = '*' titel = text-019 IMPORTING sname = p_sch.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.