cancel
Showing results for 
Search instead for 
Did you mean: 

file to multi IDOCs

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

hi udi,

check this note for packaging, 814393.

Regards,

Bhavesh

Former Member
0 Kudos

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

moorthy
Active Contributor
0 Kudos

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