on 09-23-2008 8:14 AM
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.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.