cancel
Showing results for 
Search instead for 
Did you mean: 

Handling flat file conversion with spaces inbetween at sender side

Former Member
0 Kudos

Hi,

I am facing some problem in configuring the sender JMS adapter file content conversion. Please find the structure of my file below

010AG 07/17/2007 000130800 TOZ07/17/200710:48:46

010AU 07/17/2007 006682800 TOZ07/17/200710:48:46

010-Record key

AG-Metal code

07/17/2007 -price Date

000130800 -pricevalue

TOZ-Unitofmessure

07/17/200710:48:46-Unitofmessure

there are 2spaces inbeween 1and 2nd fields and one space beween 2nd and 3rd ,one space between 3rd and 4th fileds

I declared my source data strucute like below

<source_MT>

<PriceData>

<Metal code>

<price Date>

<pricevalue>

<Unitofmessure>

<shipDate>

</priceData>

</source_MT>

I am using this PDF to configure my serder communication channel https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652...

. but i got struck up in declaring these two fields as i need deal with spaces.

xml.NameA.fieldNames

xml.NameA.fieldFixedLengths

It would be great if sombody tell me how ican decalre content conversion rules for the file

Thanks

sudheer

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi phani,

I have to do this file content conversion using JMS adapter. I request you to go through the message once again..

Thanks

raj

Former Member
0 Kudos