Skip to Content
0
Former Member
Dec 07, 2009 at 06:50 AM

DMEE - How to supress tags with no values

1349 Views

Hi,

I have created a payment format tree using transaction DMEE and the values are getting generated as required. But the problem is, when i dont have any values in a given node, I dont want to display the tag for that particular node.

For example,

say, for my format tree is as below:

PmtInf

--> PmtTpInf

--> Cd

Say, Cd has a value of 2, in XML it is displayed as <Cd>2</Cd>.

When Cd is empty, it is displayed as <Cd/>.

In case I dont have value in the node, I dont want to display this tag.

Any idea on how to achieve this?

We tried using the field "Status" in the Attributes by setting it as 2. [ 2 - Optional: if object has no value, object is skipped].

Still it doesnt work, and the empty tag gets displayed in the XML file.

Any help is highly appreciated.

Thanks a lot.

Regards,

Suganya