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 M_BASKET Instance attribute Public Type reference (TYPE) TBSPBASKET Current Shopping Basket 20001003
Methods
# Method Level Visibility Method type Description Created on
1 DO_ADD_TO_BASKET Instance method Public Method Adds an Article to the Shopping Basket 20001003
2 DO_CALC_SUBTOTAL Instance method Public Method Calculates the price for a shopping basket item line 20001003
3 DO_DELETE_FROM_BASKET Instance method Public Method Removes an Article from the Shopping Basket 20001003
4 DO_EASY_SEARCH Instance method Public Method Returns a list of matching products for search pattern 20001003
5 DO_GET_ARTICLE Instance method Public Method Returns detailed information about a product 20001003
6 DO_GET_TIP_OF_THE_DAY Instance method Public Method Gets a product as tip of the day 20001003
7 DO_INSTANTIATE_BASKET Instance method Public Method Instantiates a Shopping Basket from an XML String 20001003
8 DO_MAINTAIN_BASKET Instance method Public Method Maintains shopping basket 20001005
9 DO_SERIALIZE_BASKET Instance method Public Method Serializes a Shopping Basket into an XML String 20001003
10 DO_UPDATE_BASKET 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 Importing CATEGORY Call by reference Type reference (TYPE) STRING Warenart 20001003
2 Importing ID Call by reference Type reference (TYPE) STRING ID 20001003
3 Importing 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 Exporting AMOUNT Call by reference Type reference (TYPE) STRING Preis 20001003
2 Exporting PAMOUNT Call by reference Type reference (TYPE) P Preis als gepackter Typ 20001003
3 Importing PRICE Call by reference Type reference (TYPE) BSPPRICE Einzelpreis 20001005
4 Importing 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 Importing CATEGORY Call by reference Type reference (TYPE) STRING Warenart 20001003
2 Importing 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 Importing CATEGORY Call by reference Type reference (TYPE) STRING SPACE Warenkategory 20001003
2 Importing PATTERN Call by reference Type reference (TYPE) STRING SPACE Suchmuster 20001003
3 Returning 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 Exporting ARTICLE Value transfer Type reference (TYPE) BSPARTICLE Einzelheiten 20001003
2 Importing CATEGORY Call by reference Type reference (TYPE) STRING Warenkategorie 20001003
3 Exporting DESCRIPTION Call by reference Type reference (TYPE) STRING Produktbeschreibung 20001003
4 Importing 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 Exporting CATEGORY Call by reference Type reference (TYPE) STRING Warenart 20001003
2 Exporting 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 Importing 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 Importing ACTION Call by reference Type reference (TYPE) STRING Aktionsname 20001005
2 Importing CATEGORY Call by reference Type reference (TYPE) STRING Warenart 20001005
3 Importing ID Call by reference Type reference (TYPE) STRING ID 20001005
4 Importing RUNTIME Call by reference Object reference (TYPE REF TO) IF_BSP_RUNTIME HTTP response 20001005
5 Importing 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 Exporting 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 Importing 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