Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Loop List using API Methods

Hi All,

My Bex Query Structure(With No KF'S) :


PRODUCTS ID         PRODUCTS NAME           Words1                 Words2

  1                            wax                                  asdsad                  wrffvbv

  2                            lighter                               sadadas                rgergbg

  3                            candle                              asdasds                wvvxdsd

In DS 1.3, i am stuck up in the below steps itself.

var arr_products = DS_1.getMembers("PRODUCTS", 30);   

var arr_words1 = DS_1.getMembers("Words1", 30);

var arr_words 2 = DS_1.getMembers("Words2", 30);

I got the values to get stored in array from above.

I am trying to achieve like below. Get the list in an array and loop over that array and concatenate the text values .

Expected Output like below in ListBox when selection of wax and lighter in product dimension filter :


asdsadwrffvbv   < - Concatenate both words and show as one word


sadadasrgergbg   < - Concatenate both words and show as one word    

Hope it should be understandable for everyone and need your solution guys.



Not what you were looking for? View more on this topic or Ask a question