cancel
Showing results for 
Search instead for 
Did you mean: 

Empty files mapping problem

Former Member
0 Kudos

I have to map empty files to another server. The first one is access by FTP.

How can I do that?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Yes, my mapping is a graphical one. But the problem is that I'm getting an error when this mapping try to map the empty payload.

I don't know how to do that.

Former Member
0 Kudos

Hi,

have u selected that option in file adapter which I told u?

can u tell me the SXMB_MONI erorr and empty payload XML.

chirag

Former Member
0 Kudos

Hi

I have SP14, so I can't process the empty files.

I have 2 interfaces:

one is "file to idoc" and the other one is "file to file".

I have to ignored the empty files in the first one (not create idoc) and in the second one I have to process the empty files (create the exact file in the receiver server).

Can you help me?

Former Member
0 Kudos

Hi,

> and in the second one I have to process the empty files (create the exact file in the receiver server)

in this case you can transport the file directly (without mapping and repository content). It's described in this blog:

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

Regards

Patrick

Former Member
0 Kudos

Thank you very much for your response.

But how can I map an empty payload?

Thanks.

Former Member
0 Kudos

Hi,

U must be using the mapping between soruce and target in graphical mapping so if u have a file which contains data it will be mapped through ampping and accordingly ur message will be sent to target system.

now if u have empty file then empty payload will be forwarded to target system based on the same mapping.

chirag

Former Member
0 Kudos

Hi Chirag

Thank for your quick response.

I just want yo now how can I mmove a file from a server to another server. The interface has to move everything, even if the files are empty.

I hope you can help me.

Thanks

Former Member
0 Kudos

Hi,

like Chirag mentioned there is a option in the Sender File Adapter to move also empty files:

>Process Empty Files

>XI messages are created with an empty main payload.

> The files are processed according to the selected Processing Mode.

Regards

Patrick

Former Member
0 Kudos

Hi,

Select the option Process Empty Files in the file adapter and it will create the empty payload for empty file and behaves in a same manner which u ahve specified in procesing mode.

refer the link which is given by me.

chirag

Former Member
0 Kudos

Hi,

I didnt understand ur question can u pls explain in detail what r u looking for.

in file adapter v have a option of handling empty file....

refer the section Handling of Empty Files

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

chirag