cancel
Showing results for 
Search instead for 
Did you mean: 

'Map' Transaction Property

Former Member
0 Kudos

Hi,

I have a transaction property of type 'map'. When I pass a static index value, it returns the string value fine. But when I pass a dynamic value, it throws an error - 'Expected token that differs from that found (Expected: '<EOF>', Found: '<IDENTIFIER>'). I am using a syntax of the format Transaction.MapProperty{Transaction.Index{/Rowsets/Rowset/Row}} . Any thoughts?

Regards,

V M.

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Kudos

What does Transaction.Index{/Rowsets/Rowset/Row} return?

You might need to use ##'s so it resolves the first value as a string:

Transaction.MapProperty{#Transaction.Index{/Rowsets/Rowset/Row}#}

or

Transaction.MapProperty{"#Transaction.Index{/Rowsets/Rowset/Row}#"}

Former Member
0 Kudos

Basically, Transaction.Index{/Rowsets/Rowset/Row} returns the index value ('Plant' value in SAP) and the Transaction.Property{#Transaction.Index{/Rowsets/Rowset/Row}#} returns the string value of corresponding Site (value in MES) by doing a look up. The other syntax Transaction.Property{"#Transaction.Index{/Rowsets/Rowset/Row}#"} also works.

Answers (1)

Answers (1)

Former Member
0 Kudos

Anybody out there faced the same problem?

Former Member
0 Kudos

Ok...this worked Transaction.MapProperty{#Transaction.Index{/Rowsets/Rowset/Row}#}