cancel
Showing results for 
Search instead for 
Did you mean: 

Loop over complex table to populate a collection

emanuele_matino
Participant
0 Kudos

Hi expert,

I need to loop over a CT and populate a collection with objects filled with the information take from the records of the complex table.


How I can do this?

Thanks in advance.

Emanuele

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Your question is essentially your answer. You will need to create a looping action to loop over the CT and call a sub-action that will in turn call an add transaction to populate a collection.

What product is this related to? Work Manager?

Work Manager does this to populate the Equipment and Functional Location search results and you can look at those definitions as an example.

--Bill

Answers (1)

Answers (1)

Former Member
0 Kudos

To illustrate what Bill says, attached are a couple of screenshots showing an example of looping in Work Manager code. You can click on the links to the two .png files at the bottom to enlarge them for easy viewing.

Hope this information helps.

Raymond Kwong

SAP Product Support