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

Choose from List trigger

How Can I show choose from list without binding it to any field of the form.

var cfls = sqfrm.ChooseFromLists;

var cflCreator = this.oapp.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams) as SAPbouiCOM.ChooseFromListCreationParams;

cflCreator.UniqueID = "cflJSc";

cflCreator.ObjectType = "JSCUDO";

cflCreator.MultiSelection = false;

var cfl = cfls.Add(cflCreator);

var conds = cfl.GetConditions();

var cond = conds.Add();

cond.Alias = "Status";

cond.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;

cond.CondVal = "O";

now what should I do do show this Choose from list popup.

Best Regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 22, 2013 at 08:52 AM

    Hi Imran,

    You can not.

    CFL has to be bound to an edit text.

    If you dont want to show the edit text, put the edit text on an unvisible pane level / a very large coordinate.

    On the event that you want, send a tab key to this edit text.


    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.