Posts tagged BSP
BSP Learning Series – 5
0Integration with MVC
Integrating MVC Pattern into BSP Application Development Phase, there are some example programs and demo class
- ITMVC
- ITMVC2
- SBSP_MVC(PACKAGE)
- SBOOKSHOP
View 正解
View 没有事件处理,只是负责显示数据, 作为一个 Representation Layer. 不像PAGE WITH FLOW LOGIC可以自己的FLOW和事件.

BSP Learning Series – 4
0System Message Handling
Layout
在Layout中指定以下的两个消息会西显示, 但是在初次时候, 是不会显示的, 因为我们还没有在EVENT中插入一个MESSAGE
看下面的事件, 根据插入不同的消息到不同的CONDITION. 
OnInputProcessing:

BSP Learning Series – 3
0Event Handler
| Event Handler | Description |
| OnCreate | OnCreate is called once when the page is first created (stateful mode), and performs a once-off data initialization or object creation. |
| OnRequest | OnRequest is called whenever a request is made for a particular page and is used to restore the internal data structures from the request. This is important when working in stateless mode. |
| OnInitialization | This event handler is mainly used for data retrieval. For example, it allows data required for displaying the BSP to be read from the database. It can also execute any program. |
| OnInputProcessing | This event handler checks and processes user input. It can also define navigation, that is, whether the user should be taken to the same page or another when the BSP is called. |
| OnManipulation | You can use this event handler to manipulate the HTTP data stream later. |
| OnDestroy | This event handler is available for special functions. |
About Application Class
举个例子, 这里的AC, 就是在APPLICATION 定义的一个CLASS, 可以说是一个功能性的CLASS 可以在整个APPLICATION 中任意的使用, 包括其METHOD, ATTRIBUTE, 有点类似WebDynpro的Assistance Class的感觉。
BSP Learning Series – 2
0Handling Event of BSP Page Objects
Page with flow logic, there are two kinds of processing mode between HTMLB and HTML page.
|
HTML Page |
Event handler |
Layout![]() Continue reading “BSP Learning Series – 2” » |
BSP Learning Series – 1
0This is a series blog about how to use BSP programing language to develop web-based application based on SAP Netweaver Platform, the following context are basic structure of whole blog series.
1 HTML的EVENT处理
Page with flow logic
Event Handler
2 Application Class
3 System Message Handling
MESSAGE 类型
Adding Your Own Error Messages

