Application Development 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: 

@ HR_INFOTYPE_CHECKEXISTENCE

Former Member
0 Kudos

Can anyone please help me with the function of FM- HR_INFOTYPE_CHECKEXISTENCE

What does the return field 'RETURN' do incase we find a existence?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Return has structure BAPIRETURN1

this has field TYPE which shows whether it is successful or not....

TYPE can be S,I,A,W,E

so if it is S the pernr exists in infotype.

Other fields are ID,Number,Message etc.

Regards

Vasu

3 REPLIES 3

Former Member
0 Kudos

Checks if the Pernr exists in the given Infotype.

The return captures related message ..

if we find an existence .. it will have a Success message .. means it has 'S' in the field TYPE of the return ...

(S Success, E Error, W Warning, I Info, A Abort)

Former Member
0 Kudos

Return has structure BAPIRETURN1

this has field TYPE which shows whether it is successful or not....

TYPE can be S,I,A,W,E

so if it is S the pernr exists in infotype.

Other fields are ID,Number,Message etc.

Regards

Vasu

0 Kudos

The return parameter will be initial if an infotype record exists for the values you passed to the function call. It will be filled with a message only in case of an error!

~Suresh