on 10-06-2009 10:56 AM
Hi all..
If in my XI mapping output, I have a empty node then in the BIC mapping output i want a <SPACE> to come.
For example if XI mapping is like this:
<A1>200</A1>
<A2/>
Then i want the BIC output to be like
200: ' where ' is the segment delimeter
instead it is coming like 200'
any idea how to change the properties so that we get the desired output?
This would be some trial exercise with certain option present in BIC when you open your mapping.
1. setIgnoreWhitespaces - check that it is turned off for your mapping.
2. SetSourceTrim - you may try turning it off
3. SetDestinationTrim - try turning it off too.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alok,
In the XI Mapping (NOT BIC mapping) you can use mapWithDefault function to defualt a space instead of keeping it empty.
Then I think the BIC mapping will insert the space in the EDIFACT file.
Regards,
ravi kanth talagana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You are right BIC mapping trims the content by default
for e.g check the condition used for mapping from source to target
if existsourceField("LIST.S_ISA.D_I04:value") && trim(LIST.S_ISA.D_I04:value) != ""
copy LIST.S_ISA.D_I04:value to ISA:I04;
else
copy "" to ISA:I04;
endif
in order to populate the space value you need to change your BIC mapping accordingly.. i.e removal of trim value ..soon..
HTH
Rajesh
Hi,
You can modify the source code..
but before that you need clear understanding of all the fields for which spaces need to be handled..
In order to do it involves the long process...
You need to use BIC mapping Tool for the same..and create a copy of the standard mappings and modify as required ...
deploy the same to XI/PI server..
you need to do lot of modifications for this..
All the best and gud luck
Rajesh
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.