on 01-15-2012 3:30 PM
Hi,
I am new in MII and writing a transaction where in a MAP data need to be converted into MII XML format. I tried with Repeater action but was not successful. Repeater is used to cycle through an XML node set. and MAP data is not in XML format.
Could you please tell me how to loop through MAP data type.
MII Version: 12.2
Thanks,
Nilz
Edited by: nilz on Jan 16, 2012 3:47 AM
Hello Nilz,
I am assuming you are referring to Map datatype which has map(key,value) pair.
You should probably try one of these built-in expression editor functions:
containskey(map, key)
containsvalue(map, value)
emptymap
keys(map)
map(name1, value1, ...)
put(map, name, value)
Refer to help for more details: [MII 12.1 Expression Editor Functions|http://help.sap.com/saphelp_mii121/helpdata/en/45/bf7f3b692f52f5e10000000a1553f7/frameset.htm]
Hope this helps!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nilz,
Just adding to Manish's response, it need not always be 'Persistent'. It can be any tree node that gets displayed when you try to configure the repeater action block.
Example: If the property is a transaction property, then use 'Transaction' instead of 'Persistent'.
Hope this helps.
Thanks,
Suhas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nilz,
Please use the following in the loop
Persistent.PROPERTYNAME{/Rowsets/Rowset/Row}
Let me know if you need more information
Regards,
Manish Jain
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 | |
2 | |
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.