cancel
Showing results for 
Search instead for 
Did you mean: 

How to know is the User assinged to any org unit in PPOSA_BBP or not

Former Member
0 Kudos

Hi All,

We have a requirment where need to check is a user is assigned to org uni n PPOSA_BBP or not.

how can we do this..

Regards

-


cb

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can from my perspective do that with BBP_BP_OM_INTEGRATE transaction just as easy:

Open BBP_BP_OM_INTEGRATE -> select 'user' -> f8/execute -> shows you a list of all user errors including all SU01 users that have not been assigned to PPOSA_BBP (error msg: User xx is not integrated in the organisational schema), object links is 'red'.

Kind regards,

Tim

Answers (5)

Answers (5)

MarcoEidinger
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

if you are using SRM 7.0 then you can use methods GET_ASSIGNED_USER_ACCOUNTS / GET_UNASSIGNED_USER_ACCOUNTS of class /SAPSRM/CL_PDO_ORG_DATA_UTIL to check if certain user accounts are assigned to employee's or not.

Best regards,

Marco.

Former Member
0 Kudos

run transaction: BBP_BP_OM_INTEGRATE

replying because this one wasn't there yet, solution was already there though :-).

Kind regards,

Tim

Former Member
0 Kudos

Hi All,

Thanks a lot your reply,

but my requriment is to get all the users who are present in the system ,but not assinged in PPOSA_BBP to any org unit.

Regards

-


CB

former_member183819
Active Contributor
0 Kudos

retrive alll SRM su01 users via FM and check are they available in BUT000 simple.

muthu

Former Member
0 Kudos

Hello,

Hope this might be helpful.

1. Based on missing relationships:

In SRM relationships are O-S-CP-P,

From HRP1001, check the CP to S relationships, take the list of CP & compare with total number of CP from HRP1000, Delta will show CPs not tied to positions. you can extend the logic based on requirement.

2. Based on missing inherited attributes:

Root Org level attributes are inherited top to bottom. Read one specific attribute of user & compare with root level attribute. You can use standard FM for this.

Thanks

Ashutosh

Former Member
0 Kudos

Hi muthu ,

Thanks a lot foy you reply, but can you please tell which FM i can use and in BUT000 where i can give the user id and get the details.

Regards

-


cb

Former Member
0 Kudos

Hi,

You can try transaction USERS_GEN to export all the user deatils.

Former Member
0 Kudos

Program-wise it's: HRALXSYNC

The function module you're looking for is contained within that program.

Kind regards,

Tim

pedro_santos6
Contributor
0 Kudos

Hi,

You can use the table HRP1000 with the field SHORTS as reference of the user.

Rgs,

Pedro Marques

former_member183819
Active Contributor
0 Kudos

every user must be assigned to org structure . please check BP created for that user.

RUN -BBP_CHECK_CONSISTENCY FOR THAT USER FOR SHOPPING CART.

every user must be integrated to org otherwise even he can not loginto the web successfully .

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

How about search the user in PPOSA_BBP transaction? Or Are you looking for a solution by program?

Regards,

Masa

Former Member
0 Kudos

As Masa said, you can search for the user in PPOSA_BBP and check if there are any org assignments for the user. You should also be able to check in HRP1001 table by searching on SCLAS='US' and SOBJID='userid'.

SG