on 05-23-2006 12:18 AM
I am wondering how to use the "Default" value settings for a field in XI DataType. In the Integration Repository I defined a DataType, field as Text1 type= xsd:string there is an option for entering a Default value for this field Text1. I am thinking that this default value will be populated when the source field is empty. But when I tried with empty source field this default value is not populating.
Please let me know if any one succeeded with this feature.
thanks,
laxman
HI Laxman,
Did you see this part of SAP help-
<i>Default values are not relevant for mapping programs (in particular in message mappings, where they are ignored).</i>
Also check this SAP help-
http://help.sap.com/saphelp_nw2004s/helpdata/en/24/6ca54c596a97478b1255898a0542d0/content.htm
You can use Constant value in Mapping, and use node functions to check for the existence of the field/nodes and do the rest accoridngly..
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use standard function 'mapWithDefault' for the same.
More of it here:
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
Regards
Vijaya
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.