FM to display Application Log

Hi All,
Can you kindly suggest me any Function Module through which I can get to view the Application Log .
The Most Important Requirement is it should be for the particular user who is accessing it and not for anyone else.
I have tried APPL_LOG_DISPLAY and BAL_DSP_LOG_DISPLAY , but I do not think i can give any user name for this.
Please help.

Hi,
<b>APPL_LOG_DISPLAY</b> With this function module you can analyze logs in the database.
<b>APPL_LOG_DISPLAY_INTERN</b> With this function module you can analyze logs in local memory, e.g. when you have only collected log records at runtime and do not want to write to the database
Regards
Sudheer

Similar Messages

  • Doubt in creating program to display application logs

    Hi,
    I have doubt in creating a program to display application logs.
    The standard transaction code SLG1 has been used to display Application logs till now by the user.
    They came up with the new requirement on this.
    <u>The requirements were:</u>
    1)New custom program shoud be created like SLG1 with limited selection fields( data from, date to, Program name and User)
    2) Detail list should be displyed immediately when this program is executed because SLG1 gives Basic list,Detailed list which is getting displayed when 'Detail view' is selected in the first list.
    I have created one program with limited selection fields as per the requirement using the below function modules .
    BAL_FILTER_CREATE
    BAL_DB_SEARCH
    BAL_DB_LOAD
    and BAL_DSP_LOG_DISPLAY
    <u>Issue :</u> still I am getting the firt list.
    both Basic and Detailled lists are getting triggered at the FM BAL_DSP_LOG_DISPLAY.
    Is it only the way to copy and modify this FM.
    Could you please suggest me?
    Thans in advace,
    babu.
    Message was edited by:
            babu v
    Message was edited by:
            babu v

    Hello All,
    Thanks for your valuable suggitions.
    I have seen most of the demo programs.
    I found one fm'BAL_DSP_PROFILE_NO_TREE_GET' which avoids the tree list which is getting listed above the profile list.
    I have been searching alot to omit the Profile list. I searched alot to find any function modules realted to that.
    The requirement was only the Detail list should only be listed.
    Could you please suggest me to avopid that profile list also?
    Thanks in advance,
    babu
    Message was edited by:
            babu v

  • How we can see application log

    i  have created a application  log and put messages in that..
    how we can see that application log..
    thanks and regards......

    Hi Sharada,
    Use   CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' to display the application log. Displaying application log can be possible in many ways, as a popup window, as normaal one ,as tree. YOu can play around with APPLICATION with these standard programs.
    SBAL_DEMO_01
    SBAL_DEMO_02
    SBAL_DEMO_03
    SBAL_DEMO_04
    SBAL_DEMO_04_*
    SBAL_DEMO_05
    Still if you any need any more on this , let me know.
    <b>Example Program</b>
    * create a log where all message should be added to
      PERFORM log_create.
    * Add information that this is a check for passenger flights
    * this informnation can be added as a free text
      PERFORM msg_add_free_text USING text-002.
        PERFORM msg_add_free_text USING text-003.
    * display log file
      PERFORM log_display.
    * FORM LOG_CREATE
    FORM log_create.
      DATA:
        l_s_log TYPE bal_s_log.
    * define some header data of this log
      l_s_log-extnumber = 'Application Log Demo'.             "#EC NOTEXT
      l_s_log-aluser    = sy-uname.
      l_s_log-alprog    = sy-repid.
    * create a log
      CALL FUNCTION 'BAL_LOG_CREATE'
           EXPORTING
                i_s_log = l_s_log
           EXCEPTIONS
                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.
    * FORM MSG_ADD_FREE_TEXT
    FORM msg_add_free_text USING value(i_text) TYPE c.
    * 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_FREE_TEXT'
           EXPORTING
    *           I_LOG_HANDLE  =
                i_msgty       = 'S'
                i_text        = i_text
           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.
    * FORM LOG_DISPLAY
    FORM log_display.
      DATA:
        l_s_display_profile TYPE bal_s_prof,
        l_s_fcat            TYPE bal_s_fcat.
    * get a prepared profile
      CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET'
           IMPORTING
                e_s_display_profile = l_s_display_profile
           EXCEPTIONS
                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.
    * show log file with modified output profile
    * - we specify the display profile since we created our own
    * - we do not specify any filter (like I_S_LOG_FILTER, ...,
    *   I_T_MSG_HANDLE) since we want to display all messages available
      CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
           EXPORTING
    *           I_S_LOG_FILTER         =
    *           I_T_LOG_CONTEXT_FILTER =
    *           I_S_MSG_FILTER         =
    *           I_T_MSG_CONTEXT_FILTER =
    *           I_T_LOG_HANDLE         =
    *           I_T_MSG_HANDLE         =
                i_s_display_profile    = l_s_display_profile
           EXCEPTIONS
                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.
    Regards,
    Raghav

  • BAL Application Log

    Hi experts ,
    I am creating a module pool.
    It is having 1st selection-screen .
    Then based on selection i am displaying data in ALV.
    Based on data in this ALV i have to perform certain operation such as copy/delete bom .
    Before performing any operations , i  m supposed to check the selected row .
    If any errors are there then i have to store in BAL application log .
    If i click on some button then i have to display Application Log .
    Even if somebody changes records in ALV then i have to check it ( if errors exist then save to application log )
    I dont want to save this log in database , only in memory .
    Please help me , i am not aware of BAL application log .
    Please let me know if any extra objects to be created in database  .
    Regards ,
    Manoj .

    Hello Manoj
    In order to create <i>application logs</i> and store them you require an (application) <b>object </b>and a <b>sub-object</b> (transaction <b>SLG0</b>). Please note that this is cross-client customizing.
    Having defined your object and sub-object you can use the following sample coding in order to collect your messages and store them as application log.
    For more details please refer to my posting <b>Message Handling - Finding the Needle in the Haystack</b> in the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki">Wiki</a>
    *& Report  ZUS_SDN_MSG_HANDLER
    *& Message Handling using interface IF_RECA_MESSAGE_LIST
    *& For more details please refer to:
    REPORT  zus_sdn_msg_handler.
    DATA:
      gs_msg          TYPE recamsg,
      go_msglist      TYPE REF TO if_reca_message_list.
    " Macro for adding freely defined messages (<> SYST messages)
    DEFINE mac_build_msg.
      clear: gs_msg.
      gs_msg-msgty = &5.
      gs_msg-msgid = '00'.
      gs_msg-msgno = '398'.
      gs_msg-msgv1 = &1.
      gs_msg-msgv2 = &2.
      gs_msg-msgv3 = &3.
      gs_msg-msgv4 = &4.
      gs_msg-detlevel = &6.
      go_msglist->add( is_message = gs_msg ).
    END-OF-DEFINITION.
    PARAMETERS:
      p_opt1   RADIOBUTTON GROUP radi DEFAULT 'X',
      p_opt2   RADIOBUTTON GROUP radi,
      p_opt3   RADIOBUTTON GROUP radi.
    START-OF-SELECTION.
      " Create message handler
      CALL METHOD cf_reca_message_list=>create
    *    EXPORTING
    *      ID_OBJECT    = 'RECA'   " <= set your object here     (SLG0)
    *      ID_SUBOBJECT = 'MISC'   " <= set your sub-object here (SLG0)
    *      ID_EXTNUMBER =          " <= set your own external number
        RECEIVING
          ro_instance  = go_msglist.
      " ...Here starts your checking procedures
      mac_build_msg 'Application Log'
                     syst-uname syst-datum syst-uzeit 'I' '1'.
      mac_build_msg 'Check changes in row'
                     '1' space space 'I' '2'.  " 2nd hierarchy level
      mac_build_msg 'Value xyz removed'
                     '->' 'ok' space 'I' '3'.  " 3rd hierarchy level
      mac_build_msg 'Value abc changed'
                     '->' 'not ok' space 'E' '3'.
      mac_build_msg 'Value 123 modified'
                     '->' 'check' space 'W' '3'.
      mac_build_msg 'Check changes in row'
                     '2' space space 'I' '2'.
      PERFORM display_log.
      EXIT.
      CALL METHOD go_msglist->set_extnumber
        EXPORTING
          id_extnumber = '<your own external identifier'.
      CALL METHOD go_msglist->store
    *    EXPORTING
    *      IF_IN_UPDATE_TASK = ABAP_TRUE
    *    EXCEPTIONS
    *      ERROR             = 1
    *      others            = 2
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
    *&      Form  DISPLAY_LOG
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM display_log .
    * define local data
      DATA:
        ld_handle           TYPE balloghndl,
        lt_log_handles      TYPE bal_t_logh,
        ls_profile          TYPE bal_s_prof.
      " Get log handle of collected message list
      ld_handle = go_msglist->get_handle( ).
      APPEND ld_handle TO lt_log_handles.
      IF ( p_opt1 = 'X' ).
        " GET a display profile which describes how to display messages
        CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET'
          IMPORTING
            e_s_display_profile = ls_profile.  " tree & ALV list
      ELSEIF ( p_opt2 = 'X' ).
        " GET standard profile to display one log
        CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET'
          IMPORTING
            e_s_display_profile = ls_profile.
      ELSE.  " p_opt3 = 'X'.
        CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET'
          IMPORTING
            e_s_display_profile = ls_profile.
      ENDIF.
    * set report to allow saving of variants
      ls_profile-disvariant-report = sy-repid.
    *   when you use also other ALV lists in your report,
    *   please specify a handle to distinguish between the display
    *   variants of these different lists, e.g:
      ls_profile-disvariant-handle = 'LOG'.
      CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
        EXPORTING
          i_s_display_profile  = ls_profile
          i_t_log_handle       = lt_log_handles
        EXCEPTIONS
          profile_inconsistent = 1
          internal_error       = 2
          no_data_available    = 3
          no_authority         = 4
          OTHERS               = 5.
      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.                    " DISPLAY_LOG
    Regards
      Uwe

  • Displaying error messages from application log

    Hi,
    I am using the function module RV_DELIVERY_CREATE for creating delivery in my program. If the sy-subrc is not zero i.e if delivery is not created, i have to display error messages collected inside the application.How can i do this ?
    The object nd subobject are existing in SLG0 but when i
    tried to see the object and subobject in SLG1 transaction , no logs were found.
    Do we need to activate the object and sunobject somewhere before logging can take place??
    I am using the following code in my program to display the logs but it is displaying no logs found: 
    CALL FUNCTION 'APPL_LOG_SET_OBJECT'
          EXPORTING
            object                    = 'ZCH_SCL'
            subobject                 = 'DL'
      LOG_HANDLE                = ' '
      NO_LOG                    = ' '
    EXCEPTIONS
      OBJECT_NOT_FOUND          = 1
      SUBOBJECT_NOT_FOUND       = 2
      OTHERS                    = 3
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    CALL FUNCTION 'APPL_LOG_INIT'
    EXPORTING
    OBJECT                    = 'ZCH_SCL'
       SUBOBJECT                 = 'DL'
      LOG_HANDLE                = ' '
    EXCEPTIONS
      OBJECT_NOT_FOUND          = 1
      SUBOBJECT_NOT_FOUND       = 2
      OTHERS                    = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
          PERFORM z_call_rv_delivery_create. " to call fm rv_delivery_create
          IF sy-subrc ne 0.
            CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN'
      EXPORTING
        object                               = 'ZCH_SCL'
       subobject                            = 'DL'
       title_list_screen                    = 'Error Logs'
      COLUMN_SELECTION                     = '11112221122   '
      COLUMN_SELECTION_MSG_JUMP            = '1'
      EXTERNAL_NUMBER_DISPLAY_LENGTH       = 20
      I_S_DISPLAY_PROFILE                  =
    IMPORTING
      NUMBER_OF_PROTOCOLS                  =
    EXCEPTIONS
      OBJECT_NOT_FOUND                     = 1
      SUBOBJECT_NOT_FOUND                  = 2
      OTHERS                               = 3
    thanks,
    vartika

    Hi Vartika,
    you need to save that log after creating and appending to it.
    here is a code to save that log.
    If log created, save to database
      if e_bal_hndl is not initial.
        refresh: bal_hndl.
        append e_bal_hndl to bal_hndl.
        call function 'BAL_DB_SAVE'
          exporting
            i_client         = sy-mandt
           i_in_update_task = 'X'
            i_t_log_handle   = bal_hndl
          importing
            e_new_lognumbers = log_no
          exceptions
            log_not_found    = 1
            save_not_allowed = 2
            numbering_error  = 3
            others           = 4.
    u have to write this code after appending info to Log.
    hope this will help.
    regards,
    vikas

  • How can I control the application log display format?

    Hello all,
    I am running into a problem with regard to application log display, and I don't know if we can work on the standard log profile(BAL_S_PROF) to fulfill my requirement, I would like to get you advises.
    Basically, we already saved numbers of the messages for each level (Domain BALLEVEL), so at last we will get a log tree with branches hopefully. Like below:
    Level 1: Check document item 01 (traffic light is Red)
       Level 2: Display success status (Traffic light is Red)
          Level 3: Display method B( Traffic light is Red)
             Level 4: Display processing status for method B( Traffic light is Red)
          Level 3: Display method C ( traffic light is Green)
             Level 4: Display processing status for method C ( traffic light is Green)
    At present system determine the traffic light color of the upper level depending on the lower level status, if there is even one red light in the lower level, the upper one would be red, like in level 2.  My requirement is that we need to make level 2 as GREEN, this way it is more reasonable from the business point of view because a solution has been found. I did some research for the function module 'BAL_DSP_PROFILE_DETLEVEL_GET', but obviously I haven't found a way till now, can anyone shed some light on this?
    Thanks,
    Derek

    Hello Gaurav,
    Thank You..!!! I tried appling filterFunction on the ADG and got whatever I expected but filter changes the original dataprovider behaviour. SO which I dont want to do it.
    I have created a local variable and binded whatever data wanted to display on that page. Infact it works as expexted and I still have original data provider as well.
    I have one more problem, I'm using creationComplete to initialize my local data provider value. It works only once while creation of state. If I navigate my screens fore and back and come back to this screen, it doesn't display the modified values as creationComplete loads only while state creation.
    Is there any mothid which does the samething while vising the page every time than creation?
    Thanks,
    Siva

  • Changing the display on the Oracle Applications Log On screen

    Hello,
    Could any one help me in changing the display on oracle applications log on form to XYZ applications sign on form
    thanks
    leo

    Replace the clock with 'empty' under personalize view. Or you may find a settings under time & date to turn the main display clock off.
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • 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

  • How to write to application log at BBP_CREATE_BE_PO_NEW

    Dear all,
    I am running in a strange problem. I want to log to application log (SLG1) in BADI BBP_CREATE_BE_PO_NEW. As soon as I call a function from there I get an error at the shopping cart position. Changing values in the given data does work without any problems. In EBP 3.5 we used the BADI BBP_CREATE_PO_BACK and this worked with logging without any problems.
    Thanks for support.
    Regards
    Roman

    Hello , there is an example of application logging usage in report SBAL_DEMO_01.
    You need an application log instance to be created before you can add messages that will be displayed using tx SLG1. Maybe its because you dont have a logging object instance in your badi.
    Hope it helps.
    Regards, Luciano.

  • Issue regarding application log in standard program RPCLMSU0

    System Status: SAP ECC6, SP15.
    This probem has been observed after we have upgraded from 4.6C.
    In the include RPCLMSUF of the Report RPCLMSU0, there is an FM BAL_LOG_MSG_ADD, which adds messages to an application log.
    A structure is passed to the FM, of type bal_s_msg.
    The first 3 components of the structure are of type:
    sy-msgt, sy-msgid and sy-msgno.
    These should normally be filled in by values from the FM called just above it: BAL_LOG_CREATE.
    But this doesnu2019t happen.
    So, SAP has hardcoded values for these 3 as u2018Eu2019 (Message type), HRPAYNA_ALV (Message ID) and u2018998u2019 (Message no).
    These are the values that get printed when the program is tested. i.e. the hardcoded text is getting displayed.
    Output in the ALV : HRPAYNA_ALV:998 ***********No records found***********
    We have checked the documentation for the FMs, and even gone through a few sample programs that SAP has created like SBAL_DEMO_02. The output is perfect here.
    Since this is code that SAP has added (Entire form added "SL0K008292) by SAP to its standard code, they must believe that these hardcoded text will still not get printed. Can this error can be corrected by making some configuration changes in the system (SLG1?).
    The code of the suroutine where this FM is called is given below:
    FORM alv_appl_msg_add USING iv_text1 TYPE any
                                iv_text2 TYPE any
                                iv_text3 TYPE any
                                iv_text4 TYPE any.
    Constants delcation.....
      CONSTANTS: lc_msgid TYPE sy-msgid VALUE 'HRPAYNA_ALV', " Message ID
                 lc_msgty TYPE sy-msgty VALUE 'E'.  " Message Type
    Data declarations.....
      DATA  ls_msglog TYPE bal_s_msg.      " Structure for msg log
      ls_msglog-msgty     = lc_msgty.
      ls_msglog-msgid     = lc_msgid.
      ls_msglog-msgno     = gv_msgno.
      ls_msglog-msgv1     = iv_text1.
      ls_msglog-msgv2     = iv_text2.
      ls_msglog-msgv3     = iv_text3.
      ls_msglog-msgv4     = iv_text4.
    Function module is used to add the messages to message log
      CALL FUNCTION 'BAL_LOG_MSG_ADD'
        EXPORTING
          i_s_msg = ls_msglog
        EXCEPTIONS
          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.                               " IF sy-subrc <> 0
    ENDFORM.                               " alv_appl_msg_add

    Hi
    Pass IDoc Number, Date, Time from EDIDC table to FM-
    'APPL_LOG_READ_DB'.
    You'll get all log details of that IDoc.
    For only Message, check FM - 'IDOC_GET_MESSAGE_ATTRIBUTE'.
    Regards.

  • How to create application log in SAP

    According to my reqirement,I need to display messages in the application log whenever some updation is done.
    How to do create application log and display messages in the application log.

    Hello Smriti
    If you have interface IF_RECA_MESSAGE_LIST available on your system then I highly recommend to use as message collector.
    When you create an instance of the interface (CF_RECA_MESSAGE_LIST=>CREATE) you can provide an application log object.
    The collected messages can easily be saved as log.
    For an example have a look at my Wiki posting [Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/MessageHandling-FindingtheNeedleintheHaystack]
    Regards
      Uwe

  • Message Count in application log of a job

    After running mass job (example: EA29 - Mass processing of bill printout), there is an option to display the application log.  The application log shows counts for the following: "Success Message", "Statistical Data", "Information", "Normal Error". 
    Are these counts stored somewhere like a database table?

    Hi Blumtain,
    You can find logs in the database with the function module BAL_DB_SEARCH.
    You pass the log header filter criteria (structure BAL_S_LFIL), and a table of log headers (structure BALHDR) which satisfy the criteria is returned. You can pass this to the function module BAL_DB_LOAD, which loads these logs into memory.
    Regards,
    Manish

  • 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

  • Application Log in Function Module

    Hi Experts,
    I have come across application log as input in several function modules. What is the significance of the application log and how do I generate it so that I can use the function module. Following is the interface of my function module
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IV_UPDATE_TYPE) TYPE  UPDATE_TYPE DEFAULT 'U'
    *"     REFERENCE(IV_PRODUCT_GUID) TYPE  COMT_PRODUCT_GUID
    *"     REFERENCE(IS_SET_MAINTAIN) TYPE  ZSORGIB_MAINTAIN
    *"     REFERENCE(IV_APPLICATION_LOG) TYPE  BALLOGHNDL
    Regards,
    Abdullah Ismail.

    Hi,
    You can use the Application Log to display error messages, warnings, and other information generated by KM applications and services.
    Use FM Application 'BAL_LOG_CREATE'  for creating an handle and then call FM 'BAL_LOG_MSG_ADD' to add new messages under this handle. When you call the function module with the handle generated by you. The messages inside the fm will be logged with that handle which later on you can get using BAL_LOG_MSG_READ.
    Thanks and warm regards,
    Smita.

  • Application logs for log handling in lsmw idoc method

    Hi Abapers,
          Im using LSMW IDOC method for data transfer from legacy to sap system.Now the requirement is to handle application logs for log handling i.e i have to make use of custom report to handle logs,can any one tell me what all steps to be done for this or if any one can share a link related to application logs would be greatly appreciated.
    Thanks.
    Edited by: saeed.abap on Dec 27, 2011 5:13 PM

    Hi Saeed,
    Please check with this fms
    1) BAL_DSP_LOG_DISPLA
    2) APPL_LOG_READ_DB
    3) IDOC_GET_MESSAGE_ATTRIBUTE
    There is a wiki [Error Log Lsmw|http://wiki.sdn.sap.com/wiki/display/Snippets/ErrorLogProgramforBAPIandIDocMethodin+LSMW] available.
    Regards,
    Madhu.
    Edited by: madhurao123 on Dec 28, 2011 8:25 AM

Maybe you are looking for

  • Monitor Oracle E-Business Suite R12.1.2

    Dear all, can someone help me to configure dmstool for Oracle ebs 12.1.2 to monitor the processes. Thanks in advance. Regards, Anoep

  • How to create a query using the requirements given ? step by step  plz

    REQUIREMENTS 1)     Model- Use multiprovider ZXT_MXXX as infoproviders 2)     Query- copy ‘ZXT_MXXX_QYYY’ as head start <b>b.     Fields for output</b> 1.     Hourly Rate-- I know its dataflow .It comes from infotype IT yyyy Program name MPyyyy00 and

  • How can I read JPEG attributes?

    I am new to JAVA. I need some helps~~ How can I read the JPEG attributes? The attributes here I say are Title, Subject, Author, Keywords, Comments. All of these can be found in the summary of jpeg files by clicking properties of the files in windows

  • Using Remote Desktop - Windows RT 8.1

    Hello, I was directed here from the Microsoft Answers community site about my issue regarding Remote Desktop on my Surface 2 RT. I am trying to connect my Surface 2 to my Windows 8.1 Pro desktop (it has Media Center on it as well). The problem that k

  • Help me on this please .

    help me on this please . how can i put itunes on my Blackberry 8520 please teach me the steps