Transaction for application log

Using IDOCS.  One has errored but cannot get into application log as pop up not appearing (memory issue or something) for me to double click the log number and go into the application log to view it.  Does anyone know the transaction or menu path to access the application log direct so I can see what the error is about?
Many thanks
Larissa

Hi,
USE SLG1 Transaction.
Thanks,
Naga

Similar Messages

  • Create Object and Subject for Application Log

    Hello Experts,
    Could anyone tell me how to create the Z Object and subobject for the Application Log.
    ie) <b>BALOBJ_D & BALSUBOBJ</b>
    Could you please tell me the Tcode for that.
    Since I have to save the application in the new object so that it can be displayed using this Key.
    Thanks & Regards,
    Vasanth

    Hello Vasanth
    The transaction is SLG0 (Object Maintenance).
    Regards
       Uwe

  • Calling SLG1 for Application log creation

    Hi All,
    I have a requirement for writing logs in SLG1 transaction. I embedded the logic for creating log in a method of a class. The method is getting called in CRM inbound proxy where I would need to make mutiple calls to this log. If I use a call more than one time, I am getting only the log for the first call. The second and the rest of the calls are not throwing any message in SLG1 but shown as greyed out. Could we not call the log SLG1 more than one time in the same application?
    Any ideas would be appreciated.
    Thanks
    Anand

    Hi,
    did you have a look at my weblog:
    /people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to setup rotation for application.log?

    In order to get the Portal Performance Statistics running, we need to retrieve the page views from file application.log in directory <ORAHOME>\j2ee\OC4J_Portal\application-deployments\portal\OC4J_Portal_default_island_1.
    This file continues to grow and therefore we want to set up rotation, in order to get one file per day.
    We are following note 264373.1 and have read all documents and manuals about logging, but can not figure out how to manage this.
    Can anyone help us? We are working with 9.0.4.1.
    For Oracle employees: see also tar 4193327.994.

    I can't speak for how portal uses the log file, but in general, the way you do it for a deployed J2EE application on OC4J is as follows.
    Deploy the application EAR file. Lets say the app is called Test.
    In the j2ee/home/application-deployments/Test directory, a file will be created called orion-application.xml.
    If you look in this file, you will see an entry which looks like
    <log>
    <file path="application.log" />
    </log>
    This defines the log file for this application.
    Now if you want to setup log file rotation for this app, edit the orion-application.xml file and firstly, comment out the above.
    Note: you can leave the log tag in if you wish, but you'll get double log messages. Remove it if you do this in production and are trying to conserve space ;-).
    Then add in the below to setup ODL based logging for this application:
    <log>
    <odl path="logdir"
    max-file-size="1000" max-directory-size="10000" />
    </log>
    What this does it to tell OC4J to output the log messages using it's ODL format model, to create a directory called logdir (in the current directory) and then to start writing to log files called log.xml in that directory.
    The max file size of log.xml is 1000KB, and the max directory size of the new logdir directory will be 10MB.
    The ODL logging system will manage the log files in this directory according to these constraints -- when a log file gets bigger than max-file-size it gets archived as logN.xml. When the overall directory size gets bigger than the max-directory-size specified, the oldest log file from the list is removed so that the max directory size is honoured.
    I don't think we can specify a rollover period (ie one day) with ODL. I'm pretty sure it's just file size based only.
    I think the above should apply to Portal since it runs on OC4J. In which case, you'd change the orion-application.zml in the <ORAHOME>\j2ee\OC4J_Portal\application-deployments\portal directory instead of j2ee/home/application-deployments/<app-name>.
    However, I can't speak officially for Portal since I don't work with that product. From a pure OC4J perspective the above holds true and works.
    cheers
    -steve-

  • How to get event's application log handle for application log mssg

    Hi,
    I would like to get the application log handle for an event call, can someone pls help.
    Rgds.

    Hello wong ,
    Did u get the solution for this respective query.
    if so can u please send it to me also .
    i am struck over with the similar problem.
    Thanks,
    pavankumar.

  • Function Module for Application Log(SLG1)

    HI SapAll.
    may i know what is the Function Module  to read the data for Applicaiton Log (tcode-SLG1).
    waiitng for your response.
    regards.
    Varma

    Hi Danish.
    running the program 'SBAL_DISPLAY' is similar to running the FM'APPL_LOG_DISPLAY' .However when i run any one of these i have to manually press the 'Execute button' to display the log(there is no option to save the log into spool or to get into some Internal table)
    i have tried running the program 'SBAL_DISPLAY'  by putting the Break point at the line (  CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
          EXPORTING
            i_t_log_handle      = l_t_log_handle)
    ,while debugging the values are as below:
    L_T_LOG_HANDLE : Sorted Table[1x1(44)]
    1      ZoDNJw4vg3BX0000h1GOdm.
    could you please help me in getting the log into spool wihtout having to press the execute button and without having to look at the Log.
    regards.
    Varma

  • Transaction for Invoice Log

    Hi ,
    We have a job for the invoices running every day . Is there a transaction ( or abap) in order to see the error log and posted document for every run ? Thank you .

    Hi
    As mentioned previously you can see the log in V.21.
    Additional background which may help you located the information you want from these
    billing job runs.
    When a collective billing run is executed it is assigned a group number and under this
    group number you can find the related information, job log etc.
    This is written into table VBSK when the billing process is run (either VF04 or VF06)
    This billing runs are found under group type 'F'
    So if you know the day and time the job is run you can go to table VBSK in SE16
    enter group type 'F' and the 'created on date. This will show you a list of all billing
    jobs that were run that day, if there are several the time will point you to the one you want.
    The log for that billing run is held in table VBFS under the same group number SAMMG.
    So you can find the information you want in VBSK & VBFS or via V.21
    Hope this helps you further
    Kind regards
    Brian

  • Transaction for Last logged on

    Hi,
       What's the SAP Transaction to find out which users have logged on , in the past 10 days in a specific client?
    Thanks.

    Transaction ST03 is the basic functionality of User/Porgram Monitoring.
    One of its simpler report can be used using Transantion STAT, it
    contains TCode, Program/Report Name and User (who run the report).
    Stat's data is refreshed after a certain period of time say 1 or more
    depending on the system configuration.
    Reward points if this helps.
    Manish

  • Application Logging in ABAP

    Hello,
         we are trying to use application logging feature provided with ABAP by way of function modules BAL_LOG_ADD/SAVE etc. the results of these are visible in trasnaction SLG1.
        In our scenario, we want to keep track of different abnormal situations which a background Job of a user with dialogue operation faces. So these situations could be part of a successful or un-successful transactions i.e. there could be and overall COMMIT or ROLLBACK for each transactions for which the log operations have been carried out.
        Now the problem is that , the Logs are not getting saved for unsuccessful transactions i.e. where there is no COMMIT.
         I need your help to get over this situation so that I able to save the Logs (in standard Log objects which are visiible in  SLG1) even if the business transaction is not committed.
    regards
    Sushil

    How come code always looke like this? I cut and pasted it right in my replay. Highlighted it, and selected "code"?
    Oh well, here is the FM I call I tried several times to get it to display properly.
    FUNCTION ziu_message_logging.
    *"*"Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_LOG_OBJECT) TYPE  BALOBJ_D
    *"     REFERENCE(I_EXTNUMBER) TYPE  STRING
    *"  TABLES
    *"      T_LOG_MESSAGE STRUCTURE  ZZLOG_MESSAGE
    *"  EXCEPTIONS
    *"      LOG_HEADER_INCONSISTENT
    *"      LOGGING_ERROR
      CONSTANTS: c_message TYPE syst-msgid VALUE 'ZMESSAGE',
                 c_999 TYPE syst-msgno VALUE '999'.
      DATA:
      l_log_handle TYPE balloghndl,
      l_s_log TYPE bal_s_log,
      l_dummy TYPE string,
      l_ext_no TYPE bal_s_log-extnumber,
      l_s_mdef TYPE bal_s_mdef.
    *  IF t_log_message[] IS NOT INITIAL.
        l_s_log-object = i_log_object.
        l_ext_no = i_extnumber.
        l_s_log-extnumber = l_ext_no.
    * Create the log with header data
        CALL FUNCTION 'BAL_LOG_CREATE'
             EXPORTING
                  i_s_log                 = l_s_log
             IMPORTING
                  e_log_handle            = l_log_handle
             EXCEPTIONS
                  log_header_inconsistent = 1
                  OTHERS                  = 2.
        IF sy-subrc <> 0.
          CASE sy-subrc.
            WHEN 1.
              RAISE log_header_inconsistent.
            WHEN OTHERS.
              RAISE logging_error.
          ENDCASE.
        ENDIF.
        l_s_mdef-log_handle = l_log_handle.
    * Set the default value
        CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_SET'
             EXPORTING
                  i_s_msg_defaults = l_s_mdef
             EXCEPTIONS
                  others = 0.
    * Loop the message table and write the messages into the log
        LOOP AT t_log_message.
    * Use the message type ZMESSAGE and msg no 999
    * Issue the message in a dummy variable
          MESSAGE ID c_message TYPE t_log_message-msgty NUMBER c_999
          WITH t_log_message-msg_text_1 t_log_message-msg_text_2
          t_log_message-msg_text_3 t_log_message-msg_text_4
          INTO l_dummy.
    * The parameters set by message statement will be used
    * Add the message in the log
          PERFORM msg_add.
        ENDLOOP.
    * save logs in the database
        CALL FUNCTION 'BAL_DB_SAVE'
             EXPORTING
                  i_save_all       = 'X'
             EXCEPTIONS
                  log_not_found    = 1
                  save_not_allowed = 2
                  numbering_error  = 3
                  OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    *  ENDIF.
    endfunction.
    * FORM MSG_ADD
    * Add the message to the log
    FORM msg_add.
      DATA:
      l_s_msg TYPE bal_s_msg.
    * define data of message for Application Log
      l_s_msg-msgty = sy-msgty.
      l_s_msg-msgid = sy-msgid.
      l_s_msg-msgno = sy-msgno.
      l_s_msg-msgv1 = sy-msgv1.
      l_s_msg-msgv2 = sy-msgv2.
      l_s_msg-msgv3 = sy-msgv3.
      l_s_msg-msgv4 = sy-msgv4.
    * add this message to log file
    * (I_LOG_HANDLE is not specified, we want to add to the default log.
    * If it does not exist we do not care =>EXCEPTIONS log_not_found = 0)
      CALL FUNCTION 'BAL_LOG_MSG_ADD'
      EXPORTING
    * I_LOG_HANDLE =
      i_s_msg = l_s_msg
      EXCEPTIONS
      log_not_found = 0
      OTHERS = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.
    Edited by: Tom Matys on Mar 9, 2010 1:15 PM

  • OC4J Logging into Application.log

    Hi someone,
    i try to log into the Application.log configure in the orion-application.xml.
    how can do this in Java?
    Thanks to all for help
    Matthias

    After 10 Hours i find the solution ;-(
    The Application.log can be write with this code:
    FacesContext fc = FacesContext.getCurrentInstance();
    ServletContext sc = (ServletContext) fc.getExternalContext().getContext();
    sc.log("My log message for Application.log");
    very simple but not find in the OC4J Doc's

  • Configure CCMS alert to Analyze Application log

    Hi ,
    Please provide the prodecure to configure CCMS alert for Applications logs from SLG1 tcode.
    If any error log(prefarably Important logs ) is created then a alert should be triggered .
    Background : We are using Solution Manager 7.0 as Central monitor system for Satellite systems of verions ECC6.0.
    Thanks & Regards
    ganesh

    this answer is no longer needed

  • Error in application log for transaction FPSA

    Dear Colleagues,
    The application log for this transaction returns the following message,
    'Run SELA 15.01.2008 V00001 is not ready
    Message no. >REP 014
    Diagnosis
    The run was probably terminated as a result of an error
    System Response
    The interval was not processed.'
    How to view the error which resulted in termination of the run.
    Many thanks for your attention. Hoping an early reply to this problem
    Venkat
    +49 175 8916067

    Hi,
    If agent is installed on the VMM server, it will collect the information and send it to SCOM server. The event indicates the SCOM agent tried to access the registry key that was included in the User Profile but failed.
    Please specify a local account or domain account as the SCOM action account for a test.
    Niki Han
    TechNet Community Support

  • Table that stores the application logs messages for transaction CRMD_ORDER

    Hi Guru's,
    I would like to know which CRM table that is used to store application logs (consist of error / warning / information messages) in transaction CRMD_ORDER? I would like to retrieve the text messages of the application log.
    Thanks.

    Hi there,
    The logs are on tables BALHDR (header) and BALDAT (detail).
    In BALHDR you can fill OBJECT with 'CRM_DOCUMENT' and EXTNUMBER with the document GUID (you can obtain it in CRMD_ORDERADM_H table).
    The BALDAT is a cluster table, so the information is a little 'encoded' there for direct consulting without abap code.
    Alternatively, you can use FM APPL_LOG_READ_DB to read the messages that are contained in any CRM document.
    Kind regards,

  • Tcode for Analyze application log

    Hello BW Experts,
    What is the transaction code for analyze application log.
    I am accessing it in this way:
    Ods > manage > activation > log > application log
    Thanks,
    BWer

    Hi,
    You can try SLG1.
    Hope this helps...

  • Log messages for 'auditing' are different in 'general'  and'application log

    Hi,
    From UI, When I audit a file using a profile which comprises of user-defined 'rules/categories/analyzers', I will get log messages at ''File-name(Application) log window' and 'Messages' log window, which are located at bottom of Jdev UI page. One common message in both the log windows is
    " <n1> violations, <n2> exceptions, <n3> documents, <n4> seconds>.
    But here the 'n1,n2,...' numbers are dfferent in two windows though the log output is for a same file. In this the 'file-name' log shows the correct
    Example:-
    In 'file-name' log window ,it shows as:
    3 documents, 8 violations, no exceptions
    In messages window, it shows as
    "Audit starting on EFC.jpr (Default)
    Audit completed: no violations, no exceptions, 3 documents, 1 second"
    If I use the 'pre-existed'(Jdev's) rules profile, I will get similar output in both log windows.
    From this I concluded that there is something missing to register for a new 'rule/category/analyzer'.
    Could you suggest me in this case. Do I forgot anything to do in any files of '<rule-implementation.java>', 'audit.properties', <add-in launcher>.java, extension.xml.
    Actually, I want to use 'ojaudit' executable from command line to my project files. Here I observed that the output of the 'ojaudit' is similar to the above explained 'Message' log window in JDeveloper UI. But where the 'Message' log window output is not correct for user-defined rules.
    Regards
    Madhu

    Romano,
    In the upcoming production release (planned to be released next week), we added caching of authorized roles and permissions in JhsAuthorizationProxy class.
    I suggest you wait for this relase, if the problem persists, it is most likely an ADF issue (as is the logging)
    Steven Davelaar,
    JHeadstart team.

Maybe you are looking for