SAP Reports / Programs | Payroll | Germany | Construction Industry(PY-DE-CI) SAP PY

RPCBLAD0 SAP ABAP Report - Construction Industry: Calculation of Lost Earnings Compensation







RPCBLAD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a list for wage compensation (LAG) for employees of companies within the construction industry in Germany...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 RPCBLAD0 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_M01_CBLA - Wage Compensation Calculation


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 RPCBLAD0. "Basic submit
SUBMIT RPCBLAD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCBLAD0 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: KASSE = Social Funds to Evaluate
Selection Text: DB_UPDAT = Create Batch Input Session
Selection Text: BI_NAME = Name of Batch Input Session
Selection Text: BI_HOLD = Locked Until
Title: Construction Industry: Calculation of Lost Earnings Compensation
Text Symbol: U03 = LEC created manually
Text Symbol: U02 = BSL created manually
Text Symbol: U01 = Collision 0189/0190
Text Symbol: T99 = EmployDays= xx < yy
Text Symbol: T97 = No basic month
Text Symbol: T93 = WTmChckRul? (T508A)
Text Symbol: T92 = EE subgroup? (T503)
Text Symbol: T91 = PersSArea? (T001P)
Text Symbol: T90 = PrsA/PrsSA ? (T5D0P)
Text Symbol: T89 = Gross=0 or hours=0
Text Symbol: T88 = No infotype 0001
Text Symbol: T87 = No infotype 0007
Text Symbol: T86 = LEC Explanation :
Text Symbol: T85 = Employment Days :
Text Symbol: T82 = Wage Clearing Amount:
Text Symbol: T81 = BSL Help Text :
Text Symbol: T80 = (West)
Text Symbol: T79 = (East)
Text Symbol: T78 = West/East Indicator :
Text Symbol: T77 = (Gross/Hours)
Text Symbol: T76 = Basic Values :
Text Symbol: T75 = read from PCL2)
Text Symbol: T74 = Basic Month :
Text Symbol: T73 = (Part-Time Work)
Text Symbol: T72 = Standard)
Text Symbol: T71 = Weekly Work Time :
Text Symbol: T70 = before rounding/capping/..)
Text Symbol: T69 = Gross Hourly Wage :
Text Symbol: T68 = Personnel Number :
Text Symbol: T67 = Administrator :
Text Symbol: U33 = Bas.month: /BS1 n.a.
Text Symbol: U32 = Bas.month: IndWrkrs
Text Symbol: U31 = Bas.month: EESbGr.Con.





Text Symbol: U30 = Bas.month: Pensioner
Text Symbol: U29 = Bas.month: Inactive
Text Symbol: U28 = Bas.month: RWH
Text Symbol: U27 = Bas.month: Unpaid
Text Symbol: U26 = Bas.month: Split
Text Symbol: U25 = Bas.month: Currency
Text Symbol: U24 = Bas.month:Read error
Text Symbol: U23 = Not Determinable
Text Symbol: U22 = (Constants)
Text Symbol: U21 = Abs. attrib? (T5D0A)
Text Symbol: U20 = Parental Leave
Text Symbol: U19 = Milt.Serv/Maternity Protection
Text Symbol: U18 = Absen. type? (T554S)
Text Symbol: U17 = Absen.group? (T5D0S)
Text Symbol: U16 = Con. site ? (T5db5)
Text Symbol: U15 = Constr. Site Abroad
Text Symbol: U14 = Team ? (T5DB8)
Text Symbol: U13 = PersSArea? (T001P)
Text Symbol: U12 = No infotype 0189
Text Symbol: U11 = No insurance fund/EE nos.
Text Symbol: U10 = No industrial worker EE
Text Symbol: U09 = EE subgroup? (T503)
Text Symbol: U08 = Pensioner/Retirement
Text Symbol: U07 = Inactive
Text Symbol: U06 = Constr. Site Abroad
Text Symbol: U05 = LEC block
Text Symbol: U04 = LEC forced
Text Symbol: H28 = LEC Currency :
Text Symbol: H27 = (LEC/BSL)
Text Symbol: H26 = Normal Cases
Text Symbol: H25 = None
Text Symbol: H24 = Hidden Cases :
Text Symbol: H23 = Dec/Jan
Text Symbol: H22 = Batch Input Session
Text Symbol: H20 = Contr. Values
Text Symbol: H19 = More Options :
Text Symbol: H18 = Earliest Basic Month:
Text Symbol: H17 = Min. Employment Days:
Text Symbol: H16 = (East)





Text Symbol: H15 = (West);
Text Symbol: H14 = Cap Gross Hrly Wage :
Text Symbol: H13 = Hours/Week
Text Symbol: H12 = Pay Scale Weekly Working Hours :
Text Symbol: H11 = Hours/Day
Text Symbol: H10 = ; Fr
Text Symbol: H09 = Mo-Th
Text Symbol: H08 = LEC Working Time :
Text Symbol: H07 = LEC Hours :
Text Symbol: H06 = LEC Period :
Text Symbol: H05 = Sort Sequence :
Text Symbol: H04 = Evaluated Funds :
Text Symbol: H03 = Payroll Areas :
Text Symbol: H02 = Personnel Numbers :
Text Symbol: H01 = Evaluation Date :
Text Symbol: H00 = Parameter
Text Symbol: FT2 = Delimitation of Cases
Text Symbol: FT1 = Options
Text Symbol: FT0 = Delimitation of Evaluation
Text Symbol: E01 = Error translating to new currency
Text Symbol: H29 = (Berlin)
Text Symbol: T66 = Personnel Subarea :
Text Symbol: T65 = Personnel Area :
Text Symbol: T64 = Personnel Numbers:
Text Symbol: T62 = (Jan) =
Text Symbol: T61 = (Dec) +
Text Symbol: T60 = Number of Records:
Text Symbol: T59 = Locked Until
Text Symbol: T58 = Batch Input Session:
Text Symbol: T57 = Capping West
Text Symbol: T56 = Capping East
Text Symbol: T55 = Hrs.
Text Symbol: T54 = Part-Time
Text Symbol: T51 = Mon Gross Hours WkWTm
Text Symbol: T50 = LEC Total
Text Symbol: T49 = Basic BSL
Text Symbol: T48 = Comments
Text Symbol: T47 = LEC Amounts
Text Symbol: T46 = Personnel Number



Text Symbol: T45 = (Group
Text Symbol: T44 = Administrator :
Text Symbol: T43 = Administrator Group :
Text Symbol: T42 = Personnel Subarea :
Text Symbol: T41 = Personnel Area :
Text Symbol: SC3 = until)
Text Symbol: SC2 = (locked
Text Symbol: SC1 = Create Batch Input Session
Text Symbol: L05 = Processed Personnel Numbers:
Text Symbol: L04 = No. Records January :
Text Symbol: L03 = No. Records December :
Text Symbol: L02 = Batch Input Sess.:
Text Symbol: L01 = On
Text Symbol: L00 = for period


INCLUDES used within this REPORT RPCBLAD0

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:

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga * TRFAR = * TRFGB = * TRFKZ = begda = curcy_date IMPORTING waers = curcy EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga * TRFAR = * TRFGB = * TRFKZ = begda = curcy_date IMPORTING waers = curcy_new EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = lagx0101 foreign_amount = bsl_krk foreign_currency = curcy local_currency = curcy_new IMPORTING local_amount = bsl_krk_jan EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = lagx0101 foreign_amount = bsl foreign_currency = curcy local_currency = curcy_new IMPORTING local_amount = bsl_jan EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = 'RP' i_msgty = 'S' i_msgno = '016' i_msgv1 = sy-msgv1 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = 'RP' i_msgty = 'S' i_msgno = '016' i_msgv1 = text-l02 i_msgv2 = text-l03 i_msgv3 = sy-msgv3 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = 'RP' i_msgty = 'S' i_msgno = '016' i_msgv1 = text-l02 i_msgv2 = text-l04 i_msgv3 = sy-msgv3 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = 'RP' i_msgty = 'S' i_msgno = '016' i_msgv1 = text-l02 i_msgv2 = text-l05 i_msgv3 = sy-msgv3 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_AND_ALV_DISPLAY CALL FUNCTION 'HR_PAL_LOG_AND_ALV_DISPLAY' EXPORTING i_s_display_profile = gs_display_profile i_structure_name = c_strnm_main i_grid_title = g_grid_title i_default = c_x i_save = c_a is_variant = gs_variant TABLES t_outtab = gt_out EXCEPTIONS program_error = 1 OTHERS = 2.

HELP_DOCU_SHOW_FOR_FIELD * CALL FUNCTION 'HELP_DOCU_SHOW_FOR_FIELD' * EXPORTING " DISPLAY = ' ' * " FIELDVALUE = ' ' * " KEYWORD = ' ' * " HELP_IN_POPUP = ' ' * fieldname = 'P01B_BSLKX' * tabname = 'RPCBLXXX'.

RP_GET_BAUSTELLE CALL FUNCTION 'RP_GET_BAUSTELLE' EXPORTING ptdbk = ptdb1 begindatum = t5db4_begda endedatum = t5db4_endda TABLES ptdbf = ptdb2 EXCEPTIONS no_relevant_key = 01 no_entry_found_t5db4 = 02 "XWMcP30K155171v no_entry_found_prps = 05 no_entry_found_aufk = 06 no_entry_found_vbuk = 07 no_entry_found_ckph = 08. "XWMcP30K155171^

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = bi_name user = apqi_userid keep = space holddate = bi_hold.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'DBLGK' struc_content = pme37 IMPORTING back = brank 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.



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