SAP Reports / Programs

HBGCDE60 SAP ABAP Report -







HBGCDE60 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 generate a file with data for Declaration 6 ...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 HBGCDE60 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 HBGCDE60. "Basic submit
SUBMIT HBGCDE60 AND RETURN. "Return to original report after report execution complete
SUBMIT HBGCDE60 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_DEC6 = Print Declaration 6
Selection Text: PA_EGNID = EGN/LNC
Selection Text: PA_FILE = Download to file
Selection Text: PA_FONLY = Only data file
Selection Text: PA_ISSDT = Given on
Selection Text: PA_ISSID = From
Selection Text: PA_MIDNM = Middle name
Selection Text: PA_NACHN = First name
Selection Text: PA_PATH = Directory
Selection Text: PA_PFONL = Only data file
Selection Text: PA_PID = Personal ID no
Selection Text: PA_PROT = Print protocol
Selection Text: PA_PTMP = Template
Selection Text: PA_PTMPD = Directory for data file
Selection Text: PA_REFDT = Date of issue
Selection Text: PA_TEMPL = Template for Declaration 6
Selection Text: PA_TMPDR = Directory for data file
Selection Text: PA_VARIA = ALV Variant
Selection Text: PA_VORNA = Last name
Title:
Text Symbol: X99 = Off-cycle payroll ident.
Text Symbol: I01 = Nr. of processed PERNRs:
Text Symbol: 001 = Month
Text Symbol: 002 = Year
Text Symbol: 003 = ER name
Text Symbol: 004 = MembOfInsFund
Text Symbol: 005 = E-mail
Text Symbol: 006 = Telephone num
Text Symbol: 007 = Mobile phone
Text Symbol: 008 = OSI
Text Symbol: 009 = Add.Univ.Pens
Text Symbol: 010 = Prof.Fund
Text Symbol: 011 = Health ins
Text Symbol: 012 = GVRS
Text Symbol: 013 = CorrCode





Text Symbol: 014 = PayType
Text Symbol: 015 = Paid tax
Text Symbol: 016 = Paid tax (without civil contracts)
Text Symbol: 017 = Tax (CivC)
Text Symbol: 018 = Paid tax (by civil contracts)
Text Symbol: H01 = Options
Text Symbol: H02 = Declaration 6
Text Symbol: H03 = Payment date in period:
Text Symbol: H04 = Print
Text Symbol: H05 = HR Administrator


INCLUDES used within this REPORT HBGCDE60

INCLUDE: HBGUREP0.
INCLUDE: HBGUREP1.
INCLUDE: HBGUREP2.
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_BG_READ_PYRES_INTERVAL CALL FUNCTION 'HR_BG_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'P' begda = pn-begda endda = pn-endda * bondt = pa_bondt * payty = pa_payty * payid = pa_payid tpall = '' tprun = '' TABLES runs = lt_runs myrg = lt_myrg rtdet = lt_rtdet.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGBSW' struc_content = ls_pme01 kind_of_error = space IMPORTING back = ls_dec6-bstsw EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_header.

HR_BG_GET_ADDRESS CALL FUNCTION 'HR_BG_GET_ADDRESS' EXPORTING anart = '/A' vargu = ls_dec-bstaa IMPORTING A_TEXT = lv_ername H_TEXT = lv_errep_fname J_TEXT = lv_errep_lname.

SCMS_BIN_TO_TEXT CALL FUNCTION 'SCMS_BIN_TO_TEXT' EXPORTING BIN_LINE = lc_eof_hex IMPORTING TEXT_LINE = lv_eof_char.

HR_BG_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_BG_ADD_MONTH_TO_DATE' EXPORTING dmm_datin = lv_deadline dmm_count = '1' dmm_oper = '+' dmm_pos = 'BEG' IMPORTING dmm_daout = lv_deadline.



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