cancel
Showing results for 
Search instead for 
Did you mean: 

New line for each segment for Inhouse files using bic mapping..!!

Former Member
0 Kudos

Hi ,

Idoc to File scenario.

In the receiver adapter, we need to convert the XML into file(Inhouse format) by using seeburger mapping.

We have generated the map for this in bic and used in Module configuration of receiver adapter.

Now the question is I need to get each segment of XML file into a separate line in the output file like below.

HDR ... ......

DTL .........

DTL ........

where HDR is the header and DTL is the details segments.

Iam getting the output in a single line like HDR.........DTL.........DTL.........

but not as expected like above .

I tried by using newLine = true in module configuration, but no use.

I digged into bic designer to search for any option , but no use.

Kindly suggest me if any one has any idea on this.

Thanks&Regards'

Deepthi.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi deepthi,

I need a help regarding the 'newline' set for Inhouse edi file conversion in BIC mapping designer tool.

I too facing the same issue.

I need to arrange all my segments in a new line.

Hope you may resolve the issue.

Can you guide me?

how did you set newline for inhouse files?

Thanks

Amarnath

sahithi_moparthi
Contributor
0 Kudos

Hi Amarnath,

In Module Configuration you can add  bic-newLine -true.

Former Member
0 Kudos

Hi Sahithi,

The 'NewLine' configuration in Module Configuration for Global EDI file is working fine.

But for Inhouse EDI file, it is not working.

Can you please provide some other option for getting 'newline'?

Thanks,

Amarnath M

Former Member
0 Kudos

Hi Sahithi,

We achieved newline in BIC MD. For Inhouse, there may be LF, CRLF, CR field will present at last field in each segment. For newline you have to set CRLF instead any field that persists already.

By enabling CRLF, your output INHOUSE EDI will appear with newline.

Thanks,

Amarnath

varun_k
Contributor
0 Kudos

Hi Deepthi,

Did you find the solution, please let me now if you get.

did you mention the below code to solve the issue.

copy the below section in the NewMapping Program:

SetDestinationDelimiter("SubElement", ">");

SetDestinationDelimiter("Element", "~");

SetDestinationDelimiter("Segment", "\n");

Regards,

Varun Reddy.K

Former Member
0 Kudos

self

Former Member
0 Kudos

In the content conversion try setting this parameter:

RecordsetName.endSeparator 'nl'

We have several like this, and that works for us.

Former Member
0 Kudos

Hi Vanda,

we are not using content conversion by using adapter.

we are using that by using Seeburger Mapping.

So i think i need to code/setting needs to be done somewhere in bic mapping designer to achieve this.

Any idea on this?

Regards

Deepthi.