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

BSP Extension

Hello,

I want to use HTMLB tableView. Instead of the columnHeader (make invisible), i want to insert a first row containing a group of buttons. Each button realizing a particular action (sort…) in the data.

Necessary, i have to build BSP Extension. I know approxitivement the methodology to create a BSP Extension. But, I’m blocked. Do have i to modify an existing BSP Extension (htmlb/ Table View Column…) or not?

I don’t want to use a gridlayout for the first row containing the buttons and a tableView for the data but only a tableView.

Have you any idea?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2004 at 09:47 PM

    Why even do that?

    SORT and FILTER are built in functions of the tableView and you can control the whole layout using a tableView Iterator.

    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator

    /people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators

    /people/sap.user72/blog/2004/09/08/bsp-howto-exploring-bsp-development-and-the-miniwas-620-part-2

    /people/sap.user72/blog/2004/08/27/bsp-howto-tableview-iterator--column-header-graphics

    But to answer your questions on the BSP Extension then take a look at this weblog from Thomas.

    /people/thomas.jung3/blog/2004/08/09/bsp-download-to-excel-in-unicode-format

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2004 at 10:37 AM

    Hello Craig,

    In order to conform of the presentation of another application, i have to do like i say.

    That is to say using a raw of buttons in the same tableView with the data.

    The fonctions i want to use is indeed 'sort' and 'filter'.

    I have to do a BSP extension. But i don't know how to begin? I know how to create a BSP extension and create an element. I have to rewrite some methods:

    -IF_BSP_ELEMENT~COMPILE_TIME_IS_VALID

    -IF_BSP_ELEMENT~DO_AT_END

    -IF_BSP_ELEMENT~RUNTIME_IS_VALID

    But how?

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      You create a new class that uses the super class CL_BSP_ELEMENT then choose "redfine" method

      That last weblog link I posted takes you to a weblog by Thomas where he shows us how to create a BSP Extension.

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.