SAP ABAP Class CL_BSP_BOOKSTORE (BSP Bookshop)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BSP (Application Component) Business Server Pages
⤷
SBSP_SAMPLES (Package) Business Server Pages (BSP) Samples

⤷

⤷

Properties
Class | CL_BSP_BOOKSTORE | |
Short Description | BSP Bookshop | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SBSP_SAMPLES | Business Server Pages (BSP) Samples |
Created | 20001003 | SAP |
Last change | 00000000 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_BSP_BOOKSTORE has no forward declaration.
Interfaces
Class CL_BSP_BOOKSTORE has no interface implemented.
Friends
Class CL_BSP_BOOKSTORE 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) | TBSPBASKET | Current Shopping Basket | 20001003 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Adds an Article to the Shopping Basket | 20001003 |
2 | ![]() |
Instance method | Public | Method | Calculates the price for a shopping basket item line | 20001003 |
3 | ![]() |
Instance method | Public | Method | Removes an Article from the Shopping Basket | 20001003 |
4 | ![]() |
Instance method | Public | Method | Returns a list of matching products for search pattern | 20001003 |
5 | ![]() |
Instance method | Public | Method | Returns detailed information about a product | 20001003 |
6 | ![]() |
Instance method | Public | Method | Gets a product as tip of the day | 20001003 |
7 | ![]() |
Instance method | Public | Method | Instantiates a Shopping Basket from an XML String | 20001003 |
8 | ![]() |
Instance method | Public | Method | Maintains shopping basket | 20001005 |
9 | ![]() |
Instance method | Public | Method | Serializes a Shopping Basket into an XML String | 20001003 |
10 | ![]() |
Instance method | Public | Method | Updates the Shopping Basket | 20001003 |
Events
Class CL_BSP_BOOKSTORE has no event.
Types
Class CL_BSP_BOOKSTORE has no local type.
Method Signatures
Method DO_ADD_TO_BASKET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CATEGORY | Call by reference | Type reference (TYPE) | STRING | Warenart | 20001003 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | STRING | ID | 20001003 | ||
3 | ![]() |
UNITS | Call by reference | Type reference (TYPE) | STRING | Anzahl | 20001003 |
Method DO_ADD_TO_BASKET on class CL_BSP_BOOKSTORE has no exception.
Method DO_CALC_SUBTOTAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
AMOUNT | Call by reference | Type reference (TYPE) | STRING | Preis | 20001003 | ||
2 | ![]() |
PAMOUNT | Call by reference | Type reference (TYPE) | P | Preis als gepackter Typ | 20001003 | ||
3 | ![]() |
PRICE | Call by reference | Type reference (TYPE) | BSPPRICE | Einzelpreis | 20001005 | ||
4 | ![]() |
UNITS | Call by reference | Type reference (TYPE) | BSPITEMS | Einzelpreis | 20001005 |
Method DO_CALC_SUBTOTAL on class CL_BSP_BOOKSTORE has no exception.
Method DO_DELETE_FROM_BASKET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CATEGORY | Call by reference | Type reference (TYPE) | STRING | Warenart | 20001003 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | STRING | ID | 20001003 |
Method DO_DELETE_FROM_BASKET on class CL_BSP_BOOKSTORE has no exception.
Method DO_EASY_SEARCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CATEGORY | Call by reference | Type reference (TYPE) | STRING | SPACE | Warenkategory | 20001003 | |
2 | ![]() |
PATTERN | Call by reference | Type reference (TYPE) | STRING | SPACE | Suchmuster | 20001003 | |
3 | ![]() |
RESULTS | Value transfer | Type reference (TYPE) | TARTICLE | BSP Buchladen Tabellentyp Waren | 20001003 |
Method DO_EASY_SEARCH on class CL_BSP_BOOKSTORE has no exception.
Method DO_GET_ARTICLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ARTICLE | Value transfer | Type reference (TYPE) | BSPARTICLE | Einzelheiten | 20001003 | ||
2 | ![]() |
CATEGORY | Call by reference | Type reference (TYPE) | STRING | Warenkategorie | 20001003 | ||
3 | ![]() |
DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | Produktbeschreibung | 20001003 | ||
4 | ![]() |
ID | Call by reference | Type reference (TYPE) | STRING | ISBN | 20001003 |
Method DO_GET_ARTICLE on class CL_BSP_BOOKSTORE has no exception.
Method DO_GET_TIP_OF_THE_DAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CATEGORY | Call by reference | Type reference (TYPE) | STRING | Warenart | 20001003 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | STRING | Warenid | 20001003 |
Method DO_GET_TIP_OF_THE_DAY on class CL_BSP_BOOKSTORE has no exception.
Method DO_INSTANTIATE_BASKET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SERIALIZED | Call by reference | Type reference (TYPE) | STRING | input | 20001003 |
Method DO_INSTANTIATE_BASKET on class CL_BSP_BOOKSTORE has no exception.
Method DO_MAINTAIN_BASKET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ACTION | Call by reference | Type reference (TYPE) | STRING | Aktionsname | 20001005 | ||
2 | ![]() |
CATEGORY | Call by reference | Type reference (TYPE) | STRING | Warenart | 20001005 | ||
3 | ![]() |
ID | Call by reference | Type reference (TYPE) | STRING | ID | 20001005 | ||
4 | ![]() |
RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_BSP_RUNTIME | HTTP response | 20001005 | ||
5 | ![]() |
UNITS | Call by reference | Type reference (TYPE) | STRING | Anzahl | 20001005 |
Method DO_MAINTAIN_BASKET on class CL_BSP_BOOKSTORE has no exception.
Method DO_SERIALIZE_BASKET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SERIALIZED | Value transfer | Type reference (TYPE) | STRING | output | 20001003 |
Method DO_SERIALIZE_BASKET on class CL_BSP_BOOKSTORE has no exception.
Method DO_UPDATE_BASKET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | Formfelder | 20001005 |
Method DO_UPDATE_BASKET on class CL_BSP_BOOKSTORE has no exception.
History
Last changed by/on | SAP | 00000000 |
SAP Release Created in | 50A |