Fila SMQ2 travando.

Bom dia a todos.
De vez em quando, filas de mensagens de NF-e no PI ficam processando a mensagem: CANCR_CancellationRequestProcess
infinitamente. (travando a fila).
Ou então a mensagem: BATSR_BatchStatusRequestProcess (esta fica com bandeira quadrada, mas nao sai da fila).
Consequencia: Todas notas que cairem nesta fila, estão acumulando.....só libera quando excluo a mensagem manualmente da fila.
Alguem tem alguma dica?
At.,
Bernardo Tavares Braga

Ahn....realmente...fiz o download do payload (tanto da mensagem de Cancelamento quanto do BatchStatus) e mandei carregar o arquivo ao invés de copiar. Funcionou sem erro.
Então não e isso....rs.
Não sei qual o motivo da fila ficar travando em status RUNNING. Estou tentando achar um motivo....rs.
Só acontece com as mensagens: CANCR_CancellationRequestProcess e BATSR_BatchStatusRequestProcess.
Geralmente, basta eu desbloquear a fila que a mensagem sai, mas as vezes tenho que deletar a mensagem da fila e ativar novamente.
O problema é que isso ocorre esporadicamente e a qualquer hora.
Outra coisa que notei foi o conteudo do "Performance Header" da mensagem "Response":
<SAP:RunTimeItem>
  <SAP:Name type="DBQUEUE">DB_ENTRY_QUEUING</SAP:Name>
  <SAP:Timestamp type="begin" host="XP0DB0I">20100301213312.766131</SAP:Timestamp>
</SAP:RunTimeItem>
<SAP:RunTimeItem>
  <SAP:Name type="DBQUEUE">DB_ENTRY_QUEUING</SAP:Name>
  <SAP:Timestamp type="end" host="XP0DB0I">20100301230401.656427</SAP:Timestamp>
</SAP:RunTimeItem>
Repare que o tempo entre o "begin" e o "end" esta muito alto e provavelmente só finalizou após eu desbloquear a fila.
At.,
Bernardo Braga
Edited by: Bernardo Braga on Mar 2, 2010 2:37 PM

Similar Messages

  • Erro tablespace no GRC, notas paradas após correção

    Olá pessoal,
    Hoje de madrugada houve um problema de tablespace no GRC e todas as notas emitidas durante o período, ficaram paradas com Status 01 (Received from feeder system).
    Após a correção, as novas notas emitidas foram processadas normalmente porém as anteriores ficaram paradas.
    Verifiquei que nesse momento em que ocorreu o problema, as notas que chegaram não foram enviadas para assinatura, occorreu um dump, porém também não temos registro desse erro no monitor do GRC.
    Algumas notas criadas inclusive não geraram histórico nas tabelas XNFE, ficando com Status 00 no monitor.
    Tentamos re-enviar as notas para verificar se o GRC reprocessava as mesmas, porém também sem sucesso.
    Tentamos também forçar um histórico de erro de assinatura na tabela XNFE/BAT_HIST para re-enviar a assinatura, porém no monitor ficou com status "NF-e Data Re-Requested" e não enviou a assinatura.
    Alguem já passou por este problema. Existe alguma forma de re-enviar estas mensagens? Ou de eliminar o histórico das mesmas?
    Obrigada!
    Vanessa

    Bom dia Vanessa,
    Avalie caso a caso o que aconteceu e faça a intervenção sempre inserindo algum histórico novo ao invés de modificar (rastreabilidade) e coloque no campo de usuário algo como CREEEEU rsss (brincadeira, coloque um usuário ou uma identificação tipo o numero do chamado).
    Vamos lá:
    - Primeiro verifique no PI se tem alguma fila (SMQ2) que possa ser restartada ou se a mensagem chegou e está scheduled (SXI_MONITOR) com opção de restart. Isso pode diminuir as intervenções manuais necessárias.
    - Para as que ficaram paradas como 01 ou 02 ou 00, insira um status novo na nfe_hist 02 / 24 (erro de assinatura) permitirá você fazer o restart no monitor. Ao restart o GRC irá chamar no ERP a função J_1B_NFE_MS_REQUESTS_DATA (veja se SAP Note 1234054)
    Atenciosamente, Fernando Da Rö

  • In SMQ2 files are not processing automatically

    Hi
    I'm uploading the data using XI to ECC system. I'm facing a problem with a Q in ECC.
    Each and every file when I upload it is getting stuck in ECC. So, I will have to go to SMQ2 in ECC and unlocking it and activating it and refreshing.
    I also confirm that files will have only limited records like say 5 records with very minimum fields.
    This should be done automatically why is this happening? Is there any Note to apply for the same.
    Thanks.
    C.

    Generated Q and finished the issue.

  • Unable to delete entries from queue (SMQ2)

    Hi
    I am unable to delete entries from inbound queue due to number of entries are too high (Approximately 160,000). Deletion in dialog mode producing timeout error...Is there any way to delete these entris in background mode or any other idea about this situation..
    Your valuable time & annswer appreciated.
    Thanks
    Rakesh

    Hi Rakesh,
       Check these threads on SMQ2. It may give some help to you:
       Queue issue
       deleting the inbound queue tc smq2
       Also check this file:
      http://help.sap.com/saphelp_nw04s/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm
    Regards,
    Subhasha Ranjan

  • 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
    Deepthi

    Hi,
         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.

  • SMQ2 error

    Hi Friends
    In our scenario Accounts Receivable and FSCM(Financial Supply Chain management ) based on the ECC system are exchanging messages  through PI,the standard document for Configuration (SAP Credit Management Configuration Guide ) has been followed.But we find that few messages are getting stuck , whenever the message size is large it gets stuck , messages of size between 1MB to % MB are getting stuck, is it due to the large size ? What can be a possible solution for the problem? Do we have to split the messages to reduce size or can the messages be routed through queues that can handle large sized data.Should we try distributing the load?I have heard of tunnelling being used or a file port solution being used but never worked on them.
    Please help on the above.
    Warm Regards
    Arjun Ghose

    Hi Friends
    Could you get me some more details on the queue prioritization part , can large messages be sent through XBTL* queues, the SMQ2 problem is happening on the ECC side , the messages are getting stuck.

  • IDOC to file scenario

    Hi Experts,
    In IDOC to file scenario i did in this way.
    1)created logical system.
    2)Using SALE tcode I assign logical system to client ,created RFC destination,Port and Partner's profile.
    It is showing all the thing correct.
    3) In XI system , I configured using IDX1 and IDX2.
    Then I created the material and checked the status which is green in we05.
    But in tcode IDX5, the material is not coming.
    Here I am confused that why data is not coming to XI system.
    can anyone help me?
    Thanks
    Rabi

    Hi,
    The Following are the Possible checks
    1) Check in R/3 side SMQ1 & SMQ2
    2) Check in R/3 side SM58
       In R/3 system, Goto SM58 tcode and see if the IDOC have stuck up in Queue.
       If the entry is available then select it and press F6, to push it manually.
        This happens normally if IDOC stuck up in queues.
    3) Check in PI SMQ2 and IDX5
    regards,
    ganesh.

  • File Receiver Adapter problem

    Hello Friends,
    I am doing a simple File to File scenario. The scenario has succussfully gone through the pipeline steps and so it is successful in sxmb_moni. But the output file has not been generated. I have checked the communication channel monitoring for the receiver file adapter. There, its status is "green" and "functioning", but under "Processing Details for Cluster Node" i am not getting any logs/messages which tells us when the process has statred and ended.
    In message monitoring, the status is "To be delivered" and its not getting changed.
    Please guide me to solve this issue.
    Thanks & Regards,
    Senthil.

    Hi
    First check
    1) Receiver FTP Details if it is correct (Floder having right credentials to write file)
    2) In Message Monitoring "To be delivered status" u can send it from there itself "Resend"
    If not happening delete all Messages of "To be delivered status" and resend again it would work
    Moreover check Smq1 / smq2 Queues if it is stuck
    For processing u have for sure clear off all messages in "To be delivered state' first r else all messages will be in pipeline
    Better ---> SXMB_ADM --> Deactivate / Activate Queues
    Rgds
    Srini

  • Time Limit Exceeded in File - java- IDOC

    Hello,
    I have an interface which reads a text file in XI and uses a java mapping to produce IDOCs in an R3 system synchronously, the interface was running fine for more than 2 years . Since the text file is larger than 20 MB, we are splitting into small text files (2mb each) for easier processing. While processing, each file will hold the outbound queue (SMQ2) until it gets completed. after 2 years of using this interface, it started giving errors in the queue (Time Limit Exceeded) for files larger than 1mb.
    Any hint ??

    Swarup,
    increasing the RFC adapter time out from the visual admin has solve the problem,
    thank you for that.
    but what I was looking for is a way to find out what could be the root cause, since it was running 2 years with (300000 ms time out) without a problem. Now I must increase this time out which mean my system is not performing well!
    Agasthuri,
    as I mentioned, it was running fine with 2mb, now even 1mb cannot be proccessed,
    Thanks again.

  • Error in File 2 File in PI 7.1

    Hi all,
                 This is the error i got in smq2(inbound queue)...Apart from cache refresh problem does this signify any other error...Am not getting the output file...
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  XML Validation Inbound Channel Request
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="XICACHE">INTERNAL_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>Error &#39;HTTP status code 401 Unauthorized&#39; while executing HTTP request (calling method &#39;get_status&#39;)</SAP:AdditionalText>
      <SAP:Stack>Error while refreshing the XI runtime cache</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Regards,
    Deepika K

    Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    u2022 If the error is in Adapter Engine
    u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    u2022 May be wrong password for user XIISUSER
    u2022 May be wrong password for user XIAFUSER
    u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

  • Messages Stuck in ECC SMQ2

    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
    Jagesh

    Hi,
    Thanks.
    What abt the Infomraiton messages already in use, can't we use them in Server Proxy method?
    Regards
    Jagesh

  • 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
    Ayub

    Hi 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

  • BPM n:1 scenario(file-file). everything is fine.output file  not genarating

    Hi friends,
    I am doing a BPM N:1 scenario,
    1.my ip(integration process) is at status 0 in sxi_cache.
    2.No problem with SWF_XI_CUSTOMIZING.
    3.after running my 2 commumication channels for 2 input files the flag is correct(black n white) in MONI.
    But when i see the file in destination directory , it's not appearing there.
    Any suggestions???

    Hello,
           Check all the queues SM58, SMQ1, SMQ2. Check the RWB for the messages on the adapter engine.
    Also, you will have to check the workflow log. Go thru the following steps.
    Scroll the successful message in the monitor to the right to see columns like Inbound or Outbound. You will see a value PE in one of the column. On clicking it, you will go into the workflow log. Then, goto the technical details. You will see all the steps configured in the BPM and various tabs below which gives minute details about each step. Look for errors in any of the step bu going thru the details.
    There might be the case that the mapping itself might have gone into error. Or some step inside the BPE is in a waiting mode.
    Regards,
    Akshay

  • Receiver File Channel is green but not working

    Hi,
    I have a service which receives the data form a sender channel and send the same data after content conversion to a reciever channel.
    In the communication channel monitoring I can see the log for the sender channel and the processing log is displayed even if no file is there in the specified location for the channel to pick up.
    For the Received channel, no processing log is being displayed and it is not processing the file even though the same service is being used.
    What am i missing here?
    Can you please advice?
    Regards,

    Hi! Archana,
    Just check once again the below mentioned steps..even though u have configured correctly...
    Do one thing..
    1) go to Rwb > Component Monitoring>Select Adapter Engine> below that Select TEST MESSAGE tab-> there enter your PAYLOAD and also give your scenario details once again and try to test the scenario again.
    2) You can also do the same test at the Integration Engine level instead of selecting Adapter ENgine u need to seleect Integration Engine ok
    3) By doing this the PI Server will took the payload directly from the RWB instead of Sender  ADapter so that you can come to know where exactly you strucked whether at adapter engine or Integration Engine level.
    4) Also you can check your messages in the below URL at MEssage Display tool other than SXMB_MONI and RWB in detail..
    [http://Host:Port/MessagingSystem/monitor/systemStatus.jsp]
    5) Also monitor your message at Ingration as well as Adapter Engine level in Message MOnitonig at RWB.
    6) Try to check both the queues at SMQ1 and SMQ2.
    7) If possible refresh your CACHE once at SXI_CACHE.
    Regards::
    Amar Srinivas Eli

  • File to idoc  (Idoc is not getting posted in R/3 system)

    Hi Experts,
    I am having file to idoc scenario. In sxmb_moni i have seen success messages . The flag is checked on both sides.
    So when clicked on the right hand side there are 443 idocs.but idoc is not posted on r/3  side.  when i give the idoc number in r/3 system in we09 i couldnt find it? soi went for bd 87 transaction and gave the idoc number. it is saying that idoc is strucked in qrfc queue?
    Kindly suggest.
    Thanks in advance.
    Regards
    sai

    hi,
    if the IDoc is stuck in a qRFC queue means that the message did not reach the pipeline to be send to R3 so, anything in wrong at PI side.
    please, go to SMQ2 and check whats happening. to know the queue name check the SXMB_MONI, select the proper message and scroll rightto the proper colum.
    let us know.
    Rodrigo P-.

Maybe you are looking for

  • Using bind variables in the model view for master detail

    Hi all, I have a master-detail views setup on the following two queries. In the first query below - I use two bind variables to collect the start and end date. you have to add (and :startDate = :startDate and :endDate = :endDate) or you will get erro

  • XI - Mail adapter scenario

    I am working on a scenario where XI will send the xml to the receiver via e-mail. I am not getting any e-mail from the XI system. Can I specify gmail or yahoo account ids along with the property settings? Do I have to do anything on the SCOT transact

  • APEX 4.2.1 websheets unable to install

    I read the manual, searched the Forum and Googled, but I can't get websheets demo app to install. No matter what I try, I get "The database objects required to create Websheet applications are either invalid or do not exist." I tried: Create Applicat

  • Rsync/unison to/with mp3-player, problem with permissions

    Hi, I'm trying to sync my music database with my mp3-player via rsync or unison, but both complain about the mp3 being a read-only device (It's detected as a FAT32 harddrive, btw.). The interesting thing is: It is not mounted read-only. I can copy mu

  • Airport Express + Airtunes for music, 3g tethering for internet?

    Hi, I'm having problems with my ISP and considering using my 3g data plan as my primary internet solution, tethering with my iPhone. The only reason I haven't done this until now is that I seem to have to turn airport off in order to use 3g, and that