SAP ABAP Class CL_O2_APP_AUCTION (Auction house)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BSP (Application Component) Business Server Pages
     SAUCTION (Package) Example Auction
Properties
Class CL_O2_APP_AUCTION  
Short Description Auction house    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAUCTION   Example Auction 
Created 20000330   SAP 
Last change 20001026   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_O2_APP_AUCTION has no forward declaration.
Interfaces
Class CL_O2_APP_AUCTION has no interface implemented.
Friends
Class CL_O2_APP_AUCTION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BIDAMOUNT Instance attribute Public Type reference (TYPE) AU_AMOUNT Amount of money placed 20000330
2 BIDDATE Instance attribute Public Type reference (TYPE) AU_DATE Date of placement 20000330
3 BIDID Instance attribute Public Type reference (TYPE) AU_INDEX Bid ID 20000330
4 BIDTIME Instance attribute Public Type reference (TYPE) AU_TIME Time of placement 20000330
5 OFFERID Instance attribute Public Type reference (TYPE) AU_INDEX Offer ID 20000330
6 USERID Instance attribute Public Type reference (TYPE) AU_INDEX 0 User ID of bidder 20000330
Methods
# Method Level Visibility Method type Description Created on
1 BID_NEW_CHECK Instance method Public Method Prepare a bid for confirmation 20000411
2 BID_PLACE Instance method Public Method Place a bid (user, amount, date, time, item) 20000330
3 CATEGORY_NAME Instance method Public Method Get the name of a number-escaped category. 20000331
4 LIST_CATEGORY_COUNT Instance method Public Method Count the number of entries within a given category 20000330
5 LIST_CATEGORY_OFFER Instance method Public Method Get the list of all offers in given category 20000330
6 LIST_TOP_OFFER Instance method Public Method Get the "Top-Angebote" list 20000330
7 OFFER_ALL Instance method Public Method Get all the data from auoffer (not audesc & aubids!!) 20000412
8 OFFER_BIDLIST Instance method Public Method For a given offer, get the complete list of bids, by amount 20000330
9 OFFER_CATEGORY Instance method Public Method Get the category of the offer 20000330
10 OFFER_COND Instance method Public Method Get the condition of the article offered 20000330
11 OFFER_DESC Instance method Public Method Get description of the article from AUODESC ClusterDB 20000330
12 OFFER_END_DATE Instance method Public Method Get Enddate for the offer 20000330
13 OFFER_END_TIME Instance method Public Method Get Endtime for the offer 20000330
14 OFFER_HEAD Instance method Public Method Get the short header text 20000330
15 OFFER_HIGHBID Instance method Public Method For a given offer, get the highest bid amount 20000330
16 OFFER_MINBID Instance method Public Method For a given offer, get the minimum next bid 20000330
17 OFFER_NEW_CHECK Instance method Public Method Create a new offer - Prepare + Check 20000330
18 OFFER_NEW_WRITE Instance method Public Method Create a new offer - Write to DB-Table AUOFFER 20000330
19 OFFER_NUMBID Instance method Public Method For a given offer, get the number of bids placed 20000330
20 OFFER_PICURL Instance method Public Method Get the Picture URL for the offer 20000330
21 OFFER_USERID Instance method Public Method Get the username of the bid placer 20000330
22 USER_EMAIL Instance method Public Method Get the email of a given user 20000412
23 USER_NEW_CHECK Instance method Public Method Check wether the user data is OK (password, checked box,...) 20000330
24 USER_NEW_WRITE Instance method Public Method Write new user data to AUUSER 20000330
25 USER_PWD_CHECK Instance method Public Method Check the user password 20000330
Events
Class CL_O2_APP_AUCTION has no event.
Types
Class CL_O2_APP_AUCTION has no local type.
Method Signatures

Method BID_NEW_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_BID Call by reference Type reference (TYPE) STRING BID HTML form entry - string form 20000411
2 Exporting P_ERROR Call by reference Type reference (TYPE) AU_ERROR Returning - OK / Error? 20000411
3 Exporting P_OFFDESC Call by reference Type reference (TYPE) AU_STRING Short Offer Description 20000411
4 Importing P_OFFID Call by reference Type reference (TYPE) STRING Offer ID from hidden form field 20000411

Method BID_NEW_CHECK on class CL_O2_APP_AUCTION has no exception.

Method BID_PLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_ERROR Value transfer Type reference (TYPE) AU_ERROR Is the bid high enough? 20000330
2 Importing P_STRBID Call by reference Type reference (TYPE) STRING '0' amount string from HTML form field 20000330
3 Importing P_STROFFID Call by reference Type reference (TYPE) STRING offer-id from hidden form field 20000330
4 Importing P_USRID Call by reference Type reference (TYPE) STRING '0' User name of bidder 20000330
5 Importing P_USRPWD Call by reference Type reference (TYPE) STRING '0' Password of the user - not used yet! 20000330

Method BID_PLACE on class CL_O2_APP_AUCTION has no exception.

Method CATEGORY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATINDEX Call by reference Type reference (TYPE) STRING d 20000404
2 Returning P_CATNAME Value transfer Type reference (TYPE) AU_STRING String 20 -> Name, Usrname, pwd, ... - use STRING for forms 20000404

Method CATEGORY_NAME on class CL_O2_APP_AUCTION has no exception.

Method LIST_CATEGORY_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATEGORY Call by reference Type reference (TYPE) AU_INDEX Category to be counted 20000330
2 Returning P_COUNT Value transfer Type reference (TYPE) AU_NUMBER Number of offers in category 20000330

Method LIST_CATEGORY_COUNT on class CL_O2_APP_AUCTION has no exception.

Method LIST_CATEGORY_OFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATEGORY Call by reference Type reference (TYPE) STRING Category ID 20000330
2 Exporting P_CATNAME Call by reference Type reference (TYPE) AU_STRING Category Name 20000410
3 Exporting P_OFFERLIST Call by reference Type reference (TYPE) TABLEOFAUOFFER retunring list 20000330

Method LIST_CATEGORY_OFFER on class CL_O2_APP_AUCTION has no exception.

Method LIST_TOP_OFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_TOPLIST Value transfer Type reference (TYPE) TABLEOFAUOFFER now list of all offers 20000407

Method LIST_TOP_OFFER on class CL_O2_APP_AUCTION has no exception.

Method OFFER_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_OFFER Call by reference Type reference (TYPE) AUOFFER corresponding offer table row 20000412
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX incoming offer ID 20000412

Method OFFER_ALL on class CL_O2_APP_AUCTION has no exception.

Method OFFER_BIDLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_BIDLIST Value transfer Type reference (TYPE) TABLEOFAUBIDS List of bids for Offer ID 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330

Method OFFER_BIDLIST on class CL_O2_APP_AUCTION has no exception.

Method OFFER_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_CATEGORY Value transfer Type reference (TYPE) AU_STRING Category 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330

Method OFFER_CATEGORY on class CL_O2_APP_AUCTION has no exception.

Method OFFER_COND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_OFFCOND Value transfer Type reference (TYPE) AU_STRING Condition 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX OfferID 20000330

Method OFFER_COND on class CL_O2_APP_AUCTION has no exception.

Method OFFER_DESC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_DESC Value transfer Type reference (TYPE) STRING Combined offer description 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330

Method OFFER_DESC on class CL_O2_APP_AUCTION has no exception.

Method OFFER_END_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENDDATE Value transfer Type reference (TYPE) AU_DATE End date of the auction 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330

Method OFFER_END_DATE on class CL_O2_APP_AUCTION has no exception.

Method OFFER_END_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENDTIME Value transfer Type reference (TYPE) AU_TIME Auction End Time 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330

Method OFFER_END_TIME on class CL_O2_APP_AUCTION has no exception.

Method OFFER_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_HEADDESC Value transfer Type reference (TYPE) AU_STRING Short header text for given offer. 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330

Method OFFER_HEAD on class CL_O2_APP_AUCTION has no exception.

Method OFFER_HIGHBID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_HIGHBID Value transfer Type reference (TYPE) AU_AMOUNT Requested highest bid amount 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX offer id specified by AXIS page 20000330

Method OFFER_HIGHBID on class CL_O2_APP_AUCTION has no exception.

Method OFFER_MINBID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_MINBID Value transfer Type reference (TYPE) AU_AMOUNT Requested highest bid amount 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX offer id specified by AXIS page 20000330

Method OFFER_MINBID on class CL_O2_APP_AUCTION has no exception.

Method OFFER_NEW_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATEGORY Call by reference Type reference (TYPE) STRING Category 20000330
2 Importing P_DURATION Call by reference Type reference (TYPE) STRING Duration of the auction 20000330
3 Exporting P_ENDDATE Call by reference Type reference (TYPE) AU_DATE Calculated End date 20001106
4 Exporting P_ENDTIME Call by reference Type reference (TYPE) AU_TIME Calculated End Time 20001106
5 Exporting P_ERROR Call by reference Type reference (TYPE) AU_ERROR Returned Error Code 20001106
6 Importing P_HEADDESC Call by reference Type reference (TYPE) STRING Descriptive Title 20000330
7 Importing P_LONGDESC Call by reference Type reference (TYPE) STRING Long Description 20000330
8 Importing P_MINBID Call by reference Type reference (TYPE) STRING Minimum Bid 20000330
9 Importing P_OFFCOND Call by reference Type reference (TYPE) STRING Condition (Zustand) 20000330
10 Importing P_PAYMENT Call by reference Type reference (TYPE) STRING Method of Payment requested 20000330
11 Importing P_SHIPPING Call by reference Type reference (TYPE) STRING Shipping Method 20000330
12 Importing P_USERID Call by reference Type reference (TYPE) STRING Username 20000330
13 Importing P_USERPWD Call by reference Type reference (TYPE) STRING User Password 20000330

Method OFFER_NEW_CHECK on class CL_O2_APP_AUCTION has no exception.

Method OFFER_NEW_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATEGORY Call by reference Type reference (TYPE) STRING Category 20000330
2 Importing P_ENDDATE Call by reference Type reference (TYPE) STRING End date 20000330
3 Importing P_ENDTIME Call by reference Type reference (TYPE) STRING End Time 20000330
4 Exporting P_ERROR Call by reference Type reference (TYPE) AU_BOOLEAN Returned Error Code 20000330
5 Importing P_HEADDESC Call by reference Type reference (TYPE) STRING Descriptive Title 20000330
6 Importing P_LOCCITY Call by reference Type reference (TYPE) STRING Location - City 20000412
7 Importing P_LOCCOUNTRY Call by reference Type reference (TYPE) STRING Location - Country 20000412
8 Importing P_LOCZIP Call by reference Type reference (TYPE) STRING Locaiton - Zip Code 20000412
9 Importing P_LONGDESC Call by reference Type reference (TYPE) STRING Long Description 20000330
10 Importing P_MINBID Call by reference Type reference (TYPE) STRING Minimum Bid 20000330
11 Importing P_OFFCOND Call by reference Type reference (TYPE) STRING Condition (Zustand) 20000330
12 Importing P_PAYMENT Call by reference Type reference (TYPE) STRING Method of Payment requested 20000330
13 Importing P_PICURL Call by reference Type reference (TYPE) STRING BildURL 20000330
14 Importing P_SHIPPING Call by reference Type reference (TYPE) STRING Shipping Method 20000330
15 Importing P_USERID Call by reference Type reference (TYPE) STRING Username 20000330
16 Importing P_USERPWD Call by reference Type reference (TYPE) STRING User Password 20000330

Method OFFER_NEW_WRITE on class CL_O2_APP_AUCTION has no exception.

Method OFFER_NUMBID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_NUMBID Value transfer Type reference (TYPE) AU_NUMBER Number of bids placed for an item 20000330
2 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX offer id specified by AXIS page 20000330

Method OFFER_NUMBID on class CL_O2_APP_AUCTION has no exception.

Method OFFER_PICURL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX d 20000330
2 Returning P_PICURL Value transfer Type reference (TYPE) AU_STRING d 20000330

Method OFFER_PICURL on class CL_O2_APP_AUCTION has no exception.

Method OFFER_USERID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_OFFID Call by reference Type reference (TYPE) AU_INDEX Offer ID 20000330
2 Returning P_USERID Value transfer Type reference (TYPE) AU_STRING Username of the seller for this offer 20000330

Method OFFER_USERID on class CL_O2_APP_AUCTION has no exception.

Method USER_EMAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_EMAIL Value transfer Type reference (TYPE) AU_STRING d 20000412
2 Importing P_USERID Call by reference Type reference (TYPE) STRING d 20000412

Method USER_EMAIL on class CL_O2_APP_AUCTION has no exception.

Method USER_NEW_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_EMAIL Call by reference Type reference (TYPE) STRING eMail 20001115
2 Importing P_EMAIL2 Call by reference Type reference (TYPE) STRING eMail confirmation 20001115
3 Exporting P_ERROR Call by reference Type reference (TYPE) AU_BOOLEAN Error code return 20000330
4 Importing P_PWD Call by reference Type reference (TYPE) STRING Password 20001115
5 Importing P_PWD2 Call by reference Type reference (TYPE) STRING Password confirmation 20001115
6 Importing P_READ Call by reference Type reference (TYPE) STRING Nutzungsbed. gelesen? 20001115
7 Importing P_USER Call by reference Type reference (TYPE) STRING Username 20001115

Method USER_NEW_CHECK on class CL_O2_APP_AUCTION has no exception.

Method USER_NEW_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CITY Call by reference Type reference (TYPE) STRING d 20001115
2 Importing P_COUNTRY Call by reference Type reference (TYPE) STRING d 20001115
3 Importing P_EMAIL Call by reference Type reference (TYPE) STRING E-Mail-Address 20001115
4 Exporting P_ERROR Call by reference Type reference (TYPE) AU_BOOLEAN Error Code 20000330
5 Importing P_FIRSTNAME Call by reference Type reference (TYPE) STRING d 20001115
6 Importing P_HEARDFROM Call by reference Type reference (TYPE) STRING d 20001115
7 Importing P_INTEREST Call by reference Type reference (TYPE) STRING d 20001115
8 Importing P_LASTNAME Call by reference Type reference (TYPE) STRING d 20001115
9 Importing P_PWD Call by reference Type reference (TYPE) STRING Password 20001115
10 Importing P_PWD2 Call by reference Type reference (TYPE) STRING Password Confirmation 20001115
11 Importing P_STREET Call by reference Type reference (TYPE) STRING d 20001115
12 Importing P_USER Call by reference Type reference (TYPE) STRING User Name 20001115
13 Importing P_ZIP Call by reference Type reference (TYPE) STRING d 20001115

Method USER_NEW_WRITE on class CL_O2_APP_AUCTION has no exception.

Method USER_PWD_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ERROR Value transfer Type reference (TYPE) AU_BOOLEAN Returning Error Code 20000330
2 Importing P_USERID Call by reference Type reference (TYPE) STRING User ID 20000330
3 Importing P_USERPWD Call by reference Type reference (TYPE) STRING User Password 20000330

Method USER_PWD_CHECK on class CL_O2_APP_AUCTION has no exception.
History
Last changed by/on SAP  20001026 
SAP Release Created in 46D