HCNCAVG0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to calculate the average salary for selected employees within a specified period and save the value in an infotype for later use...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 HCNCAVG0 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_LGART = Wage Type
Selection Text: P_PRO = Prorate Incomplete Payroll
Selection Text: P_INCP = Include Probation Period
Selection Text: P_INC = Include Incomplete Payroll
Selection Text: P_EXCP = Exclude Probation Period
Selection Text: P_EXC = Exclude Incomplete Payroll
Selection Text: P_DATE = Effective From
Selection Text: P_0015 = 0015
Selection Text: P_0014 = 0014
Selection Text: PRORATEW = Prorate by Working Hours
Selection Text: PRORATEC = Prorate by calendar days
Selection Text: PA_ENDDA = End Date
Selection Text: PA_BEGDA = Begin Date
Selection Text: LGTXT = Wage Type Text
Selection Text: IN_VIEW = In-view Payroll Periods
Selection Text: FOR_VIEW = For-view Payroll Periods
Title: Average Salary Calculation
Text Symbol: Z12 = Proration by no. of month
Text Symbol: Z11 = Prorate Incomplete Payroll Period
Text Symbol: Z10 = Exclude Incomplete Payroll Period
Text Symbol: Z09 = Include Incomplete Payroll Period
Text Symbol: Z08 = Update Infotype
Text Symbol: Z07 = Probation Periods
Text Symbol: Z06 = Absence Type
Text Symbol: Z05 = Special Absence Type
Text Symbol: Z04 = Proration Rule
Text Symbol: Z03 = For-view Payroll Periods
Text Symbol: Z02 = In-view Payroll Periods
Text Symbol: Z01 = Period Determination
Text Symbol: W06 = Error exist in payroll area:
Text Symbol: W05 = Error occurs when import result:
Text Symbol: W04 = No payroll result to evaluate:
Text Symbol: W03 = No payroll result:
Text Symbol: W02 = Success:
Text Symbol: W01 = Personnel Area
Text Symbol: T51 = Wage Type Text
Text Symbol: T50 = Wage Type
Text Symbol: T49 = Off-Cycle Payment Date
Text Symbol: T48 = In Pay Period End Date
Text Symbol: T47 = Detail
Text Symbol: T46 = Total Amount
Text Symbol: T45 = Year
Text Symbol: T44 = Currency
Text Symbol: T43 = Taxable Amount
Text Symbol: T42 = Payroll Area
Text Symbol: T41 = Cost Center
Text Symbol: T40 = Orgnisation Unit
Text Symbol: T39 = Orgnisation Key
Text Symbol: T38 = EE Subgroup
Text Symbol: Z44 = Error reading test data
Text Symbol: Z43 = No
Text Symbol: Z42 = Yes to All
Text Symbol: Z41 = Yes
Text Symbol: Z40 = Are you sure to update infotype?
Text Symbol: Z39 = Confirm Infotype Update
Text Symbol: Z38 = No entry selected
Text Symbol: Z37 = Update Infotype Successfully
Text Symbol: Z36 = for infotype
Text Symbol: Z35 = Please input a valid wage type for infotype
Text Symbol: Z34 = Probation Period End Date
Text Symbol: Z33 = Please maintain Wagetype in table T7CNLG
Text Symbol: Z32 = WageType is not valid
Text Symbol: Z31 = Effective From
Text Symbol: Z30 = 0015
Text Symbol: Z29 = 0014
Text Symbol: Z28 = Factor
Text Symbol: Z27 = is not correct, it should be
Text Symbol: Z26 = of pernr
Text Symbol: Z25 = Average Salary
Text Symbol: Z24 = Types of Absence Excluded
Text Symbol: Z23 = Type
Text Symbol: Z22 = Wage Type
Text Symbol: Z21 = Infotype
Text Symbol: Z20 = Wage Type
Text Symbol: Z19 = Report Tax Year
Text Symbol: Z18 = General Proration Rule
Text Symbol: Z17 = Exclude Probation Period
Text Symbol: Z16 = Include Probation Period
Text Symbol: Z15 = Exclude Special Absense Type
Text Symbol: Z14 = Prorate by Calendar Days
Text Symbol: Z13 = Prorate by Working Hours
Text Symbol: T37 = EE Group
Text Symbol: PRL = Prepare for result list, please wait......
Text Symbol: PNT = Printer
Text Symbol: PEL = Prepare for error list, please wait......
Text Symbol: M11 = Annual IIT Declaration -Confidential
Text Symbol: M10 = For your
Text Symbol: M09 = Tax owed or overpaid:
Text Symbol: M08 = Foreign Tax Credit:
Text Symbol: M07 = Tax pre-paid and withheld:
Text Symbol: M06 = Annual Tax Payable:
Text Symbol: M05 = Annual income from outside China:
Text Symbol: M04 = Annual Income from within China:
Text Symbol: M03 = Your ID number:
Text Symbol: M02 = Taxpayer's name
Text Symbol: M01 = Your Personnel No.
Text Symbol: H15 = Update IT0015
Text Symbol: H14 = Update IT0014
Text Symbol: H10 = Show Summary
Text Symbol: H09 = Show Details
Text Symbol: H08 = ;
Text Symbol: H07 = Total Errors:
Text Symbol: H06 = Total Success:
Text Symbol: H05 = Error List
Text Symbol: H04 = Average Salary Calculation
Text Symbol: H03 = Success
Text Symbol: H02 = Between Date:
Text Symbol: H01 = Title
Text Symbol: FB4 = Possible absence types
Text Symbol: FB2 = selected
Text Symbol: E03 = Description
Text Symbol: E02 = MSG Type
Text Symbol: CON = Company name:
Text Symbol: 010 = Please input a valid wagetype on selection screen
Text Symbol: 009 = To
Text Symbol: 008 = Data Selection Period
Text Symbol: 007 = Period
Text Symbol: 006 = At least select one record to update infotype
Text Symbol: 004 = Error during the currency conversion of payroll result
Text Symbol: 003 = Period modifier in the specified year does not exist in table t549a
Text Symbol: 002 = Employee's payroll area does not exist in table t549a
Text Symbol: 001 = No payroll result for this employee to evaluate in the specified period
Text Symbol: RPR = Reading payroll result of
Text Symbol: T36 = Personnel Subarea
Text Symbol: T35 = Personnel Area
Text Symbol: T34 = Company Code
Text Symbol: T33 = EE Status
Text Symbol: T32 = BI ER
Text Symbol: T31 = BI EE
Text Symbol: T30 = II ER
Text Symbol: T29 = II EE
Text Symbol: T28 = MI ER
Text Symbol: T27 = MI EE
Text Symbol: T26 = UI ER
Text Symbol: T25 = UI EE
Text Symbol: T24 = PI ER
Text Symbol: T23 = PI EE
Text Symbol: T22 = PHF ER
Text Symbol: T21 = PHF EE
Text Symbol: T20 = Nationality
Text Symbol: T19 = Average Amount
Text Symbol: T18 = In Period
Text Symbol: T17 = Pay Type
Text Symbol: T16 = Payment Date
Text Symbol: T15 = End Date/FP
Text Symbol: T14 = Start Date/FP
Text Symbol: T13 = For Period
Text Symbol: T12 = EMail Address
Text Symbol: T11 = Tax owed or overpaid
Text Symbol: T10 = Foreign tax credit
Text Symbol: T09 = Tax pre-paid and withheld
Text Symbol: T08 = Tax payable
Text Symbol: T07 = Income from outside China
Text Symbol: T06 = Income within China
Text Symbol: T05 = Tax Area
Text Symbol: T04 = Employer
Text Symbol: T03 = ID number
Text Symbol: T02 = Employee Name
Text Symbol: T01 = Personnel No.
Text Symbol: S04 = Output
Text Symbol: S03 = Mail text
Text Symbol: S02 = Parameters
Text Symbol: S01 = Selections