cancel
Showing results for 
Search instead for 
Did you mean: 

Message status "To_Be_Delivered" in MDT !!

Former Member
0 Kudos

Hi ,

Our messages are stuck with the status "To Be Delivered" in MDT. Integration engine shows a chequred flag. However FTP adapter fails to process this message(IDOC to file scenario). Any idea how and where to troubleshoot ?

We went through the applications.log , defaultrace,trc & xi.log with no use. Followed sap notes(761921) and set the trace level to debug for the adapter engine, still no messages seems to be traced about this failure.

We followed this link http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm(Thanks to Michal for his weblog which talks about this) as well, but only this scenario(message status with "TO_BE_DELIVERED") we are facing is missed out in this link

Any pointers ?

Thanks

Saravana

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

any messages in:

http://server:port/MessagingSystem/receive/

?

except <messtext>MessagingServlet is active.</messtext>

of course

Regards,

michal

Former Member
0 Kudos

Michal, it fails with no authorization when accessing this URL , even xisuper fails !! Now this seems to be a problem as well , U doubt this is something to do with the communication b/w Integration Engine & AdapterEngine?

-Saravana

MichalKrawczyk
Active Contributor
0 Kudos

as you can find on the help.sap.com :

<i>TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue. This is done via the Messaging System receive servlet:

http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>/<PROTOCOL>;

Only if this was executed successfully the MS returns HTTP 200 to the Integration Server. In this example scenario status TO_BE_DELIVERED should not appear since we presume that the IS has called the servlet successfully.</i>

so... if the messaging system can't return anything (instead of returning http 200) the status is to_be_develivered I assume:)

1. try logging into SapGUI with two users:

XIAPPLUSER

XIAFUSER

to see if <b>they are not blocked</b>

2. You can check those:

AdapterFramework

com.sap.aii.adapterframework.serviceuser.language

com.sap.aii.adapterframework.serviceuser.name = XIAFUSER

com.sap.aii.adapterframework.serviceuser.pwd

ApplicationSystem

com.sap.aii.applicationsystem.serviceuser.language

com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER

com.sap.aii.applicationsystem.serviceuser.pwd

in the exchange profile to make sure they got the right passwords

BTW

did this scenario work in the past?

regards,

michal

Message was edited by: Michal Krawczyk

Former Member
0 Kudos

No, this scenario is not working from the beginning. i see the status always as to be delivered.

we chked the users , they are not locked we are able to login to ABAP stack.

MichalKrawczyk
Active Contributor
0 Kudos

in my opinion you have to make the http://server:port/MessagingSystem/receive/

work first but I don't have any further tips on how to do it...

BTW

did you check the passwords in the exchange profile?

for those two users?

Regards,

michal

Message was edited by: Michal Krawczyk

Former Member
0 Kudos

Michal,

We retyped the passwords for XIAPPLUSER & XIAFUSER in exchanegProfile and we could now see the status as "DELIVERING". After some time status reaches "System Error".

The latest update we have on the message (in MDT) is like this.

2005-05-09 12:51:11 Success Connect to FTP server "ztm0042", directory "/local/dev/interface/dx5/ixfiles/inbound"

Message seems to be delivered to AF , AF gives it to the FTP CC and then there is no status after the above line.

Now we tried to increase the trace level for FILE service in Visual Administrator. Here we do not see the FILE service under com -> sap -> aii -> af ->service in LogConfigurator. Now we beleive this is why we are not seeing any trace in applications.log or defaulttrace.trc for FILE/FTP adapter.

Any thoughts on y this is happening ?

Thanks

Saravana

Former Member
0 Kudos

Michal,

Your tip worked . Now we are able to configure FILE adapter receiver to write files on to filesystem and message status is set to successful .

Thanks

Saravana

MichalKrawczyk
Active Contributor
0 Kudos

great:)

"successful" is my personal favourite type:)

Regards,

michal

Former Member
0 Kudos

Michal, we have another issue that i have specified in this thread below. a bit strange because message delivery from Integration Engine to AF is working , however the reverse fails(file sender adapter fails to deliver message to IE entry pipeline) , Any ideas on this ?

Former Member
0 Kudos

Which tip worked????

We're having the same issue and its driving me around the bend and back..

Thanks,

j.b.

Answers (0)