2007 Dec 18 11:48 PM
Hi,
I have a problem to use HR_READ_INFOTYPE to infotype 2011.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = zpernr
infty = '2011'
begda = zbegda
endda = zendda
IMPORTING
subrc = v_subrc
TABLES
infty_tab = ita_2011
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
the infty_not_found return 1, I not be the cause.
tks.
2007 Dec 28 3:32 PM
hi to all,
I comment them that it is able to solve my problems, a table exists TEVEN where they are all the registrations entered to the infotype 2011, then the validation carries out it directly to that table.
Thank you for the help.
Hi,
I have a problem to use HR_READ_INFOTYPE to infotype 2011.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = zpernr
infty = '2011'
begda = zbegda
endda = zendda
IMPORTING
subrc = v_subrc
TABLES
infty_tab = ita_2011
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
the infty_not_found return 1, I not be the cause.
tks.
2007 Dec 19 12:09 AM
Hi Olivia,
Did you check whether your employee number has Time Event's (2011) data for that infotype? If the employee number does not have time event saved for that infotype, it will also return 1.
Maybe the date zbegda and zendda both having invalid date range?
Did you try searching for the data in PA30 for that employee?
Thanks
william wilstroth
2007 Dec 19 12:23 AM
tks, williams,
The infoty have two record for this employee
The zbegda an zendda correspond the data into infotype
I need that the function returns the information that has according to those parameters, since until the moment me this duplicating then doesn't carry out the validations.
tks.
2007 Dec 19 1:09 AM
Hi Olivia,
From the way i look at how you enter the value in the FM, it seems fine...
And since you said that there is data in 2011,
did you do a trace using se37 for this FM so you know where your FM goes wrong giving you back a return 1.
Hmmm...
Thanks
William Wilstroth
2007 Dec 19 2:52 PM
Williams,
I proved in the se37 and for the case I specify of the infotipo 2011 it doesn't work, I proved with another infotipo and there if I work, apparently the chart of the infotipo 2011 this directly to the clushter.
will that be the cause?
tks.
2007 Dec 19 3:40 PM
2007 Dec 28 3:30 PM
hi to all,
I comment them that it is able to solve my problems, a table exists TEVEN where they are all the registrations entered to the infotype 2011, then the validation carries out it directly to that table.
Thank you for the help.
2007 Dec 28 3:32 PM
hi to all,
I comment them that it is able to solve my problems, a table exists TEVEN where they are all the registrations entered to the infotype 2011, then the validation carries out it directly to that table.
Thank you for the help.
2008 Jan 14 11:45 AM
Hi Olivia,
Just to mention that you dont need to put validations in TEVEN..
There is a Function module called
HR_TMW_DB_READ_TEVENT which will directly solve your
purpose.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |