cancel
Showing results for 
Search instead for 
Did you mean: 

BSP Table View

Former Member
0 Kudos

hi.

i want create an bsp application with one page in which there is an input field eg say kunnr no. and a button

if kunnr no is given and when v press the button i need to dispaly its corresponding record in the table view.

this table view should b in enable mode only when v press the button.

regards,

krishna.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member813607
Contributor
0 Kudos

Hi Krishna,

It is very well possible the steps can be summerized as shown below.

I assume that the entire thing u want as a new application.. and I prefer view controller method.

1. create a new application ( Z )

2. create a view and controller in the application.

3. create a class (z) wich is inherited from cl_bsp_controller2 and the do_request( ) method redefined properly. ( code you will get from SAP docs as well as from sdn ).

4. modify the page ( .htm ) accordingly for the table and button ( make sure that u defined the event name attribute )

5. redefine the method do_handle_event( ) and call the event for the button.

6. write the code for getting the data from database if the event is matching in do_handle_event( ) and pass the data into the global table ( say gt_table ), which is to be displayed in the output.

Note: you can create an iterator for this table to make it interactive and for additional functionalities.

hope it helps.

regards, sudeep..

Former Member
0 Kudos