cancel
Showing results for 
Search instead for 
Did you mean: 

BADI Not Getting Triggered...

Former Member
0 Kudos

Hi,

I am using Sourcing BADI BBP_SRC_DETERMINE for Shopping cart.

I am getting the shopiing cart details using a FM.

I placed a dynamic break point in this, to my surprise, I am not getting into debugging mode.

Why is this happening ?

How to get into debugging mode in this BADI ?

Regards,

Ashwin.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please read the documentation of this BADI carefully.

Short Text

Define Execution of Sourcing

Use

With the Business Add-In BBP_SRC_DETERMINE, you can define if sourcing

is to be carried out for a shopping cart item. For a shopping cart item,

you can define the conditions (independent of the product category if

you wish) under which SAP Enterprise Buyer transfers the requirement to

the purchasers sourcing application.

Standard settings

With this BAdI you can override the following Implementation Guide (IMG)

settings:

Define Interactive Sourcing for Product Categories.

Activities

In the method DETERMINE_SOURCING (which is called up after a shopping

cart is approved and also, in the case of external requirements, after

these have been created in Enterprise Buyer), you have the following

parameters:

So this BADI is used to to implement custom behavior that could override your customizing defined in SPRO > SRM > Cross-Application Basic Settings > Sourcing > Define Sourcing for Product Categories.

This BADI will be called when the SC is created and approved as well as when the SC is created after transfer of ext requirements from R/3 to SRM.So when you carry out any of these 2 processes,this BADI is getting called.

BR,

Disha.

Answers (1)

Answers (1)

Former Member
0 Kudos

What kind of dynamic breakpoint are you setting?

You probably need to set an external breakpoint for the WF-BATCH user, as this BADI (Disha mentioned it already) is called after saving the SC. Make sure WF-BATCH is a dialog user and has debugging rights.

Regards,

Robin

Former Member
0 Kudos

Hi,

Just to add to Robin's reply,in case of SC's created in case of transfer of external requirements /PR from R/3 to SRM,the user ID for creation of SC is that of the RFC user.

BR,

Disha.

Do reward points for useful answers.