Smq1 stuck queue
Hello,
we are running sap R3 enterprise which is connected to a crm 5.0 system.every day there are stuck queues in smq1 on status stop.
the stuck objects are - MASS_CRM_, R3AD_.
untill they are released manually, other objects and data which suppose
to be downloaded to the crm system , are stuck
pressing on the stop error gives the following message - Set by Host
name: saptst1; Transaction: ; Report:SAPMSSY1
it appears to be that the queue is stuck when there is massive data
download/transfer from the R3 to the CRM system
in our development system we didn't encounter such a problem - the main
difference is that in the development systems (R3 to CRM) only delta
load is transfered - not massive data like in the test systems
please advise
Regards,
Moshe
This happend because , you might be having a request download which is running . Generally when request load happens , all the delata queus will be stopped in SMQ1 of R/3. This is standard procedure. So Pls check if there is any rquest load is happening at that time. One it is down the system will automatically delte the stop and the delta will continue.
Note: When do a request dowloand and if it stopped by some reason manually, than we need to unlock/delete the stop in SMQ1(R/3) Manually.
Similar Messages
-
Struck up with R3AD_* Queues in SMQ1(Outbound Queue in ECC Side)
Hi ,
I am using CRM Middleware for replicating business partner(BP) from CRM to ECC
and material from ECC to CRM.
BP and Materials are replicating well.
My Issue is,
while checking queues in SMQ1 (Outbound Queue in ECC Side), i am getting many queues are pending also
status as "SYSFAIL".
QUEUE Names are R3AD_000000123,R3AD_000000139,R3AD_000000141... R3AD_*,etc..
I tried to unlock the queues and activated, afterthat also queue status is "SYSFAIL". Then i checked in CRM side
Transaction Code SMW01,
BDOC Details:
BDOC State Description: Information no processing.
BDOC Type :BUS_TRANS_MSG.
ERROR Message:
a.Processing of document with GUID 4E57E4A5108162A7E10000000A0BE02A is canceled.
b.Business transaction type ZEQQ does not exist.
c.Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG.
Thanks and Regards,
Ravi AMaintain a filter in ECC go to Tcode SM30 , then go to table/view and enter CRMRFCPAR click maintain and enter
User CRM
Object Name SALESDOCUMENT
Destination xxxxxxxxxxxx
Load Type delta download
Queue Name
Queue Name
BAPINAME
INFO
InQueue Flag X
Send XML
CRM Release 700
Logical system xxxxxxxxxxx
this will stop the flow of ecc sales documents to crm
this will also stop Bdcos in SMW01
Please let me know if this helped -
Hi guys,
There are a few inbound stuck queues in the CRM system with the error SYSFAIL.
When we checked in smw01 the error is"The transaction getting locked by the user"
When we manually activate the queues the queue gets processed out.
But we need to manaully go in every day to reprocess these queues .any idea of automatically reprocessing these stuck queueus.
Thanks,
KrishnaHi Krishna,
You can reprocess those queues automatically, but again I would suggest the administrator should manually go and reprocess it as SAP standard don't recomment the autoprocess of the Queues/ BDocs, because this may lead to inconsistency.Again in the end decision is ours but SAP would never take responsibility if anything goes wrong as of SAP standard practice is not followed.
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
Inbound Stuck Queue in the SMQ2
Hi,
One of the Q got stuck in the Inbound of the CRM system.
It is showing the system status as "Running".IT has been in this staus for the past 2 days.
When I try to activate it is giving Message"The queue is registered and therefore cannot be activated"
The Q is giving Dump Error "Exception condition DELETE_ERROR raised
When I chekced the Bdoc SMW01 the BDOC is in "Yellow Status".
How can i process this queue.Implement SAP note 758677 for this. This exactly deals with your issue.
This Basically speaks about scheduling 'RSQIWKEX' for inbound and 'RSQOWKEX' for outbound queues.
Also, you need to set the parameter 'QRFC_Restart_ALLOWED' to '1' in the transaction 'SXMB_ADM' -> Integration engine. Its in the runtime dropdown menu.
Note : without this parameter being set this will not work.
Thanks,
Karthik
Edited by: Karthik Rangaraju on Oct 1, 2008 2:13 PM -
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. -
Hi Experts,
Could you please let me know the purpose of SMQ1 and SMQ2.
Because when i saw the transaction SMQ1 i am able to see even the queues for
0FI_GL_6
0FI_GL_7
1_CO_PA333ZPAC4.
But when i saw the transaction LBWQ it only contains the Logistics related extract structures.i am aware of LBWQ where the user postings will be saved here with the help of VI Update.
Regards,
Sunil Kumar.BHi,
SMQ1 and SMQ2 is used to view the Outbound and Inbound Queue :-
SMQ1 u2013 qRFC Monitor for the outbound queue You use this transaction to monitor the status of the LUWs in the outbound queue and restart any hanging queues manually.
SMQ2 u2013 qRFC Monitor for the inbound queue. You use this transaction to monitor the status of the LUWs in the outbound queue.
You can get more help from following link :-
http://help.sap.com/saphelp_nw04/helpdata/en/76/e12041c877f623e10000000a155106/content.htm
Navesh -
Error in SMQ1 outbound queue in SAP CRM
Hi SAP CRM Experts,
When the changes are made to an existing order in SAP CRM and in change mode showing the message as "Document is being distributed-changes are not possible".I have cheked the SMQ1 , there was sysfail with info " The ASSERT condition was violated" and in SMW01 BDOC state as " Sent to receivers (not all have confirmed)".Also in the SAP R/3 , there was a short dump " Assertion-Failed.
What could be the probable reason for this ?
I Would appreciate providing the solution at the earliest.
Best Regards
SucchiHi,
The short Dump may help you to find where exactly the error is.
Check in which program are you getting this Dump. Is it sandard or custom?
Also in short dump you will be able to see the part of code where the system throws the error.
this can give a good idea on the issue.
Regards,
PP -
SMQ1 - outbound queue with destination NONE
Dear all,
I did the setup for LIS application 13 two days back. I have scheduled the V3 job in LBWE but the job fails with ABAP Dump. I checked in SMQ1 and see that the destination in NONE for this datasource. Please help me.
Thanks and Regards
Adhira AnandHi Mti,
I did a init with data transfer and DSO is my first data target.
Please check the below ABAP dump.
What happened?
The current application program detected a situation wh
should not occur. Therefore, a termination with a short
triggered on purpose by the key word MESSAGE (type X).
Error analysis
Short text of error message:
Structures have changed (sy-subrc=2)
Long text of error message:
Technical information about the message:
Message class....... "MCEX"
Number.............. 194
Variable 1.......... 2
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLMCEX" or "LMCEXU22"
"MCEX_UPDATE_18"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Information on where terminated
Termination occurred in the ABAP program "SAPLMCEX" - in "MCEX_UPDATE_18".
The main program was "RMCEXUP1 ".
In the source code you have the termination point in line 156
of the (Include) program "LMCEXU22".
The program "SAPLMCEX" was started as a background job.
Job Name....... "LIS-BW-VB_APPLICATION_18_635"
Job Initiator.. "SDSDISP"
Job Number..... 07003800
Thanks and Regards
Adhira Anand -
Hi
I want to setup alert for any ABAP Dump or any Failed XML Message.
Requirement is that it should come to me as an email like:
System:SID
Client:xxx
Text:a brief description of the Dump or XML message
I have setup CCMS and GRMG but I am receiving mails regarding GRMG Heartbeats only and not related to other CCMS alerts.
I have seen the weblogs available in the SDN.
Thanks in advanceHello Sundara
You can setup CCMS for J2EE in the following ways
1. Setup system monitoring in DSWP as you do for ABAP systems
2. Installing and Registering sapccmsr agents
3. Availability Monitoing by GRMG Lite and GRMG
4. Setting up Central Autoreaction
5. E2E analysis (Solution Manager Diagonostic)
Four options are excellently elaborated in the following link
Setting Up your Central Monitoring [original link is broken]
and E2E
http://service.sap.com/diagnostics
If you face any problem in any of these, revert back
thanks
Bhudev -
R/3-- XI, queue stuck problem, concept not clear
Hi Forum,
I have a R/3(abap proxy)----->XI scenario,
now the data being sent from R/3 to XI is getting stuck (due to some HTTP error) in the queue, which is visibale through tcode SMq2 of R/3,
I want to know, why the stuck queue and hence the LUW is seen through SMQ2 (inbound queue), and not SMQ1 (outbound ) queue,
though i m under an impression that outgoing messages uses outbound queues,
pls clarify this conceptGo to SMGW -> Go to -> Logged on Clients, check your Program ID is registered there or not ?
Did you follow Michal's blog
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
Bean not found error is due to incorrect configuration of RFC Dest, but per your initial message it does not look like, but worth following Michal's blog. -
Hi,
For a few inbound interfaces for which PI is the middleware, we have found that the messages are stuck in queue in PI. We have also found that the messages are stuck in the queue in PI because one message which has an RFC error (It does a RFC lookup from PI into R/3).
Is there any way in which we can trigger the RFC lookup manually for the failed message in the queue in PI?
If this is not the right forum, please let me know the correct forum.
Thanks in advance.
MickHi,
We can prevent this problem through standard SAP program RSQIWKEX. This program need to execute background. Whenever any message stuck in queue automatically this problem will restart error message automatically. If you want to delete error message from queue (due to this error message remaining messages are in hold stage. for remaining message execution we need to delete error message from queue) we need to change one function in this probem.
Existing function TRFC_QIN_RESET_LUW , this function only can restart error message.
Need to add function TRFC_QIN_DELETE_LUW , this function delete error message from queue.
For this program execution we need to mentioned queue name(mandatory), find message stucking queue name and give same name to program in variant.
I hope now clear -
Inbound Queues stuck with RFC errors
Hi Experts,
Greetings for the Day !
We have BDOC related issue and we need your expert help ASAP in resolving the same.
We ahev a few BDOCS lying in intermediate state in transaction SMW01, which we found using BDOC monitoring on daily basis. When we check the same in SMQR - inbound queue, we found that the queues are stuck with an RFC error message.
We are re-activate these queues to actually resolve the intermediate bdocs. But, my query is
1> The raeson for getting these BDOCS in intermediate state & stuck queues
2> A permanent resolution for the same.
Please help and let us know if you need more details.
Regards,
KanikaHi Kanika,
RFC error can be due to a bad connection as well. If the server is down, there might be a problem in communication with the connected system and the queues will not be processed further. You need to reactivate or unlock to get the queues processed.
But if there are any specific errors for which the queues are stuck do state the same, so that we can look into an actual resolution.
Regards,
Venkat -
Deleting an outbound queue SMQ1
HI,
Can you please verify, is it ok to delete an outbound queue in smq1? The situation is, we have tried a delta load but we already aborted it since it is not needed anymore. But when we check on smq1, the queue is still there and it's status is running (transaction executing). What will happen if that queue will be deleted? will it cause data lost? Please help. Thanks!
Kind regards,
MikeHello Mike,
This shouldn't be a problem. And there won't be any data loss. however you might see additional table entries in your CRM or ECC(depending on what was the destination) for the LUWs that were already processed in your delta load.
Apart from that , no issues -
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? -
SMA Runebooks stuck in Queued state
I'm having problems with a jobs not processing at all. They say they are in a queue state when you look at them in the console but when you run "Get-SmaJob -WebServiceEndpoint 'https://smaws.mycompany.com' -port 9090 | where-object {$_.jobstatus -ne
'Completed'}" the jobstatus comes back as new. I tried to cancel them with "stop-smajob -id 5a8fc19f-4158-433b-a3a9-7a22398f4eed -WebServiceEndpoint 'https://smaws.mycompany.com' -port 9090" and I get this message
stop-smajob : Could not stop job 5a8fc19f-4158-433b-a3a9-7a22398f4eed: System.Data.Services.Client.DataServiceClientException: <?xml version="1.0" encoding="utf-8"
standalone="yes"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code></code><message
xml:lang="en-US">System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
System.Data.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. --->
System.Data.SqlClient.SqlException: Error 50000, Level 11, State 1, Procedure UpdateJob, Line 110, Message: The requested update for the Job is not allowed. The job has
already a PendingAction.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout,
Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method,
TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
--- End of inner exception stack trace ---
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.EntityClient.EntityCommandDefinition.Execute(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.EntityClient.EntityCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.EntityClient.EntityCommand.ExecuteScalar[T_Result](Func`2 resultSelector)
at System.Data.Objects.ObjectContext.ExecuteFunction(String functionName, ObjectParameter[] parameters)
at Orchestrator.ResourceModel.OrchestratorApi.UpdateJob(Nullable`1 jobKey, Nullable`1 jobId, String jobStatus, Nullable`1 setjobStatus, String pendingAction, String
pendingActionData, Nullable`1 setpendingAction, Nullable`1 partitionId, Nullable`1 setPartitionId, Nullable`1 ownerId, Nullable`1 setownerId, Nullable`1
workflowInstanceId, Nullable`1 setworkflowInstanceId, String jobException, Nullable`1 setJobException, Nullable`1 forceUpdate, ObjectParameter
jobStatusUpdateResult)
at Orchestrator.WebService.ActionContext.UpdateJob(Guid jobId, JobPendingAction jobPendingAction, String pendingActionData)
at Orchestrator.WebService.ActionContext.Stop(Job job)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at EntityFrameworkActionProvider.ActionInvokable.<>c__DisplayClass3.<.ctor>b__0()
at EntityFrameworkActionProvider.ActionInvokable.Invoke()</message></error>
at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)
At line:5 char:1
+ stop-smajob -id 5a8fc19f-4158-433b-a3a9-7a22398f4eed -WebServiceEndpoint 'https: ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Stop-SmaJob], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.SystemCenter.ServiceManagementAutomation.StopSmaJob
I've tried the steps here, but no long so far. http://www.concurrency.com/infrastructure/sma-runbooks-stuck-queued-status/
Any ideas would be helpful.
MattHi,
with "Get-SmaRunbookWorkerDeployment -WebServiceEndpoint https://WebServer.domain.com" make sure there are registered Runbook Workers. At at that host(s) make sure that the service "Runbook Service" is running ...
Regards,
Stefan
www.sc-orchestrator.eu ,
Blog sc-orchestrator.eu
I can see all three of my SMA servers but they dont have lookup names. Not sure if that matters or not. They are all on the same domain and vlan so there isnt a firewall between them.
Maybe you are looking for
-
Error Installing Netweaver AS(Java) with Oracle
Hello All, I'm installing Netweaver AS(Java stack) on Windows 2003 64 bit operating system. I'm getting the below error when the installer is trying it create database. Can anyone give me solution for fixing the error. I'm attaching the log for the r
-
Hi guys, I have trouble getting my PC to detect my 5800 for any Nokia software other than Nokia music. The 5800 cannot be used as a modem, etc, because of this. I have tried restarting my PC and the 5800 to no avail. I have installed the latest firmw
-
Web Service with more than one operation?
Hey, a web service could contain 1..N operations. It is possible to define this with XI? Normally I took an outbound interface and create a web service, but this outbound interface defines the structure of the only operation of this web service, did
-
How to change or add an iCloud email address to an existing account?
-
Have just purchased upgrade. When selecting Slideshow tab or impromptu slideshow and or try to print Sys info under help notice appears to say that Lighjtroom has stopped working and will close. When I revert to Lightroom 4 I have no problem with the