crm bsp
TRANSCRIPT
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 1/15
BSP (BUSINESS SERVER PAGES)
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 2/15
BSP ( Business Sever Pages )
As of SAP Web Application Server 6.10, the WebApplication Builder is delivered as an integrated platformfor the development of Web applications.The Web Application Builder is fully integrated into theObject Navigator (SE80) and allows you to develop a newkind of Web application called BSP applications. The coreparts of these applications are the Business Server Pages(BSPs) and MIME objects.
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 3/15
A Business Server Page (BSP) application is anindependent development project that is created and editedin the SAP development environment (transaction SE80)
BSP Introduction
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 4/15
BSP Application
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 5/15
E R P I N F O
S OL U T I O N S –
A S S E T M A N A G E ME N T
BSP Application
A page can have the following versions:
¡ Page with flow logic
These are simple pages with event handlers, but without much applicationlogic or visualization elements. It is possible to build a BSP applicationexclusively out of pages with flow logic and event handlers.
¡ View
Views are used to visualize data, see also Model View Controller (MVC).
¡ Page fragment
These are created in the same way as normal BSPs, but are then marked aspage fragments. Other BSPs can also include these fragments using theinclude directive
(see Include Directive).
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 6/15
E R P I N F O
S OL U T I O N S –
A S S E T M A N A G E ME N T
BSP Application Types
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 7/15
S A P -B I ( P R
O C E S S C H A I N )
OnCreate : OnCreate is called once when the page is first created (statefulmode), and performs a once-off data initialization or object creation.
OnRequest : OnRequest is called whenever a request is made for aparticular page and is used to restore the internal data structures fromthe request. This is important when working in stateless mode.
OnInitialization : This event handler is mainly used for data retrieval. Forexample, it allows data required for displaying the BSP to be read fromthe database. It can also execute any program.
Events In BSP
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 8/15
S A P -B I ( P R
O C E S S C H A I N )
OnInputProcessing : This event handler checks and processes user input. Itcan also define navigation, that is, whether the user should be taken tothe same page or another when the BSP is called.
OnManipulation : You can use this event handler to manipulate the HTTPdata stream later.
OnDestroy : This event handler is available for special functions.
Events In BSP
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 9/15
Events In State Full BSP
On Create
On Request
On Initialization
Layout
Output
After User Interaction:-
On RequestOn Input Processing
On Initialization
Layout
On Manipulation
Output
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 10/15
Events In State less BSP
On Create
On Request
On Initialization
Layout
On Manipulation
Output
After User Interaction:- On Create
On Request
On Input Processing
On Initialization
Layout
On Manipulation
Output
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 11/15
Page Attributes :-
Page attributes are parameters that are declared explicitly for one page.You can access page attributes from the layout and from all event
handlers. You use page attributes to store data that is determined in theevent handler OnInitialization, and you can use the page attributes tomake the data accessible to layout processing and the remaining eventhandlers.
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 12/15
Global Attributes :-
Certain global objects can be accessed from all parts of a BSP(initialization, layout, input processing). For example, the request and
response object, the application object (if an application class wasdefined for the BSP application), the navigation object, and the runtimeobject, can be accessed.
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 13/15
Important Classes and Interfaces :-
1 .CL_HTMLB_EVENT : HTMLB Basic Event
2 . CL_HTMLB_MANAGER : public class Event Manager
3 . IF_BSP_PAGE : Business Server Page (BSP) Page
4. IF_BSP_NAVIGATION : Business Server Page (BSP) Navigation
5 . CL_HTMLB_RADIOBUTTONGROUP
6. CL_HTMLB_DROPDOWNLISTBOX
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 14/15
E R P I N F O
S OL U T I O N S –
A S S E T M A N A G
E ME N T
THANK YOU
8/3/2019 CRM BSP
http://slidepdf.com/reader/full/crm-bsp 15/15
E R P I N F O
S OL U T I O N S –
A S S E T M A N A G
E ME N T
Prepared By :Siva Krishna