cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver file content conversion issue

former_member452321
Participant
0 Kudos

Hi

I am getting the receiver file empty with just delimeters only. Not getting any data in the file. No errors in content onversions

In receiver communicaton channel i can see all the data . But not in the file. Getting the file as below.

||||||||

|||||

||||

Please suggest

Thanks for your help

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Mahes,

Check the XML payload before enter to File Receiver adapter. The tags must respect the lowercase and uppercase set in Recordset Structure.

If you can, share your payload and your FCC configuration.

Check this blog , it could be helpful.

Regards.

javier_alcubilla
Contributor
0 Kudos

Hi Mahesh

Please send your configurations and example file

Regards

Javi

former_member452321
Participant
0 Kudos

Converting xml to file in the receiver file content conversion

Record structure Heading ,GI,GS,B1

Heading.addheaderLine 0

Heading.addKeyFieldValue "01"

Heading.fieldSeparator   ||

Heading.fieldNames      name

Heading.endSeparator  'nl'

GI.addheaderLine 0

GI.addKeyFieldValue "02"

GI.fieldSeparator   ||

GI.fieldNames      name1,name2,name3

GI.endSeparator  'nl'

simiarly for other GS etc ..

former_member452321
Participant
0 Kudos

mt_test  1:1

Heading  1:1

      name  optional

    GI     1:1

      name1

      name2

      name3

    GS       1:1

      name1

      name2

      name3

former_member191435
Contributor
0 Kudos

remove addheaderline and fieldnames and try...

Before this.. test ur mapping in message maping... and let us know the result what are you getting...

former_member452321
Participant
0 Kudos

Message mapping works. In runtime also I tested and in receiver communication channel payload getting all the data

former_member191435
Contributor
0 Kudos

Hi Mahesh can you please provide the screenshot of fcc that you have done...

and provide the sample output..

former_member452321
Participant
0 Kudos

output in the file

||||||||||||||||

||||||||||

||||||||||||||||||||||||||||||||

||||||||||||||||||||||||||||||||

Record structure Heading ,GI,GS,B1

Heading.addheaderLine 0

Heading.addKeyFieldValue "01"

Heading.fieldSeparator   ||

Heading.fieldNames      name

Heading.endSeparator  'nl'

GI.addheaderLine 0

GI.addKeyFieldValue "02"

GI.fieldSeparator   ||

GI.fieldNames      name1,name2,name3

GI.endSeparator  'nl'

simiarly for other GS etc ..

former_member452321
Participant
0 Kudos
former_member452321
Participant
0 Kudos

Any ideas why i am not getting data in the file ?

Harish
Active Contributor
0 Kudos

Hi Mahesh,

can you upload the output xml after mapping.

regards,

Harish

former_member452321
Participant
0 Kudos

In receiver communication channel ,audit log the message says delivered

Time Stamp Type Description

12.10.2014 12:44:23.203 Information The message was successfully received by the messaging system. Protocol: XI URL: http://test:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

12.10.2014 12:44:23.208 Information Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

12.10.2014 12:44:23.270 Information Message successfully put into the queue.

12.10.2014 12:44:23.273 Information The message was successfully retrieved from the receive queue.

12.10.2014 12:44:23.279 Information The message status was set to DLNG.

12.10.2014 12:44:23.283 Information Delivering to channel: File_test_Order_Receiver1

12.10.2014 12:44:23.283 Information MP: entering1

12.10.2014 12:44:23.284 Information MP: processing local module localejbs/CallSapAdapter

12.10.2014 12:44:23.284 Information File Adapter Receiver processing started, required QoS ExactlyOnce

12.10.2014 12:44:23.317 Information File Adapter Receiver Channel File_TPM_Order_Receiver1: start processing; party " " / service "TPM".

12.10.2014 12:44:23.317 Information Connecting to FTP server "test.com"

12.10.2014 12:44:23.355 Information Write to ftp server "test", directory "/test1/test/inbound/toi/",   file "TOI_TPM.dat".

12.10.2014 12:44:23.355 Information Transfer: "TXT" mode, size 10337 bytes, encoding ISO8859-1.

12.10.2014 12:44:23.356 Information Start converting XML document content to plain text

12.10.2014 12:44:23.388 Information File processing finished.

12.10.2014 12:44:23.389 Information MP: leaving

12.10.2014 12:44:23.390 Information The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.

12.10.2014 12:44:23.393 Information The message status was set to DLVD.

But all I can see in the file

||||||||||||||||||||||||||||

||||||||||||||||||||||||||||||||

||||||||||||||||||||||||||||||||

Thank you for your help