Dispalaying Trace message in sxmb_moni from UDF

Dear Experts,
This is regarding displaying the Trace produced by  User Defined Function in SXMB_MONI.
I ve used a UDF in my scenario and am quite able to see the Warning Message(Trace) in the Test Environment for Message mapping.For that I ve used method trace.addWarning(" Warning Message ").
The TRACE_LEVEL  parameter has been set to 3 in SXMB_ADM->Integration Engine Configuration->Edit->Change Specific Configuration Data.
But I'm not getting any Warning Message any where under SXMB_MONI.
Please suggest in this regard.
Regards,
Navneet

Hi Navneet,
You may try using Message Bar:
More is here: http://help.sap.com/saphelp_nw04s/helpdata/en/c0/9e0e41a346ef6fe10000000a1550b0/frameset.htm
Plz don forget points, if it helped
Regards,
Pragathi.

Similar Messages

  • Unable to see custom Trace messages in Log Viewer which were defined in UDF

    Hello Experts, I am not able to see my trace messages in Log Viewer. I have a small user defined fuction which takes a variable and returns its uppercase and while do that it writes few warning level trace messages in the trace file. I've tried changing the levels from Warning to Info but I still don't see anything in my Log Viewer. At this point I am not even sure if I am looking at right place. When I test my mapping in Message Mapping's Test tab it works fine and shows me all my trace messages. But when I do end to end it is not writing anything to the trace file. I've tried to use instructions from following blogs:
    1. /people/michal.krawczyk2/blog/2007/04/30/xipi-personalized-logging-tracing(logging and tracing)
    2. /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni (logging and tracing)
    3. /people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi(for my UDF)
    but I still don't see traces in my Log Viewer. Please let me know if I am doing anything wrong here.
    Thanks in advance!!
    ==============================================================
    public String TraceVar(String var1, Container container) throws StreamTransformationException{
    AbstractTrace importanttrace; //create an instace of AbstractTrace
    importanttrace = container.getTrace(); //get trace
    importanttrace.addWarning("FiletoFileMP:MyUdflibrary: " + var1); //write first message to the trace
    // fix the naming conventions later
    String SenderName; // declare multiple vars to store infos
    String ReceiverName;
    String interface_name;
    String message_ID;
    String time_Sent;
    java.util.Map map;
    map = container.getTransformationParameters();
    //get interface info into the variables
    time_Sent = (String) map.get(StreamTransformationConstants.TIME_SENT);
    message_ID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
    interface_name = (String) map.get(StreamTransformationConstants.INTERFACE);
    SenderName = (String) map.get(StreamTransformationConstants.SENDER_NAME);
    ReceiverName = (String) map.get(StreamTransformationConstants.RECEIVER_NAME);
    //post interface info to the trace
    importanttrace.addWarning("Time Sent: " + time_Sent);
    importanttrace.addWarning("Message ID: " + message_ID);
    importanttrace.addWarning("Interface Name: " + interface_name);
    importanttrace.addWarning("Sender Name: " + SenderName);
    importanttrace.addWarning("Receiver Name: " + ReceiverName);
    //convert var1 to uppercase to make sure this function has be executed
    return var1.toUpperCase();
    Edited by: Mayur Patel on May 5, 2009 11:03 PM

    Thank you Prateek for a quick response.
    Yes I was able to see my trace messages in SXMB_MONI. Below is my the info... This is great. I am still not sure why this info is not showing up in Log Veiwer's (default trace) window. Any ideas? Since this XML file contains lots of other information I was wondering how to put my trace messages into the log viewer.
    Thanks!!
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="2" type="T">FiletoFileMP:MyUdfLibrary: Honda</Trace>
      <Trace level="1" type="T">FiletoFileMP:MyUdfLibrary: Honda</Trace>
      <Trace level="1" type="T">Time Sent: 2009-05-05T16:16:39Z</Trace>
      <Trace level="1" type="T">Message ID: 366CEAF14D3B410033AFDDB71CD2AF73</Trace>
      <Trace level="1" type="T">Interface Name: SIC_Car_Outbound</Trace>
      <Trace level="1" type="T">Sender Name: SIC_Car_Outbound</Trace>
      <Trace level="1" type="T">Receiver Name: SI_Car_Inbound</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>

  • Can Synchronous messages be reprocessed from sxmb_moni. Pls help

    Hello
    Can Synchronous messages be reprocessed from sxmb_moni
    or from any other transaction like we reprocess asynchronous messages.
    Pls advice

    Rick, it cant be done from XI for Sync messages, Raj is right. When you think about it:
    normally sender sends a sequest and waits for a response. But here you'd send the message form middleware, so sender does not await anything, because it didn't send any request... So what would it do with the response?
    If you explain us your problem in deeper detail , maybe we could advice you some other solution. This is definetely not a way.
    Peter

  • Customized alert message formed in the UDF to be sent to Alert Inbox/Email

    Hi,
    The scenario is as follows :
    1. We have an XI object without BPM.
    2. We have an UDF written inside a graphical mapping and we are raising an
        runtimeexception in that UDF. The mapping execution and further processing
        stops when this runtime exception happens. We have a customized exception
        message written for this runtime exception.
    3. When this runtime exception takes place, we can see the customized 
        exception message in the TRACE of the sxmb moni
    4. Our requirement is to have this customized message of the UDF to appear in
        the alert  inbox and alert email notification (apart from coming in the TRACE of
        sxmb  moni).
    Please let me know as to how to route the exception message present in the UDF to Alert Inbox and Alert email
    Regards
    Ganesh

    Hi,
    You had mentioned that you need to raise exception as well as provide an alert in inbox.
    Raising Exception could be done easily through your UDF.
    For raising alerts, you could use standard alert configuration (through ALRTCATDEF). However, this option is good if you are not passing any custom application specific variables.
    >><i>In this case, if message is going in to error while getting processed after raising the exception, then alert could be configured. Refer following link</i>
    By this, I meant that the message processing should go in error for alerts to fire, because they are fired for messages goin in error.
    Thus in short, for configuring alerts, make sure that:
    1. You are not using any application specific variables. However, you can use system variables like Message ID, Sender Service etc.
    2. Message is going into error state in SXMB_MONI after processing.
    Bhavish

  • Can not see messages in SXMB_MONI of ECC

    Hi Friends,
                 Here I am facing some problem with SXMB_MONI of ECC. I am doing an XI upgrade from XI3.0 to PI 7.1.
    when I am doing my interface upgrade I am unable to see messages in SXMB_MONI of ECC. As ECC is also got upgraded  now BASIS is very confused about configuration.
                 when I went through some blogs I came across some suggestions like configuration in SXMB_ADM. In ECC the integration engine configuration what I did is
                   Role of Business System         : Application System.
                   Corresponding Integ. Server    : dest://<HTTP DEST>
                  One of my doubts:: Is <HTTP DEST> is the one which we are giving in XI/PI or the new one created for ECC. First BASIS set up  <HTTP DEST> as the same one which was configured in PI. Then I went back to BASIS and tell them that ECC is having its own local Integration Engine, so we need to create <HTTP DEST> which connects to integration engine of ECC.
                   Then they created one <HTTP DEST>  for ECC. but when I am doing connection test, Http response is coming as  400 BAD HTTP Response :: protocol error. I have no idea why it is behaving like that.
                   After when I go through some more blogs they are dealing with RFC destinations LCRSAPRFC and SAPSLDAPI. when I check it in ECC I didn't found RFC destination LCRSAPRFC but SAPSLDAPI is existing in ECC.
                   more over some blogs deal with the configuration in Transaction SLDAPICUST. when I check it in ECC no configuration was done in SLDAPICUST.
                   I already configured ENGINE_TYPE, IS_URL, LOGGING, LOGGING_PROPAGATION, LOGGING_SYNC under specific configuration data of SXMB_ADM of ECC.
                   Please let me know what needs to be done and let me out of this confusion. As I am a PI developer I am unaware of all these configurations. expecting replies from gurus....
    Regards,
    DASARI

    Hi Friends,
                 Looking at some more blogs I got a doubt.
                Actually my scenario is File - XI - RFC.
                Now my doubt is whether we can see the messages which were going to ECC by RFC adapter ?
                Looking at a thread  I got confused whether SXMB_MONI can capture messages only if they are coming from Proxy or IDOC . please clarify me.
    Regards,
    Dasari.

  • Message in sxmb_moni is getting cancelled in 3 mins

    Hi Experts,
    Few messages for synchronous interfaces are going in to error status in sxmb_moni after 3 minutes even when a timeout parameter of 5mins is maintained in the module tabe of receiver SOAP adapter. Sender is ECC system. Please help resolve the issue.
    Thanks and Regards,
    Krish

    Hello Krish,
    Can you check if you can implement the note #1899735 - XI runtime: Trace of HTTP timeouts. This then writes which configuration parameter determines the timeout within the trace of the message in SXMB_MONI.
    Regards
    Eoin Kierans

  • File to IDOC scenario-no messages in SXMB_MONI

    Hi all,
       I know this is asked so many times ,I checked some links but couldn;t find out the gap where it happened.
    I am doing a File to IDOC scenario through XI mapping.
    I am not getting any messages in SXMB_MONI.
    When I check Communication Channel monitering in Runtime Workbench, it shows processing successfully, then it should generate messages in SXMB_MONI and intimate whether the scenario created is correct or not right!
    Please help.
    My scenario goes like this:
    Sender : Business service(Some file location)
    Used File adapter for sender communication channnel.
    Receiver : Business system(SAP R/3)
    Used IDOC Adapter for receiver communication channel.
    One more thing is,do I need to create logical system for Business service also?If so, where do I maintain it?(In SAP R/3 or in XI system?)
    Till now,I maintained my XI system as logical system in WE20 and I didn't create any logical system for business service in any system.Does it create main problem?

    Hi , I am able to poll the files from file location now.and I am receiving IDOC into SAP R/3 with status 56.I already created partner for file path as a logical system and assigned inbound parameters with respective message type . Even the status shows :
    An inbound partner profile could not be found with the following key:
    /LSDEMO/LS//DEBMAS////
    This involves the key fields of table EDP21:
    -SNDPRN  partner number of sender
    -SNDPRT  partner type of sender
    -SNDPFC  partner function of sender
    -MESTYP  logical message type
    -MESCOD  logical message code
    -MESFCT  logical message function
    -TEST    test flag
    I already manitained following data and there is one record in EDP21.
    SNDPRN  = LSDEMO  
    SNDPRT  = LS
    SNDPFC = LS
    MESTYP   =  DEBMAS
    MESCOD = space
    MESFCT = space
    TEST = space
    EVCODE   = DEBM
    SYNCHK = X
    METHOD = space
    USRTYP = space
    USRLNG = space
    INMOD = space
    DCART = space
    And please let me know whether I have to maintain outbound parameters  also for my partner in XI system.I didn't see any difference even I maintained it.
    And my IDOC takes another port rather than I mentioned in my SNDPRN(sender port) of my IDOC control record in message mapping.Let me know whether it's mandatory to maintain port name with SAP<XXX>convension,because IDOC in R/3 is picking the port with that naming convension.
    Edited by: Jaya on Feb 26, 2010 10:17 AM
    Edited by: Jaya on Feb 26, 2010 10:27 AM

  • No Messages en SXMB_MONI in R/3 WebAS 6.20 with Add on

    Hello everybody,
    My problem is as follows, I have a scenario with R/3 ABAP Proxy-> XI R/3 ABAP Proxy, the problem is that I can't see any XML messages in SXMB_MONI in the R/3 Receiver, not synchrnous, not asynchronous, not erroneous, not succesfull messages I can't see any type or kind of messages, the R/3 is a WebAS 6.20 with add on for integration engine so ABAP proxies could work, I've been reading some threads but I think are more for SXMB_MONI in XI than in an R/3  so tose threads talk about some parameters sucha as LOGGING and LOGGING_SYNC and TRACE_LEVEL category RUNTIME, I've read the blog:
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    from Michal but I can't fin these parameters in the R/3 they don't exist does anyone have any other suggestions? thanks in advance.
    Regards,
    Julio Cesar Ruiz

    hi,
    u have to do settings in sxmb_adm.
    follow the links;
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    other links u can follow:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/499240ed38ce62e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/00143f011f4b2ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/b714f55ffc11d5b3ea0050da403d6a/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/dd0f41026df223e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/20bc3ff6beeb0ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/81/471241043ff06fe10000000a1550b0/frameset.htm
    reward points if helpful
    regards,
    ujjwal kumar

  • No messages in SXMB_MONI for ABAP Synch Sender proxy

    Hi,
    I am doing a Scenario which involves ABAP Synchronous sender Proxy and Webservice at the receiver end. On triggering the outbound proxy from a report, i can see no messages in SXMB_MONI of the ECC system neither can i see any message in PI(SXMB_MONI). But on triggering the same after deleting the Receiver Determination in PI Configuration, SXMB_MONI promptly logs the message with error 
    "No receiver could be determined" both in ECC and PI, since there is no receiver determination.
    Note:I am not getting any System fault or Application fault in Sender report neither any response message.
    There is no problem with the Proxy settings since other proxy scenarios are working fine with same ECC system but those are Asynchronous proxy calls.
    Any Clue about this?
    Regards
    Amith

    HI,
        YOur answer is near to my problem . Can i ask you more detailed.
    I am not getting messages in SXMB_ADM. So i configured in Integration server in ECC & XI system.
    IN ECC , i am using two clients, dev & testing - so in which client i have to do configuration ? and What is the role of the business system in ECC ( Integration Server or Application server )???
    IN XI, i am using only one client 100...so i have done. here i have given Role of business system - HUB Integration Server.and corresponding destination http://host:port/sap/xi/engine?type=entry
    And while creating business systems in SLD...
    for XDC...i have given path http://host:port/sap/xi/engine?type=entry
    for EDCClient105...how can i create for proxy ...Adaper XI? is it type -
    WEB AS ABAP?
    pls reply for my mesaages?

  • Unable to send Asynchronus message to BPM from ABAP Object in ECC 700

    Friends,I am trying to send a aysnchronus to BPM from ECC. I have done the following:
    Implemented Note 1043195
    Scheduled the SAP_SOAP_RUNTIME_MANAGEMENT Jobs
    Created consumer proxy/logical port
    Tried to send message to BOM using proxy classes.
    Issue 1 :
    I can see the messages in SXMB_MONI with status "Released for Processing(WS)" But the status never changes.
    Issue 2 :
    I can See Failed messages in SOAMANAGER with Error as below.
    "A SOAP Runtime Core Exception occurred in method WSRM_CONV_FROM_STR_FORM_TO_TS of class CL_SOAP_WSRM_CRE_SEQU_RESP_NEW at position id 1 with internal error id 1009 and error text SRT: Wrong usage of SOAP Runtime classes: ("WSRM: Input value ->P0Y0M3DT0H0M0.000Sis an incorrect value") (fault location is 1 )."
    Can anyone help me how to solve the two issue's.

    Hi,
    Did you manage to solve this issue?
    Best Regards,
    Hristo

  • PL_TIMEOUT error message in SXMB_MONI

    Hi..
           I am doing File to RFC to Webservice to File sceanrio. While executing the scenario for first time i got the output. For second time execution, i got the below message in sxmb_moni.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Could you please help out why this error is coming. I have done scenario correctly.

    Gugel,
    Check this thread and the blog:
    level of trace
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    Usually 1 should be good in prod.
    Regards,
    ---Satish

  • Problem with scheduled message in SXMB_MONI

    Hi All,
    I have come accross an issue. There is a scheduled message in SXMB_MONI(with green flag). It's been there at for a long time.I can see a inbound queue name in the SXMB_MONI display. But if I am looking into the que from SMQ2, there is no pending messages in the queue. How to process this message? Can we reprocess it?
    Thanks

    Hi,
    prerequisite:
    make sure the message will not be processed in SXMB_MONI
    a) restart the message from sender system
    b) take the payload from SXMB_MONI and post it from RWB
    directly to integration engine
    test it on DEV to be sure what you're doing of course
    Regards,
    michal

  • No messages in SXMB_MONI for outbound proxy interface

    Dear All,
    i am executing Proxy-PI-File interface and I am not able to find any message in SXMB_MONI in the ECC side.
    I have done all the required proxy configurations and also the ABAP report calling the proxy is working fine but still not able to view data.
    Please guide where i am missing.
    Warm Regards,
    Nishant Jain

    1. Debugg your report which is sending data to Proxy. Make sure data is present in the internal table.
    2. Proxy configuration is client specific so make sure the client from where you are running the report has been cofigured for proxy. Check SLDAPICUST & SXMB_ADM settings once again.

  • 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

  • How to trigger alerts from UDF for file to file scenario

    Hi,
       My scenario is something like this.......
    I have lookup in which there exists more than one output value corresponding to this one input value.In such cases i need to raise an exception and trigger an alert from UDF so as to inform the functional team.
    Now this entire procedure has to be implemeted for file to file scenario.
    I am not using any RFC nor do i need a BPM.
    Entire scenario should be excuted without BPM and RFC.
    Can anyone kindly suggest me as to how to proceed for this so as to trigger alerts
    from UDF.
    Thanks in advance
    Madhu

    HI,
    Please see the below links
    Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    Regards
    Chilla

Maybe you are looking for

  • Template Builder add in not visible in word 2007

    I have installed the word plugin 4 months back till now it worked fine but one hour back when tried give sample xml word freezed so i restared the computer now i am unable to see world plugin in word . i tried to reinstall but no solution.. Thanks in

  • Two Clear System Cache Needed in Two Days since 602 Update

    I found out why my battery is worse with the 602 update. Appararently my phone is NEVER GOING TO SLEEP. I forget the name of the service that was keeping it awake. I think it was com.motorola.service.main. After the clear cache, it was good for a day

  • Distiller wont embed duplex instructions HELP!

    For some reason i can not get Distiller to embed postscript duplex instruction into the converted PDF. When i send the raw postscript file to the printer is duplex like it should but when i convert the Postscript file to PDF and then print to the pri

  • Changing standard price in Material Master.

    Hi Gurus,            Can anyone please tel me in material master Accounting1 view,is there any way to change the standard price field immediately,once its created?When I go in change mode the standard price field is disabled. Thank you all in advance

  • Photo Booth available for older Macs?

    Hi all, I've recently purchased a MacBook Pro and an iMac, both which have the built-in iSight and Photo Booth. We're having such fun messing around with that, I'm wondering if the software is available for older, iSight-equiped Macs. Many thanks. -H