SAP Reports / Programs | Payroll(PY) SAP PY

HBGLCCA0 SAP ABAP Report - Annual Overview of Civil Contract







HBGLCCA0 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 prepare annual overview of all civil contracts conducted during the fiscal 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 HBGLCCA0 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 HBGLCCA0. "Basic submit
SUBMIT HBGLCCA0 AND RETURN. "Return to original report after report execution complete
SUBMIT HBGLCCA0 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_BSTAT = BULSTAT-EIK
Selection Text: PA_CODEP = File codepage
Selection Text: PA_FILE = Save local file
Selection Text: PA_FONLY = Only data file
Selection Text: PA_PATH = Directory/Name for local file
Selection Text: PA_RENWT = Wage type for Remuneration
Selection Text: PA_TEMPL = Template for Ann. overview
Selection Text: PA_TMPDR = Directory for data file
Selection Text: PA_VARIA = ALV Variant
Selection Text: PA_WORD = Transfer data to Word
Selection Text: PA_YEAR = Year
Title: Annual Overview of Civil Contract
Text Symbol: YES = yes
Text Symbol: S01 = Saving file for Bulstat =
Text Symbol: NOU = no
Text Symbol: I01 = Nr. of processed PERNRs:
Text Symbol: H02 = Transfer options
Text Symbol: H01 = Options
Text Symbol: AH2 = Period:
Text Symbol: AH1 = Annual Overview of Civil Contract
Text Symbol: 026 = Remun. amt
Text Symbol: 025 = Remuneration amount
Text Symbol: 024 = Inc. type
Text Symbol: 001 = Personnel number
Text Symbol: 002 = Pernr
Text Symbol: 003 = Name
Text Symbol: 004 = Name
Text Symbol: 005 = EGN
Text Symbol: 006 = EGN
Text Symbol: 007 = Number
Text Symbol: 008 = No
Text Symbol: 009 = Foreign physical person
Text Symbol: 010 = FPP
Text Symbol: 011 = Identificator
Text Symbol: 012 = Iden.
Text Symbol: 013 = Foreign address - country
Text Symbol: 014 = FA-Country





Text Symbol: 015 = Foreign address - city, street, nr.
Text Symbol: 016 = FA-Ci/St/N
Text Symbol: 017 = Net income (BGN)
Text Symbol: 018 = Net income
Text Symbol: 019 = Tax (BGN)
Text Symbol: 020 = Tax
Text Symbol: 021 = Income code
Text Symbol: 022 = Inc. code
Text Symbol: 023 = Income type


INCLUDES used within this REPORT HBGLCCA0

INCLUDE: HBGUREP0.


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_BG_READ_PYRES_INTERVAL CALL FUNCTION 'HR_BG_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'P' begda = pn-begda endda = pn-endda tpall = '' tprun = '' TABLES runs = lt_runs myrg = lt_myrg rtdet = lt_rtdet.

HR_BG_LAST_DAY_OF_MONTH CALL FUNCTION 'HR_BG_LAST_DAY_OF_MONTH' EXPORTING day_in = lv_begda IMPORTING LAST_DAY_OF_MONTH = lv_endda EXCEPTIONS DAY_IN_NO_DATE = 1 OTHERS = 2.

HR_BG_GET_ADDRESS CALL FUNCTION 'HR_BG_GET_ADDRESS' EXPORTING anart = '/A' vargu = ps_data-bstaa IMPORTING A_TEXT = lv_comp_name ADDR_FULL = lv_comp_addr EXCEPTIONS NO_DATA = 1 OTHERS = 2 .

HR_BG_GET_ADDRESS CALL FUNCTION 'HR_BG_GET_ADDRESS' EXPORTING anart = '/A' vargu = ps_data-bstaa IMPORTING A_TEXT = ps_word-cname M_TEXT = ps_word-cphone ADDR_FULL = ps_word-caddr.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_header.



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