Location and Category in sap xi logging

I deployed sap sample adapter in pck, now I can see the log outputted by trace object with category, but i cannot see the trace info outputted by the trace object without category, who can help me?
Message was edited by: Spring Tang
Message was edited by: Spring Tang

Hi Tang,
The following link( PDF file) gives detailed explanation of logging and tracing in SAP.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8314cb90-0201-0010-f586-9155dba8934d
check this out.
regards,
P.Venkataramanan

Similar Messages

  • Sap audit logs

    hello SAPers,
    i am using r3 4.7. i need to setup audit logs. can any one provide step by step instructions to do that? i would really appreciate.

    Hi Novice,
    SAP R/3 supports an internal auditing system, called the Security Audit Log. Each SAP application server maintains a daily audit file. You can specify the name and location of the Security Audit Log using the rsau/local/file profile parameter.
    To activate the internal audit system, set the audit log parameters as described in the following table :
    Audit Log parameter settings Audit Log Parameter Set value to...
    rsau/enable 1
    rsau/local/file path to audit log file
    rsau/max_diskspace/local maximum space to allocate for the audit files
    rsau/selection_slots  3
    rec/client  ALL
    Note:
    The rsau/local/file parameter contains the entire path name to the audit logs, as well as the file name. The file name must include + symbols to contain a variable datepart. Do not include a file extension in the file name. See the following examples for clarification.
    This example shows a valid path and filename:
    /usr/sap/machine1/log/audit_++++++++
    This example shows an invalid path and filename; the filename does not include a datepart:
    /usr/sap/machine1/log/audit
    This example shows an invalid path and filename; the filename includes a file extension:
    /usr/sap/machine1/log/audit_++++++++.aud
    After you set the audit log profile parameters, start transaction SM19 to specify which events to log in the Audit Security Log.
    if it helpful reward points are appreciated

  • How to import this package com.sap.tc.logging.location?

    Hi, all,
                I can't import this package into programming area since i'm using com.sap.tc.logging.location. I think my developer studio does not have such package. Do you know how do find such package and import it in the studio?
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(Exc_EJB_Component.class);

    hi
    try to see your package is avalible into Navigator prosective. if it has then import it from here itself
    thanks

  • Stock transport order between storage locations and assignment category type E not in MRP

    Hello Gurus,
    I have a stock transport order between 2 storage location which belongs to the same plant. Besides the stock transport order is allocated to a sales order (account assigment category E). When I run the MD03, the system take into account the quantity of the stock transport order as a future entry and this is wrong. I need that the MRP has not into account the stock transport order as an entry.
    As an important information, If I modify the stock transport order removing the account asignment category E (sales order), then the MRP doesn't take into account it, so this is correct.
    Could anybody tell me how to get it?
    Thanks in advanced.

    Laura,
    It is normal that MRP will consider an STO as a receipt element; this is basic planning.  It is unclear to me why you think you do not want it to do so, but I will assume you have some logical reason.
    Contrary to what some others may have suggested, changing the scope of check for availability checking has no effect on which elements are considered for MRP.  MRP is a completely separate functionality from Availability Check.
    For Location > Location STOs (within a plant), then, you normally have the receipt element of the STO in the destination storage location, and the requirements element of an equal amount in the source storage location.  Net of these two elements is zero, unless you have already issued the STO at the source location.
    Changing the Account assignment from "E" means that the STO will not be relevant for your Sales order (in other words, when you receive this STO into the destination storage location, it cannot be used for your sales order).  In a general MTO scenario, it also means that the proceeds of this STO (the stock you received) cannot be used for ANY sales orders.
    One way that some people make an STO 'not relevant' for MRP is to alter the destination storage location such that it is not relevant for MRP.  You can change the MRP relevancy of the storage location in MM02 > MRP4 tab
    Best Regards,
    DB49

  • The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the

    When i tried to login in inbrowserediting.adobe.com i see that:
    The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user.
    What does it mean? What is problem?

    Hi,
    I have just created my First website using Muse and Its all been uploaded to my FTP server but i cant access the in browser editing which was the whole reason why i re-done the website for my client using muse
    its saying the following
    "The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user. server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user."
    Yet i Can access my website fine "www.calmwood.com.au"
    My ftp server responds to either the IP Address or the DNS Address www.calmwood.com.au
    so i am not understanding how it thinks its different. when its fully referenced
    any help would be appreciated.
    thanks

  • Tmp file locations and Log file locations

     

    I have been having a real headache too trying to get WebLogic to put all its
    log files and temporary files in directories that I specify. It seems that
    WebLogic has a mind of its own as files get created all over the place.
    Trying to configure these really basic settings has proved extremely
    awkward. Why is it such a nightmare to do?
    "Scott Jones" <[email protected]> wrote in message
    news:3af0179d$[email protected]..
    OK, I changed the relative path for the log files.
    1. I am still getting app-startip.log
    app0000.tlog
    in the root directory and not in the ./logs directory. Any other
    settings?
    2. I sill do not know how to redirect the tmp_ejbdomain.port directory.
    Any suggestions?
    Scott
    "Sanjeev Chopra" <[email protected]> wrote in message
    news:3aef0a42$[email protected]..
    "Scott Jones" <[email protected]> wrote in message
    news:3aef05be$[email protected]..
    I a domain configured and running with two applications. WLS 6 is
    placing
    the following logs for each application at the same dir level as
    config
    dir. It is also creating tmp_ejb directory at the same level.
    1. How do I tell WLS 6 to place log files in a diff directoryIn Admin Console: modify the property Server -> Configuration ->Logging ->
    FileName
    In config.xml: the 'FileName' attr can be set to an absolute path OR apath
    relative to Server.RootDirectory
    <Server EnabledForDomainLog="true" ListenAddress="localhost"
    ListenPort="7701" Name="managed"
    StdoutDebugEnabled="true" ThreadPoolSize="15">
    <Log FileCount="10" FileMinSize="50" FileName="managed.log"
    Name="managed" NumberOfFilesLimited="true"
    RotationType="bySize"/>
    </Server>
    2. How do I tell WLS 6 to place tmp_ejb directories in a diff
    directory
    >>>
    Thanks,
    Scott

  • Java mapping how to use com.sap.tc.logging

    Hi I would like to know how to use logging within a java mapping.
    I know i have to use theese classes : Location, Category, ConsoleLog but i dont know how.
    1) How to load the P1, P2, P3 and P4 tags in the Error tag of the SOAP header watched in SXMB_MONI
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">STREAM_TRANSFORMATION_EX</SAP:Code>
      <SAP:P1>SwissMedical/Interfaces/IFI002/LiquidacionMapping~</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Java mapping of application triggered an exception</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    2) How to load and activate log in the DIAGNOSTIC tag of the SOAP Header.
    - <SAP:Diagnostic xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:TraceLevel>Information</SAP:TraceLevel>
      <SAP:Logging>Off</SAP:Logging>
      </SAP:Diagnostic>
    Thanks!!

    As already suggested, you can display custom messages using AbstractTrace.
    trace = (AbstractTrace)param.get( StreamTransformationConstants.MAPPING_TRACE );
                        trace.addInfo("G1-CYCLE is missing");
    For more on coding front refer:
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/StreamTransformation.html
    To get this trace seen in MONI, set parameter TRACE_LEVEL in SXMB_ADM to 2.

  • SAP GUI with SNC logon and Hummingbird Exceed - SAP GUI window size issue

    We have discovered an issue when SAP GUI 7.10 is used to logon via SNC and Hummingbird Exceed is used on the same workstation to logon to a UNIX system either via x-windows or telnet.
    When the user logs onto a UNIX system using Hummingbird Exceed, then uses SAP GUI to logon to a SAP system with SNC authentication, the SAP GUI authentication works, but the favourites list is not fully displayed and has to be resized before any of the entries are available.
    Has anybody else seen this issue, and do they know if there is a fix available ? We wondered if there might be an issue with fonts or some other sort of conflict between Exceed and SAP GUI, but it is strange that the problem only occurs if SNC authentication is being used, and when userid+password is used to logon to SAP the problem does not occur.
    Cheers,
    Tim

    Hello Tim and Wolfgang,
    I was curious too as I found it interesting... so I tested a few combinations, but could not reproduce what Tim has described, at least not before my CPU reached 100% and the applications stopped responding (~2GHz processor, 1GB RAM, 48 kbps connection, latency ~ 2 x width of the Pacific Ocean, but Backend 7.00!).
    However I did notice some indications which might be a help (based on 7.00!):
    Back in 4.?? there was a problem in that large menus could not be searched(!). Sorry, I don't have access to SAP now, but from memory the note # was 444043 (or very similar) and introduced a form routine for large menus - from a printscreen I still have the message number which led me to the note - 'I476(S#)'.
    The system certainly distinguishes between MENU_TYPEs and the above note corrections could be found in several locations relating to the SAP menu 'S', the role menu 'A' etc, but I could only see that for favourites 'F' this is implemented for the menu search (when searching, not when loading).
    @ Tim: Ask you customer to create a favourites menu which only has 1 node or max 2 (certainly not more than 4!) and ~ 20 executable objects in it (not more than 30!)? Can they under any conditions achieve the described problem with such a menu?
    If not possible to reproduce, then the closest I could guess is a maximum limit of 4 nodes and max 30 objects for a 'F'avourite menu, before it is a minimum candidate for "performance problems" and consideration to be converted to a role ('A'ctivity group) menu instead.
    Sorry that I can only help by speculating, because I could not reproduce what you have described.
    Hopefully this problem will not happen to me in the New Year, and hope you will solve it for the rest of the year
    Cheers,
    Julius
    Updated memory (not RAM) by: Julius Bussche on Jan 3, 2008 9:07 AM

  • Missing package com.sap.tc.logging, where to download it?

    Hi all,
    I require this package in order to run my program based on webdynpro and Bw. specialing its looking for com.sap.tc.logging.location . The detailed exception is laready posted by me. from where can i download and install this package.
    In the eclipse plugins the package is only present with docs , but does'nt have classes in them.
    Thanks,
    Regards,
    karthik
    Message was edited by:
            Armin Reichert

    hi Kartik,
    it is logging.jar
    you will find that here:- http://sourceforge.net/projects/classlocator/
    its path on system is
    Path is C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.tssap.sap.libs.logging_2.0.0\lib
    regards,
    Message was edited by:
            Abhijeet

  • Com.sap.tc.logging.* package

    I need to download com.sap.tc.logging.* package. Anybody guide me from where i can get this package downloaded.
    I need this package for the for the location class that is in this package please help me ot

    well I can confirm that Location.class is DEFINATELY part of that jar file.  Im using it constantly.
    There must be some problem with the way you are importing it.  Ensure its added to the right project as an external jar.
    then it should be a simple case of
    import com.sap.tc.logging.Location;
    and away you go ....
    Haydn

  • SAP message Log

    Does SAP maintain log of all the messages displayed on screen using MESSAGE statement?
    We are investigating a problem and want to see the messages displayed by SAP during the time when problem occured.

    We have custom development for picking and confirmation. Last week we found that in some deliveries there is difference in delivered quantity and packed quantity.
    Custom development is calling sap-standard FMs. Problem occurs randomly, roughly 10 deliveries in a week has this problem.
    We are still trying to investigate the reason that is causing the problem.
    Custom program does display the message to user if FM raise any message. We asked user of they are getting any message while picking, and if they are ignoring it.
    They just confirmed that they are getting message 'Packing Not Possible Since there is no Quantity to be Packed' and they did ignored this.

  • NoClassDefFoundError: com/sap/sql/log/OpenSQLException

    I have developed a Java project. It consists of 2 SQLJ files and then a Java class. When I try to execute the Java program, I get a Java error:
    java.lang.NoClassDefFoundError: com/sap/sql/log/OpenSQLException
         at com.mbb.crrs.business.report.dao.ReportDAO.<init>(ReportDAO.sqlj:23)
         at com.mbb.crrs.business.report.dao.Test.main(Test.java:24)
    Exception in thread "main"
    I notice a similar problem on message: Re: Which jar to include com.sap.sql.log.OpenSQLException
    Is that something that I need to maintain for it to work? Thank you.

    Hi,
    the problem one year ago was that the SQLException class was not available through remote access. I don't know if that might have been changed meanwhile in the latest release.
    I implemented a simple work around: I caught every SQL-exception in the method where it was thrown, wrapped the exception message and any nested exception in a self written exception and threw this new exception. That worked fine.
    Regards, Astrid

  • Custom error message in SAP application log

    Is there a way to add a custom error message to the SAP application log without passing the message variables MSGV1, MSGV2, MSGV3, MSGV4 and the Message class and number. 
    We want to pass a custom message from the BAPIRET2-MESSAGE without giving it a Message class and number.  The reason for this is that  we are using class based exceptions instead of the traditional message class with errors.  When we catch the class based exception, we take the error text of the exception and put in in the BAPIRET2-message and set the BAPIRET2-TYPE as 'E'.  Now we want to add this to the SAP application log.
    The call to 'BAL_LOG_MSG_ADD' takes a structure BAL_S_MSG which is just like BAPIRET2.  However this function builds the entry to the application log use the message variables MSGV1, MSGV2, MSGV3, MSGV4.  There is no provision to pass in the BAPIRET2 message.
    Add message to application log
      CALL FUNCTION 'BAL_LOG_MSG_ADD'
        EXPORTING
         i_log_handle              = app_log_handle
         i_s_msg                   = log_message
    Thanks,
    Jay

    Hi Jay,
    Did you see <b>BAL_LOG_EXCEPTION_ADD</b>?
    This FM is represented by the structure <b>BAL_S_EXC</b>. This can have various versions as described below:
    <b>Data of BAL_S_EXC Structure  /     Use</b>
    <b>EXCEPTION</b>  /                              Exception class from which an exception text 
                                                       is added to the log. This field must be filled.
    <b>MSGTY</b>  /                                     Message type (MSGTY) of a T100 message.
                                                       This field must also be filled for exceptions.
    <b>PROBCLASS,
    DETLEVEL,
    ALSORT, TIME_STMP</b>  /                Message or exception attributes, such as
                                                        problem class (PROBCLASS, for
                                                        example, "very important"), level of detail
                                                        (DETLEVEL, from 1 to 9), sort criterion
                                                        (ALSORT, unrestricted) and timestamp
                                                        (TIME_STMP). These fields can be displayed
                                                        in the log (except TIME_STMP).
    <b>MSG_COUNT</b>   /                            This attribute is not used for exceptions.
    Follow the link below for more details:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help DOc</a>
    Hope this helps.
    Thanks
    Sanjeev

  • Stock on posting date -storage location and batch wise

    Dear All
    I need to developa report exactly same as MB5B but with storage location and batch wise.
    We need  storage location wise opening stock, total receipts, total issues and closing stock, and values for given time period.
    I have gone through some history tables like MCHBH and MBEWH.
    But all the history tables are having fileds for period wise but not date wise.
    Any focus on this?

    You have to read the coding of MB5B to see how SAP is doing it.
    The stock per date is calculated, starting from a month end, adding or reducing quantities based on movements until the date in question is reached.

  • SAP System Log on issue using Crystal Reports:

    Hi All,
    I have installed Crystal reports, Business Explorer and Business Objects XI  Integration. But when I tried to create a new report using SAP Table, Cluster or Functional, I couldn't able to select SAP System since it shows SAP System Log on selection was blank.
    Note: I have undergone the following trials:
             1) All the trials are done after connecting to the Internal Vpn.
             2) Re-installed the Crystal reports, Business Explorer and Business Objects XI. But result was the same.
             3) Compared all the setting parameters with another System which works fine.
             4) Only difference seems to be that I am using Win Vista and other one is Win XP OS.
             5) Tried in the net for Win Vista specific patches or software to run the crystal report but couldn't helped.
    Did any one come across similar experience or is there any idea why it could be? Thank you in advance.
    Best Regards,
    Sujith
    Edited by: Sujith Kumar Naithalath on Jun 22, 2009 8:29 PM
    Edited by: Sujith Kumar Naithalath on Jun 22, 2009 8:30 PM

    Hi Don,
    Thank you very much for your reply. I was wondering from where we could download XI R2 ( 11.5 ) SP 2. I have tried downloading Software Forces .rpt Inspector 3 Professional suite (for CR XI R2) . But this doesn't seems to be the right one. Also I have cheked in sdn Crysal Report 2008 download (https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm ). But no luck. Thanks again.
    Best Regards,
    Sujith.

Maybe you are looking for