HBGLCNT0 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 to create a word document for the employee's contract or additional agreement for termination purposes...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 HBGLCNT0 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_ALV = Display ALV
Selection Text: PA_FONLY = Only data file
Selection Text: PA_IS_AA = Additional agreement
Selection Text: PA_IS_LC = Labor contract
Selection Text: PA_IS_OD = Order
Selection Text: PA_KTRT1 = Standard or Prolonged Quota
Selection Text: PA_KTRT3 = Additional flexible Quota
Selection Text: PA_KTRT4 = Harmful conditions Quota
Selection Text: PA_SALA = Salary wage types
Selection Text: PA_SENB = Seniority bonus wage types
Selection Text: PA_TMPAA = Template for Addit. Agreement
Selection Text: PA_TMPDR = Directory for data file
Selection Text: PA_TMPLC = Template for Labor Contract
Selection Text: PA_TMPOD = Template for Order
Selection Text: PA_VARIA = ALV variant
Selection Text: PA_WORD = Transfer data to Word
Title:
Text Symbol: 035 = Senority bonus [%]
Text Symbol: 036 = Sen.bonus
Text Symbol: 037 = Date Of Signature
Text Symbol: 038 = Sign Date
Text Symbol: 039 = Leaving Date
Text Symbol: 040 = Leaving
Text Symbol: 041 = Org. position text
Text Symbol: 042 = OrgPosTxt
Text Symbol: 043 = Order number
Text Symbol: 044 = Order nr.
Text Symbol: AND = and
Text Symbol: CON = in connection with &70 (probation period)
Text Symbol: CU1 = leva
Text Symbol: CU2 = hundredth
Text Symbol: H00 = Preparation of
Text Symbol: H01 = Options
Text Symbol: H02 = Transfer Options
Text Symbol: P01 = Personal ID type
Text Symbol: 001 = Contracts
Text Symbol: 002 = Addtional agreements
Text Symbol: 003 = Orders
INCLUDE: HBGUREP0.
INCLUDE: HBGUREP1.
INCLUDE HBGUACT0.
No SAP DATABASE tables are accessed within this REPORT code!
HR_GET_QUOTA_DATA CALL FUNCTION 'HR_GET_QUOTA_DATA' EXPORTING pernr = pernr-pernr qtype = '1' mod = 'B' dedu_datum = pv_key_date begda = '18000101' endda = '99991231' dedubeg = pv_key_date deduend = pv_key_date TABLES abwktart_sel = pt_ktart abwko = lt_abwko EXCEPTIONS infty_not_found = 1 missing_authority = 2 wrong_parameter = 3 OTHERS = 4.
CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE_EXT' EXPORTING pernr = pernr-pernr infty = '0008' subty = p0008-subty objps = p0008-objps begda = pn-begda "p0008-begda "nt1503802 endda = pn-begda "p0008-endda "nt1503802 dlspl = ' ' "XPSN159482 TABLES ppbwla = ppbwla pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 EXCEPTIONS error_at_indirect_evaluation = 1.
HR_BG_GET_PREV_ER CALL FUNCTION 'HR_BG_GET_PREV_ER' EXPORTING hold = space pernr = pernr-pernr key_date = pn-begda TABLES prev_er = lt_los.
HR_BG_GET_PREV_ER CALL FUNCTION 'HR_BG_GET_PREV_ER' EXPORTING hold = 'X' pernr = pernr-pernr key_date = pn-begda TABLES prev_er = lt_los.
HR_BG_GET_CURR_ER CALL FUNCTION 'HR_BG_GET_CURR_ER' EXPORTING key_date = pn-begda pernr = pernr-pernr TABLES curr_er = lt_los.
HR_BG_LOS_SUM CALL FUNCTION 'HR_BG_LOS_SUM' IMPORTING total_los = lv_los TABLES los_for_sum = lt_loscc.
HR_BG_GET_PREV_ER CALL FUNCTION 'HR_BG_GET_PREV_ER' EXPORTING hold = 'X' pernr = pernr-pernr key_date = pn-begda TABLES prev_er = lt_los.
HR_BG_GET_CURR_ER CALL FUNCTION 'HR_BG_GET_CURR_ER' EXPORTING key_date = pn-begda pernr = pernr-pernr TABLES curr_er = lt_los.
HR_BG_LOS_SUM CALL FUNCTION 'HR_BG_LOS_SUM' IMPORTING total_los = lv_los TABLES los_for_sum = lt_loscc.
HR_BG_GET_PREV_ER CALL FUNCTION 'HR_BG_GET_PREV_ER' EXPORTING hold = 'X' pernr = pernr-pernr key_date = pn-begda TABLES prev_er = lt_los.
HR_BG_GET_CURR_ER CALL FUNCTION 'HR_BG_GET_CURR_ER' EXPORTING key_date = pn-begda pernr = pernr-pernr TABLES curr_er = lt_los.
HR_BG_LOS_SUM CALL FUNCTION 'HR_BG_LOS_SUM' IMPORTING total_los = lv_los TABLES los_for_sum = lt_loscc.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_header.
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = pn-begda end = pn-begda IMPORTING fire_date = fire hire_date = hire TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001.
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 HBGLCNT0 or its description.