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

Problem in attributes update

Former Member
0 Likes
188

Hi Experts

I am facing problem in attributes update.I am updating the attributes from program using bbp_update_attributes.

When user doesn't have any ( non inherited and non default ) attributes, like these attributes are having no values then i am not able to update the attributes.

It is giving update error.

Please tell me is there any setting or any thing i am missing.

I am using replace_p = '   ' because if replace_p = x it is over writing all existing attributes.

Accepted Solutions (0)

Answers (1)

Answers (1)

konstantin_anikeev
Active Contributor
0 Likes

Hi Ravindranath,

yes, it is so. You should first read attributes with BBP_READ_ATTRIBUTES, then compile full update table and then use function call with

replace_p = abap_true.

alternatively you can use function modules:

RH_OM_ATTRIBUTES_INSERT - if no local attributes assigned

or

RH_OM_ATTRIBUTES_UPDATE - if there are already local attributes assigned

Best Regards

Konstantin