SAP Reports / Programs | Payroll(PY) SAP PY

HBGLCNT0 SAP ABAP Report -







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


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 HBGLCNT0. "Basic submit
SUBMIT HBGLCNT0 AND RETURN. "Return to original report after report execution complete
SUBMIT HBGLCNT0 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: 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





Text Symbol: 004 = Total LOS Years
Text Symbol: 005 = tlosy
Text Symbol: 006 = Total LOS Months
Text Symbol: 007 = tlosm
Text Symbol: 008 = Total LOS Days
Text Symbol: 009 = tlosd
Text Symbol: 010 = Prof. LOS Years
Text Symbol: 011 = plosy
Text Symbol: 012 = Prof. LOS Months
Text Symbol: 013 = plosm
Text Symbol: 014 = Prof. LOS Days
Text Symbol: 015 = plosd
Text Symbol: 016 = Company LOS Years
Text Symbol: 017 = closy
Text Symbol: 018 = Company LOS Months
Text Symbol: 019 = closm
Text Symbol: 020 = Company LOS Days
Text Symbol: 021 = closd
Text Symbol: 022 = Quota 1
Text Symbol: 023 = Quota 2
Text Symbol: 024 = Quota 3
Text Symbol: 025 = The first unemployed day
Text Symbol: 026 = 1.Un.Day
Text Symbol: 027 = DateOfConcContract
Text Symbol: 028 = DateCC
Text Symbol: 029 = DateOfConcAddAgreement
Text Symbol: 030 = DateCAdA
Text Symbol: 031 = Basic salary
Text Symbol: 032 = Bas.salary
Text Symbol: 033 = Basic salary - text
Text Symbol: 034 = Sal.text


INCLUDES used within this REPORT HBGLCNT0

INCLUDE: HBGUREP0.
INCLUDE: HBGUREP1.
INCLUDE HBGUACT0.


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:

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.

RP_FILL_WAGE_TYPE_TABLE_EXT





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.



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