on 11-23-2011 9:36 PM
Hi.
We are using SRM 7.1 - the Badi BBP_WF_LIST is being used to filter the carts in SoCo based on some custom logic. however we want the custom filtering to trigger only for the 1st time when the list gets displayed. i.e. at the very 1st time when the buyer comes in the Sourcing transaction. Every other time when the buyer uses the "Search" button or enters some fields in any of the selection criteria for the SoCo, we dont want this filtering logic of the BAdi to fire.
Can this be achieved?
Thanks.
Anuradha SenGupta.
Hi,
If getting the context/user event is not possible - You could probably create a static class and a static variable in this static class. First time when BADI is called set it to X which can be checked the next time. As it is static it retains the value.
Rgds,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Get current action...
First, get transaction context. Then, get instance from context and finally get current action (equivalent to sy-ucomm).
Now, you can use this action as a filter to trigger or not the BAdI implementation.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moved to General thread as not strictly Shopping cart or Catalog Related.
Jason Boggans
SAP SRM Moderator
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.