Monitor - messages

Hi experts
Can anyone please explain me what happens in the following ABAP code. I'm interested in posting a message when sy-subrc = 4.
More specific:
- what does this statement do:
MESSAGE s000(rsqbw)
- what does the monitor fragment do:
            CLEAR MONITOR.
            MONITOR-msgno = '000'.
            MONITOR-msgid = 'RSQBW'.
            MONITOR-msgty = 'S'.
            MONITOR-msgv1 = mesT1.
            MONITOR-msgv2 = ' - '.
            MONITOR-msgv3 = mesT0.
            collect MONITOR.
- do I have to take the comment "Message fails the activation" serious?
CODE**************
       CASE sy-subrc.
          WHEN 0.
             .... bla bla bla....
          WHEN 4.
            DATA mesT1 TYPE c LENGTH 255.
            DATA mesT0 TYPE c LENGTH 255.
            CONCATENATE 'VSC: No exchange rate'
            m_currency 'to' xcurrency 'on'
            price_date 'in M rate'
            INTO mesT1 SEPARATED BY ' '.
            CONCATENATE 'Billing doc:'
            comm_structure-bill_num ' Item : '
            comm_structure-bill_item INTO mesT0.
            MESSAGE s000(rsqbw) WITH mesT0.
            MESSAGE s000(rsqbw) WITH mesT1.
*   Message fails the activation. Don't use without testing.
            CLEAR MONITOR.
            MONITOR-msgno = '000'.
            MONITOR-msgid = 'RSQBW'.
            MONITOR-msgty = 'S'.
            MONITOR-msgv1 = mesT1.
            MONITOR-msgv2 = ' - '.
            MONITOR-msgv3 = mesT0.
            collect MONITOR.
        ENDCASE.
      ENDIF.
Thanks in advance, regards
Torben

hi
<b>MESSAGE s000(rsqbw)  gives success message 000 defined in  message class rsqbw</b>
<b>Use of monitor</b>
Tool to record events triggered by system classes during program execution. Called via transaction code SRTM.
regards
ravish
<b>plz dont forget to reward points if helpful</b>

Similar Messages

  • How to monitor messages in PI 7.1

    Dear SAP,
    We are using PI 7.1. We would like to monitor messages in PI 7.1.
    There are the RWB in PI 7.1 and the NWAPI in PI 7.11.
    Question :
    I have a found a guide called "How To ... Monitoring Exchange Infrastructure 3.0)".
    This guide can be used to monitor message in XI 3.0 and PI 7.0.
    Do you know if there a more recent guide to implement the PI 7.0 monitoring ?
    Thanks
    Best regards
    NetWeaverAdmin

    Dear Shabarish,
    If I understand you well, even for PI 7.1 EHP1, you recommand to continue to use the RWB to monitor our PI system ?
    And we have to wait PI 7.3 to use the NWAPI ?
    Is it right ?
    Thanks
    Best regards
    NetWeaverAdmin

  • How to monitor message in BPM?

    Hi all
    I try to find in forums but I did not find. Could you please to guide me how I can to see message content in each step in BPM.
    Thanks and Regards
    Park

    Hi park,
    To monitor messages for BPM... got transaction SXMB_MONI_BPE
    there u can check each step.....
    hey... check the slide....also useful......
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18
    Regards
    Biplab
    <i>Reward with point if useful</i>

  • Monitor message in adapter engine through java code

    Hi all,
    I need to write a java code to monitor message using message ID in adapter engine.
    Is it possible to write such a code?
    If yes, then please provide information regarding to that.

    Hi,
    Check these threads
    Retrieving a message id
    Re: How to extract XI-header fields from XI-message in JAVA?
    Thanks!

  • Hi. about monitor message of integration engine from RWB.

    I  want to monitor message of iintegration engine from RWB.
    but i can not open message content tab page and queue monitor tab page.
    hint is : SSO login failed. need to  logon again.
    which user should i use to logon?
    i tried so many user not to be able to logon successuflly.

    Hi Joy,
       if you want to use the SSO functionality for any component you need to maintain it first....i think u SSO configurtion is not yet done ....and hence you are getting the above error.......
    Pls chk the below link....thsi is for PI 7.1...
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/32/1c1041a0f6f16fe10000000a1550b0/content.htm
    Hope this will help..
    Regds,
    Pinangshuk.

  • How to monitor Message Bridge runtime using WLST

    Hi Readers,
    I would like to monitor Message Bridge runtime on weblogic 8.1 using WLST script.
    Can anybody tell if there is any possibility? Is there a MBEAN avaialble for Messaging Bridge.?
    Edited by: user13254842 on 09-Sep-2010 23:17

    Hi,
    I don't recall whether the console provides a way to monitor the bridge, or whether the MessagingBridgeRuntimeMBean hangs off of some parent mbean, but you can obtain arbitrary mbeans using standard JMX query calls.
    Some scratch code that I have:
      private static MBeanServerConnection getConnection(
        String urlStr,
        String username,
        String password,
        String mbeanServer
      ) throws Exception {
        // This code implicitly requires weblogic classes to be in the classpath
        // in order to run efficiently, but its possible to get it to work without
        // any WL at all.   See
        //   http://e-docs.bea.com/wls/docs90/jmx/accessWLS.html#1118690
        // The code could be changed to automatically detect if WL is in
        // the classpath, and switch to "iiop" mode if it isn't.
        URI url = new URI(urlStr);
        Hashtable h = new Hashtable();
        h.put(Context.SECURITY_PRINCIPAL, username);
        h.put(Context.SECURITY_CREDENTIALS, password);
        h.put(
          JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
          JMX_PROTOCOL_PROVIDER
        JMXServiceURL serviceURL = new JMXServiceURL(
           url.getScheme(), url.getHost(), url.getPort(), JMX_JNDI_ROOT + mbeanServe
        JMXConnector connector = JMXConnectorFactory.connect(serviceURL, h);
        return connector.getMBeanServerConnection();
    conn = getConnection(url, user, pass, "weblogic.management.mbeanservers.domainruntime")
    String type = "JMSServerRuntime";    // not sure may need to add "MBean" or strip off "Runtime", bridge = "MessagingBridgeRuntime"
    Set xxx =    conn.queryMBeans(new ObjectName("*:Type=" + type + ",*"), null);Hope this helps,
    Tom
    Edited by: TomB on Jun 10, 2009 2:57 PM

  • Using sensors for monitoring messages

    Hi All,
    Is it possible to monitor messages using sensors on an exposed service in SOA Suite. Basically I want to monitor if any request messages have hit the web service for the last 5 minutes, else raise an email alert. The SOA composite I have is
    Web Service ---> Mediator ----> DB Adaptor
    Please suggest, how to achieve this.
    Thanks

    Hi All,
    Is it possible to monitor messages using sensors on an exposed service in SOA Suite. Basically I want to monitor if any request messages have hit the web service for the last 5 minutes, else raise an email alert. The SOA composite I have is
    Web Service ---> Mediator ----> DB Adaptor
    Please suggest, how to achieve this.
    Thanks

  • How to send message/traffic accross VME bus from NI's VME MXI-2 card So I can monitor messages via vmetro card?

    Hi,
    How to send message/traffic accross VME bus backplane from NI's VME MXI-2 card?
    So that I can monitor messages via vmetro card/BusView?
    Thanks
    DBhagat

    Hi Dbhagat,
    The VME-MXI-2 card is a type of VME controller, which is used in conjunction with a PCI-MXI-2 card that will be in an external computer. This computer is then able to send and receive messages to other devices on the VME bus, as well as monitor the information on the bus.
    Hope this helps!
    john
    Applications Engineer

  • In Message Monitoring Message showing holding status

    Hi
    Can anyone solve this problem.Its urgent for me.
    My scenario is IDoc->XI->FILE
    The file i am trying to generate is an xml file which i am dropping in XI application server using File system.
    The problem is when i am going to see the message using transaction SXMB_MONI the perticular message interface is showing waiting for acknowladgement status .
    But in message monitoring in runtime workbench the it is showing following status:
    Adapter Engine
    <b>Holding</b>
    18.11.2005 05:42:09    
    CORP_SAP_DR2_030 http://limited.com/usa/sap_appl/retail/VendorsSAPAPOToMANU
    MIIA_Create  
    BS_MANU
    I am in SP14.
    Also the output xml file is not getting created in the XI application server.
    Please let me know the solution.
    Thanks
    Debraj Roy

    Hi Debraj
    HOLDING is a status which occurs normally for EOIO (Exactly Once In Order), so your message is set to Holding means some earlier message has not gone through. So until those messages are through this message will be in HOLDING state.
    Have a look at this link which explains how to handle such scenarios.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
    cheers
    Sameer
    Assign points if it helped you

  • In Message Monitoring Message showing Error:Message

    Hi
    Can anyone solve this problem.Its urgent for me.
    My scenario is IDoc->XI->FILE
    The file i am trying to generate is an xml file which i am dropping in XI application server using File system.
    The problem is when i am going to see the message using transaction SXMB_MONI the perticular message interface is showing waiting for acknowladgement status .
    But in message monitoring in runtime workbench the it is showing following status:
    Adapter Engine
    <b>Holding</b>
    18.11.2005 05:42:09    
    CORP_SAP_DR2_030 http://limited.com/usa/sap_appl/retail/VendorsSAPAPOToMANU
    MIIA_Create  
    BS_MANU
    I am in SP14.
    Also the output xml file is not getting created in the XI application server.
    Please let me know the solution.
    Thanks
    Debraj Roy

    hi debraj..
    is ur mesage ie sxmb_moni in red staus or scheduled status...??
    if in scheduled cud be errors with queues ...delete ur queues with tcodes : smq1 and smq2...
    and also hopefully u must have configured ur idoc correctly..
    https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    regards..
    vishal

  • How to monitor messages on PI 7.3 AEX

    Hi Experts,
                       We are going to use PI 7.3 with a Java only service (AEX) for our project. While going through the SAP documentation for 7.3, found the following link which mentiones in a Note :
    "When you use the Advanced Adapter Engine Extended (AEX), the Runtime Workbench cannot be used for monitoring purposes"
    Link : http://help.sap.com/saphelp_nw73/helpdata/en/af/d36bc882e846f29ddef9dc1741527b/frameset.htm
    I searched in SDN and service marketplace but could not find any document specific to AEX monitoring only where 7.3 is used as a Java only installation.
    Do we need to do the monitoring via Solman only in this case?
    Would be helpful if anyone can provide me with any helpful links
    Regards
    Shiladitya

    Hi,
    1.Go to Monitoring tab -> Adapter Engine -> Message Monitor.
    When accessing Message Monitoring, you initially see an overview of messages according to a time range.
    2.Integration Directory offers one-click navigation from Communication Channel editor to the web channel monitoring using new channel PING function. This enables testing a channel in the local channel monitor .
    3.Support only Java-based adapter types.
    regards,
    ganesh.
    Edited by: ganesh.nijampudi on Dec 13, 2011 12:56 PM

  • Adapter Monitor message--hepl me out

    hi,
    In a file to file to scenario i am getting the following message in Adapter monitor
    <b>Can you clarify me what exactly is the error ?</b>
    Receiver Adapter v1027 for Party '', Service 'YAMAHA_BS':
    Configured at 18:31:43 2008-10-17
    Up and running - no message processing until now     "

    Hi Pankaj,
      This is not an error msg. XI receiver adapter has not processed any msg until now. If the sender has picked the file, check it in SXMB_MONI, may be there are some error. SO your msg is not going till receiver file adapter.
    Regards,
    Jai Shankar.

  • How to monitor messages going out of XI? Kindly help!

    Hi Experts,
          I have a XI scenario where my IDOC message is going out from XI to TIBCO. I am using the JMS adapter as the receiver here. Once message is sent from XI we don't know if it really reached TIBCO?
    How do we monitor such messages?
    Basically my requirement is that there should be a email sent to the stakeholder once TIBCO fails to receive the message even though XI has sent. The stakeholder
    here is the business who just need to get an email alert. The objective behind this requirement is that, end to end XI scenario can be monitored and business does not have to check XI and TIBCO separately. They will no exactly where is the problem.
    How to accomplish this? Please provide suggestions.
    Thanks
    Gopal

    Hi Gopal,
    If you have already configured the alert rules then you just need to configure SAP connect and maintain the e-mail address for all the users attached to your alert category. You can go to transaction SU01 and maintain e-mail address for the each user attached to the alert category and the e-mails will automatically be sent if SAP connect is configured.
    Refere the link below for SAP connect configuration.
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    You will need to set the flag under the RWB for e-mail as well.  You will need to login the RWB for each user and go to Alert Inbox - Personalization. Under the Time-Independent Delivery you will to check the box "Mail" as well.
    Also check Michal's blog on Alert Config:-
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Hope this provides you a solution.
    Regards.
    Praveen

  • HT201304 Is there a way to monitor messaging on the ipad?

    Is there a way to monitor a child's use of messaging on the iPad 2?

    Try getdefender.com. I think it will work if your child is using your home wifi, but not if they are using 4g/3G. The child will know you are using it.  You can try http://kids.getnetwise.org/tools/ for other tools.

  • PI Monitor Message: "Hitherto shalt thou come, but no further". No lie   :)

    In attempting to troubleshoot a recent issue I attempted to use the PI Message Display Tool. This is using URL: http://<myserver>:<myport>/MessagingSystem/monitor/monitor.jsp
    The initial page displays fine. I can select 'Audit Log' for a message without issue. Same is true if I select 'Message Details' on that same screen.
    If, after I have selected 'Message Details' I then click the pushbuttom 'Display Message Bytes' I am redirected to another page with the error message: Hitherto shalt thou come, but no further
    I can't make this stuff up.
    There is one other post on the SDN where someone found the same message, but there is no post as to how one gets it and how to resolve it so the Message Bytes can be seen. [See Here|invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error;
    I'm guessing its a security or config thing I need to get Basis involved in to resolve, but need to give them more specific details. Anyone seen this before?
    Thanks!

    Hello,
    This functionality is hidden for your release.
    This can be referred from note 1419607.
    The payload content view of the messaging system monitor is protected by
    web role (UME action) "content" of application com.sap.aii.af.ms.app.
    Previously, anyone with the standard monitor user role was able to view
    not only the message headers but also the message payload contents that
    may contain business sensitive information.
    But if you still want to use this tool and to view the message payload,
    the logged in user needs to have a role which is assigned the
    UME action "content" of the com.sap.aii.af.ms.app as mentioned in the
    note.
    We recommend customers using the officially supported Message Monitoring
    tool in RWB.
    Kind regards,
    Sarah

  • False Monitoring Message in SXMB_MONI

    Dear All,
    We are working on a simple File-XI-File scenario. The reciever communication channel is inactive and the file is not getting created at the required destination.
    It is giving an error message in Adapter Monitoring but its showing a success message in SXMB_MONI.
    I am really surprised seeing this.
    I am using XI 3.0 with SP-15. Please tell me what might be the probllem in the scenario or in the server as i am getting a success message in SXMB_MONI.
    Warm Regards,
    N.Jain

    Hi,
    >>
    when the receiver communication channel is inactive and the file has not got created at the target end then how it can show a success flag in SXMB_MONI?
    It is showing success in sxmb_moni because in sxmb_moni ,you can monitor only the ABAP part of the pipeline. Whereas, if you goto message monitoring in RWB, you will find some error like "Waiting". also the adapter monitoring tracks the error as you see it
    >>If I am doing Content Conversion at the receiver file adapter with some wrong parameters, it is showing error in the Adapter Monitoring (Red Status of Comm Channel) wheras it is showing a success message in SXMB_MONI.
    Again, the concept remains the same. Errors related to the CC are not of a concern to SXMB_moni. At sxmb_moni, it shows the status of the message processed only until the message has been taken from the Outbound Queue. hence, you see success message in sxmb_moni
    regards
    krishna

Maybe you are looking for

  • RCA doesn't work with timeout

    Hello experts, I have finished updating our SolMan 7.1 from sp08 to sp11. When I checked whether all features are working, I found that Root Cause Analysis(RCA) is not working. Please see the following images. When it was the SolMan 7.1 sp08, RCA was

  • I-phone wont restore

    my phone is telling me i need to restore but when i plug in to itunes it tells me i need to enter the pascode but my phone wont let me, any help

  • Read Values of Report Filters through VBA

    Hi, I am actually trying to read the values of report filters through VBA. In the image below I want to read the values for the Report Filter State and Team. Can you please help me with some sample code. Any help in this regard will be highly appreci

  • Does SAP ME support any other 3rd party print sw's that Loftware or Adobe?

    Hi, does SAP ME support for example for Codesoft or Bartender or are Loftware and Adobe only 3rd party print softwares that are supported? Regards, - Jukka

  • "System is running low on memory" when exporting.

    I'm using Premiere Pro CS3 (which, I'm aware has issues with system memory due to it being a 32bit program.) It only seems to happen when I tie all my video segments together. It warns me to "save my project and proceed with caution," but as I export