Sending multiple IDocs (all in single file) to FTP via XI

Hi All,
We have a requirement as below where we are looking for various feasible solutions.
The requirement is to collect multiple IDocs in ERP (2000-5000 in number) per day (either Flat File or XML) and needs to be sent as a single File (which has all these IDocs) to FTP Server via XI.
BPM is not allowed to use and we are working on PI 7.0, so IDoc packaging is also not applicable. There is no mapping required, we need to just route them to FTP from ERP System.
Looking forward for various solutions.
Regards,
N. Jayanth Kumar.

Hi,
     Using the XML file port at R/3 to collect the Idocs would be a feasible solution. Also, as Sunil as already pointed out, you can configure this as a pass through interface, which will improve your overall processing time.
Another solution can be to pass the Idocs to PI and then use the append mode in the receiver file adapter to collect the days idoc into a single file.
To append only idocs for a particular day, try using dynamic filename, where file would have the date in it. This way, only Idocs for a particular day would be appended.
Regards

Similar Messages

  • Multiple iDocs in a single file

    Hello,
    I'm working on some integration to send a purchase order change file into SAP from BizTalk.  Everything works when we send every change as its own iDoc, or when we send all changes for a single PO in a single file, but when we try and include multiple iDocs in a single send, we get an error that it has to many elements.  The definition below is of the idocData element which indicates it can send more than one:
    <xs:elementxmlns:q2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711"minOccurs="1" maxOccurs="2147483647" name="idocData" nillable="true"type="q2:PORDCH03">
    A sample of the file:
    <?xml version="1.0"?>
    <ns0:Send xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:ns2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" xmlns:ns1="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711" xmlns:ns0="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/PORDCH03//711/Send">
         <ns0:idocData>
            <ns1:EDI_DC40>
            </ns1:EDI_DC40>
            <ns1:E2PORDCH000GRP>
            ......        </ns1:E2PORDCH000GRP>
        </ns0:idocData>
        <ns0:idocData>
            <ns1:EDI_DC40>
            </ns1:EDI_DC40>
            <ns1:E2PORDCH000GRP>
         </ns1:E2PORDCH000GRP>
        </ns0:idocData>
    </ns0:Send>

    Hey Josh,
    Hope your issue is fixed by now.
    If not please check the Inbound Process code of the Order which is triggering Idoc in the SAP System.
    You have to modify that as per se your need.
    Thanks.

  • Append or combine multiple IDOCs into a single IDOC file

    Hi All,
    We are implementing multiple new payment types that will generate IDOC files for us to send to the bank.  To keep the cost to the minimum, the requirement is to combine multiple IDOCs to a single file.
    I'd like to know the most efficient way to complete this task.  Also, I am new to this forum, please let me know if I need to include additional information.
    Your help will be deeply appreciated.
    Thank you,
    Joanne T.

    Hi Milind,
    One way you can do this is generate each report in PDF or Postscript, and then use Adobe Acrobat Distiller to combine the files into one PDF document.
    Regards,
    Stewart

  • How can we save multiple IDocs as a single Flat file in R/3 system ?

    Hi,
    How can we save Multiple Idocs as a single Flat IDoc in R/3 (Not xmlized)
    Kulwinder

    Hi,
    Check this link for Mutiple IDOCs into single File.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Regards,
    phani
    Reward points if Helpful:)

  • How to generate multiple idoc's from single appl document

    All,
    Iam looking for a way to generate multiple idoc's from single appl document (sales order). Based on the plant details on line items in the sales order i have to generate multiple idocs, i.e., send one idoc to each plant entered in sales order line items. any help will be appreciated.
    Thanks

    Hi,
    You can create a Z-program and call Function Module  <b>MASTER_IDOC_DISTRIBUTE</b>.
    You can make a call to this FM to send the Idoc as many times as u have plants in your Sales Order.
    You can call FM <b>IDOC_OUTPUT_ORDRSP</b> to fill the IDoc structure.
    Then u can keep the materials of only that plant for which u want to pass on the information.
    Thanks,
    Utsah Garg.

  • How to put multiple classes in a single file?

    Hello,
    I'd like to put mutliple classes in a single file. (This
    would be useful for grouping children that are minor extensions of
    parent classes or helper classes that are used by one class only).
    When I tried to put two classes in one file, I got this error
    message:
    5006: An ActionScript file can not have more than one
    externally visible definition: Notation.editField,
    Notation.labelField1
    This is the structure I used. Thanks in advance for your
    help.

    You can declare multiple classes in a single file, but only
    one can be
    within the package declaration. All class declarations
    outside the package
    are invisible to code outside the file.
    package sample
    public class SampleClass
    class SampleClassHelper
    class SampleClassHelper2

  • Want to add multiple idoc type with single message type.

    Hi Gurus,
    I have a problem. I want to add multiple idoc type with single message type in WE20.
    How we can do this in WE20 or is there any other way to do that?
    Please help me.
    Thanks in advance.
    Srimanta.

    hi,
    basically in partner profile i.e. in we20 , we add details to the receiver / sender port that we have created using we21.
    so what exactly we do in that is that we first use the message type for those idocs that we have created.
    now based on those message type we create a process code. now this is the reason why you cannot apply several message types with the same name in we20... as process code is unque for each message type.
    so thats why you can only assign the same message name to several idocs in we82 and then in we20 define the process code for that message type.
    it will solve your problem.
    hope this will help you!!!
    Thanks & regards,
    punit raval.

  • Multiple accounting doc in single file - PROXY

    Hi,
    I am reciving multiple accounting doc in single file..
    MT_INPUT
    acc_doc1
    acc_doc2
    I need to send it seperately to PROXY.
    MT_INPUT
    acc_doc1
    MT_INPUT
    acc_doc2
    proxy needs to be called multiple times.....
    how to do this?
    Regards,
    Akshay.

    Hi Akshay,
    Create a 1..n mapping and 1..n interface mapping.
    You will then need to create an enhanced interface determination. (There is a radio button to select 'Enhanced').  The rest of you config will be the same.
    This will split your single message into several messages, which will be processed individually by the receiver proxy.
    Regards,
    Yaghya

  • Multiple labels on a single file?

    Is there a way to place multiple labels on a single file? I'd like to be able to sort files based on several partially overlapping criteria. Thanks.

    Files can only have one name.

  • How can i scan multiple pages in a single file in pdf.

    How can i scan multiple pages in a single file in pdf using 1536 dnf.

    Hi @veerendrajain ,
    I see that you would like to save multiple PDF documents into one file. I would like to help you out today.
    In the HP Scan Software, select Advanced scan settings, click on the File tab and uncheck Create a separate file for each scanned image.
    Hope this helps.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Collect Multiple IDOC(Single IDOC type) to single file using BPM

    Hi All,
    When i am generating multiple IDOC for the same message type, i am getting multiple payload for the same as a result i used to get multiple files generated in application server.
    Now if i use BPM only to collect multiple IDOC to a file then what all the steps that i need to follow for the same.
    Ex: I want to post 10 IDOC for a single IDOC type,, Now using BPM in XI i want to collect all the 10 IDOCs with multiple payload into one single message and then want to process this in XI to generate the file.
    It would be glad if anyone refer me a good step by step blog for the same.
    Thanks in advance,
    Jay

    Thanks a lot Abhisek.
      I have also got a blog explaining the exact thing. But in the blog the ID part was missing which is present in the link you have provided.
    I will be glad if you can through some light on the ID part,, however the IR part and the BPM part is now mostly okay to me.
    I will configure this today only,, and may seek your help for any huddle.
    Thanks a lot once again.
    Regards,
    Jay.

  • Post multiple IDOCs from a single inbound file

    Hi.
    I have an inbound file with a single record structure. Each record has a field "DocumentNumber". There may be multiple records with the same DocumentNumber. The Document Number will increment to 2, 3 etc. Each set of records with the same DocumentNumber relates to a single IDOC that I want to post.
    IE
    1, various fields   <- IDOC 1
    1, various fields   <- IDOC 1
    2, various fields   <- IDOC 2
    2, various fields   <- IDOC 2
    3, etc
    I plan to use the BPM to split (transform) the file message into multiple IDOCs, using a message mapping defined in the Designer. I have done all this, and defined my Source Message as Single Occurrence (1) and my Target Message as 1:Unbounded. I therefore have a mapping within the target "Message1" structure.
    Can anybody tell me how to define my mapping flow to create a new target structure IDOC when the DocumentNumber field increments?   I was wondering about "createif" where DocumentNumber <> a global field set tot he previous value....
    Any help would be very much appreciated.
    JW
    [email protected]

    Hi Tony,
    first you have to change the occurens - look in this Blog:
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Mapping - you need to use node funktions if you use graphical mapping (f.e. SplitByValue, CerateIf and so on)
    Good for that is this blog:
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    If you need more - keep on asking
    Regards Matt

  • How to send multiple data for a single element

    Hi All,
    I have a requirement where I have to send multiple data for single element per single transaction. For example
    Id details
    1 abcd
    1 efgh
    1 def
    Now, when I am selecting this ID from database, I have to get all the details in a single xsd like
    <id>1</id>
    ---><details>abcd</details>
    <details>efgh</details>
    <details>def</details>
    Thanks

    Hi,
    The following XSLT...
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <xsl:variable name="root" select="/"/>
    <root>
    <xsl:for-each select="distinct-values(/root/entry/id)">
    <xsl:variable name="id" select="."/>
    <entry>
    <id><xsl:value-of select="$id"/></id>
    <xsl:for-each select="$root/root/entry[id = $id]">
    <details><xsl:value-of select="details"/></details>
    </xsl:for-each>
    </entry>
    </xsl:for-each>
    </root>
    </xsl:template>
    </xsl:stylesheet>Will work for a document like this...
    <root>
    <entry>
    <id>1</id>
    <details>detail1</details>
    </entry>
    <entry>
    <id>1</id>
    <details>detail2</details>
    </entry>
    <entry>
    <id>2</id>
    <details>detail3</details>
    </entry>
    </root>Hope this helps...
    Cheers,
    Vlad

  • Multiple FileChannels on a Single File

    I wonder if anyone could help on this please: is it possible to have multiple filechannels on single file, basically I have a RandomAccessFile where I got my FileChannel from , any attempt for a getChannel on this RandomAccessFile object always return a unique FileChannel same as the previous one. is there anyway to get deferent FileChannels ? or may be any other way to get around this?

    Thanks Alan, for the replay, but actually I do not want to open the file many times, if I would to use what you have suggested: " FileChannel fc1 = new RandomAccessFile(f, "rw").getChannel();
    FileChannel fc2 = new RandomAccessFile(f, "rw").getChannel();"
    then this will open the file "f" many times.
    my question is : I would like to open the file once by " RandomAccessFile raf = new RandomAcessFile(f, "rw")" and then how could I get multiple channels on this raf ?
    any time I call raf.getChannel() it return a unique FileChannel object, say:
    FileChannel fic1 = raf.getChannel(); FileChannel fic2 = raf.getChannel();
    fic1 and fic2 are eventually the same, so any attempt to manipulate fic1 would affect fic2; say the cursor position and so on.

  • SharePoint 2013 - SPD Custom Workflow keeps sending multiple emails for a single Task

    I have a workflow triggering on List item created only. There are multiple stages in the work flow and in each stage a single task is assigned to a group of people. Currently group is only having one user i.e. my own test user with a valid email address.
    Workflow was running fine for first 5 runs but now it keeps sending multiple emails for each task multiple times and runs very slow. I have only single workflow in development server with 24GB RAM.
    Enabling the Workflow log in Event viewer does not show any error or warnings. The only clue I see is WorkFlowManager Database table "DebugTrace" having multiple entries showing that WF is trying to send same email multiple times with failed attempts,
    but in reality emails are being delivered as well.
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPRetrying
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx  Status: HTTPFailed
    I could not get the exact phrase as I don't have direct access to development machine at work.
    Any help or guidance will be highly appreciated.

    Yes, I have on-premise SP site, and here is the actual log I see in DebugTraces table.
    Message              Level     Name    Category
    Attempt 1 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:06.            
    2              HttpRequestRetrying     Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:07.            
    2              HttpRequestRetrying     Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:09.            
    2              HttpRequestRetrying     Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 5 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:13.            
    2              HttpRequestRetrying     Http

Maybe you are looking for

  • Reading txt file coordinates into chart...

    Hi, I'm currently making a GUI which displays a graph. At the moment it reads coordinates within an array in the code:     public int datax[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};     public int datay[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; So far I've made

  • Screen field f4 help with a table of 5*5 as a popup

    hi all, I have screen-field (location id) when the user press f4 a table with 5 rows and 5 columns should popup. When I select any of the cell in the table that value to be taken as input for the screen-field. how to solve this requirement?

  • How to restore Lost App Tabs and Tab Groups

    I make a lot of use of App tabs and Tab Groups. Today at startup of FireFox it showed only 1 blank tab with the default FireFox startup page. As far as I know there wasn't anny update recently. I have lost session restore before but then FireFox star

  • Youtube loading and unloading

    I have a flash site that ive developed. I'm loading youtube videos via "loadMovie".. Works great and all but, for some reason i cant unload or remove the movie clip that its loaded into, or even load a new movie over it.

  • How to get document liked to material

    How to get documents liked to certain material? I have material number and I want to get the document number of each linked document. I tried to use MATERIAL_READ_DOCUMENTS function, but the call returned "SYSTEM_FAILURE". Here is the code: theFunc =