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

idoc - port xml

former_member582701
Contributor
0 Likes
735

hi people,

I have an internal table with 1308 entries. I divide it in internal tables with 300 entries that i send through an idoc in xml format. I run the report but seeing in we05 only i send 3 idocs when should be 5 (4 of 300 segments and 1 of 108). Well, i decide debugg and see possibles errors. I have not found any, i go to we05 and i can see 5 idocs! what?

I repeat this process twice. Is it possible that when I try to create 5 idocs by the xml port is saturating this and it send only 3 and when I debug i am giving time to allow to create 5 idocs?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
658

Hi Manel,

To confirm that this might be an XML port problem,

why don't you create a dummy file port in we21, attach it for your scenario in WE20...and test the program again...

Please verify that all 5 required idocs are created in this case without debugging....

Thanks,

Renjith

hi people,

I have an internal table with 1308 entries. I divide it in internal tables with 300 entries that i send through an idoc in xml format. I run the report but seeing in we05 only i send 3 idocs when should be 5 (4 of 300 segments and 1 of 108). Well, i decide debugg and see possibles errors. I have not found any, i go to we05 and i can see 5 idocs! what?

I repeat this process twice. Is it possible that when I try to create 5 idocs by the xml port is saturating this and it send only 3 and when I debug i am giving time to allow to create 5 idocs?

4 REPLIES 4
Read only

Former Member
0 Likes
659

Hi Manel,

To confirm that this might be an XML port problem,

why don't you create a dummy file port in we21, attach it for your scenario in WE20...and test the program again...

Please verify that all 5 required idocs are created in this case without debugging....

Thanks,

Renjith

Read only

former_member582701
Contributor
0 Likes
658

thx for your answer Ranjith.

I didn't see that other idocs were in other status. I have verified all five idocs are created but now I don't understand because there are 1 or 2 idocs (first and second) in status 30 (ready for launch) and the others in status 03 (ok)

thx for your help

Read only

0 Likes
658

when you maintianed the outbound partner profile..did you mention any packet size there ? Please check if there is a value other than 1....

Thanks,

Renjith

Read only

Former Member
0 Likes
658

Do you call commit after creation of each IDOC ?

I think without commit SAP will nto try to send IDOC, but it will be saved in database.

The difference in debug may be caused by "commits" being forced by debug.