Application Development 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: 

How to get email id's by using position ID

Former Member
0 Kudos
184

Hi friends,

I have position ID with me.

please guide me how to fetch email id or users available in that position ID.

any function module.

Thanks,

Yogesh

2 REPLIES 2

Former Member
0 Kudos
78

Hi

name of the field

regards

Shiva

labilly
Explorer
0 Kudos
78

Hi, Yogesh.

User id can be fetched using RH_PM_GET_STRUCTURE function, using the following parameters:

PLVAR = 1

OTYPE = "S" (indicating you are using a position id)

OBJID = [position id here]

BEGDA = SY-DATUM

ENDDA = SY-DATUM

STATUS = 1

WEGID = SA008P à Parameter listed in T778A that determines the type of result, in this case, all users for the position

77AW_INT = “ ”

AUTHY = X

DEPTH = 0

ACTIV = X