cancel
Showing results for 
Search instead for 
Did you mean: 

Delay processing messages

former_member204240
Active Participant
0 Kudos
544

Hi,

I have defined Processing Rule in MII which processes a message using Message services.

Message type is web-service and processing type is category.

Main functionality of MII is to receive xml message from plant and sent to ECC using RFC.

Everything was working fine.

But now I see there is delay of 30 to 40 min to reach ECC, I see all messages reached in Jcomessage table of NW but not processed and status is 6.

Can anybody help me to analyze what all reasons might be there to get delay to reach ECC.And how to find out.

Many Thanks,

Padma

Accepted Solutions (1)

Accepted Solutions (1)

former_member204240
Active Participant
0 Kudos

I am closing this thread,As I found the solution for delay was RFC was taking more time for some of the messages in ECC.

Thanks to all for responses,

Padma

Answers (2)

Answers (2)

Former Member
0 Kudos

Are you having problems with calling BAPIs or receiving IDOCs? It's not clear to me if the problem is with ECC-MII communication or vice-versa. Please elaborate.

If you are using Synchronous and making a BAPI call, you will get a response back from ECC. Are you getting the response?

How are you sending data back to ECC?

former_member204240
Active Participant
0 Kudos

Raj, its an asynchronous call to ECC.

MII is sending messages to ecc using bapi.

former_member211944
Active Participant
0 Kudos

Hi Padma,

Status 6 means that the message is in Categorized state.

This is because your processing rule is of type category.

What this means is that the message would be just stored in the MII table with status as categorized.

The way to then process these messages is to query them in a transaction using message service action blocks and then do some business logic.

How are you processing these messages?

Regards,

Rohit Negi.

former_member204240
Active Participant
0 Kudos

Rohit,

yes we using message services to process messages.

It is also reaching ECC but sometimes there is delay of 30 min around.

If SAP instance or if MII server is restarted means it becomes fast and processes all the pending messages in few min.

So I am not able to understand what might be cause for delay.

Former Member
0 Kudos

Hi Padma,

While sending data to ECC through JCO or JRA, are your using data buffering there? or the option is selected there as Synchronous processing?

Regards,

Suman

former_member204240
Active Participant
0 Kudos

Suman,

Pls see the below image, yes it is synchronous..I dint find a solution still.

Former Member
0 Kudos

Hi Padma,

is there any parallel processing or batch processing logic in the solution?

former_member204240
Active Participant
0 Kudos

Suman, There is no parallel processing  or batch processing. It just processes from message queue.

Will the performance will improve if there is parallel processing?

I feel even if there is parallel processing it gets queued in ECC i e  FIFO. So it is same.

Can anyone guide me on this.