cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Live Auction Applet

Former Member
0 Kudos

Hi,

According to our customer requirement, we need to change some logic of Live Auction applet. It would be very helpful if u can provide me following information:

1)What Function Module/BADI gets called when we start Live Auction?

2)What Function Module/BADI gets called when a bid is submitted?

3)Where are the following information stored :

a)Next Valid Bid

b)Bid decrement amount

Thanks and Regards,

Anuj Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Anuj,

You can have a look a BBP_LA* function groups.

Here is a list from SRM 5.0:

BBP_LA_ACTIVITY_LOG SRM-LAC activity logging

BBP_LA_AUCAPI SRM-LAC Auction API

BBP_LA_AUCTION_PROFILE Auction Profiles

BBP_LA_BATCH_JOB Batch Jobs to activate/close/finalize

BBP_LA_BID SRM LA Bid

BBP_LA_BIZAPI SRM-LAC Business API

BBP_LA_CASCADING_ITEMS Cascading Items Auction

BBP_LA_CHAT SRM-LAC Chat

BBP_LA_FCB FCB function modules

BBP_LA_MAINTENANCE SRM-LA data maintenance functions

BBP_LA_MSG SRM-LAC Messaging

BBP_LA_PROFILE Extended Table Maintenance (Generated)

BBP_LA_PROP_KEY Extended Table Maintenance (Generated)

BBP_LA_PROP_KY2 Extended Table Maintenance (Generated)

BBP_LA_PROP1 Extended Table Maintenance (Generated)

BBP_LA_RFX_CONVERT_TO_AUC Convert RFX to Auction

BBP_LA_UTILITY SRM-LAC Auction Utility

For Bid decrement amound & next valid bid, look at table BBPD_LA_BIDHIST.

Rgds

Christophe

Former Member
0 Kudos

Hi,

Thanks for that info but BBPD_LA_BIDHIST Table only contains field for Bid decrement amount and not Next Valid Bid.

Let me explain whole scenario to you.What we need to do is give below:

By default SAP Provides only Minimum PERCENT Decrement. We also need maximum decrement percentage. Also, every bidder is having a load factor. Now we have to do two things:

1) At start of Live Auction, Next Valid Bid have to be calculated according to min decrement percentage. It should be displayed in Live Auction. Bid decrement amount also needs to be displayed. Somehow, these two fields are showing Zero in Live Auction.

2)When user submits bid, his load amount should be added to bid amount and result should be between

Amount obtained by subtracting max decrement percentage to best bid

and

Amount obtained by subtacting min decrement percentage to best bid

If it is between this range it is avalid bid else it is invalid bid. Proper message needs to be generated in case of invalid bid

Perhaps u can provide me solution to this problem.

Thanks and Regards,

Anuj Kumar

Former Member
0 Kudos

Anuj, what is your SRM release ?

In standard, SAP provides a minimum price for each item (reserve price), and a price decrement in currency amount or percentage (depending on the setting under Header Data).

You can add +/- factors per supplier using percentage or fixed amount.

You can enter multipliers and adders at both the auction header and item levels. If defined at both, then the settings at the item level take precedence over those at the header level.

What do you mean by "SAP Provides only Minimum PERCENT Decrement" ?

1) At start of Live Auction, First Valid Bid price is calculated according to bid decrement amount or % defined per item, and according to auction profile (simple view: your item price - bid decrement or best competitor price - bid decrement). It is displayed in Live Auction items(except for lot level). The Bid decrement % is only displayed after the first bid and calculated against this first bid (during Bid creation in BBP_LA_BID_CREATE --> PERFORM calculate_bid_decrement_amount to update Bid history).

You are right: it could also be displayed for the starting valid bid price (it is used to calculate first valid bid price but not displayed) --> open an OSS message for this.

In case of absolute amount, the bid decrement is always displayed, but as it is fixed, it is easier.

Or change function BBP_LA_BID_GET_FOR_CURR_USER, line 144: if no bid created: 0%, otherwise take the one calculated and stored during the last bid creation (BBP_LA_BIZAPI_SUBMIT_BID --> BBP_LA_BID_CREATE --> PERFORM calculate_bid_decrement_amount).

2) when factors are defined, the supplier view is changed accordingly: fixed amount added or substracted to each item, or % applies to change this price. Factors also apply to next valid bid.

To change this logic and apply your own price proposal, you could try to change standard code of BBP_LA_BIZAPI_GET_BIDHIST. I think this function is called by the LAC to read and present data to the supplier, by calculating all prices.

Rgds

Christophe

Answers (1)

Answers (1)

Tamas_Koban
Employee
Employee
0 Kudos

Please refer to the following site which contains information about Live Auction tables, structures, classes, function groups and function modules:

http://wiki.sdn.sap.com/wiki/x/8QiGEQ

The following site talks about how to get information about Live Auctions in SAP SRM:

http://wiki.sdn.sap.com/wiki/x/MQCaEQ