Skip to Content
avatar image
Former Member

file to multi IDOCs

Hi,

I have a file which hold data that needs to be transferd to an IDOCs. actually i will have to call the idoc over and over again.

What will be the best way to implement it?

thanks,

Udi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Apr 25, 2006 at 08:36 PM

    Hi Udi,

    If you want to post mulitple idocs of same Idoc type or different Idoc type, it is not reuired to call in multiple times. There is a concept of Idoc package.

    You can use this , with the help of Mapping.

    Here you go with the links-

    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

    Hope this helps,

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 25, 2006 at 09:16 PM

    Udi,

    Apart from what krishna have given go through this urls which might be useful to you for clearing your doubts:

    /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get

    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter

    Regards,

    ---Mohan

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2006 at 03:43 AM

    hi udi,

    check this note for packaging, 814393.

    Regards,

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2006 at 04:04 AM

    Hi,

    if u have to call the same idoc multiple time then make the occurance of the idoc as unbounded.

    create a external definition for the idoc and in the external defenition give the <b>maxoccurs as unbounded</b> for the idoc type and use this external defenition for mapping.

    regards

    jithesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2006 at 04:48 AM

    Hi,

    >>><i>actually i will have to call the idoc over and over again.</i>

    An idoc would be generated each time a file is sent. So if you have to generate idoc per file, you would have to send files repeatedly.

    If your requirement if to generate multiple idocs from one file (which has data for multiple idocs) then, you would have to import the idoc as an xsd to your local system.

    After this, you need to convert the occurance of the idoc to 0 to unbounded in the xsd, and import it into the Repository.

    Regards,

    Smitha.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Udi,

      As I understand your files have data for multiple IDoc. You can send this to SAP as a single package.

      YOu can achieve this using exteral definition.

      /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

      Using BPM you can send the IDOc individual using BPM by calling hte send step in a Block doing 1:N mapping

      Regards

      VIjaya

      Message was edited by: vijaya kumari