cancel
Showing results for 
Search instead for 
Did you mean: 

Rule to find the Position has SAP ID's or not

Former Member
0 Kudos

Hi,

I have requirement where i need to find the whether the position in the org chart contain SAP Id's or not and if the position is not empty then i need to send the mail to position if not i need to send the mail to workflow administrator.

Please can any one guide me in achieving this functionality.

regards

manju

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Use FM

RH_GET_PERSONS_FROM_POSITION to retrieve Personnel number from Position Id and then Read the table PA0105 to retrieve SAP User Id corresponding to the Pernr.

<b>Reward points if useful</b>

Thanks

Arghadip

Former Member
0 Kudos

Hi Arghadip Kar ,

thanks for your response

there is one FM RH_OM_GET_HOLDER_OF_POSITION this will retrieve the user ID's for the given position . so i got the solution .

i have one more query . i need to find the workflow admin SAP id .is there any FM for that .

thanks for your response

Regards

manju

martin_nooteboom
Active Contributor
0 Kudos

Hi Manju,

You can use FM SWD_GET_CUSTOMIZING for this.

Regards,

Martin

Former Member
0 Kudos

Hi Martin Nooteboom ,

Yes . thanks for your answer .

Even i got the same FM while debugging in SWU3 .

regards

Manju

martin_nooteboom
Active Contributor
0 Kudos

Hi Manju,

Good for you. It is good to hear that there are still people trying to find out things for themselves in stead of taking the easy way.

Regards,

Martin