on 04-27-2006 10:49 AM
Hi,
I sent an Invoice Idoc to a customer, but he isn't able to convert und process the data. As far as I know it is a problem of Segment separation. There are not ' in this message at the end of any segment. How can I force BIC to generate these separators ? Thanks in advance for any advice.
Torsten
Hi,
you will need to use the parameter "destDelimiter".
Set this in the communication channel. If you want to set up different delimiters for each trading partner, you will need to replicate the communication channel one for each trading partner.
destDelimiter
Sets the destination Delimiter. You must use a String with the length of 6 characters.
The order of the delimiter is as follows:
subfield, field, decimal, quoting, fieldgroup, segment
Also you have the possibility to change the delimiters directly in your 1:1 X2E mapping in the bic designer. For this you have to open the mapping and at the destination options you set the flag and then you can change the settings at setDestinationDelimiters.
Hope i could help
ilka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ilka,
thank you for this advice. It solved my problem !! I set the follwing at the beginning of my mapping:
setSourceDelimiter("GROUP","");
setDestinationTrim("off");
setDestinationDelimiter("DecimalPoint",".");
setSourceencoding("Cp850");
Now the message has all neccessary Segment Separators. My partner is able to process the message.
Rgds.
Torsten
Hi,
I used the parameter "destDelimiter" with the string >^.%$ (= 6 characters).
Everything works fine but not the third position. The decimal delimiter does not work right. If I use the "." (dot), nothing happens so a value like 1.5 is presented as 15. But if I use another character like % the value is presented as 1%5 . Why does the dot not work? I really need that. Would be nice, if anybody could help me.
use enclosuresign ..option in file CC..it will allow you to ignore special characters...Iam assuming u want to supress ' when it comes within ""..!
if yes check the content conversion parameters in this blog where i supress , when it comes within ""
/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Torsten,
Is it that you want ' to come in some fields ?
Maybe you can handle that in your mapping itself.
Can you elaborate more on the requirement.
ShaBZ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you just explain the structure of the XML and where you need the ' to come.
If you need it to come after the last field of the segment then add a constant ' after the particular area or field.
ie if you need to differentiate between various segments, u can add the ' after the last field of each segment.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.