Web Application Development - Example code and information on development using BSP


What is a BSP
What is SAP Business server page (BSP) web development

[+] BSPs using Model View Controller (MVC) technique
MVC technique for an SAP BSP

[+] SAP BSP using HTML (not HTMLB)
Develop a SAP webpage using BSP and standard HTML and ABAP to display and process user input

Creating a simple Business server page(BSP)
Example BSP webpage

Get user input on BSP
Capture user input on a HTML based BSP page

Call onInputProcessing from SAP BSP page
Call onInputProcessing event from SAP BSP page via href or button

User input field using HTML
Add text input field using Standard SAP BSP and HTML

User input field using HTMLB and MVC
Use HTMLB and BSP MVC to display and process text field

Pass value to second BSP page
Pass a value to a second BSP page

BSP Application Class
Add an application class to your SAP BSP

Adding JavaScript to BSP page
Using javascript within your SAP BSP

HR Org. Structure tree selection(BSP/JavaScript)
Display SAP organisational structure using BSP and Javascript

Call onInputProcessing from SAP BSP page
Call onInputProcessing event from SAP BSP page via href or button

Use of cookies to create a favourites list (htmlb table)
Using cookies within a BSP

Close BSP Session including when in SAP portal
Information to ensure your BSP application performs the correct session management

Create new session for each instance of SAP BSP
Code to ensure when running a BSP multiple times simultaneously each instance has its own session id to store its global data

Upload data from file into BSP application (FILE UPLOAD)
Upload data into BSP application

Useful BSP, HTML JAVAScript, AJAX.. code
See here for example code to add to your BSP application including ABAP, HTML, JAVASCRIPT, AJAX etc..

getElementById javascript statement
Examples of how to use the getElementById command to capture values on your HTML page using javascript. Very powerfull when used along side AJAX which is detailed in the next section

Adding AJAX to your BSP HTML pages
AJAx is very useful within SAP BSP pages to allow you to get capture values and re-drawn the screen accordingly

Capture browser/page close
Capture and perform processing if user closes web browser or page

Call SAP transaction code
Using a dynamically created shortcut call standard SAP transaction code

Checkboxes on SAP BSP page
Add checkboxes to SAP BSP web page and capture which have been selected by user

Check checkbox is checked using Javascript
Check BSP HTML checkbox is checked using Javascript

SAP BSP Radiobutton
Add Radiobuttons to SAP BSP web page and capture users selection

Display and process dropdown list using HTML
Use HTML to process dropdown list within SAP BSP

SAP BSP shopping basket
Implement shopping basket functionality into SAP BSP

Further htmlb functionality
SAP HTMLB tags

Sharing data between pages in a BSP (Statefull & Stateless)
Difference between statefull and stateless BSP

Example course booking input form using BSP/HTML
BSP input form using BSP and HTML

Execute ABAP report to retrieve data for BSP
Execute ABAP report from within SAP BSP

Auto select region when user selects country in BSP
HTML and Javascript code to auto select region when user selects country within your SAP BSP

Web Apps menu
Return to SAP web apps menu

Related Articles

Javascript to capture when a user closes or leaves sap bsp html page
Using AJAX functionality within our SAP BSP
Close BSP Session (type 'Pluggin HTTP') including when in SAP portal
SAP BSP to auto select region when user selects country using HTML and Javascript
HTML and Javascript code to force enter key to perform tab
JavaScrip command getElementById useful examples
MVC BSP input field - Demonstrate how to retrieve a value entered into text input field
Allowing multiple instances of a BSP application to be run by a user
Execute Standard SAP Transaction from BSP using dynamically created shortcut
Uplaod file within SAP BSP application using HTML and ABAP coding
UUseful SAP BSP application code - ABAP, HTML, HTMLB, Javascript, CSS
Creating a BSP Application class to help store and pass data betwenn your BSP pages
Training Course and Workshop Booking Form
BSP checkboxes using HTML and the OnInputProcessing BSP Event
BSP checkboxes using HTML and the OnInputProcessing BSP Event
Check HTML checkbox is checked using Javascript within your SAP BSP
BSP Dropdown List - create a BSP dropdown list which allows user selection!!
ABAP BSP to allow user to select from SAP HR org structure - CSS file
Java script to display tree structure on your SAP BSP web page
Create a Simple BSP - Simple BSP to display text and call section BSP page using HTML
SAP BSP Training course booking - Creating an example training course booking form using BSP
Creating an SAP BSP which executes an ABAP report to retrieve data for use within BSP application
org selection BSP - detials.htm page
Display page of the SAP BSP example application to store favourite tcodes as a cookie
Execute.htm page of the SAP BSP example application to store favourite tcodes as a cookie
Favourites cookie bsp - initial page to display input fields and retrieve user input
BSP using cookies - Demonstrate use of cookies within a BSP to store user favourits
ABAP Export data to memory - Demonstrate use of ABAP program to retrieve data for use in BSP
MVC BSP HTMLB input field - Demonstrate how to retrieve a value entered into text input field
BSP development using standard HTML code instead of Business HTML (HTMLB)
Business HTML (HTMLB) - List of business HTML tags you can use within your BSP
Adding JavaScript to BSP (HTML) pages - Shows how to add javascript to your BSP pages
Example JavaScript code which can be added to your BSP application
BSP MIME Objects for Org. search application
Call onInputProcessing event from SAP BSP page via href or button
Organisation selection BSP - close internet window using javascript
Organisation selection BSP - get server side cookie ( get_server_cookie )
orgaisation selection BSP - set and get server side cookie ( set_server_cookie )
Display orgaisation selection BSP
BSP which allows HR Organisation Structure search and selection using javascript
Organisation update program - get server side cookie ( get_server_cookie )
BSP to capture user entry into HTML input fields
Capture BSP radiobutton selection using HTML and the OnInputProcessing BSP Event
BSP checkboxes using HTML and the OnInputProcessing BSP Event
Stateful and stateless BSP applications
Get user entry into HTML input fields with SAP BSP
Javascript to capture when a user closes or leaves sap bsp html page
Creating a BSP using the Model View Controller ( MVC ) technique
Using SAP Model View Controller (MVC) development techniques to develop BSPs
Adding a JavaScript date selection field to a BSP
Creating a BSP using the Model View Controller ( MVC ) technique
Creating a BSP using the Model View Controller(MVC) technique
Creating a BSP using the Model View Controller ( MVC ) technique
Retrieve value from input text field within a model view controller ( MVC) BSP
SAP BSP / Business Server Pages combine ABAP and other web technologies such as HTML, CSS
BSP development screen - developing application using business server pages
Standard Program created in SE38 or SE80