SAP Reports / Programs

RPLBGAC0 SAP ABAP Report - HR-CH: BFS quarterly employment statistics







RPLBGAC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Note: This report is obsolete...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 RPLBGAC0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M02_LBGA0 - BFS Quarterly Employment Statistics


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 RPLBGAC0. "Basic submit
SUBMIT RPLBGAC0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLBGAC0 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: P_CLGRID = Control List for Excel
Selection Text: S_ABREH = Payroll Unit
Title: HR-CH: BFS quarterly employment statistics
Text Symbol: 001 = Male
Text Symbol: 002 = Female
Text Symbol: 004 = Swiss Male
Text Symbol: 005 = Foreigner(s)
Text Symbol: 006 = Swiss Females
Text Symbol: 007 = Foreign Females
Text Symbol: AL1 = Control List
Text Symbol: U00 = BFS employment statistics
Text Symbol: U04 = Key date:
Text Symbol: U10 = BUR number:
Text Symbol: U11 = BESTA no.:
Text Symbol: U12 = Date:
Text Symbol: U13 = Time:


INCLUDES used within this REPORT RPLBGAC0

No INCLUDES are used within this REPORT code!


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_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' "XAWKM02022718 EXPORTING " exit_name = 'HRPAYCHBGAC0' " IMPORTING " is_implemented = badi_is_impld " CHANGING " instance = badi_cexit. "

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' "XAWKM02851865 EXPORTING " exit_name = 'HRPAYCHBGAC0B' " IMPORTING " is_implemented = badi_2_is_impld " CHANGING " instance = badi_2_cexit. "

HR_CH_READ_ABREINHEIT CALL FUNCTION 'HR_CH_READ_ABREINHEIT' EXPORTING p02_stichtag = pn-endda p02_anwschlch = 'BFS' TABLES p02_p0001 = p0001[] p02_t_abreinheit = payroll_units pi_merkm = features EXCEPTIONS table_access_error = 1 abreinheit_not_found = 2 OTHERS = 3.

HR_CH_APPEND_ALV_CREATE_TABINF CALL FUNCTION 'HR_CH_APPEND_ALV_CREATE_TABINF' EXPORTING strucname = 'HRPAYCH_BGAC0_OUTPUT' IMPORTING es_tableref_and_info = output_table.

HR_CH_APPEND_ALV CALL FUNCTION 'HR_CH_APPEND_ALV' EXPORTING tables_and_infos = output_tables clist_tableref = lr_ctrl "SAFKM01469399 clist_variant_repid = sy-repid "SAFKM01469399 clist_strucname = lc_struct_ctrl "SAFKM01469399 clist_fieldcat = lt_fieldcat "SAFKM01469399 CHANGING errorlist = messages EXCEPTIONS OTHERS = 0.

HR_CH_READ_ADRESS_ABREINH CALL FUNCTION 'HR_CH_READ_ADRESS_ABREINH' EXPORTING p02_abreinheit = abreh p02_anwschlch = 'BFS' p02_stichtag = pn-endda p02_kontakt = 'N' TABLES p02_adrabreh = adress_lines.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'ABREINH' tabname = 'T5CSG' IMPORTING select_value = p_abreh TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS OTHERS = 0.

HR_99S_GET_QUARTER CALL FUNCTION 'HR_99S_GET_QUARTER' EXPORTING im_date = pn-endda IMPORTING ex_quarter = ls_quarter ex_returncode = lv_subrc.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = pc_struct_name CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS OTHERS = 3.



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