参照官方文档做的, 这也是BSP系统Tutorial的最后一个示例了, 做完基本BSP也就这些东西了, 再配合AJAX, 标准的WEB技术DHTML、CSS、JS等, BSP应该也是无所不能的啦.
官方文档地址: http://help.sap.com/saphelp_nw04/helpdata/en/16/50e42e0d8711d5991d00508b5d5211/content.htm
In this tutorial you will learn how to:
· Use an application class (CL_BSP_TUTORIAL)
· Check user input and write it to the database
· Set cookies on the client side to store information in a stateless application
· Use caching functions
· Use the messages object
· Use the Online Text Repository (OTR)
本示例用到的表类型和类代码, 但ABAPTrial中没有的, 以下是我从IDES4.7中查到的.
BSCUSTOMER
TBSBASKET
BSBASKET
============
设定Application Class, 很重要的一步哟, 文档上没写的,呵呵