Skip to Content
author's profile photo Former Member
Former Member

How to change the name of an XML data element in link editor?

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2010 at 05:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.