on 08-08-2012 10:30 AM
Hi,
I want to access the all elements stored in "List" data type but one by one (one at a time)
Please let me know how can i do that??
Use a for next loop
In the link editor set the 'To' value to:
size(Local.List) - 1
List will be your list you are looping. Do a minus 1 because the list is 0 indexed.
You can then access the current value by:
Local.List{#foreachloop.CurrentItem#}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jasper,
Its working as required.
Thanks
Regards
Shashank
Also, found a way to convert all the items in List into XML format making it easily assessable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you looked in the online help documentation? http://help.sap.com/saphelp_mii122/helpdata/en/3f/d18f8bb4354a8495455bf61dd74e4f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.