BPM :: Messages not processed at outbound side

Hi Experts,
We have 1000+ synchronous messages with BPM  for only two days in July which havent processed fully. Now oncoming messages are getting processed fine, but the messages which were waiting for outbound processing from July are still waiting.
inbound side there is a success flag and outbound side it is showing a clock symbol(looks like scenario is collecting / waiting)... cant see any failed/waiting messages iin queues .. when I checked the workflow logs few are showing workflow manually edited and processed after exception.
The date messages were triggered are 10/Jun and seems one or more messages were edited on 17/jun later.
Now we would like to know which workflow thrown the exception and what they have done during manual operation.
And how to process the remaining holding messages.
  Thanks in advance for you ideas and suggestions.

Hi,
     As you pointed out in your post that     
"inbound side there is a success flag and outbound side it is showing a clock symbol(looks like scenario is collecting / waiting)... "
Now you have not explained your scenario completely. Still from the problem statement I can say that The BPM is waiting for some messages. There are three possible scenarios where you can see the clock symbol.
You have the option of collecting multiple messages for an interface and bundling them into one message, for example, individual sales order items into one sales order. To do so, you need to define a receiver step within a loop. The loop can finish in a variety of ways.
Payload-Dependent  => The loop finishes when the number of messages received matches the number specified in the payload of the messages.
Time-Dependent   => The loop finishes at a specified point in time.
Message-Dependent => The loop finishes when a specific message is received.
Once all the messages have been received, a transformation step bundles the messages collected in the container element and from them creates a message in the container element .This message is then sent by a subsequent send step.
The processes use one of the abstract interfaces as an inbound interface, and the other as an outbound interface.
Your BPM cannot be time dependant, otherwise it would have completed processing by now.
Either your BPM is message dependant or payload dependant. You need to find this out.
Check out the correlation (if) used in BPM, and the condition in BPM which stops the message collection.
Plesae check SXMB_MONI and study the messages which have been succesfully processed by the BPM, so if your BPM is message dependant you have to find out what message it needs to stop collecting the message, this you can do by studying the successful message processed by the BPM. In this case your BPM will contain a FORK step. In one branch of FORK step there will be a receive step, this is the step where you can find the message required to complete waiting stage of the BPM.
Check if this message has arrived or not.
If your BPM is Payload dependant, find out whether number of messages received by the BPM matches the  expected count or not. In this case the BPM must have a container operation to count the messages received. If the count is less than required value, the BPM will remain in waiting  state.
regards
Anupam

Similar Messages

  • BPM : Message scheduled on the outbound side

    Hi
    I have messages in SXMB_MONI that have been received into my BPE.  They have a status flag ok (chequered flag ) but the Outbound Status is green (message scheduled on outbound side).
    The BPE would have finished by now ...been in Message Scheduled on Outbound side for the entire day now.
    What has happened ?   I have no error - nothing !
    (there are no entries in SMQ2, nothing in SXMB_MONI_BPE in error etc etc or Short Dumps)
    Please help.

    I posted an OSS note on this - so answer from SAP.
    Solution is to delete the old entries via RSWWWIDE report (which could also delete work items that do not have a final status.)  I ran this for everything not COMPLETED.
    When I send another message in - it worked fine.  So the fact I had a stalled WF a week ago was affecting any new one coming in.  
    Drilling down into the message in SXMB_MONI from the PE I could see an Exception Handling in the MergeandSendBlock - no error given - but it did have a time of a week earlier.. anyway then in the ST22 Dump I could see wf-batch with runtime error MESSAGE_TYPE_X_TEXT.
    I feel this is very poor design on the BPM processing !  oh well.
    See also
    #Note 836092 - Archiving/deleting work items in the XI
    PS Thanks to Sudhir earlier on...  You nailed it - but at that stage I did not know what you mean so did not consider this - as I had no idea what affect running that transaction would do.

  • Cancel or Reprocess BPM message with error on outbound state

    I have a BPM scenario, IDOC comes from R3 and triggers a BPM. The BPM has a fork step which sends the message across 4 branches. Each branch has its own steps. Now, the problem is the IDOC has come and has trigerred the BPM but has errored on outbound side. The first step in each branch is a mapping step and the BPM has failed at this due to Jco communication failure. This has been fixed now. Now I need to reprocess this message, but can not restart as it shows succes message in inbound side.
    I have to re process this message, but how?
    Regards,
    Jaishankar

    Jai,
    I dont know whether it is the correct appraoch.
    Have a look at the transaction SWWERRE_DEBUG
    Regards,
    Sudharshan N A

  • Message has Error Status Outbound Side

    Hi All,
    I have one question.... we procssed one file from ftp it should creates Idocs in R/3 side we developed this scenario using BPM....it processed successfully inbound side but in Outbound side it is showing Red Flag (Error Meaase : Message has Error Status Outbound Side) and its not creating IDOCs in R/3 Side but in Process engine all steps completed Sucessfully and created Idocs in XI....i tried so many ways...like in Queues and Refreshed Cache and checked RFC connection in Both ways and checked passwords in communication channels.... i could't find any this....if any body help me on this....it would be appritiated.
    This was i am testing on Test system i got this type of problem but in Development box it is working successfully we are using the same fuctionality and same code also i don't know why its happening.
    Thanks,
    Sudheer.

    Hi,
    Where are you find the Error and
    > Process engine all steps completed Sucessfully and created Idocs in XI....
      Can you explain in detail
    Regards
    Sangeetha

  • Message has error on outbound side in sxmb_moni

    Dear All,
    I have a query related to sxmb_moni messages.
    Scenario : FILE - XI - IDOC
    In sxmb_moni, message is successfully processed by XI but <b>it is showing error " message has error on outbound side".</b>
    My questions are:
    <b>1)Is it possible to restart the message . When I tried to restart the sucessful message with error on outbound side it showed me message " You cannot restart xml message".</b>
    2)I tried to analyze error for outbound side using SM58, it showed me message "No connection to database,session terminated" .
    Can anyone please advice what could be the reason for this .
    Thanks & Regards
    Prabhat

    Hi Prabhat,
    the message was send to the IDoc adapter. The error occures there.
    Control, if the send XML can be translated to IDocs (use a message mapping).
    Control, if the SM59 destination to R/3 is working.
    Conrol, if the communication channel is customized in the right way. Control, if the port is customized (transaction IDX1).
    Also the metadata for that IDoc should be in IDX2, that should happen automaticly, if not, assumedly the destination is not working.
    Regards,
    Udo

  • Messages gettin stuck at outbound side..

    hi..
    my files r gettin picked up successfully.
    i need to corelate them, i knw corelation is fine.
    they r suppose to enter the BPM. but they r not. at the outbound side its constantly showin "messages scheduled for outbound side (green flag).
    my queues r registered.n outbound queues doesnt hav anything. its constantly goin outside the same queue, QBT0*
    if i want to delete my previous workitems, frm SWWL, wot all do i delete.
    i mean, the cancelled, error or wot all status ones.???
    this shudnt affect anything else right?
    thanks..
    Vishal

    hi shabarish..
    thanx..
    but my prblem is tht im not gettin my message into the BPM..its scheduled outside itself...
    does cache has any role to play wit it???
    cos my cache is pretty unstable..i hav to keep refreshin the same...wit every modification i make..
    i see, 2 green flags, even before u hav acheived the Chequered flag. ..:)
    hw did u resolve tht..thts my issue...
    regards..
    vishal

  • IDoc error :'Message has error at outbound side'.

    Hi Experts,
    am working on JMS-->IDoc, where TIBCO sends MBGMCR01 IDoc to ECC through XI .
    in SXMB_MONI : shows red flag in outbound:with the message as 'Message has error at outbound side'.
    please, suggest  to solve the issue.
    thank you,
    <b>MK</b>

    Hi
    Have a look this
    Message has error on outbound side in sxmb_moni
    BPM - Message has error on the outbound side
    Reprocess a message with error at outbound side

  • Proxy messages not processed in PI 7.1 pipeline coming from local client

    Dear experts,
    We have recently installed a PI7.1 system with two clients:
    200 - Integration Server
    250 - Local Integration Engine
    Now, when we send proxy messages from the 250 client to the 200 client,
    the messages are not processed in the integration server. The message
    does arrive as we can see in SXMB_MONI, but there is no receiver determination
    or what-so-ever executed. In SXMB_MONI we can see that only the SENDER
    pipeline is executed.
    Proxy messages from 6.20 and 7.0 systems to IS are properly processed.
    Ofcourse the 250 client is defined as an application system in the integation engine
    configuration (SXMB_ADM).
    regards,
    Jeroen

    In SXMB_MONI we can see that only the SENDER pipeline is executed.
    Yes. Even if no receivers are configured the data from sender to XI should be visible in sxmb_moni.
    Check smq1 at XI. There could be some problem with the technical system for client 250.
    Regards,
    Prateek

  • Message not  processed after technical routing

    Hi ,
    I have a SOAP ->ABAP Proxy (R/3) scenario that sometimes not processed completely. When checking the message in SXMB_MONI I notice a grey dot (which means log version) in the status column next to the message,  Upon opening the message I can't see any errors.
    The message has gone through the following steps.
    Inbound Message
    Receiver Identification
    Interface Determination
    Message Branch According to Receiver List
    Request Message Mapping
    Technical Routing
    But final stage call adapter not executed so i came to know that response message not reached to XI.
    This is occuring once or twice for every 25 to 30  messages.
    Can any one provide some suggestions to rectify the above issue.
    Thanks & Regards,
    Arun.

    Check out the below things,
    1. Check for which input data it is giving. (Any specific data).
    2. This may happen becaus of time out. (Huge data processing)
    Also check out below link,
    ['Log Version' status in 'SXMB_MONI']
    Resend the message from sender and it will work properly.
    Log version means "Waiting for response" and liable to fail if response not received on time.
    Edited by: Siddhesh Pathak on May 13, 2009 12:10 PM

  • XML messages not processed

    Hi all,
    I have a problem in my FTP folder. I have a text file to be processed as XML messages in XI. The problem is, it's not processing. The text file goes straight to the archive folder without processing it to an XML file. It's not in sxmb_moni and smq2. I'm not sure what happened. It was being processed before.
    Thanks.
    Regards,
    IX

    Check your sender file adapter status from the Communication channel monitoring on your Runtime Workbench.
    Thanks,
    Pooja Pandey

  • Print message not processed

    I am able to take a print preview and print after attaching the custom message in purchase order but after saving it .
    The message says that it is still in process and it is not processed.
    Any idea where to check and where is the problem

    check sp02 whether processing has been completed or not..also try this...
    check the output immediately check box when pop up for print options are displayed..after that save it try again n see what happens

  • Messages not processed from IP_OUT_QUEUE

    Hi all,
    I have enqueued the message to IP_OUT_QUEUE and consumer as B2BUSER. Still the message are not getting processed from the Queue. From the b2b.log, I see the following statements "***B2BListen turned off, will not listen on IP_OUT_QUEUE for messages***
    What could be problem... It used to work before... Nothing has changed after that.... any clues??? I am using 10.1.2
    2009.09.08 at 23:43:33:449: Thread-9: Repository - (DEBUG) Cache Purge Size = 3000
    2009.09.08 at 23:43:33:449: Thread-9: Repository - (DEBUG) Cache Load Factor = 0.75
    2009.09.08 at 23:43:33:452: Thread-9: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@8a0544
    2009.09.08 at 23:43:33:453: Thread-9: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@2f0df1 oracle.tip.repos.core.driver.CatalogDriver@2e323
    2009.09.08 at 23:43:33:453: Thread-9: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@8a0544
    2009.09.08 at 23:43:33:455: Thread-9: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@2f0df1 oracle.tip.repos.core.driver.CatalogDriver@2e323
    ***2009.09.08 at 23:43:36:433: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter***
    ***2009.09.08 at 23:43:37:016: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages***
    ***2009.09.08 at 23:43:37:020: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message***
    2009.09.08 at 23:44:03:091: B2BStarter thread: Deployment - (DEBUG) Query Configurations null Lifecycle status Active exclude design true
    2009.09.08 at 23:44:03:092: B2BStarter thread: Repository - (DEBUG) Persistency manager == oracle.tip.model.metadata.CatalogMetaManager@8a0544
    2009.09.08 at 23:44:03:092: B2BStarter thread: Repository - (INFORMATION) Entering Use Case: queryConfiguration
    2009.09.08 at 23:44:03:092: B2BStarter thread: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.09.08 at 23:44:03:093: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
    2009.09.08 at 23:44:03:093: B2BStarter thread: Repository - (INFORMATION) CatalogDriver.runQuery() select ID , CLASSTYPE , NOTM , ISSEEDED , canreactivate , name , created , bilevel , LifeCycleState , description , description_clob , warningmessage , warningmessage_clob , status , type from TIP_Configuration_t t where ( LifeCycleState= ? )
    2009.09.08 at 23:44:03:094: B2BStarter thread: Repository - (DEBUG) CatalogDriver.setBindVariables():
    2009.09.08 at 23:44:03:094: B2BStarter thread: Repository - (DEBUG) Bind Variable : index = 2 value = Active
    2009.09.08 at 23:44:03:097: B2BStarter thread: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@8a0544
    2009.09.08 at 23:44:03:097: B2BStarter thread: Repository - (DEBUG) LargeStringImpl(InternalObject, String) - constructor
    2009.09.08 at 23:44:03:098: B2BStarter thread: Repository - (DEBUG) Object OID - FE5E6FB76BBF25DDE030578C9515137B-22-1-1
    2009.09.08 at 23:44:03:098: B2BStarter thread: Repository - (DEBUG) LargeStringImpl(InternalObject, BLOB) - constructor
    2009.09.08 at 23:44:03:099: B2BStarter thread: Repository - (DEBUG) Object OID - FE5E6FB76BBF25DDE030578C9515137B-22-1-1
    2009.09.08 at 23:44:03:099: B2BStarter thread: Repository - (DEBUG) LargeStringImpl.setBlob() - extracting blob contents to stringBuffer
    2009.09.08 at 23:44:03:099: B2BStarter thread: Repository - (DEBUG) CatalogDriver.constructBaseObject()
    20
    Edited by: Praveen I on Sep 9, 2009 12:18 PM

    Hi Pravin,
    Check b2b_instancemesage view for related messages and make sure that payload is coming properly.
    Also make sure that you have atleast one configuration in deployed state. Also make sure that transportServlet is up and running by accessing below url -
    http://localhost:port/b2b/transportServlet
    Also try by using the enqueue stubs which comes as part of tutorial (Ora_Home/ip/tutorial)
    How are you enquing message to this queue? Please mail the b2b log in debug mode to my id (in my profile)/post the same here.
    Regards,
    Anuj

  • Messages not processed

    Hi all,
    I have a problem regarding messages. There are some text files in the FTP folder that are not being processed by XI. They are not converted to XML messages. Some are processed while some are not. Please advise. Thanks!

    Hi,
    >>>There are some text files in the FTP folder that are not being processed by XI.
    it can only mean 3 things:
    - the file apdater is not configured to pick them up
    - the file adpater is in error status - check communication channel monitor in RWB
    - the file adapter is processing too many messages and it cannot pick up anymore - check it in messagingsystem/monitor - number of used queues
    Regards,
    Michal Krawczyk

  • Messages not processed by integration server after SP09 to SP16

    Operating System: Windows NT 2003 Standard edition Service Pack 1
    Database: SQL_Server_8.00, DBSL:640.00 Patch Level: 100
    ABAP Kernel: Non Unicode; Release: 640; Patch: 109;
    XI: Version 3.0; Service Pack Stack:16
    Host: PEARL; IPAddress: 10.1.1.13
    We upgraded from service pack stack 09 to 16 and since then no messages
    are getting routed to integration server. We tried a cache access
    though TCODE: SXI_CACHE and it said "if_http_client receive
    http_communication_failure". Then we went to ICM monitoring through
    TCODE: SMICM and saw that the http service that runs on 8000 port is
    inactive when we tried to activate it gave an error. Here is the
    snapshot from the trace file.
    [Thr 3492] *** ERROR => NiIBind: service '8000' (8000) in use
    [nixxi_r.cpp 3845]
    [Thr 3492] *** ERROR => NiIListen: NiBind (rc=-4) [nixxi_r.cpp
    767]
    [Thr 3492] *** ERROR => IcmBindService: NiBuf2Listen failed for host
    PEARL:8000 (rc=-4): NIESERV_USED [icxxserv.c 1549]
    When we tried to access runtime workbench through integration builder
    webpage it says "page not found".
    When we tried to login to the J2EE visual admin using the default
    account(J2EE_admin) it gave the
    error "http://pearl:8101/msgserver/text/logon returned empty list of
    connection parameters."
    In SAPMMC we looked at the system log and saw the error "SAP Basis
    System: Operating system call gethostbyaddr failed (error no. 0 )".
    We tried restarting the whole server but to no effect.

    since your OS is Windows try following in command at prompt
    C:>netstat -a
    or
    C:>netstat -an
    one of the above will work in NT, the list shows the listening (Open) ports and ESTABLISHED (used)..check for the 8000 which is your HTTP port.
    Also in SAP check the t-code "SMICM" and then goto services and see the HTTP services running without error or not?
    Hint: Port names are defined in services file located at C:\WINDOWS\systemXX\drivers\etc\services  file..

  • BPM Mapping error in SXI_MONITOR  Message scheduled on outbound side.

    When I try to process this message i get an error.
    Message scheduled on outbound side.
    I am using a BPM.
    MI_Source -> MI_Receive_BPM -> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
    Using EOIO in the send step Queue Name: cases
    If I remove MI_TRANS2_BPM the message reaches the bpm, but with both transformation in the BPM the message gets an error in the queue where I get a green flag 'Message Scheduled on the outbound side"
    This BPM was working on Friday but hasn't worked since. There have been no changes to the my development XI environment.  
    Some things that i have tried: Clearing the Queues (smq2), Redoing the entire scenario, clearing cpa cache.
    Please help.
    Thanks
    Chirag

    Hi,
    MI_Source -> MI_Receive_BPM -> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
    Any specific need to have the above design pattern....you can also try:
    MI_Receive_BPM -> MI_TRANS_BPM -> MI_TARGET
    You can use the message that you initially receive and apply all the necessary transformation on it and the map it to the target structure....
    As you mentioned that if you remove MI_TRANS2_BPM your message is executed successfully...it means that the BPM transformation 2 is waiting for some event / Message....
    If you need to go by the same design then you can follow the below steps to resolve the problem:
    1) Check the return code of BPM in SXI_CACHE...it should be 0
    2) Check for any errored instance of your BPM in SWWL (as mentioned in above posts)
    3) Open the corresponding Queue and see for the messages stuck in the Queue....your Queue may be blocked....your BPM will be using a particular Queue and if any message is stuck in the Queue then all the messages that follow will get stuck in the Queue....
    Now if it is only your BPM that is using this particular Queue then Delete the Queue (applicable to development environment....do not try in QA or Production environment)
    4) In SXMB_MONI click on "PE" and open the Graphic Flow to see where actually your BPM has failed (possible only if the message has entered the BPM.
    Regards,
    Abhishek.

Maybe you are looking for