HBGLOLN0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You run this report for each employee to obtain a detailed list of the objects out on loan...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 HBGLOLN0 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.
Selection Text: PA_VARIA = ALV variant
Selection Text: P_LEIHG = Object on loan
Title: Objects on Loan
Text Symbol: 001 = Objects on loan
Text Symbol: 002 = Employee:
Text Symbol: 003 = Valid by:
Text Symbol: 004 = Signature
Text Symbol: 005 = Sign.
Text Symbol: 006 = Position name:
Text Symbol: 007 = Latest Hiring Date:
Text Symbol: H01 = Options
INCLUDE: FP50MTXT, HBGUREP1.
INCLUDE: FP50MTXT, HBGUREP1.
INCLUDE HBGUACT0.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_header.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_pernr endda = p_key_date IMPORTING entrydate = e_date TABLES entry_dates = e_dates EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.