on 04-27-2007 8:40 PM
Hi @,
Return type of Exist function is true or false.In XI true is treated as 1 .My doubt is what is the actual value that is returned by exist function whether it returns TRUE or 1 ?
I have to use the return as an input to anoher function UDF to decide my mapping so how should I treat true returned by Exist function as TRUE or 1
Regards
Hi Pria,
It returns True/Fals. But if your logic need 1 you can make true to 1 using constant and If Else conditions available in mapping.
Regards
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use this function to determine whether a particular source field exists in the XML instance to be processed. If it does, exists() returns the value true, otherwise it returns the value false
http://help.sap.com/saphelp_nw2004s/helpdata/en/db/83f7b88528424c9113b15d5e0fb516/content.htm
In general we will use if the source side XML element is existed then assign the value to target ewlse SUppress the target ort as per business requirement..
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Priya,
Exists funciton always return as true or false only.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.