cancel
Showing results for 
Search instead for 
Did you mean: 

Repeater does not work for MAP? MII 12.2

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

sidnooradarsh
Contributor
0 Kudos

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!!

suhas_nagaraju
Participant
0 Kudos

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

Former Member
0 Kudos

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