Skip to Content
0
Former Member
Mar 01, 2011 at 05:09 PM

Determine shopping cart data from Source of Supply BADIs

30 Views

Hi Experts,

I am using badi BBP_SOS_BADI, method BBP_SOS_CHECK to determine what contracts the user can choose from when creating shopping cart. The problem is that I have no access to the Shopping Cart details when I am in this BADI.

The aim is to use the Cost Centre on the shopping cart item to filter the contracts (I have added Cost Centre as a custom field on the contract) which the user can choose from.

I can see cost centre on the contract, however I have no way of tieing it back to the shopping cart cost centre. Is there a way to access the shopping cart details from within this BADI? I have no Shopping cart GUID available. All that I have are the details in parameter IS_SEARCH_CRITERIA (product category, recipient etc).

Is there any way to retrieve the shopping cart GUID from within the BBP_SOS_CHECK method?

Thanks in advance