Skip to Content
0

Issue with phap_create

Jan 04 at 04:13 AM

21

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sarah Debza
Jan 08 at 10:48 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded