@ HR_INFOTYPE_CHECKEXISTENCE

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?

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

Similar Messages

  • User Exit EXIT_SAPFP50M_002 getting called twice

    Hi,
    I've created a custom infotype - 9002 & am doing processing in the user exit - EXIT_SAPFP50M_002 (as suggested [here|http://sapdev.co.uk/enhance/enhance_hrpbopai.htm]). Specifically, I'm inserting one more record into the infotype. To insert records, I'm making use of the FM - HR_INFOTYPE_OPERATION. This call is in a Z report & I'm invoking it through SUBMIT & RETURN.
    My problem is that this FM is calling my exit (the one mentioned above) again! (I can see this as I've set a breakpoint in the include ZXPADU02) Since the data is same, all checks are getting passed & the same code is getting executed twice.
    I'm trying to use SET & GET PARAMETER calls to prevent the second execution; which doesn't seem to be the best approach.
    Is there any other way to circumvent the second call? Any help would be appreciated.
    Thanks,
    KKR

    Dear KKR,
    Hope you had a look at the Include LXPADF01 for the Sample Code for Infotype 0008.
    Look at it it migh give you more clue of how to use the Function Exit EXIT_SAPFP50M_02.
    Moreover if you have a look at the FM HR_INFOTYPE_OPERATION - you can see that there is a further check function HR_INFOTYPE_CHECKEXISTENCE which is being used which also calls your Function Exit - So this is the reason why your Function gets executed Twice.
    I Hope this information helps you to some extent.
    Encourage others to answer your queries by suitably rewarding them
    Thanks
    Venugopal

Maybe you are looking for

  • Baseline Date- Non editable

    Hi all, We want to make the "BASELINE Date " of an open line item as NON EDITABLE. As user makes the changes in Base line date every now and then,when it is open item. I have tried to change the setting in OB32  for BSEG-ZFBDT  by removing the check

  • In Word I want to bring the color box out as a separate box in the screen.  I used to could do this, but I no longer can.  Any help?

    In Word I want to bring the color box out as a separate box in the screen.  I used to could do this, but I no longer can.  Any help?

  • Ip profile set to 2mbs?

    Ive seen this problem on here, and solutions offered. My broadband service is currently limited by an ip profile of 2mbs, which gives me a speed of 1.94 using the btwholesale speedtest. I should be getting up to 8. After phoning the technical dept 3

  • Recording stops at exactly 33:16

    So I am recording my demo set from a DJ mixer on Garage Band connected through iMic interface. Everything is going smoothly except at exactly 33:16, the program stops recording. No warning, no nothing, it just stops at 33:16. This happened twice alre

  • Web service call from apex

    Hi , I have a webservice that coded in java. I want to call this web service from an apex application How can I do? thank you