cancel
Showing results for 
Search instead for 
Did you mean: 

Custom bid validation logic in Badi BBP_LA_BID_VALIDATE method NEXT_BID_PRICE

0 Kudos
260

Hi Gurus!

We want to Implement BADI BBP_LA_BID_VALIDATE in our system, but while debugging, method NEXT_BID_PRICE is not called.

What could be the reason?

THanks,

Heft

Accepted Solutions (1)

Accepted Solutions (1)

Tamas_Koban
Employee
Employee
0 Kudos

Hello Heft,

You could try the following method:

  • Implement your custom code in the update_bids method of the BAdi in a way, that you insert an entry in the palastbid table. This is called in the FM BBP_LA_BID_CREATE.
  • Once you update the entry there, next bid will be correctly picked up. The next bid is the next bid for the current bidder and that’s read in the FM BBP_LA_BID_GET_FOR_CURR_USER
  • EXPORTING
    i_auction_guid = ls_bidhist-auc_guid
    i_auction_item_guid = ls_bidhist-auc_item_guid
    i_partner_guid = i_partner_guid
    i_company_guid = i_company_guid
    i_bid_rule = lv_bid_rule
    i_client_type = i_client_type
    IMPORTING
    e_curr_bid_decr = es_bid-bid_decrement_curr_dec5
    e_curr_next_bid = es_bid-next_bid_curr_dec5
    e_curr_bestbid = es_bid-bestbid_price_curr_dec5
    e_curr_combestbid = es_bid-combestbid_price_curr_dec5
    e_curr_overall_rank = es_bid-curr_rank
    e_curr_company_rank = es_bid-combestbid_curr_rank
    e_curr_donot_bid = es_bid-curr_donot_bid
    TABLES
    it_bidhist = lt_bidhist.
    ENDIF.
  • Update the table in update_bids method of the badi which is called in the FM BBP_LA_BID_CREATE

This should resolve the next bid price issue

Best regards,

Tamas

Answers (1)

Answers (1)

Tamas_Koban
Employee
Employee
0 Kudos

Hello Heft,

The method NEXT_BID_PRICE is called from FM BBP_LA_BID_NEWBIDDER_NEXTBID depending on the selected bid validation rule.

This validation rule should be selected as Customer-Specific Rule in SPRO -> Cross-Application Basic Settings -> Define Transaction Types -> BUS2208 -> AUC1 (for example) -> Process Control section.

Retest with this setting.

Best regards,

Tamas

0 Kudos

Hi,

I forgot to menion, that we have done this setting already.

Any other suggestion?

Thanks!