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 | Instance attribute | Public | Type reference (TYPE) | AU_AMOUNT | Amount of money placed | 20000330 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | AU_DATE | Date of placement | 20000330 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | AU_INDEX | Bid ID | 20000330 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | AU_TIME | Time of placement | 20000330 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | AU_INDEX | Offer ID | 20000330 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | AU_INDEX | 0 | User ID of bidder | 20000330 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Prepare a bid for confirmation | 20000411 | |
| 2 | Instance method | Public | Method | Place a bid (user, amount, date, time, item) | 20000330 | |
| 3 | Instance method | Public | Method | Get the name of a number-escaped category. | 20000331 | |
| 4 | Instance method | Public | Method | Count the number of entries within a given category | 20000330 | |
| 5 | Instance method | Public | Method | Get the list of all offers in given category | 20000330 | |
| 6 | Instance method | Public | Method | Get the "Top-Angebote" list | 20000330 | |
| 7 | Instance method | Public | Method | Get all the data from auoffer (not audesc & aubids!!) | 20000412 | |
| 8 | Instance method | Public | Method | For a given offer, get the complete list of bids, by amount | 20000330 | |
| 9 | Instance method | Public | Method | Get the category of the offer | 20000330 | |
| 10 | Instance method | Public | Method | Get the condition of the article offered | 20000330 | |
| 11 | Instance method | Public | Method | Get description of the article from AUODESC ClusterDB | 20000330 | |
| 12 | Instance method | Public | Method | Get Enddate for the offer | 20000330 | |
| 13 | Instance method | Public | Method | Get Endtime for the offer | 20000330 | |
| 14 | Instance method | Public | Method | Get the short header text | 20000330 | |
| 15 | Instance method | Public | Method | For a given offer, get the highest bid amount | 20000330 | |
| 16 | Instance method | Public | Method | For a given offer, get the minimum next bid | 20000330 | |
| 17 | Instance method | Public | Method | Create a new offer - Prepare + Check | 20000330 | |
| 18 | Instance method | Public | Method | Create a new offer - Write to DB-Table AUOFFER | 20000330 | |
| 19 | Instance method | Public | Method | For a given offer, get the number of bids placed | 20000330 | |
| 20 | Instance method | Public | Method | Get the Picture URL for the offer | 20000330 | |
| 21 | Instance method | Public | Method | Get the username of the bid placer | 20000330 | |
| 22 | Instance method | Public | Method | Get the email of a given user | 20000412 | |
| 23 | Instance method | Public | Method | Check wether the user data is OK (password, checked box,...) | 20000330 | |
| 24 | Instance method | Public | Method | Write new user data to AUUSER | 20000330 | |
| 25 | 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 | P_BID | Call by reference | Type reference (TYPE) | STRING | BID HTML form entry - string form | 20000411 | |||
| 2 | P_ERROR | Call by reference | Type reference (TYPE) | AU_ERROR | Returning - OK / Error? | 20000411 | |||
| 3 | P_OFFDESC | Call by reference | Type reference (TYPE) | AU_STRING | Short Offer Description | 20000411 | |||
| 4 | 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 | P_ERROR | Value transfer | Type reference (TYPE) | AU_ERROR | Is the bid high enough? | 20000330 | |||
| 2 | P_STRBID | Call by reference | Type reference (TYPE) | STRING | '0' | amount string from HTML form field | 20000330 | ||
| 3 | P_STROFFID | Call by reference | Type reference (TYPE) | STRING | offer-id from hidden form field | 20000330 | |||
| 4 | P_USRID | Call by reference | Type reference (TYPE) | STRING | '0' | User name of bidder | 20000330 | ||
| 5 | 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 | P_CATINDEX | Call by reference | Type reference (TYPE) | STRING | d | 20000404 | |||
| 2 | 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 | P_CATEGORY | Call by reference | Type reference (TYPE) | AU_INDEX | Category to be counted | 20000330 | |||
| 2 | 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 | P_CATEGORY | Call by reference | Type reference (TYPE) | STRING | Category ID | 20000330 | |||
| 2 | P_CATNAME | Call by reference | Type reference (TYPE) | AU_STRING | Category Name | 20000410 | |||
| 3 | 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 | 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 | P_OFFER | Call by reference | Type reference (TYPE) | AUOFFER | corresponding offer table row | 20000412 | |||
| 2 | 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 | P_BIDLIST | Value transfer | Type reference (TYPE) | TABLEOFAUBIDS | List of bids for Offer ID | 20000330 | |||
| 2 | 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 | P_CATEGORY | Value transfer | Type reference (TYPE) | AU_STRING | Category | 20000330 | |||
| 2 | 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 | P_OFFCOND | Value transfer | Type reference (TYPE) | AU_STRING | Condition | 20000330 | |||
| 2 | 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 | P_DESC | Value transfer | Type reference (TYPE) | STRING | Combined offer description | 20000330 | |||
| 2 | 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 | P_ENDDATE | Value transfer | Type reference (TYPE) | AU_DATE | End date of the auction | 20000330 | |||
| 2 | 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 | P_ENDTIME | Value transfer | Type reference (TYPE) | AU_TIME | Auction End Time | 20000330 | |||
| 2 | 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 | P_HEADDESC | Value transfer | Type reference (TYPE) | AU_STRING | Short header text for given offer. | 20000330 | |||
| 2 | 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 | P_HIGHBID | Value transfer | Type reference (TYPE) | AU_AMOUNT | Requested highest bid amount | 20000330 | |||
| 2 | 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 | P_MINBID | Value transfer | Type reference (TYPE) | AU_AMOUNT | Requested highest bid amount | 20000330 | |||
| 2 | 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 | P_CATEGORY | Call by reference | Type reference (TYPE) | STRING | Category | 20000330 | |||
| 2 | P_DURATION | Call by reference | Type reference (TYPE) | STRING | Duration of the auction | 20000330 | |||
| 3 | P_ENDDATE | Call by reference | Type reference (TYPE) | AU_DATE | Calculated End date | 20001106 | |||
| 4 | P_ENDTIME | Call by reference | Type reference (TYPE) | AU_TIME | Calculated End Time | 20001106 | |||
| 5 | P_ERROR | Call by reference | Type reference (TYPE) | AU_ERROR | Returned Error Code | 20001106 | |||
| 6 | P_HEADDESC | Call by reference | Type reference (TYPE) | STRING | Descriptive Title | 20000330 | |||
| 7 | P_LONGDESC | Call by reference | Type reference (TYPE) | STRING | Long Description | 20000330 | |||
| 8 | P_MINBID | Call by reference | Type reference (TYPE) | STRING | Minimum Bid | 20000330 | |||
| 9 | P_OFFCOND | Call by reference | Type reference (TYPE) | STRING | Condition (Zustand) | 20000330 | |||
| 10 | P_PAYMENT | Call by reference | Type reference (TYPE) | STRING | Method of Payment requested | 20000330 | |||
| 11 | P_SHIPPING | Call by reference | Type reference (TYPE) | STRING | Shipping Method | 20000330 | |||
| 12 | P_USERID | Call by reference | Type reference (TYPE) | STRING | Username | 20000330 | |||
| 13 | 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 | P_CATEGORY | Call by reference | Type reference (TYPE) | STRING | Category | 20000330 | |||
| 2 | P_ENDDATE | Call by reference | Type reference (TYPE) | STRING | End date | 20000330 | |||
| 3 | P_ENDTIME | Call by reference | Type reference (TYPE) | STRING | End Time | 20000330 | |||
| 4 | P_ERROR | Call by reference | Type reference (TYPE) | AU_BOOLEAN | Returned Error Code | 20000330 | |||
| 5 | P_HEADDESC | Call by reference | Type reference (TYPE) | STRING | Descriptive Title | 20000330 | |||
| 6 | P_LOCCITY | Call by reference | Type reference (TYPE) | STRING | Location - City | 20000412 | |||
| 7 | P_LOCCOUNTRY | Call by reference | Type reference (TYPE) | STRING | Location - Country | 20000412 | |||
| 8 | P_LOCZIP | Call by reference | Type reference (TYPE) | STRING | Locaiton - Zip Code | 20000412 | |||
| 9 | P_LONGDESC | Call by reference | Type reference (TYPE) | STRING | Long Description | 20000330 | |||
| 10 | P_MINBID | Call by reference | Type reference (TYPE) | STRING | Minimum Bid | 20000330 | |||
| 11 | P_OFFCOND | Call by reference | Type reference (TYPE) | STRING | Condition (Zustand) | 20000330 | |||
| 12 | P_PAYMENT | Call by reference | Type reference (TYPE) | STRING | Method of Payment requested | 20000330 | |||
| 13 | P_PICURL | Call by reference | Type reference (TYPE) | STRING | BildURL | 20000330 | |||
| 14 | P_SHIPPING | Call by reference | Type reference (TYPE) | STRING | Shipping Method | 20000330 | |||
| 15 | P_USERID | Call by reference | Type reference (TYPE) | STRING | Username | 20000330 | |||
| 16 | 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 | P_NUMBID | Value transfer | Type reference (TYPE) | AU_NUMBER | Number of bids placed for an item | 20000330 | |||
| 2 | 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 | P_OFFID | Call by reference | Type reference (TYPE) | AU_INDEX | d | 20000330 | |||
| 2 | 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 | P_OFFID | Call by reference | Type reference (TYPE) | AU_INDEX | Offer ID | 20000330 | |||
| 2 | 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 | P_EMAIL | Value transfer | Type reference (TYPE) | AU_STRING | d | 20000412 | |||
| 2 | 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 | P_EMAIL | Call by reference | Type reference (TYPE) | STRING | 20001115 | ||||
| 2 | P_EMAIL2 | Call by reference | Type reference (TYPE) | STRING | eMail confirmation | 20001115 | |||
| 3 | P_ERROR | Call by reference | Type reference (TYPE) | AU_BOOLEAN | Error code return | 20000330 | |||
| 4 | P_PWD | Call by reference | Type reference (TYPE) | STRING | Password | 20001115 | |||
| 5 | P_PWD2 | Call by reference | Type reference (TYPE) | STRING | Password confirmation | 20001115 | |||
| 6 | P_READ | Call by reference | Type reference (TYPE) | STRING | Nutzungsbed. gelesen? | 20001115 | |||
| 7 | 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
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 | P_ERROR | Value transfer | Type reference (TYPE) | AU_BOOLEAN | Returning Error Code | 20000330 | |||
| 2 | P_USERID | Call by reference | Type reference (TYPE) | STRING | User ID | 20000330 | |||
| 3 | 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 |