cancel
Showing results for 
Search instead for 
Did you mean: 

Empty tag genaration in xml

Former Member
0 Kudos

Hi ,

I need to create Empty XML tag like this <abc> </abc> but If I pass empty value in the abc field it is genarating like this in moni

<abc /> but if I open this xml in notepad I am able to see like <abc> </abc> But my client is requring the aboe empty xml tag but it is not genarting

Please guid me how to get the empty tag in xml.....

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

> <abc /> but if I open this xml in notepad I am able to see like <abc> </abc> But my client is requring the aboe empty xml tag but it is not genarting

The graphical mapping tool generates empty tags always that way: <abc></abc>

This cannot be changed.

Former Member
0 Kudos

Hi Stefen,

I required as <abc></abc> onlywhen I pass space to abc field but when I see in moni payload the xml is looking like this <abc/> .

To get the xml <abc></abc> in MONI payload what settings I need to do ..

Please guid in this regard,,,

Former Member
0 Kudos

There are no settings to be done. It is standard from SAP.

Thanks,

stefan_grube
Active Contributor
0 Kudos

> To get the xml <abc></abc> in MONI payload what settings I need to do ..

As I have already mentioned, an empty tag (no space) is like this.

So you need not do anything special for it.

Internet Explorer (that is in SXMB_MONI) displays it wrong. When you open it in Notepad, you see it correct.

Former Member
0 Kudos

Hi,

In SXMB_MONI, do right click on payload and select source code. That is the actual source code of the xml. You can see their tags as required by you.

Also as steffan suggested there is no setting you can do in sxmb_moni. Its the xml payload you see in sxmb_moni but in source code you can see the actual xml.

Regards

Amol

Answers (0)