on 10-27-2010 4:36 AM
Hi,
Is it possible to change the name of a data element dynamically while doing the assignment in the link editor?
Something like Transaction.ReceiveXML{/Rowsets/Row/Name1 (name="Name2")}?
Regards,
V M.
Hi VM,
in the link editor you can use the Dynamic Link (see [Expression Editor|http://help.sap.com/saphelp_mii121/helpdata/EN/45/b89adfaf1447f7e10000000a114a6b/frameset.htm]).
With the dynamic link, you can enclose the property that contains the value with "#", which makes MII evaluate the value rather than use the property name. In your example, it looks something like this:
ReceiveXML{/Rowsets/Row[name='#MyProperty#']}
Hope this helps.
Michael
Edited by: Michael Otto on Oct 27, 2010 8:09 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Alias action block can only provide you column names in the configure dialog box drop-down if the selected Document Source object has a valid reference document in Rowset/Rowset/Row format (like a query action block).
If there is no reference document embedded by default (like from generating sample content or configured columns in a document), like you would have in an empty transaction output property, then you can easily assign one by associating it with another object that does have one. The Alias block will then show you the columns in the configure dialog. If your column name it is only available at runtime, then you'll need to map then in the link editor with ColumnName1 / ColumnAlias1
User | Count |
---|---|
11 | |
6 | |
1 | |
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.