Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Triggering Multiple IDOC's in a single call

Former Member
0 Likes
2,351

Hi Friends,

We are using SAP.NET Connector and we want to receive multiple IDOC's from SAP in a single call.

I have tried it by generating multiple IDOC's into one XML file but we are not able to send the file back to the .NET connector on the same port or program ID.

Please let me know if anyone has a solution for it.

Your answer will be appreciated.

Regards and thanks in advance,

G.V.Madhav

6 REPLIES 6
Read only

varma_narayana
Active Contributor
0 Likes
1,349

Hi..Madhav..

You have the Change the Partner profile settings in SAP (Sender system) for this.

In WE20 Open the Message type(Outbound) of the Partner system.

You can See the Radio button. COLLECT IDOCS.

Select this Radio button and Assign the Packages size (no of idocs you want to collect while sending).

Then Schedule the Report RSE0UT00 for periodic execution for this message type.

This program dispatches the IDOCS in outbound.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
1,349

Hi Narayana,

Thanks for your immediate responce, As I am downloading the IDOCS into an XML file, so I have given an XML port name in the receiver port of WE20 transaction and I have chosen the same radio button which you have mentioned, after executing the program RSEOUT00 the file is being generated in application server but it is not passing to the .NET Connector as the recipient port name refers to an XML file.

so could you please let me know how to proceed further or is there any other way where we can generate multiple IDOC's and send it to the SAP.NET Connector in a single call.

Read only

0 Likes
1,349

Hi.. Madhav.

Check your Port definition and RFC destination. I beleive you have to trigger some RFC using STARTRFC ... or some thing of that sort. Go thru the Options in File port settings.

Regards....

Read only

Former Member
0 Likes
1,349

Hi,

Refer

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

that sud give you a good start .

Regards

Read only

Former Member
0 Likes
1,349

Hi Kiran,

Thanks for your immediate responce, but I want to generate multiple IDOCS in a single call without using the BPM.

I have checked the PORT and RFC destinations, its working fine. If possible can you please let me know the TRFC name which you are referring to?

Regards,

G.V.Madhav

Read only

Former Member
0 Likes
1,349

Madhav,

If I havnt got u wrong then u want to export IDOC as xml file then you should create File Port in WE21 (r u using trfc port). Confirm & try if so.

Regards

Sushil