EDIQUEUES stuck in SMQ2
Hi Experts,
We have faced issue with SMQ2. that it means EDIQUEUES got stuck due to XI Error Application Fault: queue stopped.
While iam unlock the queue it is not cleared. Please suggest how to reprocess these type of queues.
One more thing it is in Prod system.
I have save LUW option for some queues it is cleared but many times we cant do it.
Your prompt ans much appriciated.
Regards,
MAndhu.
Hi Madhu
Is the interface EO or EOIO?
If your SMQ2 queues are stucked, you should look for the message that is in error, it should be in status SYSFAIL.
If you click that message, it should bring you to the corresponding message in SXI_MONITOR.
You need to then check what is causing the error and resolve it. If it is an intermittent error (i.e. connection problem) you can restart the message to reprocess it. If it is a permanent error (i.e. incorrect data) then you need to cancel the message.
Once you have resolved the blocking message, the queue should automatically run back again.
In generaly, if a lot of your queues are blocked, it could be a symptom of a system wide issue. If only 1 is blocked, it might be just 1 particular problematic interface/message.
There are a lot of discussions/threads/blogs on SCN on this. You can easily search for more details.
Rgds
Eng Swee
Similar Messages
-
Messages getting stuck in SMQ2
Messages get stuck in SMQ2 with the Error msg "SQL error on database occurred when accessing a table".
This is happening on PI system 7.11 SP04 with Max DB version 7.7.06.07.
This typically happens when sending messages from one BPM to another although it has more of a random pattern.
A corresponding dump is also seen in ST22.
The dump details are as below:
Runtime error : DBIF_RSQL_SQL_ERROR
Exception : CX_SY_OPEN_SQL_DB
Database error text : Invalid numeric value for parameter/column (10)
Internal call code : "[RSQL/UPDT/SWFRXIHDR ]"
Any help is highly appreciated in resolving this issue.
Regards,
Murali Narayanan> The dump details are as below:
> Runtime error : DBIF_RSQL_SQL_ERROR
> Exception : CX_SY_OPEN_SQL_DB
> Database error text : Invalid numeric value for parameter/column (10)
I would update the kernel (plus the database interface library lib_dbsl) to the latest patchlevels and try again. If the error persists I'd upgrade the database to the latest patchlevel. If it still doesn't work I'd open an OSS call (BC-DB-SDB).
Markus -
Hi,
Our messages are stuck in SMQ2, and I think this is due to high volume of messages. I have configured the IS to allow the QRF_RESTART_ALLOWED to 1, and scheduled the RSQIWKEX job to run periodically. But, the messages are still stuck in SMQ2.
Does anyone know what are the next steps we should look into to solve this problem?
Any help is greatly appreciated.
Thanks,
KarmaJust try - go to SXMB_ADM->Manage Queues and Deregister all the Queues. Then go to SMQ2 and try to activate all the queues by selecting the each lines and with activate button.
Then re-register the queues in SXMB_ADM and chek it..
Problem may be because of workprocess related. Also check transaction ST22 for if any dump in XI box.
btw what is the scenario ? Is it because of huge message processing ?
Regards,
Moorthy -
MEssages Stuck in SMQ2 - Automation of moving error msgs
Hi ,
We face a lot of issues with messages getting stuck in SMQ2 and blocking all other messages.
Right now we Save the LUW and move it to SMQ3
but is there an automated way/ configuration to move the errore messages to a seperate queue.
Thank you.Hello Arvind,
Check SAP Note 441269.
You can monitor your queues and apply some automatic reaction when appropriate.
Maybe it can be useful.
Regards,
Diego Estanguini Gabriel -
Proxy messages are stucked in SMQ2.Can I pass these msgs in separate queue?
Hi Guys,
File >PI>ABAP proxy. (ECC)
Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are high priority and they should not stuck in the queues in ECC.
The problem is some of the messages of this interface are getting stucked in queues (SMQ2) by colliding with other low priority messages which are failed due to some data issues.
Is there any way I can separate these high priority messages into separate custom queue and process them?
Do I need to this in ECC or PI?
Thanks
DeepthiHi,
As Debashis has already said, use message prioritization in PI to handle your requirement.
For SAP NetWeaver PI 7.0, navigate to SAP NetWeaver 7.0 SAP NetWeaver 7.0 Library SAP NetWeaver Library SAP NetWeaver by Key Capability Process Integration by Key Capability SAP NetWeaver Exchange Infrastructure Runtime Integration Engine Prioritized Message Processing.
For SAP NetWeaver PI 7.1 (including EHP 1), navigate to SAP NetWeaver SAP NetWeaver PI/Mobile/IdM 7.1 SAP NetWeaver Process Integration 7.1 Including Enhancement Package 1 SAP NetWeaver Process Integration Library Function-Oriented View Process Integration Integration Engine Prioritized Message Processing.
For more details about message prioritization within the Advanced Adapter Engine, please refer to SAP Help Portal http://help.sap.com, and navigate to SAP NetWeaver SAP NetWeaver PI/Mobile/IdM 7.1 SAP NetWeaver Process Integration 7.1 Including Enhancement Package 1 SAP NetWeaver Process Integration Library Function-Oriented View Process Integration Process Integration Monitoring Component Monitoring Prioritizing the Processing of Messages. -
Proxy messages are stucked in SMQ2 as scheduled status
Hi,
I am doing File(FCC) >PI 7.0>ABAP proxy. (ECC) Scenario.
Once i pick and process the file, the resultant message is updating the table in ECC through ABAP proxy. These messages are getting stucked in queues (SMQ2) in ECC. My message is not having much data , it is very less in size.
And there is no messages in Queue.
I register all queues in SMQR in PI and ECC.
Does I need to do any activity in ECC or PI? What could be a problem. Please suggest .
Thanks
AyubHi Venkata,
Thanks for very quick replay.
Are the messages stuck with any error?--> First I can see the Green Color Flag as scheduled status, I open the message I can see there is no error message.Bt when I have look at end of the message in SXMB_MONI at Q.Status , I can see Message Has error
In SMQ2 -->
Cl. Queue Name Entries Status Date 1 Time 1 NxtDate NxtTim Sender ID Wait for queue
200 XBTR0009 1 SYSFAIL 24.02.2012 10:53:34 24.02.2012 10:53:34 R3DEVQA_RDV_01
And when I double click the XBTR009 I can see the below message :
Cl. User Function Module Queue Name Date Time StatusText
200 ALEREMOTE SXMS_ASYNC_EXEC XBTR0009 24.02.2012 10:53:34 Screen output without connection to user.
This are status of the messages. Please help me.
Regards,
Ahmed -
Messages stuck in SMQ2 Inbound Queue.
Scenario: File->XI->Proxy
When I put 50 files at the same time in a directory, channel is configured Exactly Once in Order and we have created queue with the name GATQUEUE. The messages are picked up from directory and sent one by one to BPM process. 31 messages out of 50 poccesed succesfully but 19 of them get stuck in the queue always. Though GATQUEUE is released lately but they are stuck in 'XBQO$PE_WS90000013' queue. This is seen in SMQ2 Inbound Queue.
Could you please tell me how to release this message which are already stuck and what bit of configuration required so that it works for 1000s of files/messages at a time?
Thanks
KHi Kiran,
Just add the below parameter in XI tcode : SXMB_ADM
Execure Integration Engine and Configuration.
Click on Specific Configuration, go to change mode
Click on New entries
Category : MONITOR
Parameter :QRFC_RESTART_ALLOWED
Current Value : 1
Save.
Regards,
Venu. -
Dear All,
I have configured a scenario Mail to PROXY Asynchronous. Process is working fine But every time transaction happen all messages are stuck in R/3 - ECC .
A developer needs to release these messages manually using SMQ2. what is the reason for this to happen every time ? Is there an alternative to skip this manual work ?
Below are the further details for the configuration done.
PI Mail Adapter (Sender )
Quality Of Service (Exactly Once)
Transport Protocol (POP3)
Poll Interval (1min)
XI Adapter (Receiver)
Transport Protocol - HTTPTharu Fdo,
Please check also below T-codes in ECC:
1.ST22-->ABAP Dump Analysis ,ABAP runtime errors(Proxy Code)
2.SM66-->(Background job is executed using one or multiple SAP work processes in sequence or in parallel dependent on program function and design and SAP work process is a limited critical system resource for performance like CPU and memory-Have a look at action column and identify any long running Sequential read/Direct read/insertion/updating).
3.ST12--remove the lock entries.
Mutti -
I have a scenario where sending idoc from SAP ECC to SAP PI without error, but to reach the SAP PI is not processed, in reviewing the TX SMQ2 the idoc gets stuck and I have to activate them manually to generate the XML, as I can investigate because automanticamnete not processed and remain in waiting to be done manually
Hi Leon,
You need to register and activate the queue by using T-Code SXMB_ADM.
Also check if ithe queue is unlocked.
By using the transaction SMQ2 you can reset the queue's status.
Set IS configuration parameter MONITOR QRFC_RESTART_ALLOWED to value 1.This will initiate processing of messages stuck in the queue
You can run RSQIWKEX to run periodically. It resets the queues automatically.
You have to go to SXMB_ADM. Then click manage Queues and you have to dergister all the queues. After doing this you need to go to SMQ2 and you have to actiavte the queues.
After all this try to re-register the queues in SXMB_ADM ..
Regards,
Rohit -
Message getting stuck in SMQ2 for proxy
Hi All,
I am facing one problem in inbound queue of proxy scenario. Some times messages are in scheduled status. In the trace i can see the following message.
<Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
if i am deleting the entry from SMQ2 and restarting the message will be success.
what may be the reason. Please help me.
Regards
Pradeep P NHi ,
One moreThis is happening in R3 system for proxy scenario. not in XI.
Regards
Pradeep P N -
Automatically restart messages stuck in smq2
Hi,
I am having a problem that messages are getting stuck in the inbound queue and I need to manually restart it.
I have searched on this and have found that RSQIWKEX job can be used for this. I have tried testing it but the messages are still stuck in queue. It is having the status as SYSFAIL. Is it not possible to restart messages having this status?
The error which is there for SYSFAIL is Time Limit exceeded.
Please help me to restart such messages automatically which I am now doing manually.
Thanks and regards,
Siji AnupHi ,
Pasting below the content of st22
The program "CL_XMS_PERSIST================CP" has exceeded the maximum
permitted uninterrrupted
runtime and has therefore been terminated.
The system profile contains the maximum runtime of a program.
When this time limit has been exceeded, the program is terminated
to make way for other users who may be waiting.
In the case of a work area, this means that
- endless loops (DO, WHILE, ...),
- database accesses producing an excessively large result set,
- database accesses without a suitable index (full table scan)
do not block the processing for too long.
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 1800 seconds. After
this limit has
been exceeded an attempt is made to interrupt the SQL statement running
or to tell the ABAP processor to interrupt the current program. A
maximum of 60 seconds is then waited. If after this time the program is
still active then the work process is restarted.
Thanks and regards,
Siji -
Material Replication from Backend: DNL_CUST_PROD0 is stuck in SMQ2
Hi Experts,
I am getting this error while running R3AS for DNL_CUST_PROD0 adapter and checking the SMQ2 is getting into SYSFAIL status. The detail error says "Incorrect parameter with CALL FUNCTION" for Function Module BAPI_CRM_SAVE
Even, adapter DNL_CUST_PROD1, is getting SYSFAIL error in SMQ1. The detail error is Filter criteria Invalid on function module CRS_FIRST_DOWNLOAD_TRIGGER
Please suggest
Thanks
RakeshHi
Here is the possible solution. Ii was facing this issue however was able to do.
First goto SMOEAC and check wheather CRM is connected with correct site attribute or not.
Then check all the RFC connection.
delete all the existing queues and R3AM1
now goto R3ac3
refresh all the Load and try again i Hope it should work and also maintain
system landscape in technical basic setting in SRM GUI(SPRO)
Regards
saurabh -
Hello Experts,
I have a scenario like File system to PI to SAP ECC 6.0 in Asynchronous mode.
Messages are successfully processed in PI.
Issue:-
In Server Proxy Method, I have used the ABAP Information message statement (Message with TYPE I). When this statement is being executed at runtime, that particuler inbound message is getting stucked in SMQ2 with status as SYSFAIL.
Each Such Failure entry in SMQ2 having the Error Text same as Message Text of the ABAP Statement.
For Example: 'No Data Found from Table1'.
Due to this, messages from the other interfaces also get stucked.
please suggest me for handling the INformaiton messages in ABAP coding and also for Automatically restarting the queues.
Thanks & Regards
JageshHi,
Thanks.
What abt the Infomraiton messages already in use, can't we use them in Server Proxy method?
Regards
Jagesh -
Queue Status in SMQ2 = RUNNING, but Stuck.
I have a queue that sometimes gets stuck in SMQ2 in status RUNNING (for no apparent reason).
If I activating the queue manually (as suggested in
http://help.sap.com/saphelp_nw04/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm)
usually solves the problem.
Therefore, this queue processes messages 24x7 and cannot get stuck for more than 5 minutes.
Question n1)Is there a way I can do this automatically (scheduling a JOB) (itu2019s a specific queue, that is only used for this single process)?
Question n2) Sometimes, after activating the queue again, the message continues in status RUNNING, and the only solution is to delete the message and activating the queue manually (when I do this, after processing every message in the queue, when new messages begin to arrive, the queue goes to status READY for a LONG time.) Does anyone knows whats going on?
obs.: The message is ALWAYS processed successfully, and there is no problem to process it 2 times. The only thing that cannot happen is STOP the process.
Thank you.
At.,
Bernardo Tavares Braga1) I already registered all the queue through sxmb_adm - didn't change anything.
2) This queue is on SAP PI/XI, but the message goes to SAP ECC.
Since the process is executed, what I think happens is that the message updates SAP ECC, but somehow it doesn't give a return to SAP PI/XI.
So SAP PI/XI thinks its still executing.
Pinangshuk, the MONITOR QRFC_RESTART_ALLOWED is set to value 1(in the Integration Engine configuration - sxmb_admin)
Also, this enables the restart of stuck queues manually. Is there a way to do this automatically? -
Hi All,
Upon clearing SMQ2, it seems there were an error caused by user that had left and their ID has been deleted for sometime and their queue still stuck in SMQ2.
What is the best practice on this scenario? to delete the queue?
Thank you,
Regards,
UraHi
can you submit work process logs . while deleting?
if you know the user who has processed in past and it is now locked / deleted then you can unlock this entry and delete it from SMQ2.
Regards
Dishant.
Maybe you are looking for
-
Not able to generate output in CSV(EXCEL) format
Hi, XML Publisher report is giving me an error when the Preview Format is 'EXCEL'. When I keep the Preview Format as 'PDF', the concurrent program is running successfully and the PDF output is getting generated. But for EXCEL outputs, I am getting th
-
Line item not copied in SDF /KN when creating based on Return order
Hi, Anybody , can help me? I try to replace a damaged good returen by the customer,by doing the follwing actions. 1 Creat return order based on orginal oder. 2. Try to create SDF/KN based on Return oder, but line item is not copied. How can solve t
-
Create Accounting could not be done after voiding some payment.
Hi, I am facing a unique problem. We have some payments which have been accounted properly and transferred to GL. But for some business issue we have to cancel those payments. But when we have voided those payments and tried to create account it it s
-
How to identify which server are connected in a switch?
Hi, Many servers are connected to a switch? How to identify what server are connected to which port remotely? Thanks! Samuel
-
How do I get my Draft folder to open?
My Draft file won't open. New entries won't appear. I see a round circle continue to show the file is trying to open.