Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

INfotype not found error

Former Member
0 Likes
1,412

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

9 REPLIES 9
Read only

former_member226519
Active Contributor
0 Likes
1,122

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.

Read only

Former Member
0 Likes
1,122

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.

Read only

agnihotro_sinha2
Active Contributor
0 Likes
1,122

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.

Read only

Former Member
0 Likes
1,122

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.

Read only

0 Likes
1,122

Hi,

Go to the error in debug mode and atleast check the infotype number. That will atleast guide u towards the problem..

Read only

0 Likes
1,122

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..

Read only

Former Member
0 Likes
1,122

Can u provide data at runtime for all the variables and sy-subrc?

infty, tclas, dbtab

Read only

0 Likes
1,122

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

Read only

Former Member
0 Likes
1,122

It was some changes done by basis guy