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 - Incorrect Number Sequence

former_member194669
Active Contributor
0 Likes
1,528

Hi,

I have created a custom IDoc and sending it to 2 different SAP boxes. This has been triggered every half an hour interval. But my problem is IDoc numbers are not in proper sequence

Below find the screen image of WE02.

Here you see the IDoc No. 42202 created on time 10.20 and IDoc number 43004 created on 10.34 and IDoc No. 42203 created on 10.50


----------------------------------------------------------------------------------------------------------------------
|     IDoc Number|Segments|Status|StatusGrpg|Partner      |BasicType|Date      |Time    |Messg.Type|Direction|Port   |
----------------------------------------------------------------------------------------------------------------------
|0000000000042200|      28|03    |          |US/  /TP1    |Y101     |06/01/2007|09:50:32|Y101      |Outbox   |TP1    |
|0000000000042201|      42|03    |          |LS/  /AP1    |Y101     |06/01/2007|10:20:31|Y101      |Outbox   |AP1    |
|0000000000042202|      26|03    |          |US/  /TP1    |Y101     |06/01/2007|10:20:31|Y101      |Outbox   |TP1    |
|0000000000043004|   18593|03    |          |US/  /TP1    |Y101     |06/01/2007|10:34:24|Y101      |Outbox   |TP1    |
|0000000000042203|      14|03    |          |LS/  /AP1    |Y101     |06/01/2007|10:50:31|Y101      |Outbox   |AP1    |
|0000000000042204|       8|03    |          |US/  /TP1    |Y101     |06/01/2007|10:50:31|Y101      |Outbox   |TP1    |
|0000000000042205|       7|03    |          |LS/  /AP1    |Y101     |06/01/2007|11:20:31|Y101      |Outbox   |AP1    |
----------------------------------------------------------------------------------------------------------------------

I have checked the Number range object EDIDOC, "No. of numbers in buffer" is mentioned as 1000.

incorrect sequence of IDoc numbers is created due to this?

How to correct this ?

Thanks

aRs

7 REPLIES 7
Read only

Former Member
0 Likes
1,091

This is strange. Can you check following idoc 43003 available in your system ?

Also can check any other idoc created during that time.

Thanks,

Narayan

Read only

former_member194669
Active Contributor
0 Likes
1,091

Hi

Thanks for your reply

The IDoc 43003 has created on 31st May 2007.

I strongly believe in Number range object EDIDOC, "No. of numbers in buffer" is mentioned as 1000.

Any info?

aRs

Read only

Former Member
0 Likes
1,091

In number range, your main memory buffering is active or inactive ?

Read only

Former Member
0 Likes
1,091

Hi,

Are you checking all the list of outboung idocs ? looks like you are checking only status -3 idocs. Can you please confirm on this.

Regards,

donepudi

- reward, if its useful

Read only

Former Member
0 Likes
1,091

<u>Buffer flag</u>

This ID determines whether the number intervals are buffered for assignements and checks.

Use

The number interval buffer is in the Shared Memory of the application server. Each buffer is used to store the external number intervals and a certain number (subinterval) of the internal number intervals. If the numbers of an internal number interval are used up, numbers are taken from the database via the number range server. <u><b>The status of the number interval in the database is increased by the number of numbers fetched to the buffer.</b></u>.

Read only

former_member194669
Active Contributor
0 Likes
1,091

Narayan,

In my system main memory buffering is active.

is it possible to change standard number range object attribute? and is it a correct way to overcome this?

aRs

Read only

Former Member
0 Likes
1,091

Don't change standard settings.

1) What happen if you try small files, this happens only to huge segments.idoc:43004(18593 segments) is huge file.

2) What happen if you trigger same idocs again.If you didn't try can you please try again and check.If say thing occurs than i guess that's the standard functionality of

buffering.

Again this issue is very instresting to me. I never faced this probem.

If you get solution please update.

Thanks,

Narayan