cancel
Showing results for 
Search instead for 
Did you mean: 

Removal of Line feed from EDI file in IDOC to EDI file scenario

Former Member
0 Kudos

Hi Experts,

I have one problem related to line feed in EDI file. Currently i am using seeburger mapping to do XML to EDI mapping. After mapping i am using File Adapter(with NFS) to create file in my PI server.

The line looks like

UNB+UNOA......

UNH+1.......

BGM.........

but i want my file in without line feed

UNBUNOA......UNH1......BGM

Can this be possible without use of Shell script?

Is anything i can do in Seeburger mapping [i checked BIC mapper in seeburger and see some parameters there]?

Regards,

Shradha

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

hi,

you can use the newLine parameter in the BIC adapter module (chekc the BIC documentation). If that does not work you can use the seeburger replaceStr module to replace any string in your message

br

Marcos

Former Member
0 Kudos

is it the segment seprator you want to remove?

in EDI each segment should be on different line... please clear the scenario.

Former Member
0 Kudos

Hi,

I am explaining my scenario in detail:

my Current EDI file looks like

UNAf1f2............'

UNBf1f2............'

BGMf1f2............'

UNHf1f2............'

now i want my file to be in following format

UNAf1f2............'UNBf1f2............'BGMf1f2............'UNHf1f2............'

NOTE: to create my current file i am using File adapter with NFS and seeburger mapping.

Can you please tell me a way to remove the line feed from the current file ?

I already tried newline checkbox from seeburger and it is not working. and other parameter i can use from see burger mapping tool which will remove my line feed.

Regards,

Shradha

Former Member
0 Kudos

Hi Shradha,

Seeburger BIC Mappings will work with both types (CRLF / no CRLF).

So i'm not sure at which step you want to remove the CRLFs.

But you can use the "ReplaceString" module in your ModuleChain configuration

Module Name: localejbs/Seeburger/ReplaceString

Module Type: Local Enterprise Bean

Check "SAP_SeeXIModules_en.pdf" in the "manuals" folder of your Seeburger CD.

regards,

Daniel

Former Member
0 Kudos

Hi Shradha,

Can you please tell how you solved the issue. I have also the similar issue.Urgent

Thanks,