cancel
Showing results for 
Search instead for 
Did you mean: 

urgent File receiver adapter fcc

Former Member
0 Kudos

hi all,

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_ORDERS xmlns:ns0="urn:abb-com:kwe:purchaseorderdelivery:th">

<E2EDK01005>

<SEGMENT>1</SEGMENT>

<CURCY>1</CURCY>

<BELNR/>

<RECIPNT_NO>23</RECIPNT_NO>

</E2EDK01005>

<E2EDP01006>

<SEGMENT>1</SEGMENT>

<POSEX>123</POSEX>

<ACTION>23</ACTION>

</E2EDP01006>

<Z2EKETX000>

<SEGMENT>1</SEGMENT>

<EINDT>23</EINDT>

</Z2EKETX000>

<E2EDP19001>

<SEGMENT>1</SEGMENT>

<IDTNR>12</IDTNR>

</E2EDP19001>

<Z2EKKNX000>

<SEGMENT>1</SEGMENT>

<VBELN>122</VBELN>

</Z2EKKNX000>

</ns0:MT_ORDERS>

i have traget mapping like above .

i have file output data to be outputed in line wise i.e

E2EDK01005 ..

E2EDP01006 ..

Z2EKETX000 ..

when i tested data is coming is single line

i ahve given field sepator and end line parameters .

plz tell me how can achive above format.

Thanks

Sridhar

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Sridhar,

In Recordset Structure put it as E2EDK01005,E2EDP01006,Z2EKETX000 etc..,.Than in the parameters put

E2EDK01005.endSeparator as '0x0D''0x0A'

E2EDP01006.endSeparator as '0x0D''0x0A' etc..,

Hope this would work.

Thanks,

Bhargav.

Note:Award points if found useful

Former Member
0 Kudos

end seperator shud be 'nl' and not '/nl'.

regards,

Miten Jain

Former Member
0 Kudos

Hi Sridhar,

Please refer to following blog:

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

regards,

Miten Jain

Former Member
0 Kudos

hi

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

Former Member
0 Kudos
Former Member
0 Kudos

Hi

use end separator as '/nl' then u r probelm will sove

thnq

krishna

Former Member
0 Kudos

thanks for the reply,

i getting as 1,THB,3166000098,1500000040'/nl'1,00001,001'/nl'1,20080226'/nl'1,5MTH000015'/nl'

plz point the error out,

Thanks

Former Member
0 Kudos

Hi,

Can you pls provide the FC which u have used in file adapter.

Chirag

GabrielSagaya
Active Contributor
0 Kudos

Hi

use endSeparator as 'nl' then your problem will be solved

Former Member
0 Kudos

thanks for ur time ,

fccc

i had mentioned these parameters as below

recordset E2EDK01005 ,E2EDP01006,Z2EKETX000,E2EDP19001,Z2EKKNX000

E2EDK01005.fieldSeparator = ,

E2EDK01005.endSeparator = 'nl'

for all the remaining also same thing i mentioned

Thanks

Edited by: sridharreddy marte on Mar 6, 2008 11:58 AM

Former Member
0 Kudos

Hi,

Put endSeparator as '0x0D''0x0A' instead of 'nl' as check and let me know how thw output is coming.

Thanks,

Bhargav

Former Member
0 Kudos

it is working fine now . when i give '0x0D''0x0A'

Thank u very much all

but it is giving one space at the begning of the line

Thanks

Edited by: sridharreddy marte on Mar 6, 2008 12:22 PM

Former Member
0 Kudos

Hi Sridar,

The blank space may be because of encoding.Plaese check that out if i u have SCI UNIPAD for the file properties.

Thanks,

Bhargav.

Note:Award points if found useful

Former Member
0 Kudos

thanks for ur time,

u mean notepad or fcc file adapter in xi Propties.

Thanks