cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

updating attributes values using BBP_UPDATE_ATTRIBUTES

Former Member
0 Likes
579

hi,

I have to update the attribute values at user level in Org.struc.

I am using the FM, BBP_UPDATE_ATTRIBUTES for the above purpose, the problem i'm facing is it is updating for some Users and failing for some users. After thorough debugging I came to know that FM is querying two DB tables 'HRP1222' and 'HRT1222' at different places. The users which are not having entries in the above tables it is giving dump with unknown error.

But it is working very well if we are updating at department level since they have maintained for all departments in the above tables.

please give me any alternative approach or any clue to do the above requirement.

help me soon.

Thanks,

Gupta.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Gupta,

Firstly I have to tell you that the function module

BBP_UPDATE_ATTRIBUTES is not a SAP standard function module and

therefore we do not fully support inconsistent attributes stored on

the database.

The recommended way to maintain attributes is via BBPATTRMAINT or

using PPOMA_BBP as the admin user. These operations are fully supported.

If the user has no attributes maintained or inherited attributes

then they have no objects in HRP1222. In order to run the function

module for this scenario the parameter 'REPLACE_P' must be set to 'X'.

However, please be aware that this will result in the loss of

all user attributes and defaults maintained locally for the user.

Hope this helps,

Kind Regards,

Matthew

Answers (0)