cancel
Showing results for 
Search instead for 
Did you mean: 

Read Organisation Unit based on Attribute id and value

MohanChauhan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I wanted to get Organizational Unit based on the Attribute Id and Attribute value. Like we can see on PPOMA_BBP.

I have checked 'BBP_READ_ATTRIBUTE', however in this FM we cannot pass the Attribute value to get the Org. unit.

I am not able to find any Table or Function module which we can use to get the desired result.

Please suggest any Table or FM that i can use.

Thanks & Regards,

Mohan

Accepted Solutions (1)

Accepted Solutions (1)

former_member195032
Active Contributor
0 Kudos

Use table T77OMATTRT to get the value of attribute and then you can use mentioned function module to get the value.

I feel that you need to build internal table first and then fetch the data using function module.

Regards,nishant

former_member183819
Active Contributor
0 Kudos

bbp_get_attributes_at03 - FUnction module

orgunit_id_p= 5xxxxxx

o/p - all attributes in it_attr_p table

Can you explore some i/p fields has default options.?

or

Check this FM BBP_READ_ATTRIBUTES . I/P USER ID and org assigned 5XXXXX.

you may get output what are the attributes are inherited.

Administartor can change your neccessary attributes.

regards

Muthu

MohanChauhan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Thanks for your suggestions.

I found the view from where i can get the Organization unit of a attribute and attribute id.

We can use HRV1222A to get the Organization unit. based on attribute id and attribute value.

Hope it is helpful for others.

Regards,

Mohan

Answers (0)