SAP ABAP Class CL_WD_BOOKSTORE (Web Dynpro Bookstore)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA (Application Component) Web Dynpro ABAP
     SWDP_DEMO_BOOK (Package) Demo Bookstore
Properties
Class CL_WD_BOOKSTORE  
Short Description Web Dynpro Bookstore    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_DEMO_BOOK   Demo Bookstore 
Created 20040223   SAP 
Last change 20070911   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WD_BOOKSTORE has no forward declaration.
Interfaces
Class CL_WD_BOOKSTORE has no interface implemented.
Friends
Class CL_WD_BOOKSTORE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 M_ARTICLES Instance attribute Private Type reference (TYPE) TWDBOOK_ARTICLE WD Demo Bookstore: Item List 20040223
2 M_BASKET Instance attribute Public Type reference (TYPE) TWDBOOK_BASKET Current Shopping Basket 20040223
3 M_IMAGE_PATH Instance attribute Private Type reference (TYPE) STRING '/sap/bc/bsp/sap/bsp_bookshop/' Path to Images 20040223
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 20040223
2 DO_CALC_SUBTOTAL Instance method Public Method Calculates the price for shopping basket articles 20040223
3 DO_DELETE_FROM_BASKET Instance method Public Method Removes an article from the current shopping basket 20040223
4 DO_EASY_SEARCH Instance method Public Method Returns a list of matching products for the search pattern 20040223
5 DO_GET_ARTICLE Instance method Public Method Returns detailed information about a product 20040223
6 DO_GET_TIP_OF_THE_DAY Instance method Public Method Gets a product as tip of the day 20040223
7 FETCH_ARTICLES Instance method Private Method Adds the list of items to the local memory 20040223
8 GET_TOTAL Instance method Public Method Calculates Total Sum 20040223
9 SET_IMAGE_PATH Instance method Public Method 20040223
Events
Class CL_WD_BOOKSTORE has no event.
Types
Class CL_WD_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) WDBOOK_CATEG Warenart 20040223
2 Importing ID Call by reference Type reference (TYPE) WDBOOK_ISBN ID 20040223
3 Importing UNITS Call by reference Type reference (TYPE) I Anzahl 20040223

Method DO_ADD_TO_BASKET on class CL_WD_BOOKSTORE has no exception.

Method DO_CALC_SUBTOTAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning AMOUNT Value transfer Type reference (TYPE) WDBOOK_ITEMS Preis 20040223
2 Importing PRICE Call by reference Type reference (TYPE) WDBOOK_PRICE Einzelpreis 20040223
3 Importing UNITS Call by reference Type reference (TYPE) WDBOOK_ITEMS Anzahl 20040223

Method DO_CALC_SUBTOTAL on class CL_WD_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) WDBOOK_CATEG Warenart 20040223
2 Importing ID Call by reference Type reference (TYPE) WDBOOK_ISBN ID 20040223

Method DO_DELETE_FROM_BASKET on class CL_WD_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) WDBOOK_CATEG Warenkategory 20040223
2 Importing PATTERN Value transfer Type reference (TYPE) STRING Suchmuster 20040223
3 Returning RESULTS Value transfer Type reference (TYPE) TWDBOOK_ARTICLE Bücherliste 20040223

Method DO_EASY_SEARCH on class CL_WD_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) WDBOOK_ARTICLE Einzelheiten 20040223
2 Importing CATEGORY Call by reference Type reference (TYPE) STRING Warenkategorie 20040223
3 Importing ID Call by reference Type reference (TYPE) STRING ISBN 20040223

Method DO_GET_ARTICLE on class CL_WD_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 20040223
2 Exporting ID Call by reference Type reference (TYPE) STRING Warenid 20040223

Method DO_GET_TIP_OF_THE_DAY on class CL_WD_BOOKSTORE has no exception.

Method FETCH_ARTICLES Signature

Method FETCH_ARTICLES on class CL_WD_BOOKSTORE has no parameter.
Method FETCH_ARTICLES on class CL_WD_BOOKSTORE has no exception.

Method GET_TOTAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TOTAL Value transfer Type reference (TYPE) WDBOOK_TOTAL WD Demo Buchladen Warenkorb-Überblick 20040223

Method GET_TOTAL on class CL_WD_BOOKSTORE has no exception.

Method SET_IMAGE_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMAGE_PATH Call by reference Type reference (TYPE) STRING Pfad zu den Bildern 20040223

Method SET_IMAGE_PATH on class CL_WD_BOOKSTORE has no exception.
History
Last changed by/on SAP  20070911 
SAP Release Created in 700