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.

Similar Messages

  • 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

  • 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

  • BRF+ Message Log & "Rule as Expression"

    Hi colleagues,
    I am quite new to BRFplus and have two questions:
    1) I would like to use a message log action in order to indicate errors. I tried to follow https://wiki.wdf.sap.corp/wiki/display/FDT/Message+Log   with method SET_APPLICATION_LOG_OBJECT, but I can't find the class this method belogns to. I also tried modelling a rule & action message log with help of the UI. My question is how can I log messages and where can I find them after the function is beeing processed?
    2) In every guide I can read something about rule expressions and even how to create them (e.g. http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cc/85414842c8470bb19b53038c4b5259/frameset.htm), but in the workbench there is no possibilty of creating rules as expressions but only rules and rulesets (the rule is not part of the "Expression" node).
    I hope somebody knows what I mean
    Thanks a lot & kind regards,
    Ilijana

    Thanks a lot for your response!
    Could you tell me why using rules and rulesets is not recommended for 7.01 ? This could be interesting for my bachelor thesis.
    Thanks & Kind Regards,
    Ilijana

  • CK40N : no message log update after =cksu

    Hi costing experts,
    In the costing run statistics there are errors for the marking step, which I correct by entering =cksu according to SAP note 542790.
    However, the message log for the marking step is not updated. It is hard to find which are the remaining messages in the overall message log, because there are some 400 messages in total and only 50 are still relevant according to the refreshed statistics.
    Does anyone have any idea's about what can be done to update the message log?
    Thanks,
    Caroline.

    I got below error in the ST22 dump....
    "Database error text........: "ORA-00060: deadlock detected while waiting for
    resource"
    Internal call code.........: "[RSQL/INSR//BIC/FZXX_C02 ]"
    I was searching for OSS notes associated with following keywords and note able to find any notes related my support pack level we are in SP13 (SAPKW70013)
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB" "WRITE_ICFACT"
    Any help will be greatly appreciated...
    Thanks,
    Raman

  • Java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator

    I have installed this NWDS 2.0.12. When I click on the icon from desktop, I see a splash screen for a second and then immediately an error message saying 'Problem during startup. Check the .log file in .metadata folder of your workspace.'
    Following is the log file
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Jun 29, 2006 16:09:37.302
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.getConstructor(Class.java:1027)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:709)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
         at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
         at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:578)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:471)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:854)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:784)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Can somebody help me to resolve this? What should be the potential cause for the error?

    java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
    Either a missing jar or the classpath is not defined right.

  • 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

  • B1iF: Message log errors

    My units are working fine:
    I can produce events  (or re-send it from the msglog) and their result messages will be shown in the log.
    I can't just see the "messages" within the  "Message Log" anymore.
    On the debug vbiu section i can still see the messages but not in the message log.
    When clicking on message icon on the "Msg" column I've got this error instead:
    SAP B1iP detected an error:
    Emitted HTTP-Code
    500 - Internal Server Error
    Internal Reason
    BPE107 Validation of BizFlow failed
    Further details:
    BizFlow-URI: /com.sap.b1i.vplatform.ui/bfd/DownloadMessageLog.bfd
    validation-error: UTE001 Nested exception: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-element : element information item '/:Msg[1]' is not associated with element declaration and do not has an attribute information item among the element information item's [attributes] whose [namespace name] is identical to http://www.w3.org/2001/XMLSchema-instance and whose [local name] is type.
    -> com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-element : element information item '/:Msg[1]' is not associated with element declaration and do not has an attribute information item among the element information item's [attributes] whose [namespace name] is identical to http://www.w3.org/2001/XMLSchema-instance and whose [local name] is type.
    Recommendation
    Check for the correctness of your activity or environment or ask your system-administrator for further help.
    I already tried restarting the services, re-activating the unit and its steps... any ideas?
    If needed i can provide the "full internal error message" and its callstack
    I'm using 8.81 - pl04

    Hi Mattia Ryffel
    Could please explain what exactly do u mean by reinstalling "Framework.zip". I too am facing same problem since three days.. But not able to find a solution to it.. Do u mean to reimport SIM repositories?
    Waiting for your reply.. Thanks in advance.
    Regards
    Rohan S. Kamble

  • MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more...

    Ingo,
    I am getting below error message in BO Test environment when I refresh WebI document.
    MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details
    It was working when we migrated the objects initially. Subsequently when we try to refresh WebI document we are getting the above error message. It still works in BO Dev environment and the no of records are the same in Dev and Test.
    I am able run the underlying BEx query in SAP BW Test environment and it does return data.
    I checked ST22 and SM21 log, but no details there.
    Is it related to Authorization on the Universe or Bex Query?
    We are in the middle of UAT and not able to move forward. I would greatly appreciate your input.
    Thanks
    Ram

    Ingo,
    I ran the zip file and added the required entries to registry.
    And then I tried to reproduce the error, but the files are not generated instead I noticeed below error message on the server:
    The description for Event ID ( 7939 ) in Source ( Crystal OLAP Client ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Registry Access Error: , [HKEY_LOCAL_MACHINE]Software\Business Objects\Suite 12.0\MDA\Log\Modules: The system cannot find the file specified..
    Does tha t mean we do not have permissons to read the registry?
    I would greatly appreciate your input.
    Thanks in advance.
    Ram

  • HIding "Display message log" link in the message area

    Hi Gurus,
                  I've a requirement where i need to hide the default " Display Message Log" Link in the message area.
    Pls give me some idea on this.
    Regards,
    Shravan.

    Hi Shravan,
    You can delete message log using method RESET_MESSAGES
    Please check this..
    http://help.sap.com/saphelp_nw70/helpdata/en/45/5996d07d2b09cce10000000a114a6b/content.htm
    use reset mesages method in the example code.
    data: l_wd_view_controller         type ref to if_wd_view_controller,
            l_api_wdr_msg_area           type ref to if_wd_window_controller,
            l_wd_message_area            type ref to if_wd_message_area.
      l_wd_view_controller ?= wd_this->wd_get_api( ).
      l_api_wdr_msg_area ?= l_wd_view_controller->get_embedding_window_ctlr( ).
      l_wd_message_area = l_api_wdr_msg_area->get_message_area( ).
      l_wd_message_area->reset_messages( i_keep_current = 'X ' ).  // try with 'X'. and ' ' .
    Cheers,
    Kris.

  • SAP Application Log

    Hi All,
         The requirment is to create a Standard SAP Application Log using a Function module 'BAL_LOG_CREATE' and each successfull work order update should create a message in the log using FM 'BAL_LOG_MSG_ADD'. Each failed work order update should result in a exception being added to the log using BAL_LOG_EXCEPTIOn_ADD'.
       please guide me on how these FM's should be used for creating the Standard SAP Application log.
    Thanks in Advance.

    hi tina,
    please give specific SAPGUI you're using. Is it SAPGUI for Windows or SAPGUI for Java ?
    If you're using SAPGUI for Java on Linux, you can refer here (http://sapbasis.wordpress.com/2007/08/22/installation-and-configuration-of-sapgui-for-java-on-linux/)
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • System Messages Log

    Hi,
    Is it possible to turn off the System Message Log so that it does not load every time I log into SAP?
    Thanks,
    Naomi

    Hi,
    system messages log is a kind of help provided to the users.
    What ever operations carried on the application are informed to the users about their success and failure.
    Red messages are error messages.
    Green messages are success messages.
    Blue messages are warning or informatiive messages.
    Sometimes with the HELP tag, located next to the error message, user himself can find out the cause of the message.
    So , in my opinion it is not wise to turn it off.
    Moreover, it can not be.
    Thanks
    Malhaar

  • ST04N - dbase message log  error

    HI
    sys environ SAP 4.7 EE,, oracle10.2. solaris os 5.10
    while  executing st04n-> detailed analysis -> dbase message log,
    the complete message come across
    BR0651I BRTOOLS 7.00 (20)
    BR0154E Unexpected option value 'printout' found at position 3
    BR0154E Unexpected option value 'alert_log' found at position 4
    BR0654I BRTOOLS terminated with errors
    External program terminated with exit code 3
    I used to get alertlog file here, but not now.
    How resolve this issue.

    Hi Ram,
    The I in BR0654I represents Information.
    Please have a look at the below note and hope it will help you to start the error analysis,
    Note 17163 - BRARCHIVE/BRBACKUP messages and codes
    Award points if it clears your query.
    regards,
    Vinodh.

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

  • Message log not correctly associated with contact

    I'm having an issue where I cannot text message a particular contact or phone number. A series of steps I took seems to have exposed a glitch where the message log will not corrrectly associate itself to a newly created contact.  So now when I push the SMS button on the new contact, nothing happens. Also when I manually start a new text message and add the contact to the text message and press send, the message clears from the text box and nothing else happens.
    Here is how you reproduce the error:
    1. I called a number and quickly hung up, just as you would do to log a number for saving later.
    2. From the call log, I clicked on the SMS button to send a text message.
    3. I sent a text message.
    4. From the text message log, I clicked on the number at the top to save it to contacts.
    5. I saved a new contact with the number.
    6. If you go back to the message log, you should notice that the message log header does not update with the new contact's name. Instead it will still show the number.
    7. Finally, I went to the test contact and pressed the SMS button and nothing happens.
    After you add the contact like I did, it seems that the contact does not correct connect itself with the message log.
    After step 5, go to the message log and click on the message log header which should still be the number. When you do this, you would think it would open up the new test contact info card, but instead it opens up a new contact card, as if the number is not saved to a contact yet. It gives me the option to Add To Contacts at the bottom.

    I have the same issue.  I started not being able to text only one person.  I go to the contact and click on the "SMS" button and it doesn nothing.  If I try to send the message directly to the number it just doesn't do anything, the message leaves the text box, but doens't show up in the conversation window.  I'm not exactly sure what I did to do this, but I think it's because I added the same contact twice.  Once from my incoming calls, and once from my outgoing texts.  I've tried deleting all references to this number (ie the contact info, incoming/outoing calls and texts) but nothing has worked.  It must be the corrupt contact thing as well.

Maybe you are looking for

  • Unable to activate Hyper-V on Windows 8.1 pro x64

    Hi there, I tried to activate Hyper-V on my desktop : 1. Add/Remove Features 2. Add Hyper-V, and all subsets 3. Click OK. 4. Click Restart when prompted. 5. Computer will reboot and then work on configuring features.  I got the error message "Unable

  • Can't install CS4 on Mac's root drive?

    I have a Mac Pro and recently bought CS4 Production Premium.  In the list of known issues, it says "On Mac, you cannot install to the root drive. (#BG044824)" Does that mean I cannot install CS4 on my Mac hard drive (the HD that has OSX and all the o

  • How to change report layout to "Landscape"?

    Hi, I am using oracle 6i in window 98. I want to change my report layout to "Landscape"? How do I do it? Thanks. Jun

  • OIP-4148

    I'am using oo4o at an Oracle 8.0.5 server running on windows NT4.0 and a different installation of Oracle 9i running on win2k. I have developped an application running on IIS4/IIS5 using asp. While oo4o is running perfectly on Oracle 8.0.5, i got the

  • Doubt Regn User reports

    Hi, I have customized the user report to genereate a report of users based on one User Attribute.For this I have added the query for that attribute. But now I am facing a problem to display that attribute value in the report. It is not displaying any