Skip to Content
avatar image
Former Member

Web dynpro Abap : get logged user pernr

Hi,

I want to retrieve the pernr of a user (sy-uname).

Is there a FM that returns the pernr of a user id?

Thanks for your feedback.

Karim

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 14, 2008 at 09:21 AM

    query table PA0105, use subty 001 and usrid as sy-uname

    Abhi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2008 at 10:31 AM

    Hi,

    use FM to get the pernr of a user id HRHAP_C_DEFAULT_OBJECT_MYSELFT

    Regards,

    Lakshmi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 01:44 AM

    Karim,

    check this CRIF_GET_EMPLOYEE_FOR_USER

    this question is no where related to WDA.Please dont repeat this and post it in appropriate forum

    Thanks

    Bala Duvvuri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 07:45 AM

    Hi,

    You can use FM "RHXSS_SER_GET_EMPLOYEE_DATA".

    Thanks

    Shruti

    Add comment
    10|10000 characters needed characters exceeded