SAP Reports / Programs

RPLEHBD0 SAP ABAP Report - documentation and ABAP source code







RPLEHBD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Check of salary limit eliminated...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 RPLEHBD0 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_LEHB - Earnings Survey


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 RPLEHBD0. "Basic submit
SUBMIT RPLEHBD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLEHBD0 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: CURR = Output Currency
Selection Text: EINZEL = Output Specifications
Selection Text: JAHR = Year of Survey
Selection Text: MERKTR = Change Wage Class. Accord. to
Selection Text: MERKZU = Company Merger According To
Selection Text: MONAT = Month/Year of Survey
Selection Text: PA_DOWN = Download as XML File
Selection Text: PA_TEST = Create Test Delivery
Selection Text: P_ANART = Further Company Information
Selection Text: P_GRUND = Other Reasons
Selection Text: P_GRUNDW = Other Reasons
Selection Text: P_REGZAH = Regular Premiums
Selection Text: P_REGZAW = Regular Premiums
Selection Text: PA_VALI = D .
Selection Text: PA_PATH = D .
Selection Text: VEMW = Wage Types,Monthl.Survey,Work.
Selection Text: VEMA = Wage Types,Monthl.Survey,Empl.
Selection Text: VEJW = Wage Types,Annual Survey,Work.
Selection Text: VEJA = Wage Types,Annual Survey,Empl.
Selection Text: VEBLK = Set Salary Limits Accord. to
Selection Text: VEAL = Generally Used Wage Types
Selection Text: P_TARIFW = Pay Scale/Company Increase
Selection Text: P_TARIF = Pay Scale/Company Increase
Selection Text: P_STREIW = Strike
Selection Text: P_STREIK = Strike
Title: Earnings Survey for Industry and Trade
Text Symbol: E17 = Acc. to statistics IT, employee not relevant for survey
Text Symbol: E18 = Employee has incentive group 1; therefore not taken into account
Text Symbol: E19 = Basic Pay Infotype Not Maintained
Text Symbol: E20 = Org. Assignment Infotype Not Maintained
Text Symbol: E21 = Person's total gross income exceeds limit constants; therefore not taken into account
Text Symbol: E22 = Note: Part-time employee acc. to DUEVO IT, not acc. to work schedule IT
Text Symbol: E23 = Wrk Contr. (Org.Asst IT) Does Not Match Pay Scale Ind. (T503)
Text Symbol: E24 = Worker, but has stat. benefit group 4 or 5 in statistics IT
Text Symbol: E25 = Employee is not active; is not taken into account
Text Symbol: E26 = Employee group/work contract marked as not relevant
Text Symbol: E27 = Person is retired/in early retirement; is not taken into account
Text Symbol: E28 = Employee Group/Subgroup Not in Table T5D03





Text Symbol: E30 = An error occurred during calculation
Text Symbol: E31 = of wage limits.
Text Symbol: E32 = Check the feature
Text Symbol: E33 = and the constants VEK**
Text Symbol: E34 = in table 511K,
Text Symbol: E35 = which this feature refers to.
Text Symbol: E36 = Person has no total gross; is not taken into account
Text Symbol: G00 = XML file not created:
Text Symbol: G01 = XML: Sender ID missing for pers. group/subgrp
Text Symbol: E16 = Employee is trainee; therefore not taken into account
Text Symbol: E15 = Employee works part time; therefore not taken into account
Text Symbol: E14 = Employee has entered/withdrawn from company during survey period
Text Symbol: E13 = Person is worker, but has incentive group 4 or 5
Text Symbol: E12 = Statistical benefit group not maintained for wage type
Text Symbol: E11 = Pay Scale Area, Type, Group Not in Table T5D10A/T510G
Text Symbol: E10 = Pay Scale Area, Type, Group Not in Table T5D3M
Text Symbol: E09 = More than 10 unpaid absence days; therefore, not taken into account
Text Symbol: E08 = More than 1 unpaid absence day; therefore, not taken into account
Text Symbol: E07 = Pay scale features have changed in survey period
Text Symbol: E06 = Cannot determine whether person is commercial/technical employee
Text Symbol: E05 = Employee Group/Subgroup Not in Table T503
Text Symbol: E04 = Person's payroll data could not be evaluated
Text Symbol: E03 = Terms/type of employment has changed during period
Text Symbol: E02 = Work Contract Contradicts Pay Scale Indicator (T503)
Text Symbol: E01 = Note: Part-time employee acc. to work schedule IT, not acc. to DUEVO IT
Text Symbol: D02 = For Workers
Text Symbol: D01 = For Sal. Empl.
Text Symbol: B02 = Error and Note List
Text Symbol: B01 = Specification List
Text Symbol: 401 = Form Output
Text Symbol: 377 = ANNUAL GROSS WAGES
Text Symbol: G02 = XML: Sender data incomplete (T536A):
Text Symbol: Z01 = Data stored in:
Text Symbol: X04 = Download .xml Files
Text Symbol: X03 = Overwrite File and Create It Again?
Text Symbol: X02 = already exists
Text Symbol: X01 = XML file for company number
Text Symbol: T05 = Download
Text Symbol: T04 = Reason for the change in payments





Text Symbol: T03 = Wage type lists
Text Symbol: T02 = Specifications for structure of survey
Text Symbol: T01 = Survey Period
Text Symbol: SO4 = Number of Persons Considered:
Text Symbol: S03 = Number of Persons Ignored:
Text Symbol: S02 = Number of Incorrect Persons:
Text Symbol: S01 = Number of Selected Persons:
Text Symbol: N08 = Operation ERROR Occurred
Text Symbol: N07 = In Feature
Text Symbol: N06 = Is Not Generated/Available
Text Symbol: N05 = Feature
Text Symbol: N04 = Operation ERROR Occurred
Text Symbol: N03 = In Feature
Text Symbol: N02 = Is Not Generated/Available
Text Symbol: N01 = Feature
Text Symbol: M10 = For the year
Text Symbol: M09 = For month
Text Symbol: M08 = Operation ERROR Occurred
Text Symbol: M07 = In Feature
Text Symbol: M06 = Is Not Generated/Available
Text Symbol: M05 = Feature
Text Symbol: M04 = Does Not Exist in Table T512E
Text Symbol: M03 = Form Indicator
Text Symbol: M02 = Enter a valid month
Text Symbol: M01 = Only entries " " and "X" are allowed here
Text Symbol: K05 = Pay Scale Area:
Text Symbol: K04 = PS type:
Text Symbol: K03 = PSubarea:
Text Symbol: K02 = PArea:
Text Symbol: H07 = Salary/Wage Hours OvertimeHrs
Text Symbol: H06 = PersNo Wrk SalEmployee InctGr M/F
Text Symbol: H05 = Gender
Text Symbol: H04 = Com. Techn. Stat.
Text Symbol: G05 = Company number must have nine numeric places:
Text Symbol: G04 = XML: State unknown:
Text Symbol: G03 = XML: Administrator data incomplete (T536A):
Text Symbol: 376 = ANNUAL GROSS SALARIES
Text Symbol: 236 = How many hours were in the company
Text Symbol: 237 = /pay scale weekly work period?



Text Symbol: 238 = 13-16
Text Symbol: 239 = 3.
Text Symbol: 240 = If pay is based on weekly
Text Symbol: 241 = payroll,
Text Symbol: 242 = specify the number of weeks
Text Symbol: 243 = 17
Text Symbol: 244 = 4.
Text Symbol: 245 = Are the employees normally paid
Text Symbol: 246 = a fixed monthly wage?
Text Symbol: 247 = 18
Text Symbol: 248 = 5.
Text Symbol: 249 = If no, paid working time in hours
Text Symbol: 250 = on 29th of the rep. period
Text Symbol: 251 = on 30th
Text Symbol: 252 = on 31st
Text Symbol: 253 = 19-22
Text Symbol: 254 = 23-26
Text Symbol: 255 = 27-30
Text Symbol: 256 = Earnings survey in manufacturing
Text Symbol: 257 = industry, retail, credit institutions
Text Symbol: 258 = and insurance
Text Symbol: 259 = 1=Yes 2=No
Text Symbol: 300 = Earnings Specifications
Text Symbol: 301 = |
Text Symbol: 302 = NUMBER
Text Symbol: 303 = TOTAL PAID HOURS
Text Symbol: 007 = Directory for XML Download
Text Symbol: 200 = Earnings Survey in
Text Symbol: 201 = Manufacturing Industry
Text Symbol: 202 = Report Period:
Text Symbol: 203 = This survey form is created auto-
Text Symbol: 204 = matically and is valid as signed by:
Text Symbol: 205 = Administrator:
Text Symbol: 206 = Tel.:
Text Symbol: 207 = Fax:
Text Symbol: 208 = Date:
Text Symbol: 209 = e-mail
Text Symbol: 210 = WORKER SPECIFICATIONS
Text Symbol: 211 = EMPLOYEE SPECIFICATIONS
Text Symbol: 212 = Working Time and Earnings Specifications
Text Symbol: 214 = 1=DEM,2=EUR
Text Symbol: 220 = Company No.:
Text Symbol: 221 = Currency
Text Symbol: 223 = ES Affiliation:
Text Symbol: 224 = Record Item
Text Symbol: 225 = 1-9
Text Symbol: 226 = 10
Text Symbol: 228 = Selected Pay Scale:
Text Symbol: 230 = 1.
Text Symbol: 231 = For which period are the work
Text Symbol: 232 = time & pay specifications valid?
Text Symbol: 233 = Frm
Text Symbol: 234 = To
Text Symbol: 235 = 2.
Text Symbol: 304 = GROSS PAY
Text Symbol: 342 = compared to the last survey,
Text Symbol: 343 = state the reasons.
Text Symbol: 344 = Possible reasons are:
Text Symbol: 345 = Red.Wk.Time
Text Symbol: 346 = - Pay scale/company pay increases
Text Symbol: 347 = - Changes due to regularly-paid
Text Symbol: 348 = premiums/piecework, incentive bonuses
Text Symbol: 349 = - Other Reasons
Text Symbol: 350 = - Strike
Text Symbol: 351 = Report Year:
Text Symbol: 352 = EMPLOYEE SPECIFICATIONS
Text Symbol: 353 = WORKER SPECIFICAT.
Text Symbol: 357 = RECORD ITEM
Text Symbol: 358 = 10-14
Text Symbol: 359 = 15-24
Text Symbol: 360 = 40-44
Text Symbol: 361 = 45-54
Text Symbol: 364 = 25-29
Text Symbol: 365 = 30-39
Text Symbol: 366 = 55-59
Text Symbol: 367 = 60-69
Text Symbol: 369 = Y
Text Symbol: 370 = Earnings survey in manufacturing
Text Symbol: 371 = industry, retail, credit institutions
Text Symbol: 372 = and insurance
Text Symbol: 373 = If extenuating circumstances have influenced
Text Symbol: 374 = If extenuating circumstances have influenced
Text Symbol: 375 = NUMBER OF INCLUDED
Text Symbol: 305 = GENDER
Text Symbol: 306 = BENEFIT-
Text Symbol: 307 = OF INCLUDED
Text Symbol: 308 = ---------------------------
Text Symbol: 309 = TOTAL FOR
Text Symbol: 310 = Group
Text Symbol: 311 = WORKERS/M
Text Symbol: 312 = TOTAL
Text Symbol: 313 = No. OF O/T
Text Symbol: 314 = SPECIFIED
Text Symbol: 315 = WKRS/F
Text Symbol: 316 = WORK HOURS
Text Symbol: 317 = HOURS
Text Symbol: 318 = 13
Text Symbol: 319 = 14
Text Symbol: 320 = 15-19
Text Symbol: 321 = 20-28
Text Symbol: 322 = 29-34
Text Symbol: 323 = 35-43
Text Symbol: 330 = OFFICE EMPLOYEES
Text Symbol: 331 = TECHN. EMPL. AND SUPERV.
Text Symbol: 332 = NUMBER OF
Text Symbol: 333 = GROSS-
Text Symbol: 334 = INCLUDED
Text Symbol: 335 = SALARY TOTAL
Text Symbol: 336 = SAL.EMPLOYEE
Text Symbol: 340 = If extenuating circumstances have influenced
Text Symbol: 341 = gross hourly pay


INCLUDES used within this REPORT RPLEHBD0

INCLUDE RPC2RX01.
INCLUDE RPC2RX02.
INCLUDE RPC2RDD1.
INCLUDE RPPPXD10.
INCLUDE RPC2CD00.
INCLUDE RPCMGR00.
INCLUDE RPPPXD00.
INCLUDE RPPPXM00.
INCLUDE RPLEHBD0_XML. "XIJ-N#0780224


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_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = begda end = endda IMPORTING hire_date = hire_date fire_date = fire_date TABLES pp0000 = p0000 pp0001 = p0001 pphifi = phifi.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING adrswa_in = adrs_statistik sender_country = '015' IMPORTING adrswa_out = adrs_statistik EXCEPTIONS OTHERS = 1.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = g_molga begda = currdate IMPORTING waers = currcy 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 = cdate foreign_amount = damt foreign_currency = scurr local_currency = curr IMPORTING local_amount = damt EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = pernr-pernr begda = l_date endda = l_date * KUG = * REFRESH = 'X' * WORKING_HOURS = 'X' * SWITCH_ACTIV = * MODIFY_ENTRIES = 'X' * I0001_I0007_ERROR = '0' * IMPORTING * WARNING_OCCURED = TABLES i0000 = p0000 i0001 = p0001 i0002 = p0002 i0007 = p0007 * I0049 = * I2001 = * I2002 = * I2003 = perws = psp EXCEPTIONS error_occured = 1 abort_occured = 2 OTHERS = 3.

OCS_GET_COMPONENT_STATE CALL FUNCTION 'OCS_GET_COMPONENT_STATE' EXPORTING iv_component = 'SAP_HR' "#EC NOTEXT IMPORTING ev_comp_rel = p_rel_saphr EXCEPTIONS unknown_component = 1 OTHERS = 2.



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