cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a dynamic tag in MII

Former Member
0 Kudos

Hi ,

I want to repeat this item tag for different segments and for each segment the <SEGNAM> will be changing and <SDATA> i am fetching from DB. Is there any way to make this item tag a dynamic tag. so that i will use the same item tag for different segments.

<SEGNAM> I am inputting the value manually for each segment.

<item>

<SEGNAM>Name1</SEGNAM>

<MANDT/>

<DOCNUM/>

<SEGNUM/>

<PSGNUM/>

<HLEVEL/>

<SDATA>11111</SDATA>

</item>

Thanks ,

Duvvurus

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

have you tried to use a Local XML property to save the item node, including all subnodes (like SEGNAM)? Then use the Append XML mode in the link editor to assign it to the RFC structure.

Michael

Former Member
0 Kudos

I have created a local property for each segment and trying to append it to teh RFC structure , but I am able to append only one Local variable. Its over writing the first one whiel tryign to append for the second segment.

Regards,

Duvvurus

Former Member
0 Kudos

Sounds as if you are using link type Assign XML. Please check the [link type|http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm]. To append a node, you can either use Append XML or Append After XML.

Michael