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

Listbox UI element in FORM UIBB?

Hi Experts,

Are there any UI elements like Listbox ( multiple selecttion enabled dropdown ) that I can use in a form UIBB..?

Or any other way I can achieve a multiple select except search UIBB.?

Many thanks in advance.

Saikat

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 06, 2015 at 01:40 PM

    Hi Saikat,
    the multiple drop down UI inside the search uibb actually is a WD ABAP UI element.

    (the so called wd abap selection options). The name of the wd component is this: WD_SELECT_OPTIONS_20.

    So, in theory you can create a freestyle UIBB and then embedd the select option there.

    Kind regards,
    Ulrich

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2015 at 02:30 PM

    Hi Saikat,

    If I understand your question correctly, you want to select multiple values at once to pass for your further operations.

    You can go for LIST UIBB (FPM_LIST_UIBB_ATS) this supersedes the Webdynpro list component.

    Here you will get all options line single select, multi select, de-select etc.

    • Just add this UIBB in your component configuration and provide a Feeder class.
    • You need to add Interface IF_FPM_GUIBB_LIST in your Feeder Class.
    • Define type for this UIBB in Public section of your Feeder class.
    • Define Field catalog for this in IF_FPM_GUIBB_LIST~GET_DEFINITION method like below

    eo_field_catalog ?= cl_abap_tabledescr=>describe_by_data( p_data = <your internal table> ).


    • Bind columns to this UIBB in component configuration.
    • Change the Selection Mode property to 'Multiple Selection (plus Lead Selection)'.
    • You can also set number of rows visible by default for this UIBB in property 'Visible Row Count'.
    • Now to bind records you can use IF_FPM_GUIBB_LIST~GET_DATA method.

    In this just pass your internal table containing records to CT_DATA and set EV_DATA_CHANGED = TRUE.

    Set any other property you want to set.

    You can put your UIBB in Panel so that it can be Collapse/Open as required.

    Hope this will Help.

    Thanks-

    Abhishek

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2015 at 02:48 PM

    Use a freestyle UIBB inplace of FORM uibb or include a list UIBB for multiple selection.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2015 at 04:05 PM

    Thank you all for your replies.

    Let me clarify one by one.

    @Ulrich - Unfortunately we are at a lower ECC version BASIS( 702, SP 9). So WD_SELECT_OPTIONS_20 isint available.

    @Abhishek and Vaibhav - The design is preventing me to use your approach.

    Now, I have implemented search UIBB and the client was "almost" ok with it. Except, he wants multiple paste ( paste multiple value from clipboard). Is that possible inn serach UIBB?

    I read an article which says that we can make it possible in classical web dynpro that too after an enhancement in the standard component for SAP NetWeaver 7.0, 7.01 and 7.02. Now, can this enhancement make this feature work in search UIBB?

    Thanks,

    Saikat

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Vaibhav Singh

      Hi Vaibhav,

      using text input and splitting is possible. But that is not a feasible approach. If a user fiddles around with the text that has been pasted then the separator logic wont work and it will break.

      But thanks for your reply.

      We will have to upgrade to SAP_BASIS 7.31 to get the feature automatically in search UIBB only.

      Thanks,

      Saikat

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.