on 06-29-2015 6:29 AM
Hi
i have four different collections with same object type. I want to concatenate all of four collections in single collection so that i can show all the data in single list view. I am using agentry with SMP2.3
Hi Amitoj,
I am not aware of way to concatenate collections into a single collection.
I don't know your specific business case, but why don't you concaternate all four collections into a single collection first before sending down to the client.
Regards,
Chung
SAP Senior Support Engineer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amitoj,
You can concatenate two collections but before that i would like to know your business requirement or object/s and collections structure.
First Case :
For this answer i am assuming your four collections are having structure like below.
So if this is the case then you can follow this procedure.
1) Create a parent collection in your object (same level where all collections are at / at main object level).This collection would hold "Same Object" as shown above.
2) Call an action on button click to save all values to this parent collection
Action structure will look like following.
3) All actions config will look like following,
Similarly configure other actions for other collections 2,3,4
4) This action will look like following.It will have a transaction action step to add your object in paent collection.
5) And when this action is executed successfully then navigate to screen where you show this image list.(Parent collection for your objects).
This screen will have "List tile view" to show Parent Collection that we created in previous steps.
Second case : But if your Collections are like the one shown below.All having different objects....
1) In the case shown above i would recommend create your object carefully.Like since this is related to showing image on screen--->you can think of common properties for those from all objects like image path,name,format etc.
Hope this helps,
Regards,
AK
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.