‎2009 Aug 11 12:47 PM
Hi expert.
When i try to create a new employee in PA30.
I got error that infotype is not found in below function:
CALL FUNCTION 'HR_INFOTYPE_DATABASETABLE_GET'
EXPORTING
infty = infty
tclas = tclas
IMPORTING
dbname = dbtab
EXCEPTIONS
entry_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0 OR dbtab = 'TEVEN' OR dbtab IS INITIAL.
RAISE infty_not_found.
ENDIF.
Thanks & REgards
Anwar
‎2009 Aug 11 12:53 PM
usually you enter a new person by processing a hiring action (at least infotypes 0000, 0002 and 0001) and infotype 0003 will be created automatically.
Ask the HR people how to do it in you special case.
‎2009 Aug 11 12:55 PM
Hi,
The table being referenced in this FM can be maintained from SM30.
Get the Infotype number and ask ur Func consultant to maintain entry for that Infotype.
T777D.. This table is usually used in data exchange for HR data.. However there could be some data being posted making use of entries inthis table.
Just amintian those Infotypes and ur problem shud be resolved.
Revert if u need more.
‎2009 Aug 11 1:07 PM
Which is the Infotype you are passing in the INFY param? is this infotype already configured?
also while creating an Employee you first have to create hiring from action infotype 0000. are all these done?
ags.
‎2009 Aug 11 1:12 PM
When i am trying to change any dataof any user who is hired and have entry in 0000,through pa30,as soon as i click on save button,dumb error comes..upto 1 hr earlier it was working fine,,is thier any error for country grouping???
A RAISE statement in the program "SAPLHRAC" raised the exception |
condition "INFTY_NOT_FOUND". |
Since the exception was not intercepted by a superior |
program, processing was terminated. |
Short description of exception condition: |
For detailed documentation of the exception condition, use |
Transaction SE37 (Function Library). You can take the called |
| function module from the display of active calls.
‎2009 Aug 11 1:18 PM
Hi,
Go to the error in debug mode and atleast check the infotype number. That will atleast guide u towards the problem..
‎2009 Aug 11 1:22 PM
HI,
Its giving error in for all infotype,when i select any infotype from PA30 after selecting any employee,when i press save button..it gives error..
‎2009 Aug 11 1:34 PM
Can u provide data at runtime for all the variables and sy-subrc?
infty, tclas, dbtab
‎2009 Aug 11 1:43 PM
HI,PLs find as you required..
sy-Subrc = 0.
INFTY |
0001 |
3333 |
0001 |
0000 |
0000 |
TCLAS |
A |
4 |
1 |
0 |
0 |
DBTAB |
222222222222222222222222222222 |
000000000000000000000000000000 |
000000000000000000000000000000 |
| 000000000000000000000000000000
‎2009 Aug 12 8:14 AM