Documente Academic
Documente Profesional
Documente Cultură
Contributing Speaker
Jonathan Ziegler
SAP Development Supervisor TravelCenters of America Westlake, Ohio
What is a BSP Application? A complete, functional application Executed in a Web browser Uses HTTP or HTTPS protocols Similar to server pages technology Consists of a user interface and business logic Runs on SAP Web AS Apps are developed in SE80 Uses services in SICF
Key Components of a BSP Application Business Server Pages (BSPs) continued A page can have the following versions:
Page with flow logic These are simple pages with event handlers, but without much application logic or visualization elements. It is possible to build a BSP application exclusively out of pages with flow logic and event handlers. View Views are used to visualize data. Page fragment These are created in the same way as normal BSPs, but are then marked as page fragments. Other BSPs can also include these fragments using the include directive.
Application class
The business logic of a BSP application is encapsulated in an application class. This class is realized by means of a global ABAP class which implements the access to business data using BAPI calls, for example. Every page of a BSP application can directly reference the components of this class (attributes, methods, and so on) using the predefined Object application. You can also assign several BSP applications to an application class.
Session Management
No longer running from the SAP GUI
Page Navigation
Passing parameters to the next page can be tricky
Sample Application Create Application Class (SE24) Create BSP Application (SE80)
Create Attributes
Create Method
Sample Application Create Application Class (SE24) Create BSP Application (SE80)
<%@page language="abap"%> <%@extension name="htmlb" prefix="htmlb"%> <htmlb:content design="design2003"> <htmlb:page title = "My Default Page "> <htmlb:form> <htmlb:textView <htmlb:button </htmlb:form> </htmlb:page> </htmlb:content> text design text onClick = "Hello World!" = "EMPHASIZED" /> = "Press Me" = "myClickHandler" />
CD101_a.avi
Resources HTML, CSS, and JavaScript www.w3schools.com JavaScript & DHTML Cookbook: Solutions and Examples for Web Programmers
By Danny Goodman
Resources
SAP Books
Advanced BSP Programming by Brian McKellar and Thomas Jung Web Programming in ABAP with the SAP Web Application Server (2nd Edition) by Frdric Heinemann and Christian Rau http://www.sap-press.com
Resources
Resources
Resources
Summary BSPs are a useful development tool for creating web-based solutions for SAP BSP development requires different knowledge than typical ABAP development There are many resources and sample applications available for getting started with BSPs
Further Information SAP Public Web: SAP Developer Network (SDN): www.sdn.sap.com Business Process Expert (BPX) Community: www.bpx.sap.com Americas SAP Users Group (ASUG) www.asug.com Related SAP Education and Certification Opportunities http://www.sap.com/education/
ASUG, the Americas SAP Users Group, is the worlds largest, customer-run community of SAP professionals and partners, with 45,000 individual members and 1,800 companies represented. ASUG delivers the highest value to member companies, allowing them to maximize their SAP investments. Some highlighted benefits include: Access to a year-round community for SAP customers and partners Diverse mix of educational topics and events through a variety of formats Exclusive opportunity to influence SAP future product direction Unparalleled networking opportunities with a dynamic professional network Unprecedented partnership with SAP Access to ASUG Groups and Chapters To learn more about ASUG, visit the ASUG booth in the SDN Clubhouse, or visit our Web site at www.asug.com.
Q&A
Feedback
Please complete your session evaluation. Be courteous deposit your trash, and do not take the handouts for the following session.
Thank You !
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG. This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence. The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages.