Skip to Content

Custom bid validation logic in Badi BBP_LA_BID_VALIDATE method NEXT_BID_PRICE

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 03, 2020 at 02:34 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2020 at 02:22 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.