cancel
Showing results for 
Search instead for 
Did you mean: 

new line in BIC INHOUSE CONVERSION

Former Member
0 Kudos

Hi ALL,

How to do new line in bic inhouse.

below which i have mentioned is the correct file.

HDR123 444 01

DTL1234 12234

after doing the bic inhouse conversion I am getting this format.

HDR123 44401 DTL1234 12234

please can you give the solution how to use newline in bic inhouse conversion

THANKS AND REGARDS

WALTER STEPHEN

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi saranya,

Can you solve your 'newline' issue for Inhouse EDI files?

If it so please say how you resolve.

I also face the same issue.

Thansk

Amarnath

0 Kudos

Hi saranya,

          Am a newbie to seeburger BIC MD, i have done with the Global Mapping in BIC and configured in the adapter and gone well. well am little bit mess with INHOUSE format for the EDI.

As the requirement comes with they are moving with the INHOUSE format,so i need to know how to map the EDI-INHOUSE format in BIC MD. I have searched with the blog, all are impasse..

so please help me in how to work in BICMD with the inhouse edi DELFOR.could you suggest some good links..

Timely help makes much effective, indeed...!

Thanks in advance for all who makes me to move ahead...

Regards,

Harish

Former Member
0 Kudos

Hi Walter,

I think the solution to this problem is bit simple .In ur code page of bic mapping u have to add this line

setSourceDelimiter("Segment",''\n'');

U have created a project mapping in ur BIC mapping designer there u have to double click on E2X mapping then the source page will open there on the begining just after the commented lines u have to write this one line code .

Please Reward point if u got the solution

Regards,

Saurabh

Former Member
0 Kudos

Hi Walter

Can u tell me about the input u r giving to bic and the output which at persent u r getting and the desired output.I hope then we can suggest u the required solution

Regards

Saurabh

Former Member
0 Kudos

Hi,

The conversion ix XML to EDI using INHOUSE BIC.

correct output file:

HDR12001 1234441 000111

DTL122200010 00200134222

but after the bic conversion I am getting this format

HDR12001 1234441 000111DTL122200010 00200134222

How to get this format

After the BIC INHOUSE CONVERSION(XML TO EDI)

HDR12001 1234441 000111

DTL122200010 00200134222

Please help me to solve this issue.

thanks and regards

walter

GabrielSagaya
Active Contributor
0 Kudos

HDR123 444 01

DTL1234 12234

You can use UDF to achieve the output

function myudf(String a[],Resultlist result, Container container)

{

Vector[] v=new Vector[a.length];

for(int i=0;i<a.length;i++)

{

StringTokenizer st=new StringTokenizer(a<i>," ");

v<i>=new Vector(0);

while (st.hasMoreTokens())

v<i>.addElement(st.nextToken());

v<i>.trimToSize();

}

for(int i=0;i<v.length;i++)

for(int j=0;j<v<i>.capacity();j++)

result.addValue((String)v<i>.get(j));

}

Former Member
0 Kudos