cancel
Showing results for 
Search instead for 
Did you mean: 

file adapter

Former Member
0 Kudos

Hi

I have a scenario with file adapter on the receiver side. File size is very big (80MB+) and is to be picked by third party system. This third party system is picking the file before it is completely written and cusing error. So I am thinking as

third party system picks the file only with particular file name....so keep file name with someother name before writing and change to orginial name to be able to pick by thrid party system. Is it possible ?? how to fulfil this rek ??

Thanks

kumar

Accepted Solutions (1)

Accepted Solutions (1)

manish_bhalla2
Contributor
0 Kudos

There is a feature in the file adapter... under the File Construction Mode parameters.

Quote from SAP Help:

<i>Under Write Mode, specify whether the target file is to be written directly in the specified directory.

If an additional step is to be added using a temporary file, choose Use Temporary File.

You can specify a naming schema for the temporary file under Temporary File Name Schema. This schema is used to determine the prefix and extension of the temporary file; to ensure a unique file name, the message ID is also added to the name during processing.</i>

Hope this helps

Cheers

Manish

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

one possible solution can be this:

/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi

and althougth the next link is not related with your problem rigth now, maybe all this files store in your database will damage your db performance. If ASCII , why not to zip the file?.

try to follow this blog:

SAP XI acting as a (huge) file mover

/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover

cheers.

Eduardo.

justin_santhanam
Active Contributor
0 Kudos

Kumar,

Are u writing the 80 MB+ file integration at single shot or how it works? I think you got my question. If not , see when you will conclude the file is completely written? From Single source file are u splitting them and finally appending in the target file?

Could you please elaborate your scenario?

Thanks,

raj.

Former Member
0 Kudos

Hi Raj !

I am going to write 80MB file in one shot. Since it is huge file........it will take some time to write the file completely in target FTP folder. Then it will be picked up by third party system. But what is happening is before the file is completely written in the target FTP folder by XI ...........third party is picking the file and throwing the error. So I want to stop this happening. How to handle this scenario ??

thanks

kumar

Satyagadadas
Active Participant
0 Kudos

File Adapter Processing Parameters:

Put File : use temporary file.

if you want you can use temp.file schema also

Former Member
0 Kudos

Kumar,

I think you can achieved this by writing operating system command after message processing...where after creating file change it to desired one...

Hope this will help.

Nilesh