Skip to Content
author's profile photo Former Member
Former Member

Display custom service for an ESS user

Hi,

I need to extract Employee Education details based on his Employee id ( Pernr ) from R/3 table and display them in ESS.

For example, ESS employee 123 is accesing his data in ESS. When 123 clicks custom Education tab, it should display his details.

I have created a ABAP program and assign T-codes, services. But this program needs Employee number as Input. How do I get his Employee number in ABAP Editor ?

Thanks.

jey

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 07:46 AM

    you seem to be in a lot of hurry...

    check the bapi

    pernr is not mandatory you can use userid only...

    pass userid and go ahead.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 20, 2007 at 01:13 PM

    Find the employee number from the logged in user's sy-uname.

    Use standard function:

    HR_GETEMPLOYEEDATA_FROMUSER

    ...and you can get all kinds of wonderful info! =)

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the info guys. But what I need exactly is,

      - When an ESS user click particular tab, it should display his Education details.

      - In R/3, I wrote a small program which extacts these info using <b>Personal number</b>

      - How does the program come to know which Employee ( <b>Perosnal number</b>) clicks the tab ?

      - How do I extract the clicked Employee number and pass it to my custom program ?

      Thanks

      jey

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 01:54 PM

    bapi_employee_getdata will also help.....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 06:48 AM

    1. create a pgm in abap that in pbo calls bapi_getdata_employee

    2. this will return you the employee number

    3. and then go on with the logic you have used in your pgm.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.