Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to clear buffer created by Fun module BBP_READ_ATTRIBUTES?

I am getting users attributes(Company code and existing catalog id assigned to user attribute in org structure using Function module ‘BBP_READ_ATTRIBUTES’ and than using the values retrieved from this function module and some custom table, I update the users attribute CAT using BBP_UPDATE_ATTRIBUTES. It does update the user attributes.

Problem or Issue: I am doing all this in SAP BADI for the shopping cart. I can see the implementation of badi (custom code) is working fine, It updates the users attributes with the catalog id, But later when system (SAP code after BADI call) reads these values using same function module (‘BBP_READ_ATTRIBUTES’), which is part of SAP native code, It does not pick up latest copy of the attributes but it picks up last version picked up by function module earlier in BADI, Looks like a copy is kept in buffer and function module read it by default.

Does any one know any way we can clear this buffer after getting and updating users attributes so that system picks up latest and greatest value?

Really appreciate any help.

Former Member
Not what you were looking for? View more on this topic or Ask a question