Messages in inbound SMQ2

HI Frnz
i done a scenario and is running successfully. but the problem is in inbound queue. i am getting the status ready here. if activate the queues  then only the message is successfully delivering to the target system.
every time i need to activate the queues. how to over come this.
Thanks
Munna

Some messages are getting stuck in status RUNNING on only 1 specific queue (that sends message to ECC).
I'm planning to schedule a JOB to execute RSQIWKEX if this queue is in status RUNNING for more than 5 minutes (the process shouldn't take more than 1).
Therefore, If I run RSQIWKEX, the queue is set to status READY and doen't start automatically (the queue was registered before running RSQIWKEX. Do I need to register again?)
Is there a program that registers a queue automatically so I can run after RSQIWKEX?
Thanks.
At.,
Bernardo Tavares Braga

Similar Messages

  • Messages stuck in SMQ2

    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 - HTTP

    Tharu 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

  • Messages in inbound queue in status-RUNNING and it is too slow

    Hi Experts,
    We have a issue there are tons of messages in inbound queue in status-RUNNING and it is too slow!, hence there are more messages getting in the queue every minute.
    This is Production enviorment.
    We have priority queues
    QIN is waiting status.
    De-register will not work due to loss of messages fear
    Please advice
    thanks and regards,
    krushi

    Hi,
    If the queues are hanging due to peak load at sometimes
    you can schedule following reports to restart them automatically
    (dont have to lock and unlock manually)
    RSQIWKEX - Inbound Queues
    RSQOWKEX- Outbound Queues
    Also you can save the first entry of the queue if its causing problems to process later- smq3
    thanks
    francis

  • Inconsistency in receiveing the messages in inbound Proxy in SAP  from XI

    Hi All,
    We have a Scenario where our Source System is Websphere MQ and target system is SAP Deposit Management System.
    To post the data in SAP DM we are using inbound  ABAP Proxy
    There is an inconsistency in receiveing the messages in inbound Proxy.
    eg  When multiple messages are put into a MQ Queue only few of them are being picked up by Inbound Proxy.
    Thanks in Advance

    Hi Amit,
    This problem can be found only by analysing it in RWB. Just analuse via RWB or MONI and check the payload at sender side and receiver side then you can find the problem.
    I think in the sender communication channel it has the problem. if it is there in Sender side payload then there would be missing in the mapping also. Just check that the top parent of target is gettting generated with some messages which are missing.
    Warm Regards,
    Vijay

  • Message Interface Inbound

    Hi All!!
    I want to create a Message Interface Inbound to generate an ABAP Proxy on SPROXY.
    Somebody could give me some tutorial or "step by step" which guide me on the process, please??
    I won´t forget for awarding points.
    Thanks and regards,
    Manuel.

    Hi,
    Just go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies By Siva Maranani
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    Generating java proxies..
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    Regards,
    Sarvesh

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

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

  • Creation of secondary indexes due to heavy flow of messages in ecc smq2

    Hi gurus,
    So we are facing smq2 issues from last 15 days in Ecc system due to some Time Limit Exceed and some times Object is Locked by the user xxxx
    So finally we decided to go for creating seconday indexes in Ecc side , So here my question is there any thing required from Pi side while creating
    Secondary indexes why i am asking this question is there is no issues From PI end after reaching to target(ECC) system only messages got stucking
    in smq2 and facing issues .Below is the interface details.
    ECC-FSCM
    SAP ECC 6.0
    FSCM
    CreditCommitment_In and CreditCommitment_Out
    CC_ProxySender_FSCM
    CC_ProxyReceiver_FSCM
    Plz reply back .
    Regards
    Madhu

    If you had gone through the replies in your previous post, Iñaki Vilaand myself already provided the report name which needs to be scheduled to clear the messages in queues.
    Plz provide the permanent fix for this issue

  • IDod Type,Message Type,Inbound Function,Process Code Required

    Dear All,
    I require
    1. IDoc Type
    2. Message Type
    3. Inbound Function
    4. Process Code
    for
    a. Vendor Master Creation,Updation,Deletion
    b. Customer Master Creation,Updation,Deletion
    c. Vendor Invoice(TCode-FB60) Creation,Updation,Creation
    d. Vendor Credit Memo(Tcode-FB65) Creation,Updation,Creation
    e. Customer Invoice(TCode-FB70) Creation,Updation,Creation
    f. Customer Credit Memo(TCode-FB75) Creation,Updation,Creation
    i require to insert all the above detail into SAP from another system so please provide me the full detail.if the IDoc type is separate for Creation Updation Deletion then provide likewise.
    Everybody will rewarded.
    Thanks,
    RP

    hi
    use t code wedi and goto EDI administration menu. in that goto development menu. there you can find all items like Idoc type, message type or process code all information is available.  You can also use t code WE30,WE31,WE80,WE81, WE42 - Inbound process code and WE41 Outbound process code.
    Hope this helps.  Assign points if useful.
    Rago

  • 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

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

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

  • Capture Messages while Inbound processing of IDOC

    Hi ,
    I have a scenario where in i have to upload a file from application server using inbound IDOC. I am using the program RSEINB00 (using submit) for this, The idoc is getting posted successfully but i need to capture the messages in form of a log so that i can find out what all IDOC numbers are generated and how many of them. In case any error is there. I need to display a log of it.
    Timely help in this regard will be appreciated and rewarded suitably.
    Rgds,
    Kewal
    P.S. : Please suggest if there is any other method to process inbound IDOC (accept we19 TX)

    Hi kewal ,
    As per the scenario explained by you , I suggest you to do following steps
    1.The program you are using is RSEINB00 , has a function mosule present named ' IDOC_ERROR_WORKFLOW_START'. This function module can gice yo the Error message log in case of Inboung IDOC processing fails.
    2.You have two options , eithe you find out any user exit and atttach your own code to it or Complaetely cope that code into your z-program. Int he function module mentioned above , the export parameter  ' G_MESSAGE_FIELDS ' wud give you the error message , error status , error no etc.
    3. So for the INbound IDOC status messages starts with 51-70 , so depending upon ur logic , read all those message into an internal table .Then transfer that to a file .So an error log can be genearated.
    I hope this solves ur problem.
    Regards.
    Note: Reward if useful.

  • Fault Message for inbound asynch ABAP proxy

    Hi All,
    I've got scenario File -> XI -> ABAP proxy all asynchronous.
    Inside a proxy I'm throwing an exception using fault message.
    I don't see application error in SXMB_MONI on XI, I can see that only in SXMB_MONI on receiving system.
    Is it possible to have flag Application Error on XI monitor as well ?
    Best Regards,
    Tomasz

    Jai,
    I've checked that many times.
    I'll describe my scenario in more details.
    1. From the file I'm receiving a lot of items and trying to process as much as possible in one proxy call.
    2. Those ones which are causing errors are sent out to XI (outbound proxy) one by one. XI sends them to the same interface which is used in 1. step where I have condition which checks for single item and when it's wrong then exception is thrown.
    One SCM box is sender and receiver which my cause that problem.
    Tomasz

  • Why messages are stuckin SMQ2..

    Dear all,
      We have an interfaces where in all of them are having ABAP proxy in the reciever side. Many a times  messages related to asyncrhonous interfaces are stuck on the ECC side in  SMQ1 of ECC and getting piled up there.
    But ..
    1. Message content is small in size.
    2. Messages has no data dependency.
    Please tell me the reason why messages still stuck ? is this performance issue of ECC and how to resolve this issue permanantly ?
    Thanks,
    Amar.

    Hi Amar,
    I think that would need some investigation based on interfaces/queues.
    Monitor whether the high volume interfaces are getting locked or is it generic that most of the queues gets locked.  Try to prioritize queues for high priority interfaces etc.
    Check with you basis people whether the queues are getting locked due to other issues.  I am sure there would be some trace or log for the reasons the queues are getting locked.
    It might also due to conitnuous read of table or indefinite loop of table or something. Please investigate more.
    If you are sure that it was caused due to performance issues, then you would need to do put up a plan and devise ways to reduce the load.
    Regards
    Krish

  • Message struck at inbound que in server proxy

    Sub :Message struck in SMQ2 with status text"ThiSend:bad tm type" .
    HI,
    I executed inbound proxy form PI 7.0, the message was struck in the inbound queue of ECC 6.0,
    with status text "ThiSend:bad tm type /connection closed (no data)".
    when i test the same message from 'SPROXY' t.code, inbound proxy class was working fine.
    I came to know the message scheduled due to function
    module sxms_async_exec
    and raising an exception as ThiSend:bad tm type/
    connection closed (no data)
    please provide the details like when this function
    module throw an exception as connection closed(no data).
    inside inbound proxy,
    could you please suggest us, what should be avoided inside the proxy
    method.
    warm regards
    mahesh.

    Hi Chaitanya,
                       previouly, i have the same problem.
                       At that time, we are using 'submit' command inside proxy method i.e i ABAP program.
                         because of that, the message was struck in the inbound que.
                       'submit' is not suggestable inside proxy method.
                       so, pls check your ABAP Program.
    warm regards
    mahesh.

  • Inbound Messages are struck in Queue.-Production environment of client box.

    Dear All,
      We have scheduled a Job(RSQIWKEX) to process messages in Inbound Queue. we are facing probem after restarting the XI server that the messages are struck in Queue and  scheduled job also not getting executed. Even manually also not able to process the messages.
    Could anyone help as how to proceed or what could be the cause of this problem.
    Regards,
    Siva

    What is the error message?

Maybe you are looking for