on 11-16-2010 11:16 PM
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.
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}#"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Anybody out there faced the same problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.