Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Question in HR

Former Member
0 Likes
437

Hello All:

Is there a standard SAP program or FM in HR that gives me update to all infotypes made by the employee himself/herself i.e., I need to get all active employees, get their NTID/userID and then match that ID in all infotypes, when ID is found I need to show that employee info on the report.

Thanks.

Mithun

Hello All:

Is there a standard SAP program or FM in HR that gives me update to all infotypes made by the employee himself/herself i.e., I need to get all active employees, get their NTID/userID and then match that ID in all infotypes, when ID is found I need to show that employee info on the report.

Thanks.

Mithun

1 REPLY 1
Read only

Former Member
0 Likes
411

Hi,

form read_infotype .

call function 'HR_READ_INFOTYPE'

exporting

TCLAS = 'A'

pernr = pernr-pernr

infty = '0002'

begda = pn-begda

endda = pn-endda

BYPASS_BUFFER = ' '

IMPORTING

SUBRC =

tables

infty_tab = i0002

EXCEPTIONS

INFTY_NOT_FOUND = 1

OTHERS = 2

.

if sy-subrc 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

regs,

Hema.