cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc Invoice without Delimiter " ' " after BIC conversion

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Is there an overview about the possible commands that I can enter to the communication channel?

I.e. SetDestinationDelimiter becomes destDelimiter

Is there are a command for SetDestinationTrim?

Answers (2)

Answers (2)

STALANKI
Active Contributor
0 Kudos

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

Shabarish_Nair
Active Contributor
0 Kudos

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

0 Kudos

Hi Shabarish,

under Seeburger Edwin there is a ' after each segment. Under Seeburger BIC it is not. I have coded to get it after the UNA, but there should be one after each other segment, too. Have I to code this explicit ?

Shabarish_Nair
Active Contributor
0 Kudos

From what I understood you need a ' after each segment in SeeBurger BIC.

if there is any mapping involved you can use a constant ot a User Def. Func. to add the ' after the required segment or field.

0 Kudos

Hi Shabarish,

I cannot find a segment to add the ' during the coding. There arey only fields like UNB.UNH.BGM:C002.3055 and so on. What kind of User function could it be to do so ? Any example ?

Shabarish_Nair
Active Contributor
0 Kudos

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.