cancel
Showing results for 
Search instead for 
Did you mean: 

How to send mutiple IDOCS for single input message

Former Member
0 Kudos

Hi ,

I am reading number of records from database and I want to send each record as IDOC to sap in a loop .

Can you please help me .

Thanks & regards,

Suvarna

Accepted Solutions (0)

Answers (4)

Answers (4)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

You do not need BPM for this.

You can do IDOC packaging. Check note : 814393.

Regards,

Bhavesh

Former Member
0 Kudos

Hi ,

Check this link for reference....

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

Sekhar

Former Member
0 Kudos

it can help you:

/wojtek

former_member206604
Active Contributor
0 Kudos

Hi,

You can use Multi Mapping to do that.

Either you can go for BPM or by using Multimapping and Enhanced Interface Determination you can achieve the same.

Thanks,

Prakash

former_member206604
Active Contributor
0 Kudos

Check this thread as well might be help ful

Also look at Enhanced mapping without BPM

http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm

Thanks,

Prakash

Former Member
0 Kudos

Hi,

It's not possible to do mapping split without BPM when you are using IDOC (only J2EE adapters can be splitted on adapter engine)

wojtek

Former Member
0 Kudos

Thanks for the reply .

I did multimapping with BPM . But in BPM i used send step in loop. When I tried to select interface for send step it did not allow me to select index for the message .

Because of this i guess the same idoc in sent many times .

Can anyone tell me why I am not able to see the index ?

Thanks ,

Suvarna

former_member206604
Active Contributor
0 Kudos

Hi,

After the transformation step please use a Block and a send step inside it. The select For-each option then you will be able to send n times.

Thanks,

Prakash

Former Member
0 Kudos

Hi,

Maybe You don't have multiline variable. Why not to use forEach in the block?

http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm

regards,

wojtek

Former Member
0 Kudos

Hi,

Here is an example of what you are trying to do:

http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm

Regards

Vijaya

Former Member
0 Kudos

Hi,

If you have multiple lines in your message from database and you would like to have many IDOC(s) from it at once you have to use BPM. Because IDOC adapter is on ABAP stack. If you want to avoid BPM in your case you should read record by record from database.

regards,

wojtek