BC: Idocs arrive or not depending on sequence order

Question: Hi all,
I am using:

Business Connector 4.6 - Updates BC46_CoreFix3
Build Number 940 + CoreFix 3 [Fixes 1-135 + SP1&2]

and I am sending "CONF11" typed IDOCs to SAP 4.6C.

I have 2 different Java services. Both of them get data from an SQL Server database, fill an IDOC and send it to SAP using "wm.PartnerMgr.gateway.transport.ALE:OutboundProcess".

When I run these services separated they both work perfect.

I made another service with a sequence that call these two services (I need them to be executed in a sequence manner). When I execute this third service only IDOCs generated by the first service (run in first place) arrive at SAP (WE02).

I try changing the order but it is always the same (only IDOCs generated by the service run in first place, no matter which of them, arrives at SAP - WE02).

I have revised the structures in the pipeline, variables. etc, but I got nothing. It seems to be nothing similar in this forum either.


Thanks in advance,
Sergio

Answer:
Hi Sergio

have you dropped your $tid?

Regards
Journey

Answer:
Thank you very much Journey ! !

Now I understand the problem:
When I ran one service after the other, the service run in second place used the $tid of the previous one. As the new IDOC got the same $tid there was nothing to send (this transaction was sent in the previous service) . Am I right ?

Now that I've dropped $tid it is working perfect !!!

Thanks again !!

Sergio

Answer:
Hi Sergio

You are right!
Because of the duplicate $tid nothing was sent because your system assumed that your IDocs were duplicate as well...

Regards
Journey

Answer:
OK. Thanks again.

Regards,
Sergio
Copyright ?2007 - 2008 www.jt77.com