|
|
Creating a Simple BSP - Code and information on how to create a very simple BSPStep 1 - Create new BSP Application Using SE80 create BSP Application (I.e. ZTESTBSP). Step 2 - Create new page (index.htm) Right click on BSP object name and select create->page (with flow logic).
Step 3 – Populate ‘Layout’ tab Insert the following code into index.htm layout section.
Step 4 – Create new page (Start.htm) Right click on BSP object name and select create->page (with flow logic). Step 5 – Populate ‘Layout’ tab Insert the following code into start.htm layout section.
Step 6 – Setup ‘Page Attributes’ (Data declarations)
it_flight wa_flight FLIGHTTAB SFLIGHT Step 7 – Insert data retrieval code (Event Handler) Insert code to populate internal table with data from flight table. Place in the OnInitialization event within the ‘Event Handler’ tab.
SELECT CARRID CONNID FLDATE UP TO 10 ROWS FROM sflight INTO TABLE it_flight. Step 8 – Activate and test Save everything and press the activate button, if all is ok press the test button which should open up a browser window and display your newly created BSP.
|
||||||||||||||||