Skip to Content
avatar image
Former Member

'Map' Transaction Property

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 17, 2010 at 04:11 PM

    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}#"}

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Nov 17, 2010 at 03:36 PM

    Anybody out there faced the same problem?

    Add comment
    10|10000 characters needed characters exceeded