Skip to Content
author's profile photo Former Member
Former Member

Recordset per Message and then group again

Hi All,

Advise would be aprreciated for the following issue we are having on a productive environment.

The interface gets a 3.4MB file from a FTP server, performa a mapping and then saves a new file to the receiver ftp server.

Sometimes, we get an error because the xml message that the AE sends to the IE does not contains all the information as the flat file. It seems that it runs out of resources and does not finish the xml transformation process.

I have read several post in the SDN and even sap notes, about using the Recordset per Message option. However, this way I get a lot of IE messages but, also a lot of files in the FTP server and I only need 1. Is there any way I can split them to avoid this issue and then put them all together again? I don't like the "Append option".

Thanks and kind regards,

David Encinas.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Dec 08, 2006 at 03:36 AM

    David,

    While creating the file in the target, in your receiver file adapter make the mode as APPEND instead of create. Now, this will append the content to the target file as needed and so you will have onyl a single file.

    Regards,

    Bhavesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2006 at 06:35 PM

    David,

    Have you tried to use the approach what is given in the weblog:

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

    ---Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2006 at 08:37 AM

    Hi David,

    Using split you can achive your requirement.

    First create the Structure as per your Source Format.

    If your structure has different Sub structure , create for each substructure at the target end.

    do the massage mapping in message tab source one message type , target multiple messages...do the same thing in Interface mapping .(Here select source and targets occurence 1 only)

    create the Integration Process (BPM)..once receive the message you can validate the message using Switch statement , once condtion has satisfied then use the Transformation step (1:n) and then message use many Send steps.

    You can create multiple files with same locations.

    I had done same thing for my req....

    Reagads,

    Venu.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 12:05 PM

    Hi All,

    What I have found is that, XI sometimes, tries to get the file before even, the file has been completely created and so, it does not get all the information.

    Adding the "Advance Mode" fixed this issue.

    Thanks for your help!

    Encinas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.