cancel
Showing results for 
Search instead for 
Did you mean: 

Text Content Conversion - File Adapter - Creates empty file

Former Member
0 Kudos

I am running XI 7.0.

Mapping from abap proxy to file - text content conversion.

The process works, generates and sends file from mySAP, maps through XI, logs onto ftp site and creates file, but doesn't write any data into the file!

I am really confused as to what is happening!

This is taken from the communication channel!

Audit Log for Message: 5ccc2e46-c0f2-5349-e100-00000ddf240f

Time Stamp Status Description

2007-04-28 10:37:21 Success Message successfully received by messaging system. Profile: XI URL: http://host.fqdn:55000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER

2007-04-28 10:37:21 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

2007-04-28 10:37:21 Success Message successfully put into the queue.

2007-04-28 10:37:21 Success The message was successfully retrieved from the receive queue.

2007-04-28 10:37:21 Success The message status set to DLNG.

2007-04-28 10:37:21 Success Delivering to channel: EPIW_FTP_Receiver_EmployeeRecords

2007-04-28 10:37:21 Success File adapter receiver: processing started; QoS required: ExactlyOnce

2007-04-28 10:37:21 Success File adapter receiver channel EPIW_FTP_Receiver_EmployeeRecords: start processing: party " ", service "XE_DEV_3RD_EPIW_001"

2007-04-28 10:37:21 Success Connect to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target"

2007-04-28 10:37:21 Success Write to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target", file "epiw_output.dat"

2007-04-28 10:37:21 Success Transfer: "BIN" mode, size 125 bytes, character encoding -

2007-04-28 10:37:21 Success Start converting XML document content to plain text

2007-04-28 10:37:21 Success File processing complete

2007-04-28 10:37:21 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.

2007-04-28 10:37:21 Success The message status set to DLVD.

I can see the data before and after... Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

copy the payload from the SXMB_MONI and test your message mapping with that payload.

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Check the writing permission / authorisation into FTP?

Regards

Chilla

MichalKrawczyk
Active Contributor
0 Kudos

hi,

this is starange:)

did you refresh FTP (F5) ?

maybe you're checking wrong ftp server? with the same folders ?

ups - I thought I doens't create any file...

as suggested check your mapping as per my blog:

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

just use TCODe for abap mapping tests - SXI_MAPPING_TEST

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

At least I am not the only one logging on at the weekend!

I will test the mapping and see how that goes...

I checked the time and date stamp of the file created and it matches with the throughput! This is driving me crazy! It would be really useful to extend the trace file for the file adapter and reprocess, but no chance of getting onto the O/S!

Is there anywhere in NWA I can check?

Former Member
0 Kudos

This is an interesting development!

10:57:41 Start of test

Document start

Start tag [ns1:xxxxEmployeeFile]

Add raw attribute [ xmlns:ns1="urn:xxx.xxxxx.xxxx.xxxxxxx"]

Close tag [ns1:xxxxEmployeeFile]

Document end

Executed successfully

10:57:42 End of test

And nothing is mapped!!!!! 120kb file!

MichalKrawczyk
Active Contributor
0 Kudos

So you see where the issue is

Hope you're not the one who prepared the mapping

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

The problem is with the Proxy Program and not XI....

Thanks for your help!

Former Member
0 Kudos

Barry,

Can you check sxmb_moni for this interface. See whether the data is coming as expected into XI or not? If not then might be the problem in Proxy. If it coming and not writing the file then chech the mapping once again with that payload only in the test tab.

---Satish

Former Member
0 Kudos

Resolved.

Amended ABAP Proxy and works perfectly!

Thanks for your input!