on 04-22-2014 12:26 PM
I am working on SAP MII 14.0. I have to send the data from SAP to OTM using MII as Middleware.
We will get multile items in one XML as SAP Response at a time. Each item will have OTM_Ship tag which contains different value for each item. We have to save all QTM_Ships in one list.
So Please suggest me that how can i save all OTM_Ship values in one list.
Hi Raviteja,
SAP MII has data type of List.
You can create a transaction variable of type List and then store the values in the list using insert(list, location, value) method.
Regards,
Rohit Negi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raviteja,
Once you have stored the values in the List you can use the For Next Loop.
Set the 'To' param as size(List_Name)-1
Then you can get the values in the list by: List_Name{#For_Next_Loop_0.CurrentItem#}
This same logic can also be used to check the existence of an element in the list.
Regards,
Rohit Negi.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
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.