Inbound-Queue - Set Queue To Retry via Coding

Hello Experts,
I am just implementing a MEP-Scenario and facing a problem in timing.
Because of Missing Data delivered via RFC from other system i need to set an inbound-queue (R3AD...) to waiting and retry.
Is it possible to do this via coding?
When I fire an error message (type EAX) the queue gets in status "SYSFAIL" - but in this case it will not automatically retry again.
Any hints are appreciated.
Thanks
Mario

Hi ,
You can deregister the inbound queue R3AD* from SMQR tcode and the other way is You can write a program to start the inbound queue processing which has a status 'SYS-FAIL'.
Thank you,
Gangadhar.S

Similar Messages

  • XI inbound queues status "RETRY" in a new XI Production system

    Hi
    All the queues (XBT00* AND XBT02*) in XI Production system are not moving. Status is "Retry" all the time. The system is idle. Do you know what is happening here?
    I also see the following error in the queue:
    Command to tRFC/qRFC: Execute LUW again
    Also, lot of errors (below) in the system log (SM21):
    XIRWBUSER - Communication Error CPIC return code 027
    XIAPPLUSER - Perform rollback
    Any ideas?
    Regards
    Chandu

    Hi,
    When any message is sent from any other system to XI, the Inbound queue in XI is processed in the following way,
    1) AI_RUNTIME_JCOSERVER connects to the Java stack to execute the registered program AI_RUNTIME_<SID>.
    2) When this connection is fine, then the queue is processed without any issues.
    Now incase of Production system, which most likely to be a cluster system will fail because you'll find that AI_RUNTIME_JCOSERVER connection test fails, when you turn off one node. The reason being in visual administrator the JCo RFC Provider for the server nodes have not been maintained.
    Solution:
    Login to visual administrator, select the service JCo RFC Provider for both the nodes and set the value accordingly.
    Ex:
    SAP Cluster Virtual Name: XICLSTPROD
    Hostname1: XIPROD1
    Hostname2: XIPROD2
    SID: XIP
    CLIENT: 100
    Instance No: 02
    Values for Node1:
    Program Id: AI_RUNTIME_XIP
    Gateway host: XIPROD1
    Gateway service: sapgw02
    Server count: 20
    Application Server host: XICLSTPROD
    System number: 02
    Client: 100
    Language: EN
    User: PI_JCO_RFC
    Password: ***********
    Values for Node2:
    Program Id: AI_RUNTIME_XIP
    Gateway host: XIPROD2
    Gateway service: sapgw02
    Server count: 20
    Application Server host: XICLSTPROD
    System number: 02
    Client: 100
    Language: EN
    User: PI_JCO_RFC
    Password: ***********
    Change in the similar way for the other Programs registered.
    This should resovle the RETRY issue in Inbound queue.
    Hope this piece of information really helps.
    Regards,
    Kamesh

  • Blocked inbound queue RETRY status

    Hi everybody
    Sometimes I get this alert in the CCMS-> Transactional RFC and Queued RFC -> Inbound Queues->Int. Server Outbound Messages (XBQ0*)->Blocked queues:
       Blocked inbound queue XBQ0$PE_W.... status RETRY...........
    I can not get the isssue because it happend when nobody is monitoring the XI system. I want to see what happen at this time but I do not how to do it. When I see the inbound queues in the SMQ2 is empty. Could tell me someboy how to get the issue in a trace or log file?
    The system works fine normally but it happens sometimes.
    thanks in advanced.

    Hi Gerardo Mondragon 
    this issue is not very strange when some queue has very heavy load then for time being messages are queued in the queue and it throws exception and ccms alert is generated.  after some time when  the queue gets processed all the messsages you will not find any error
    if you find error RETRY status in SMQ2 then right click in the last column and execute LUW
    it will get processed and queues will be fine
    then in RZ 20 you can complete alert
    thanks
    Sandeep Shrama
    PS; if helpful reward points

  • Outbound queue won't fetch data to inbound queue after DS enhancement

    I enhanced the 2LIS_02_ITM extractor with a field from EKKN table, in CMOD filled this field. Transported all this to TEST and then to PROD systems. In DEV system everything is OK, but in TEST and PROD system my outbound delta queues are filling and not fetching the data to the inbound queues!!! When i launch the job in LBWE, it cancels itself. And when i see short dumps, it says something about modified structure. Any idea how can i fetch the data from one queue to another?

    Hi,
    First you have to make sure that there are no enrteis in LBWQ,delta queue and det up table before you do the transports.
    So anyway the process has to be repeated again.
    So once the transports are done then you will have to do the whole set up again.
    Do the follwing after transports.
    1)Delete the set up tables
    2)Do init w/o data transfer from the infopackage.
    3)Fill the set up tables( You can schedule a job in the background to fill the whole 7000000 records at the same time)
    4) Full repair loads to BW( Either you can do it in parts...like scheduling different loads at the same time through different infopackages for different selections OR one infopackage for the whole data).
    The better is to do in parts as in case of whole data load fails then you will lose the whole data and you will have to repeat the process again.
    You can schedule the set up table fill job as well as full repair infopackage schedule at the same time for different selections.
    Suppose if set up table is filled with selection A and once job finished then schedule the infopackage with selection A meanwhile you can fill the set up table with selection B and so no.
    This way you can make sure the jobs are not failing because of huge amount of data load at the same time the time taken to complete the process is less.
    As such there is no limitation on amount of data..its the duration of process which is limitation...for very long running process chances are that you run out of background process or you miss some IDOC's.
    Thanks
    Ajeet
    Edited by: Ajeet Singh on Nov 18, 2008 9:26 PM

  • BADI For Inbound Queue in CRM

    Hi All,
    I am replicating Product Listings (VB02 in ECC)  data from ECC to CRM.
    Now I need to Update a Z table in CRM System with the data coming from ECC when the Inbound Queue in CRM System is processed via SMQ2.
    Can Anybody please tell me what BADI will be useful
    I found one CRM_DATAEXCHG_BADI but not sure how it goes.
    I also tried in Debuging the inbound Queue. It will take Long time to find out BTE or BADI in this way.
    So please help me with the BADI or BTE Name.
    Thanks
    Venkat

    Hi Gautham,
    No good, It did not help me Gautham.
    Can you please suggest me some other way of dong it.
    I have 2 badis to use one is address_update and the other is addres_check.
    I implemented address_check which had a address structure as a changing parameter and I update it there, it works absolutely fine.
    But my requirement is to update the structure based on the condition of BUT000. That is the BUT000-type, which means I need to update the structure only for person and not for organization and group.
    so in the badi address_check i need the BUT000 details, which I am not able to trace even from the local memory as I am getting the error saying "Memory is not yet instantiated"
    and If i use the other badi address_update.
    I have the problem the other way round here. I have all the BUT000 details here I can put the condition to update only for person, but I am not able to update the address structure.
    Please help me. This is required very urgent.
    Maximum points will be rewarded.
    Thanks in advance.
    Arul.

  • Getting an error in CIF Inbound queue:"Only 0 decimal places are permitted for unit of measure PC"

    Hi,
    I am getting an error in CIF Inbound queue (function: CIF_ORDER_INBOUND_30A). The error text says "Only 0 decimal places are permitted for unit of measure PC".
    Can anyone point out the solution to resolve this error? It would be a big help for me as I am new to APO and so getting difficult to find a clue for it.
    Thanks.
    Regards
    Mansi

    Hi Mansi,
    Please check the cif queue you will get the order number from that order number you can find out material code. Then check the material master unit of measure in MM03 you have used some alternative unit of measure and system is unable to convert order to  alternative unit of measure because of decimal setting. If you go to CUNI and check the unit if measure PC it is not permitted for decimal places. If you need decimal than change the UoMof Material and use diff UoM or allow the decimal for PC which is not good practice.
    Regards,
    R.Brahmankar

  • Mail to RFC -- Data Structed in Inbound Queue  -- Help needed !

    Hi Friends ,
                           I am doing Mail to RFC Asyn Scenario . Mail mails are come into the mail box . XI is trying to read the mail and send to R3.
                            It was working fine suddenly , Many mails read succesfully and data send to RFC , But it is structed in   ( SMQ2 ) inbound Queue ( <b>Message Scheduled on Outbound side</b> )
                  For long time it is showing like this . No data is accepted  by RFC. I have checked the Adpater confi for rfc it is fine .  I have given Max connection as 50 also .
              Please help me to solve this issue !
    Regards.,
    V.Rangarajan

    Hi,
    Have the Queues being registered in the R/3..?
    If not....
    1.Go to SXMB_ADM(R/3)
    2. Go to Manage Queues and then
    3. Register All Queues.
    <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically Failed Messages</a>
    Regards
    San
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • Messages still stuck in the Inbound queue SMQ2

    Hello XI Gurus,
    All my messages with "READY" status are still stuck in the inbound queue (smq2) for the last 2 hours...there was no SYSFAIL error messages or scheduled background running. I have to manually go in and executed each of those messages, instead of automatically process it. Could someone please tell me how to troubleshoot this?
    Thanks so much in advanced,
    Dng

    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

  • CREMDM splitted by PI, ADRMAS gets posted, CREMAS in inbound queue

    Hi all,
    I am on SAP MDM 7.1 SP03, SAP PI and SAP ECC6.
    I have gone thorugh all the threads and Guides related to MDM but couldn't find a valid solution for my problem described below. However, I did find some tricks and tweaking which I dont want to use as they are not recommended by SAP.
    We syndicated NEW Vendor records being created in MDM using CREMDM with standard Syndication Map. We have Vendors number generated in MDM and the number range being used exists in ECC and is marked as external. Moreover, the number range uses all of 10 digits, so there is no question of Conversion Routines with it. We deployed PI for splitting CREMDM to ADRMAS and CREMAS. We have serialized ADRMAS to go before CREMAS. We have assured that fields common between these two, have "no data" character i.e. "/" in CREMAS with correct data in ADRMAS. And ADDR_GROUP is mapped as "BP".
    Now the problem is, ADRMAS gets posted but CREMAS remains in the inbound queue. The queue running but still CREMAS remains there with CODE as "75". This results in non-creation od Vendor master record as CREMAS is not posted.
    Can anybody help with this. I really appreciate the support.

    Hi R,
    The ALE inbound function modules treat each IDoc segment as a current set of data. Missing fields (or fields that have no data) are interpreted as a value deletion. To keep the existing value for a single field, you have to add a no-data sign as field value for NAME_1. This no-data sign is a single slash (/).
    Please execute the inbound function module manually in WE19 to test this. If an exception is seen at NAME_1 ,pass a value or '/' and check for successful posting of Idoc.
    If this works, modify inputs to CREMAS accordingly.
    In addition a good SAP Note 1052964 - MDM: Distribution of Business Partners, Customers, Vendors for your reference.
    Regards,
    Vinay M.S

  • Msgs getting stucked in inbound queue

    Hi All,
    I am doing a jdbc- xi - ABAP proxy scenario. Data is coming into the R/3 via proxy but getting stucked up in inbound queue. When I go to the queue I can find entries with msg transaction recorded. When I manually execute the entry from the queue it is getting executed successfully.
    In R/3 the msgs are with a green flag(scheduled). But when i execute it from inside the queue, I can see the success flag(chequered) one.
    Why am I getting this problem?
    Kindly help me debug this issue.
    Thanks & Regards,
    Jai Shankar.
    Message was edited by: Jai Shankar

    Hi,
    Pls make sure your queues are registered and active...
    you can register the queues using the SXMB_ADM transaction and executing the link "Manage Queues" in that.
    Thanks,
    Renjith

  • Failed Entries not visible in EOIO inbound queue

    Hi Experts,
    The scenario is HTTP->RFC (aysnchornous) i am specifying the queue name in the HTTP client itself (inbound EOIO queue)  and i am posting the message from HTTP client to RFC in R/3 system. So after posting the requests i could not find the messages in the queues ( the messages appears in SXMB_MONI with a queue name say XBOQ0_LINE1), but i could not find the entries in this queue at all... COuld you help me what could be the reasons.. Do we need to set any queue parameters for the MEssages to stay?.
    Quick response would be highly helpful.
    Thanks and Regards,
    Raj

    Hi Rajeev thanks for your reply, yes it stays in the queue as you said.. But the requirement of the client is that the RFC will be called in one sequence and it any of the transaction fails then all the others should automatically stops. Thats why we have taken up this method of selecting the inbound queue right from the HTTP service.. Now what we expect is that for example if the first message fails due to an exception in R/3 then all the others should wait in the queue.. But right now what is happening is that they are waiting at the adapter and SXMB_MONI shows that they are in the status scheduled.. (the R/3 system is up in this case.. )..
    So you mean to say the message would log in the queue only when R/3 system is donw.. Or even when adapter makes max no of tries to R/3 and finds it as system failure then also would the entry come in the queue ?.
    THanks in advance for your answer
    Raj

  • Inbound Queues getting stuck up in PI7.1 for Idoc scenario Mpackg. enabled

    Hi Experts,
    We have an issue while processing Single Idocs in PI 7.1.
    we have extended MATMAS05 and we are processing these via PI to FTP folder.
    The inbound queues are frequently getting stuck.we will be sending atleast 1000 idocs every hour from R3.The processing time is very slow for this interface and its impacting other interfaces which we are currenlty having.
    We have followed the webblog by William Li "Step-by-Step Guide in Processing High-Volume Messages Using PI 7.1's Message Packaging" but still the processing time for Single Idocs is very slow.
    We have to use single idocs as we will send only the changed materials from R3.
    Could you please assist us in overcoming this issue.
    Many thanks in advance.
    Points will be awarded for valuable feedback.
    Cheers
    Jyoti

    Hi Jyoti,
    Message Packaging works PI7.0 SP 13 and PI7.1 .
    we have to configure Message Packaging manually ,
    Step 1) 1. Enable packaging for the integration server
    SXMB_ADM -> Change Configuration (F9), create a new entry:
    Category: RUNTIME  (PI7.1)
    Parameters: PACKAGING  Current Value: 1 (for active) .
    Default Value in PI7.0
      Current Value: 0 (for inactive)
    Step 2) Create "Package Configuration Type u201C
    Use Transaction SXMS_BCM .
    Configuration Type : Any name.
    Description: any text to describe the configuration type .
    Wait Time : 60 seconds
    Number:  100
    Maximum Package Size.  2 MB
    Step 3) Create "Sender/Receiver Definition
    Transaction :   SXMSIF (Create New Entry).
    Sender/Receiver ID:PACKAGE_DEMO .
    Description :
    Interface Name: Interface Name used in Receiver Determination.
    Interface Namespace:   Interface Namespace used in the Receiver Determination .
    Step 4: Create "Specific Package Configuration"
    Transaction :    SXMS_BCONF .
    Step 5: Package Monitoring
    TX: XMSPKSTATCNF 
    Follow above steps and configire message packaging , then you feel diference,
    actuualy i configured message mackaging,i am feeling the difference.
    if any issues let me know.
    Cheers,
    Raj

  • SYSFAIL error in Inbound Queue

    Hi,
    I got a SYSFAIL error in the Inbound queue. When I double clicked on it, it showed up the Status text as "An exception occurred that was not caught". This has been raised on 14-01-2009 (today's) date and when i checked for the B-Doc corresponding to this, i couldn't find out any entry for this.
    Initially i tried unlocking the queue and thereby re-processing it, but it failed again.
    The details are:
    Function Module : BAPI_CRM_SAVE
    Queue name : R3AD_SALESDO0004700954
    Date : 14-01-2009.
    Any pointers on this would be of great help.
    Thanks in advance
    Rasmi.

    1. Check in Tx: ST22 (ABAP Runtime Error). That would give you more insight in the cause of exception / dump and how to solve it.
    2. Also, in parallel check whether the connection to ERP is established and the RFC call is getting connected (Tx: SM59).
    3. If the error/exception/dump is occuring on ERP side, check whether CRM server details are maintained in table: CRMRFCPAR (on ERP side).
    4. Check whether internal user exit is coded to catch the exception and throw out appropriate error.
    5. check whether there is any code error in mapping module (available in table SMOFSUBTAB).
    These steps might be useful to find out your problem.
    Best Regards,
    Pravin..

  • Inbound queue in APO side

    hi,
    All R/3 changes are not transfered to APO. It got stuck in SMQ2 in APO side. every time i am manually activating  those queues in ready status.
    1) Is there  any simple way to activate all the queues having status "ready" in single execution.
    2) what will be the reason for inbound queue and how to avoid? i able to see only "ready" and "waiting" status queues there is no error

    Hi,
    Please check the status of the QIN and QOUT scheduler in transaction SMQR/SMQS and see if the destination is registered or not. I am pasting the content of the SAP Help for you quick reference.
    Set Up QOUT Scheduler
    Use
    Queued Remote Function Calls (qRFCs) are used to transfer data between SAP APO and SAP R/3. The QOUT scheduler processes outbound qRFCs (outbound queue).
    You complete the following steps in the relevant client in the production system.
    You call the QOUT scheduler using transaction SMQS. The destinations to which the outbound qRFCs are to be sent are registered in the QOUT scheduler. As of version 6.20.45 this is done automatically.
    The following options exist for a registered destination:
    Type
    R: The destination is registered, that is, it is started using the QOUT scheduler.
    U: The destination is not registered, that is, it is not processed.
    N: The destination is not processed using the QOUT scheduler, but is sent at the time of the COMMIT WORK.
    Max. Connections: Number of connections that are used to send the qRFCs. The default value is 10 for R/3 connections and 1 for TCP/IP connections.
    Max. Runtime: Time that a destination is processed by the QOUT scheduler. The default value is 60 seconds.
    The destination NONE means that the qRFCs are processed in the local system and should not be registered up to version 6.20.45, supplement 8 inclusive. As of supplement 9, NONE can be registered and the without tRFC option set.
    Requirements
    The qRFC configuration must be configured. For more information, see
    Set Up QOUT Scheduler
    Use
    Queued Remote Function Calls (qRFCs) are used to transfer data between SAP APO and SAP R/3. The QOUT scheduler processes outbound qRFCs (outbound queue).
    You complete the following steps in the relevant client in the production system.
    You call the QOUT scheduler using transaction SMQS. The destinations to which the outbound qRFCs are to be sent are registered in the QOUT scheduler. As of version 6.20.45 this is done automatically.
    The following options exist for a registered destination:
    Type
    R: The destination is registered, that is, it is started using the QOUT scheduler.
    U: The destination is not registered, that is, it is not processed.
    N: The destination is not processed using the QOUT scheduler, but is sent at the time of the COMMIT WORK.
    Max. Connections: Number of connections that are used to send the qRFCs. The default value is 10 for R/3 connections and 1 for TCP/IP connections.
    Max. Runtime: Time that a destination is processed by the QOUT scheduler. The default value is 60 seconds.
    The destination NONE means that the qRFCs are processed in the local system and should not be registered up to version 6.20.45, supplement 8 inclusive. As of supplement 9, NONE can be registered and the without tRFC option set.
    Requirements
    The qRFC configuration must be configured. For more information, see
    Regards,
    Senthilrajan
    Edited by: Senthil_APO on Oct 12, 2009 10:54 AM
    Edited by: Senthil_APO on Oct 12, 2009 10:55 AM

  • Problem Inbound Queue SMQR after execute BUPA_DEL

    Good Day
    Now, we developing a interface for a customer to import Business Partner (BP) from a non-SAP System in our SAP CRM 2007 System. To validate the functionality of the interface we would like to make any test imports. Well, if we finished an import we have to delete the BP's with the transaction BUPA_DEL. The deletion of the BP's in the table BUT000 seems to be ok.
    So, when I call the transaction smqr to check the Inbound Queue CSA*, I will found an entry with the state "Retry" for every deleted dataset. I can manually execute the Queue successfully. What could be the reason for this state? How can I automate the execution of these queues?
    Many thanks for your support!
    Regards
    Marco

    Dear Gerhard
    Thank you for your answer.
    Well, I had already implement the solution of the note 785046 without success.
    The clue is, no Background-Job is scheduled but there are many thousend Entry's with the state RETRY in the Queue...
    In the SysLog I couldn't found any messages they indicate to this "problem".
    Do you have any idea's.
    Can I manually schedule a Job (may be periodically) to process these Queues?
    Thank's for your replies!
    Best regards,
    Marco

Maybe you are looking for

  • Itunes crashes when attempting to submit CD track names

    After importing an Audio CD I update the track names. This has worked perfectly until the most recent upgrade of Itunes. Steps to consistently cause the crash: In Itunes, click on Advanced Menu option. Select 'Submit CD track names' Enter a more than

  • Problem with Pages purchase

    I downloaded the free trial of iWork when I bought my MBP in Dec, then purchased separate Pages in January through the App Store. Pages loads documents fine, but won't save anything as it tells me my trial has expired, even thought I have now paid fo

  • Confirmation status I1016 release rejected

    Hi SRM gurus,   We are working on classic scenario on SRM 5.0. We created a shopping cart, PO and confirmation. We have the status of the confirmation as I1016 release rejected when we do the conf. from EBP. If we do the GR in the backend the conf. i

  • IPhone 4S Photo Stream

    Does anyone know how to use photo stream?  I could really use some help.  I had to return my first iPhone 4S because of battery problems.  Photo Stream worked on this phone.  Now, I just got my replacement phone and Photo Stream doesn't work.  How do

  • /usr/local/bin

    Hello everyone, Whenever i am installing any s/w from source by compiling,its executable is getting stored in /usr/local/bin.Now im unable to use the s/w by just typing its executable name in the terminal,its giving me an error as "command not found"