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

Split XML Idoc before sending via HTTP

Former Member
0 Likes
623

Hello World,

we are sending an Idoc via HTTP to our server and we are received them. So far, so good. But the interface will send always all idocs in one data packet. So we have per file more than one IDOC in the XML file. Normaly if you are using RFC, you can setup a packet size. If you set it to 1, the interface will send all idocs seperatly.

My question is, where is a parameter on the XML HTTP interface to set the packet size also to 1. If you are check on WE20 the outbound options, the outbound packet size parameter is missing. Are there other parameters to generate the same effect? I need all idocs in a seperate file.

Thanks for reading and maybe for a solution,

Achim.

2 REPLIES 2
Read only

franois_henrotte
Active Contributor
0 Likes
542

for an XML output you have option to collect IDOCs or to transfer immediately.

second option should send one IDOC per file

Read only

jitendra_it
Active Contributor
0 Likes
542

Hi Achim,

That packet size parameter is depend on the Output Mode(Trnsfer Immed , Collect IDOC).

If u enter Pack size 100 and select Collec IDOc , it will accept.

Now select the Trasfer IDOC Immed with out changing the Pack size and press enter, you will see a msg "The packet size has

been set to 1" . read this msg. U will know.

So for ur scenario, u have to select Tranfer Immed.

Thanks

Jitendra