on 09-15-2008 9:21 AM
Hi All,
I have a requirement wherein i need to fetch wagetypes from IT 0008 subtype IN11 based on the latest record available for that employee.
Any pointers in this regard would be of utmost help.
Regards,
Amrita
Hi Amrita
you can use FM HR_READ_INFOTYPE to read details of a IT-0008 for a employee for a given date.
then your p0008 structure would be populated , you can use do varying to get the exact wagetype.
using the above function module is better option if you dont know how to use do varying command.
but do varying is also a simple command.
code :
DO 40 TIMES VARYING lgart FROM p0008-lga01 NEXT p0008-lga0
IF lgart = 'IN11' .
Your logic
EXIT.
ENDIF.
ENDDO.
hope this is helpful for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pleas find the link
http://help.sap.com/saphelp_45b/helpdata/en/60/d8bc17576311d189270000e8322f96/content.htm
Regads
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the context ? ABAP? Payroll/ Time schema? Query?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.