Skip to Content
author's profile photo Former Member
Former Member

BSP Table View

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 07:30 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 12:04 PM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.