cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_UPDATE_ATTRIBUTES Function Module

Former Member
0 Kudos

Hi Experts,

Could you please tell me how to fetch the USERNAME from the position id in SRM. I need to pass this USERNAME to BBP_UPDATE_ATTRIBUTES FM.

Regards,

Farhana

Accepted Solutions (1)

Accepted Solutions (1)

former_member183819
Active Contributor
0 Kudos

http://wiki.sdn.sap.com/wiki/display/SRM/CodeSample3UpdatingExtendedAttributes%28Storage+Location%29

Former Member
0 Kudos

Hi,

I am getting the position from HR system . For this position, I need to fetch the USER NAME and pass it to FM BBP_UPDATE_ATTRIBUTES. What is the procedure of getting this USERNAME?

Regards,

Farhana

Former Member
0 Kudos

Hi Farhana,

FM BBP_OM_STRUC_GET_USER_FROM_POS should help in your case.

cheers

Iftekhar Alam

former_member183819
Active Contributor
0 Kudos

Alam is correct . but you should supply as position 5XXXXXXX

and you will get user id of that position

br

muthu

Former Member
0 Kudos

Hi Alam,

Thanks. It solved my problem.

Former Member
0 Kudos

Hi Experts,

The function module BBP_OM_STRUC_GET_USER_FROM_POS is fetching only one username for that position.

I need to get all the usernames assigned to that particular position. Could you please help me out

Regards,

Farhana

Answers (1)

Answers (1)

nila_ms
Employee
Employee
0 Kudos

Hi Farhana,

If you want to pass the username of the currently logged in user then you can use 'sy-uname'.

Regards,

Nila