on 2010 May 20 5:40 PM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.