A New Home in New Year for SAP Community: Exciting times ahead for the SAP Community!
Not yet a member on the new home? Join today and start participating in the discussions!
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?
Help to improve this question by adding a comment
If you have an answer for this question, then please use the Your Answer form at the bottom of the page instead.
You already have an active moderator alert for this content.
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
Help to improve this answer by adding a comment
If you have a different answer for this question, then please use the Your Answer form at the bottom of the page instead.
You already have an active moderator alert for this content.
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
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)
Help to improve this answer by adding a comment
If you have a different answer for this question, then please use the Your Answer form at the bottom of the page instead.
You already have an active moderator alert for this content.