Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

WAIT statement used, IDOC output time still same

HI All,

I have created a Zprog to trigger zIDOCs from R/3 to XI.

In my program, multiple idocs of same type are created as the processing is within a loop statement.

Due to this fact 5-6 idocs are created within a second and sent out immediately to XI.

However I want idocs to go to XI in 1 sec intervals, so I introduced the WAIT statem,ent in the loop.

But when I check WE02, again all IDOCS are craeted in the same time(second), so I do not see any time delay.

I wanted to know if theer is a way to introduce REAL DELAY in sending IDOCs from R/3 to XI as currently all my idocs are going out at same time inspite of using WAIT statement.

In my partner profile I have tried the scenatio with Process immediately and also with collect Idocs(packet size 1), but its not helping.

Any suggestions, how to make the idocs leave R/3 witha time delay of 1 sec each between them?

Appreciate any suggestions/pointers.

Many thanks

Shirin

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question