on 05-28-2010 9:54 AM
Hi,
My output in PI contains empty tags. Like <sample/>
I want that PI doesnt include them. Delete them entirerly if they are empty. Also for attributes. if they are empty they shouldn't be printed.
now its printing like this: <sample att="" />
Can you help.
Hi,
May be this could help you..
http://help.sap.com/saphelp_nw04/helpdata/en/73/3f5c3c3906b006e10000000a11402f/content.htm
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can place a condition if " EXISTS(node function ) and then check if not equal to "" then pass the original value.(USING IF -Then function).
If there is no mapping available for that particular fields Disable the field mapping.
Regards,
Sainath Chutke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in your receiver data-type, all those elements/tags that could possibly be empty, declare those elements as optional.. indicating 0..1 or 0..unbounded as occurences.
use a java mapping not to include those tags when they are empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be helpful, if you describe your scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.