on 09-20-2007 12:51 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bapi_employee_getdata will also help.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.