LENGTH OF SERVICE,AGE RANGE, NUMBER OF ACTIONS CALCULATION???

Hi all,
Could you please tell me the logic to calculate the above mentioned fields.
<b>please provide me the logic.</b>
cheers
sheela

choose the proper functional forum..
this looks like an HR question.
try SAP ERP Human Capital Management (SAP ERP HCM)
and please do not post using your CAPS LOCK key, it shows disrespect to people who read your question.
good luck.

Similar Messages

  • Length of service,age range calculation please?

    Hi all,
    Could you please tell me the logic to calculate the above mentioned fields.
    please provide me the logic.
    cheers
    sheela

    Hi Sheela,
    Few benefits/Leave quota are based on the Age of the Employee, few benefits/Leaves quota are based on the length of service one has with the company...
    If this not the answer, you were looking for, pls. clarify your query little more, probably somebody will be able to help in better way.
    Regards,
    Dev

  • Adhoc query - length of service fields

    Hi all,
    I have question regarding the length of service fields in adhoc query (Actions infotype data fields PNP database).
    When I select these fields I get different results according to reporting period; if i select a keydate then the service is calculated according to this date, but if I select a reporting period, then the service is calculated according to the start date of the reporting period.
    Is this expected behaviour? Please let me know how this can be coded to reference the end date of the reporting period.
    many thanks

    Hi,
    Please check OSS notes 333517 and 357093. Both notes, though from 2000, contain detailed functionality and recommendation around u201Clength of serviceu201D.
    Hope this helps.
    Donnie

  • Age in years and length of service wrongly calculated

    I have BI 7.0 implemented by SAP itself , they installed only the business content without any customization
    in HR For The Cube HeadCount 0PAPA_C02  the key figure Age in Years 0AGE_NC is calculating in a wrong way it is subtracting from 1999
    and the field length of service in years 0SRVCLEN_NC is subtracting from 1999 for dates less than 1999 and from 2199 for date more than 1999
    i have searched alot for this but i can't find any solution

    the problem was in the 0CALDAY , it should be set before the calculation
    so i set it to today and everything become fine

  • Length of G/L account number

    Hi.
    I have a question, i hope someone can help me..!!!
    I just create a new chart of account with "Length of G/L account number = 2", then i define an account group = 1000 to 1999
    Group name = Assets. And finally I create a G/L account = 1010 with the tx FSP0
    So my question is, why I can create that account (1010) in my new chart of account if I put "Length of G/L account number = 2"..???
    I think that SAP  has to show me an error message.
    Thanks..!!

    GL account lenght control is based on the number range maintained in OBD4 .
    OB13 provides room for how you want to view the GL account , for eg. it your lenght is 6 , you have created a GL say 3445 then system will show it as 003445 .
    System adds up preceeding zeros in case of numeric accounts and following zeros in alphanumberic accounts.
    Regards ,
    Dewang

  • Calculated Age and Age Ranges in a Query

    Hello,
    We are using 3.5 Query Designer.
    I am trying to create age ranges in a query. The InfoProvider at this point (I've gone very simple) is InfoObject, 0PERSON.
    I've created a calculated key figure (CKF) called age which I have used a formula to define. The age is calculating correctly. Age has  'Calculate Result As...' = Summation. And in the 'Enhance', 'Time of Calculation' is set to Before aggregation. Number of decimal places set to 0. Now I've created a CKF, AGE_GE_40 which has as its formula 'COUNT(('Age' >= 40)). I've created an additional CKF, AGE_LE_39 which has a formula 'COUNT(('Age'<=39))'. Both of these have the 'Summation' set in the calculation section. The query contains 0GENDER, 0PERSON with AGE_GE_40 and AGE_LE_39 and Number of records as the key figures in the columns. When executed initially, all of the result rows are correct. The problem is when I remove 0PERSON, the result rows only give me 1 per gender. This seems like an easy thing to do, why is it not working?
    Thanks for any help,
    Diane Merrill

    Diane,
    For each row in the query data, there is only one age value calculated, which is the aggregration of all records which fulfills the row's characteristic value combination. Thus, when there is Gender & Person columns in the query, each row calculates an age value for the Gender/Person combination, which is essentially the same as for each person, because each person has one gender value. However, when you remove person from the columns, there will be only two values for gender, and the age is calculated as the sum of ages for all records with the same gender value. To reveal more on this, you can add the Age key figure into the query columns, and run the query with only the gender (i.e. without person). Once you see the age value for each row, it should be clear to you.
    Please reward points if this is helpful.
    Wayne

  • How to run Indesign CS3 as a Service with Port number

    Hello all,
    I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.
    I am doing right or is there some other way to start the Server as Service with Port number.
    Thank you all in advance.
    Regards
    Farzana.

    Hi Sascha,
    have you tried to remove the service and install it manually?
    \"Path to IDS"\InDesignServerService /install /u
    \"Path to IDS"\InDesignServerService /install
    I guess you've tried to start the instance in the console already (successfully?).
    Regards
    Ingo
    Am 05.07.2011 um 12:18 schrieb 1000grad_Sascha:
    Hi Ingo,
    I've installed the Snap-In and configured one instance. Maybe it's worth mentioning that there are some instances running at the same time, which have been started using the console. Hope that's not interfering. However, the MMC-configured instance uses a different port.
    I tried to start the service with a huge range of users having all imaginable privileges. The common way of using either "LocalService" or the Local System Account (which has admin rights for me) doesn't do the job.
    cheers,
    Sascha
    >

  • How to summarize age ranges i.e 0-5, 6-10........?

    Post Author: SunilKanta
    CA Forum: General
    Hi,
    I am new to crystal reports, i am designing a report i.e cross tab report as shown below,
    AGE TABLE
    0-5
    6-10
    11-15
    16-20
    21-25
    26-28
    CLASS A Count
                     7
                   15
    CLASS B Count
                     7
                   15
    CLASS C Count
                    109
                 155
                 120
                   96
                   89
    Now my questions are,
    How to display age ranges i.e 0-5, 6-10,........?
    How to group ages in range and get the count or any summarized value ?
    Here i am passing three parameters to the report which are
    1. prmLowAge
    2. prmHighAge
    3. prmAgeBand
    Above shown sample is characterised with prmAgeBand = 5, prmLowAge = 0 and prmHighAge = 28.
    And if possible please try to find the solution for variable age bands.
    Please i am very desperate. Please help me in solving this .

    Post Author: Ishe
    CA Forum: General
    You can use a Do...While loop.  You can use the funtion below:
    LOCAL STRINGVAR AGEGRP;LOCAL NUMBERVAR AGECNT := 0;
    DO (AGEGRP := CSTR(AGECNT,0) + '-' + CSTR(AGECNT+5,0);AGECNT := AGECNT + 5)WHILE AGECNT < ;
    AGEGRP
    Also, you may want to use the following funtion to get , because the formula you were going to use would only compare the year of birth to the current year and ignore the number of months and days difference.
    Int(DateDiff("d",{table.BirthDate},CurrentDate)/365)

  • AGE RANGE calculation????

    hi,
    i am working with HR CUBE(0PA_C01) which is personal actions and headcount, please tell me the logic how to calculate AGE RANGE?
    thanks in advance
    sheelu

    hi,
    points will be assured.
    thaks

  • Length of Service

    Hi Experts,
    Please help me with the infotype field for Length of Service.
    Regards,
    Srik

    There is no infotype for the same.
    But you can identify from the 0000 infotype date for the hiring action and termination action.
    Also if the person is not yet retired and you want to identify the length of service on retirement and you are maintaining the date of retirement in 0041 infotype.
    Then the difference of hiring and this 0041 retirement date can give you length of service.
    REgards,
    Divya

  • Creating age range

    Hi All,
    I am creating a technical specification document for below report. and as of now i dont have sandbox system
    age range  ,     no. employee as per age range  ,  No. of spouse as per age range.
    we are having 0age_range  and 0age  in standard cube 0PA_C01 .
    i have a doubt here if i create a calculated keyfigure for age of spouse using DOB add it in my cube and then in query designer if i drag age range in columns and age and spouse age in rows will i get age range wise number of employees and number of spouse ???
    Apoorva

    Yes you can do that. Here is an example from another thread. The chart is using the data in the "stacked bar chart" table which was derived from the raw data. The bars for the first series are formatted so they are invisible (no fill). You can simplify it somewhat if you don't need a median.

  • Age range change preoblem

    SAP deliverd infoobject 0AGE_RANGE with standard age range, but our clients want to have special age range interval and calculate Number of Employees within this range. However HR module doesn't make this kind of range.
    1) How to change the range according to customer's expectation?
    2) How to calculated Number of Employees within this range due to HR team doesn't maintain this age range in R/3?
    3) Should we write ABAP code?
    SAP standard age range
    1  <20
    2  20 - 29
    3  30 - 39
    4  40 - 49
    5  50 - 59
    6  60 - 69
    7  >= 70
    Customer required:
    1     <=25
    2     26 - 30
    3     31 -35
    4     36 - 40
    5     41 - 45
    6     46 - 50
    7     51 - 55
    8     >= 56
    Edited by: hi ni on Apr 19, 2008 5:02 AM

    Hi,
    take a look at 0AGE doc from help.sap.com I think it should solve your problem:
    This characteristic is a derived characteristic. You can use this characteristic to display key figures in accordance with the age of an applicant or an employee.
    The characteristic contains the applicant/employee‘s age at the end of a period. You can define an age hierarchy according to the specific requirements of your enterprise, and then display the age structure of your enterprise, for example. To enable you to perform age-based calculations, the system includes an Age in Years key figure (0AGE_KYF).
    The age characteristics are calculated using update rules at the end of a period. The period depends on the InfoSource from which it is taken. For example, the end of the period can be at the end of a calendar day or month.
    SAP delivers age in years hierarchies in CSV files. (See also InfoSource Age in Years (0AGE)). You can also define hierarchies for the Age in Years characteristic (0AGE). You can determine intervals within the structure as required, for example, in five-year intervals (25 - 29 years, 30 - 34 years, and so on.) Therefore, the age structure that you define yourself offers advantages over the fixed age structure of the Age Range characteristic (0AGE_RANGE).
    http://help.sap.com/saphelp_nw70/helpdata/en/e0/afd837aeadd03ce10000009b38f889/frameset.htm
    Assign points if it was helpful...
    Regards
    Andreas

  • Calculating Length of Service - Splitting out the months from the years

    Hi folks,
    I was wondering if anyone might have the answer to a little employee length of service conundrum. I'm trying to construct a calculation that will calculate an employee's length of service in whole Years worked only. I also need to produce a second calculation to calculate length of service in whole months worked only but with the whole years worth of months deducted from it.
    For example if a persons hire date is 05-Feb-2001 the two calculations would return:
    Length of service Years 7
    Length of service Months 6
    The following calc will generate length of service as a decimalised number:
    MONTHS_BETWEEN(SYSDATE,Hire Date) /12
    So for my example person I get 7.64 years.
    I need to somehow round this down to the nearest 1 to get whole years service. I cannot use the ROUND function because it rounds to the nearest, so when a number is n.5 or higher it'll round up and will only round down when the number is n.49 or lower. grrr.
    My next mission is to work out months service based on whats after the decimal place. If I could round the Length of service Years down I think I could achieve this. I would just do:
    ROUNDDOWN(((MONTHS_BETWEEN(SYSDATE,Hire Date) /12) - (+ROUNDDOWN+(MONTHS_BETWEEN(SYSDATE,Hire Date) /12))*12)
    ROUNDOWN being my non-existent function!
    Any advice on this is greatly appreciated.
    Lloyd

    Hi,
    TRUNC is the function I always use to round down. It is more flexible than FLOOR as you can use it to round down to a number of decimal places.
    You should also understand that Oracle's definition of MONTHS_BETWEEN does not meet everyones expectations. For example MONTHS_BETWEEN('28-JAN-2001', '28-FEB-2001') is exactly 1 so is MONTHS_BETWEEN('31-JAN-2001', '28-FEB-2001') unless it is a leap year when it is slightly less. That's because Oracle treats the last day of the month as different when it calculates the months between 2 dates.
    Rod West

  • How to find Goods Receipt Number particular to Service Entry Sheet Number.

    Hi Experts,
      In one of my reports  i need to bring purchase order ,service entry sheet, goods receipt number .
    In ekbe i am getting the purchase order and its service entry sheet while keeping BEWTP = 'D'.
    so i am getting purchase orders and their service entry sheet numbers in belnr.
    Now i want to get the corresponding goods receipt number .
    But i am getting goods receipt number against the purchase order but not against service entry sheet , in same EKBE 
    while keeping BEWTP = 'E' movement type = '101'.
    My doubt here is how to get the corresponding goods reciept number for a service entry sheet.
    if i have three service entry sheet numbers for a purchse order i have three goods receipt numbers
    but how to get the relation between them  which GRN to which service entry sheet
    . is there any table which stores the service entry and its grn.
    If i am any thing functionally wrong  which i wrote above please correct me and give ur inputs.
    Thanks
    vamsi
    Edited by: vamsi talluri on Aug 20, 2009 7:21 PM

    Hi Sarath,
         If the Purchase order Item category is 'D' then it is a service order then it can have N service entry sheet numbers and once each service entry sheet is accepted it will be available for Goods reciept .. so that information will be avaiable..
    U can obtain the GRN against the Service entry sheet in EKBE itself.
    BELNR refers to GRN
    LFBNR refers to Service entry sheet number.
    And hence i am closing the thread.
    Thanks
    vamsi

  • SMP Exclusion due to length of service

    Hi all
    Please can you help - we have an employee who has TUPE'd in Service so IT0001, etc. have date of 01.04.2010 but IT0041 and IT0016 have an initial entry date of 2004 - but when we put a Maternity on for this employee she is being excluded from SMP for not enough length of service.
    Does anyone know if there is another IT we are supposed to be using - or if there is a known error with SMP checking the date for length of service?
    Thanks a lot
    Nyree

    Hi Nicola
    Unfortunately not, this is the standard SAP response that someone else sent me:
    'Why does Function module HR_GBSXP_INSUFFICIENT_LOS use IT0000 and not Function module HR_ENTRY_DATE?'
    The length of service uses two checks, IT0000 and IT0041.  OxP will use IT0041 based upon your configuration of GLOSS.  SxP will use IT0000 and any historic data that has been loaded using the guidlines offered in the SAP user guide for Absence Data- take-on.
    The legislation states that the employee must be employed "into" the QW/MW to qualify for SMP/SPP/SAP. So they must be ACTIVE at the start of the QW/MW.
    A date on IT0041 cannot give this information, because they could have been employed by you well before the 26 week cut-off date before the start of the QW/MW, but still have not been employed by you "into" the QW/MW, so wont qualify.
    The check is therefore two-fold.
    1) Check that they are employed "into" the MW/QW, which can ONLY be
    based on IT0000.
    2) Check that they satify the Length of Service check, which can be
    based on IT0000, IT0001, IT0016, IT0041 or your own code.
    So, we're having to manually pay the employees the SMP (the occupational is fine because that works on IT0041) if they have transferred or TUPE'd and then go on Maternity within the first 6 months before they qualify for SMP based on IT0000 date.
    The route we're looking into now is to have the IT0000 & IT0001 dates as the employee's original start date to mirror IT0041 but with IT0008, etc. as their true transfer / TUPE date - that way entitlement can be based on the correct date, but we want the original IT0000 to be Inactive rather than active and I think that is going to cause us problems when the system calculates the entitlement again- but haven't got that far yet
    Cheers
    Nyree

Maybe you are looking for

  • How to Use the language function for assignment and validation

    Hi All, If anyone can explain me in details with example ,how to use the language function for assignments and validations? Thanks Arnab

  • DB2 Insertion Ampersend problem:

    Hi Guys, I have been stuck up with a problem. we are implementing BPM JDBC to JDBC scenario. the receiver DB is DB2 (AS400). The sender side payload contains special Characters like Ampersand (&), now when we try to insert these field into the Revier

  • Missing Process Step - File to IDOC scenario

    Hi gurus! I'd like to help me with this topic. I have an interface that takes a File, its get converted with the CC File Sender (File Content Conversion) to XML, a mapping in the middle to the iDoc, and then it makes the ammount of "N" ACC.DOCUMENT.

  • Netbeans and hibernate

    I created a netbeans project .Netbeans uses nbxdoclet for hibernate. I created the bean in hibernate .Netbeans generated Util file and facade file(in which i specify my function). It is working. Now I want to add date in existing table. But the probl

  • Rollover effect - before/after image?

    Hello all. I would like to create a "before and after" image to show retouching capability.  In other words, when the visitor's cursor hovers over the "before" image it changes to the "after" image. Is this possible in Dreamweaver CC? Thanks. Kevin f