on 04-30-2012 7:06 AM
Hi friends,
I've a web dynpro screen with input fields. After filling all the data i m pressing print button, to print it as pdf by calling a smartform.
Now i've 2 logos in smartform, based on perner number i need to print any one of the logo. Means i need to find out the personal area of the pernr
to print the logo and i need to pass to that smartform. this thing i need to do in a class method..
can any one guide me plz?
Thanks in advance
Ramana
Hi,
It is available in Infotype 1. You can get from pa0001-werks. Otherwise, you can use HR_GET_EMPLOYEE_DATA for getting it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jayanthi,
i need to get payroll area ie abkrs field.
for that in class i m passing importing param as pernr, info type 0001 and getting table it_pa0001.
From this how can i get particular field i.e. abkrs(exporting param).
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
* TCLAS = 'A'
PERNR = I_PERNR
INFTY = '0001'
TABLES
INFTY_TAB = ME->GT_TAB_0001 "this is declared in attributes of class as a table type of PA0001
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2.
Now from this i need to get the value of abkrs...
thanks
ramana
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.