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.
say, for my format tree is as below:
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.