In SXMB_MONI with(Green Flag) "Message Scheduled Outbound Side" (using BPM)

Hi All,
I had a Scenario where I am using BPM (to collect the Idocs received from Sender SAP R/3 system) and create a File as target structure. But one of the entry i found as (Green Flag) with status "Message Schedule Outbound Side". But the remaining messages are processed successfuly through the same BPM.
I even found that the when i double click on the PE of the "Green flag entry". its leading to "qRFC Monitor(Inbound Queue) with empty entries" instead it should lead me to the workflows Log screen. Since other successfully messages are leading to workflow log when i double click on the PE.
Please let me know your comments on this.
Thanks,
Shailaja

Hi Gouri,
I am getting gray flag in the column (Status - XML Message Status) and green flag in Colum (C- Outbound Status). So this Greem flag itself is creating the problem, because of this itself my messages is not getting processed and not delivered to target system.
I have even checked SXI_CACHE, when i click on the Integration Process-- Right click on my BPM and  select the "Activation Log" .. here a message which i had
I  Language not set. Using system default E
The container element MULTI_INVOIC02 is written, but not read or exported
The container element MULTI_INVOIC02 is written, but not read or exported
So the  "MULTI_INVOIC02 " is used in the Container Operation  & Multimapping of my BPM. I suspect that error as taken place in doing Corelation. Do you have any comments on this. If i get any error in Corelation .. how can i debug my BPM.
Thanks,
Shailaja

Similar Messages

  • XI messages status "Message scheduled on outbound side" with Green flag

    Dear,
              On My XI system , i have too old messages and i want to clear those.
              In moni messages status is "Message scheduled on outbound side" with Green flag .
             When i am trying to cancel these messages i am getting a popup saying
              "Cannot cancel message because of it's status"
              And there is no queue entries for these messsage on smq1 or smq2 (perhaps deleted by someone)
              I just want to cancel these messages, please tell me if there is any way .
    Thanks in Advance,
    Sandeep

    Dear Sunil,
                    Thanks, these meesages are neither active nor used anywhere,
                    Problem is somebody has manually deleted entries for these messages from SMQ1 and SMQ2.
    Regards,
    Sandeep

  • Why do I get an error message when I try to sync my IPAD with ITunes? Message reads Cannot be used because Apple Mobile Device Service has not been started.

    Why do I get an error message when I try to sync my IPAD with ITunes? Message reads Cannot be used because Apple Mobile Device Service has not been started.

    AMDS for Windows
    http://support.apple.com/kb/TS1567

  • Issue with external WSDL in own Outbound interface using SOAP UI

    Hello,
    this is the issue:
    a) Imported an external WSDL to PI as external definition
    b) Added external definition to a sync. Service interface
    c) Completed configuration and created a WSDL from the sender agreement in Directory (this is PI 7.1)
    d) imported the WSDL from c) to soap UI which we are using for testing interfaces
        (already successful with other sync interface where the WSDL from c) contains a message type created in PI
    e) testing this interface results in an error:
    Error message in MONI:
    SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_TestTrigger_Testm~</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns0:props. Value</SAP:P3>
      <SAP:P4>s missing in queue context. Target XSD requires a~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_Test_Testm; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:props. Values missing in queue context. Target XSD requires a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    This is the message as it looks like in soapUI:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://jusit.hp.com/sys/common/">
       <soapenv:Header/>
       <soapenv:Body>
          <props>
             <com:Property>
                <com:PropertyName>A</com:PropertyName>
                <com:PropertyValue>1</com:PropertyValue>
             </com:Property>
          </props>
       </soapenv:Body>
    </soapenv:Envelope>
    This is the payload in MONI as it comes from SOAP UI (using http connection):
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Mapping der Request-Message -->
    <props xmlns:com='http://jusit.hp.com/sys/common/' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
             <com:Property>
                <com:PropertyName>A</com:PropertyName>
                <com:PropertyValue>1</com:PropertyValue>
             </com:Property>
          </props>
    This is the payload as it looks like in Mapping Test in Enterprise Repos. from implemented ext.def.:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:props xmlns:ns0="http://jusit.hp.com/sys/common/">
       <ns0:Property>
          <ns0:PropertyName>A</ns0:PropertyName>
          <ns0:PropertyValue>1</ns0:PropertyValue>
       </ns0:Property>
    </ns0:props>
    Is there any restriction with external definitions to be used in PI which could be the reason for this strange behaviour?
    The implementation contained a message type created in PI earlier which was running successful!
    The problem came up with the external definition!
    Thank you for your help!
    Best regards
    Dirk

    Hi,
    the problem is not the mapping as it is 1:1 with the same message on both sides.
    But when I replace the "com"s with "ns0" and "props" with "ns0:props" in the request in soap UI
    the payload will be accepted and mapping is successful!
    So the issue is about the modification soap UI is doing on the imported WSDL.
    a) Generated request in soap UI from imported WSDL:  FAILS in PI!!!!
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://test.ap.com/sys/common/">
       <soapenv:Header/>
       <soapenv:Body>
          <props>
             <com:Property>
                <!You may enter the following 2 items in any order>
                <com:PropertyName>?</com:PropertyName>
                <com:PropertyValue>?</com:PropertyValue>
             </com:Property>
          </props>
       </soapenv:Body>
    </soapenv:Envelope>
    b) Modified request in soap UI from imported WSDL: WILL BE PROCESSED IN PI
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://test.ap.com/sys/common/">
       <soapenv:Header/>
       <soapenv:Body>
          <ns0:props>
             <ns0:Property>
                <!You may enter the following 2 items in any order>
                <ns0:PropertyName>B</ns0:PropertyName>
                <ns0:PropertyValue>5</ns0:PropertyValue>
             </ns0:Property>
          </ns0:props>
       </soapenv:Body>
    </soapenv:Envelope>
    But is there any possibility to avoid this effect in soap UI?
    Regards
    Dirk

  • Messages stuck with green flag A. Status (XI 2.0)

    Hi All,
      we are running an instance of XI 2.0 and for this interface in particular we are pulling a file off an FTP server via the file adapter and pushing it through to a remotely enabled function which creates a batch session on our SAP R/3 4.6C instance.  The interface used to work but we have now changed the name of the function within R/3 then made the corresponding changes in XI.  Since we've done this the messages appear to be getting caught up somewhere between XI and R/3.  The XI monitor (SXMB_MONI) shows in the A. Status field a green flag.  To me this would imply that it is processing on the remote end (R/3) however there has not been any batch session created.  This flag remains green indefinately.
      I thought it could have something to do with XI caching some old objects so I ran tx SXI_CACHE and did a complete cache refresh (F6).  This did not change anything.  I have cleared all messages out of the queue using tx SM58.  Then after reading another post in this forum I ran tx smq1 and smq2 to clear messages out of there but there was nothing in those queues.
      When I push another message through it will sit in SXMB_MONI with the A.Status field having a green flag.  Then I look in tx SM58 and find that the status text field displays "Transaction executing" for a very long time.  Eventually it changes to "timout during allocate of registered program / CP" but the message is not going through.  The only thing that has changed has been the name of the function in R/3.
    any thoughts?

    Hi Mark,
      under the 'Target System' column in transaction SM58 it says "AI_RFCADAPTER_JCOSERVER".  When I test it out it seems to work fine ... no errors.
    When I looked at the trace labeled "Adapter_rfc.log" within the adapter engine it lists the following error.
    >>RfcAdapter> Tue Oct 11 07:46:12 CDT 2005>>
    > cannot load function template for Z_XI_INTERFACE_TEST1
    > exception occurred, detail:
    > com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: CPIC-CALL: 'C
    > MRCV'
    I'm not sure why we get this error.  The function template Z_XI_INTERFACE_TEST1 does exist and we were using it before.  If I run the interface again this error will no longer appear.  It almost seems like it will display only once a day.
    any other thoughts?

  • Multi-mapping with message bundling but without using BPM

    Hi all,
    I have a requirement to bunch specific no. of records (say 50) from source message and create separate target messages for those bunches. For example, if the source message has 120 records, then there should be three separate target messages created containing 50, 50 and 20 records each.
    I am wondering whether this multi-mapping is possible without using BPM, as the typical no. of records in the source message are in the range of 600 to 800, and rarely (twice or thrice a month) they shoot up to 2000. So my concern is whether BPM would affect the performance. We are using PI at SP12.
    Regards,
    - Shankar.

    Sorry for late reply.. Well the sender is a file system, which sends a single XML file containing multiple records. (I mean I have a sender file adapter that polls periodically from a specific path and picks up the file when it is available)
    The no. of records in the source file may be different in each run. The requirement on the receiver system is that it can handle a file which has maximum of 'n' records only (say 50 in my example)
    Now the sender file can contain any no. of records. It may contain 10 on some day, or 200 the next day, or 120 on the third day. But on the receiver side, I want the files to be created such that each will contain AT MAX 50 records.
    So, if source file has <=50 records, then there will be only 1 target file having the same no. of records.
    If source file has between 51 to 100 records, then there will be two target files. One will have 50 records, and the second will have remaining records.
    And so on..
    Regards,
    - Shankar.

  • Detecting and diverting error messages to diffierent receiver using BPM

    HI Frndz,
    I am working on BPM where i need to detect the message is in error or not, if is it is error it should divert to mail adapter otherwise it should go into idoc adapter(Succesful messages).
    I think thorugh BPM we can achive this but i am struck at a point "how only the error messages will get diverted into the mail adapter" ........................
    Points will be rewarded based on the solution provided........
    Regards
    Sai Ganesh

    Hi Sai,
    Create a Block and place your logic like
    receive step to receive the message,
    some operation as per your business logic.
    send step to send this message to IDOC adapter.
    Also create a exception branch in this block to capture if any error occured while processing a message. In the exception branch, insert a send step where you will be sending this error message to MAIL ADAPTER.
    Hope this helps!!!
    Chrish

  • Deliver file with read/write properties on target side using receiver file

    Hi All,
    Our file-to-file scenario works fine. By default, PI creates file on target directory with the 644 permissions. Files coming inbound from PI are not read/writable to the group. Currently the files from PI are coming across with 644 permissions and they should be 664 or 660. Is there a way to generate read/write files on targer side using SAP PI??
    Thanks in advance,
    - Riya Patil

    Hello,
    Try using Run-Operating system command after processing parameter with the below mentioned command:
    chmod 0755 /usr/sap/tmp/test/*
    where:  /usr/sap/tmp/test/ is the directory path location.
    Br,
    Rahul

  • Collecting and bundling messages from multiple interfaces using BPM

    Hi friends,
    I am currently working on bpmpatternmultilf(without condition).
    In my source i have 3 messages having same message type.
    Message type:
    ID
    Overall no
    In the source i am placing 3 files like
    message1.txt ID 100 Overall no 200
    message2.txt ID 100 Overall no 300
    message3.txt ID 100 Overall no 400.
    I have used correlation element  as ID.
    But in the target file I am getting the result as ID 100 Overall no 200.
    Overall no 300 and 400 are not present?
    I understand that the messages are not getting collected and bundled?
    Please help me out on this.
    Thank you in advance

    Hi, deepak:
    To collect the message of same message interface, if you know that all the files will exist for a while,
    and next bundle of file will come to the folder after a period of time saying 30 minutes.
    You can have your receive step, followed by container operator to append individal messages to multi-line elements.You will need deadline block, put timeout to saying 10 minutes.
    This to say that you collect all the messages in 10 minutes, and put them in multi-line elements, now you collected all the messages with different ID.
    Next you need to design  you multi-mapping, since your message is based on ID, you multi-mapping is m:n
    Eventually, you will need transformation step to call the multi-mapping, map the multi-line elements to n target messages. Your final send step send n files to your target system.
    Regards.
    Liang

  • Sending the fault message payload to sender using BPM.

    I have the scenario where BPM splits a file into multiple record and each record calls webservice.
    For a successfull call a success response is generated by web service . For a failed transaction a fault message is sent back which needs to be delivered to the sender's mail ID.
    I am not able send the fault message payload which contains the error message details to sender ..
    Please suggest what can be done for such a scenario. Is there any way by which error details can be sent to sender?
    Edited by: trisha.b on Nov 28, 2010 7:23 PM
    Edited by: trisha.b on Nov 28, 2010 7:29 PM

    Hi,
    Check the blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22017.. [original link is broken] [original link is broken] [original link is broken]
    You can handle the exception on your web service and model a Notification task so that you can send e-mail notification to the sender in case of exception
    Regards, Anil

  • The BPM stops, with a "green flag " in the sxmb_moni enrty

    i have a file to file with a BPM,
    the BPM contains:
    1. a loop which runs five times which contains a receive step with [start transaction] and a using and activating correlation value.
    2. a container step that appneds the messages picked one by one through each iteration of loop into a multiline container.
    3. a send step.
    the purpose is to collect 5 files with a particular correlation value and merge them and send them,
    the problem is, as soon as the file is picked and the message is received at the receive step, the BPM stops, with a "green flag " in the sxmb_moni enrty,
    i cant make out anything from the PE in the moni entry....
    is it some problem with the correlation......help me out...

    yes Raj,
    i have a transformation step ...that transforms the content of the multiline container into a normal container before sending.............
    this is the problem, i can never see the wait symbol, and
    its sometimes strange, some times the process ends with "red flag" on the outbound side (right hand side of the moni entry)...
    i can see the graphical............
    i forgot to mention...all the steps are in a block....
    so in the graphical wf log,  i can see an error at the entry of the block, except that there is no error.....

  • BPM Mapping scheduled status in SXI_MONITOR Message scheduled on outbound

    Hi All,
    Please help me how can i solve following issue.
    My Scenario    WebService - PI - Proxy.
    One of the message gets an error in the moni. where I get an green flag 'Message Scheduled on the outbound side".
    The design was working fine earlier. It is giving problem now.
    I tried following options:
    1) I tested the mapping - it is working fine.
    2) I checked Cache - the status is fine.
    3) I checked Inbound queue(SMQ2) there are no messages stucked in the queues or saved in (smq3).  Here i am using EOIO.
    4) I checked SWWL - there are message with COMPLETED and STARTED but there are not ERROR messages.
    Could any one please tell me - Can i DELETE - COMPLETED messages from SWWL? If i delete what is going to happen.
    Please advice
    Thanks
    VR

    Hi,
    In SXMB_MONI click on "PE" and open the Graphic Flow to see where actually your BPM has failed
    Also suggesting to check both the Queues....SMQ1 and SMQ2.....
    delete an instance from SWWL only if it is in error state.....
    regards,
    Abhishek.

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

  • Green flag to Red flag in SXMB_MONI

    Hello experts,
    During the FILE -> BPM -> RFC scenario, i use a mapping step to intentionally throw an exception to make application errors visible in the monitoring logs (SXMB_MONI).
    This way a red flag on the outbound status field is shown if the condition to execute this mapping is met.
    This works well for its intended purpose in a scenario, but doing the same approach for another scenario (everything is done exactly the same way), the second scenario shows a green flag on the outbound status field.
    the Greed flag dictates "message is scheduled on the outbound side", once i click the "PE", i can see the queue has failed in the BPM.
    I am not clear as to why it displays green flag instead of a red flag. The requirement is to display the red flag. (and so that no queue-clearing is required).
    Any ideas on how to achieve this is greatly appreciated.
    Thanks.

    hi, thanks,
    when i click to the Queue ID, it opens the SMQ2 (qRFC inbound) .. here i can only see 1 LUW displayed, with SYSFAIL status. This is because of the intentional exception thrown via a mapping step.
    Instead of failing at the queue (and get a green flag in sxmb_moni), it should show error status in sxmb_moni with red flag in the "outbound status" field.
    If i clear this and unlock the queue, the next execution again falls into a failure in queue status (and a green flag in the sxmb_moni).
    I appreciate any other ideas.
    Thank you.

  • Message Scheduled But is not delivered

    HI
    I have one large message which is broken in to smaller packets and in r3 and sent to the XI system via abap proxy . My scanario uses a BPM where i have a loop which has a correlation . I collect one message send it and then again the loop collects and sends the next message.
    My problem is  in SXMB_MONI out of the eight small messages one message  shows a green flag (Message scheduled on the outbound side ) . It is not scheduled but not delivered from the IEngine  to The PE. Rest all the message are delivered properly.
    How can debug such a scenario.
    regards
    Nilesh Taunk

    Hi,
            In SXMB_MONI, did you get a message like this as seen below:-
    "<b>Message <MessageID> parked at the process <ProcessID> but not yet processed</b>"
        Solution:
                        Check your correlation defined. Use <b>local correlation</b> instaed of global correlation, i.e use the correlation in your block step. This should solve the problem.
      Also see the SAP Notes below:
    <b>898131</b>  :     BPE-RUN: Messages lost when processes are incorrect.
    <b>894906</b>  :     BPE-RUN: Finding unprocessed messages.
    Hope this resolves the issue.
    Regards,
    Dhana

Maybe you are looking for

  • How to set the duration of each pic in a slideshow (and also how to pan and zoom)

    I have about 30 pictures I would like to add to a slide show. When I add them the duration for each picture is set to 6 seconds. I would like this changed to 4 seconds. But manually changing the duration of each individual picture, one by one, is a s

  • MacBook Pro retina 13" vs 15" what should I buy?

    I was previously using a 15" retina entry level, no upgrades.  I ended up selling it to grab a new iMac and absolutely love it.  I find myself working remotely and require the use of CS6 photoshop, dreamweaver, Xcode and other developer software.  I

  • With vodafone usb modem broadband, it takes mozilla 5 mins. to access a website;Mozilla 1.7 takes 30 secs.

    I have vodafone broadband mobile lite (USB modem) and after selecting a website, it takes up to 5 mins. to get there and open it. (and by the way, IE is the same), whereas old old Mozilla 1.7, which is what I am submitting this through, takes 30 secs

  • New user cannot sign in

    I set up my new printer.  Logged my email, went to sign in but haven't got a password.  So I tried  to register and it told me I already existed.  So I clicked Forgot password but it doesn't recognise my email address.  Help!

  • More Leopard Problems:  Spotlight and Screenshots

    Hello, 1. When I first upgraded to Leopard, my screenshot utility worked (CMD-Shift-3/4). It has since stopped... any ideas? I see that at least two other people reported the same problem here: http://discussions.apple.com/thread.jspa?messageID=57493