Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

How to get array index values from modelData.Find

I have a model, lets call it X.

Model X consist of 1 column keeping a String value.

When I look up in Model X I use "var data = modelData.Find(X,"FIELD","VALUE","OP");"

I receive the found object back into "data". How do I get the indexes for the found object(s). I need to 

I show model X in a List/SAP.M object(with Multiple selection on), and I need to set the rows of the found object(s) to show as selected.

The last part I figured out can be don using.

var items = X.getItems();


Any ideas ?

1 Comment

Dear Henrik Mortensen,

i hope the below link will help you


thanks and regards 


Login or Signup to post a comment