cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve BBP_SPENDING_LIMIT

Former Member
0 Kudos

Hello,

I have an issue regarding BBP_SPENDING_LIMIT attribute. I can manage this value both in role or user data, and process it via the starting conditions of the workflow. Nevertheless, I need to use this data in BADI. Do you know the way I can use to retrieve it directly (FM or something)?

Best regards,

Patrick

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you need to find the SPENDING limit for a particular user,then you can use the FM 'BBP_READ_ATTRIBUTES".

BR,

Disha.

Do reward points for useful answers.

Former Member
0 Kudos

In addition to what Disha mentioned, if you need to update the Attributes, you can use the BBP_UPDATE_ATTRIBUTES FM, with the Replace_X parameter.

Thanks,

Sundeep

Former Member
0 Kudos

Hello,

It seemed to me that FM "BBP_READ_ATTRIBUTES" was used to retrieve attributes of organizational structure. BBP_SPENDING_LIMIT is not maintained in this structure but at user or role level. Are you sure I can retrieve BBP_SPENDING_LIMIT via this FM?

Regards,

Patrick

Former Member
0 Kudos

Hi,

The mentioned FM is used to retrive the values of the attributes maintained for a user in the Org structure in trasnc PPOMA_BBP.If you are not getting the value of the attribute through this FM (since its maintained in the Org structure),you can find all the values defined in PFCG(at role level) in the table "SPERS_OBJ".

BR,

Disha.

Do reward points for useful answers.

Former Member
0 Kudos

Hello,

I found it in table "SPERS_OBJ". Thanks for your help.

I give you full points.

Regards,

Patrick

Answers (1)

Answers (1)

khan_voyalpadusman
Active Contributor
0 Kudos

I am sorry , but there is no FM available directly to obtain the spending limit

But you can find using another alternate

1) transaction SE38

2) Enter RBUS4101

3) Click 'Program'

search for the following code which is used to find the spending limit.

-


get_property spendinglimit changing container.

PERFORM read_spending_limit.

object-spendinglimit = ps_data-spending_limit.

swc_set_element container 'SpendingLimit' object-spendinglimit.

end_property.

-


please check wether you can use above code for your requirement.