Skip to Content
author's profile photo Former Member
Former Member

0AGE does not calculate the age

Hello Community,

I have a problem, when I make the loads data from R/3 to BW the infoobjetos 0age does not calculate the age of the employees.

In the InfoSource 0PERSON I can see the InfoObject 0DATEBIRTH, this infoobject contains data, I don´n now Why the system don´t calculate the age.

I have another problem with the relation of the data of Organizational Management, in extractor 0HR_PA_OS_1 infoobject 0employee does not fill, then when i try to see the data the system show me the following message:

" Error CL_RSDM_READ_MASTER_DATA and FORM_sidval_direct_read2"

Mariely

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 11:17 AM

    Hello Mariely,

    problem 2:

    please check note 678389, if you are on Support Packages 16 and 17 (BW 3.0B) or.

    10 and 11 (BW 3.1C).

    If this is not the reason please check the consistency of your master data table with transaction RSRV.

    problem 1:

    have you activated the master data table by using the change run?

    Kind reg.

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 05:16 PM

    looks like you have manually added 0age in 0person.

    I don't think it is delivered in 0person in the Business content. Is it ?

    When you do so you have to add a routine to calculate the age based on birthday : eg of routine in transfer structure (I didn't check the syntax) :

    IF NOT ...DATEBIRTH IS INITIAL.

    RESULT = SY-DATUM0(4) - ...-DATEBIRTH0(4).

    IF SY-DATUM4(4) LT ...-DATEBIRTH4(4).

    RESULT = RESULT - 1.

    ENDIF.

    ENDIF.

    Issue : 0person is time dependant, maybe you should calculate the age only the the last record (dateto = 99991231). Or maybe calculate the age only in the provider you use for reporting. Be carefull with historical view.

    regards from France

    Philippe

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.