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

DropdownByIndex and empty element


Hi Experts,

I have a checkbox & a dropdownbyindex in my layout. When I select a checkbox, its corresponding values appear in a dropdown.

Properties of the context node:

Cardinality - 1..n

Selection - 0..n

I want an empty line in the dropdown. For e.g. If I select checkbox C1 which has corresponding values D1,D2 & D3, my dropdown should list 4 values - an empty element, D1, D2 and D3.

But I am not getting an empty element in the dropdown. Can you please help?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2013 at 07:00 AM

    Suppose that the internal table 'ITAB' contains the values D1,D2,D3 which you bind to the node.

    So add 1 more statement.

    INSERT INITIAL LINE INTO ITAB INDEX 1.

    This will show an empty element as required.

    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.