on 09-06-2007 12:49 PM
hi
i have just put this code and its not working for the pernr for which i have data..which i can c in pa20 transaction.
actually its throwing exceptionn as infotype not found.
where as 2011 is std infotype...
DATA : p_2011 TYPE STANDARD TABLE OF p2011 WITH HEADER LINE.
start-of-selection.
get pernr.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = pernr-pernr
infty = '2011'
TABLES
infty_tab = p_2011
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2.
end-of-selection.
plz help me
regards
vivek
Vivek,
Time Events are storing in table TEVEN, only if you are using any third party terminal to record the time datas.
Good Luck
Om
Reward it, if u feel helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The previous response is correct.. Time Events are stored in the TEVEN db Table.. the Infotype 2011 is only a frontend to load this table.. you cannot use HR_READ_INFOTYPE in this case as the Infotype 2011 table ( PA2011 ) doesn't exist. PL go through the following <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/8a/98589346c411d189470000e829fbbd/frameset.htm">SAP Help</a> on Infotype 2011.
You can use the function call HR_EVENT_READ to read the Time events data displayed on Infotype 2011.
~Suresh
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.