Skip to Content
avatar image
Former Member

Issue with phap_create

Hi,

While creating appraisal document via phap_create/phap_create_pa, the logged in user name is automatically appearing in manager field.

Is this is standard or any issue with the template/authorization.

Please share your view on this ?

Regards,

Margrette Thomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 08 at 10:48 AM

    Hello MArgrette, indeed it is standard for the user to be defaulted into the manager field, if you want to change this behaviour look at Badi HRHAP00_DOC_DEF_D1 and set no_standard_defaulting = abap_true. In the implementation you can set the manager you want.

    The implementation is found in the following coding:

    * DEFAULT APPRAISER by BAdI?
    * read filter value and get implementation
    CALL FUNCTION 'HRHAP_TEMPLATE_EXIT_GET'

    Make sure also to assign your badi implementation to your template.

    Hope this help.Sarah

    Add comment
    10|10000 characters needed characters exceeded