on 02-13-2008 11:02 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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.