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.

Similar Messages

  • Performance Issue with application logs

    Hi
    Has any one come across or aware how to address a issue in Event Management on R/3 as well as SCM side where the application log tables (BALDAT) are loaded causing peformance issue to the system?I have checked the SAP notes in this connection but its not of any help.Any event change is causes lot of logs registration.
    Thanks in advance
    Anders.

    Hello Anders,
    on R/3 side you can disable logs in transaction /SAPTRX/ASC0AO on AO Type and Event type level.
    In the EM/SCM system you have per Event Handler Type options to control the log in transaction /SAPTRX/TSC0TT.
    Logs for Event Messages can be disabled in transaction /SAPTRX/TSC0MBF.
    Recommendation is that you disable all logging in big production environments and only enable it when you have any problems.
    Best regards,
    Steffen

  • 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

  • Creative Cloud : Flash did not install but Application Manager says the program is "Up to Date"

    I tried to instal Flash via the Application Manager the other day, my laptop went to sleep during install and when I woke it back up again the installation had frozen. I closed the manager and rebooted my laptop. The application manager now says that Flash installed and is "Up to Date"
    But the application is not on my laptop... I looked in the adobe folder and there is nothing for flash. Searching comes up with no results.
    I've tried uninstalling and reinstalling the app manager but the same thing appears, I have no way to reinstall Flash. If you have any ideas please let me know!
    Thank you!

    Hi Jeff,
    I am having a similar issue. Application manager says these programs are installed: Ps, Ae, Dw, Sg, Pl, Creative Cloud, but only Air and Premiere show in the Programs and Features panel as having been installed. The directories are all there, too, under Programs, but the programs won't run (nothing on start menu or in the programs list from that).
    In addition, you say to uninstall the Application Manager, but it's not listed on the installed programs either. If I click on the downloaded file for it's intallation, it simply runs the program, as if it's already installed. Shouldn't it be under Progams and Features as an uninstallable program?
    So, first, how do I uninstall the Application Manager? I like the idea of using this simple interface, so would like to continue to use it again after re-install.
    Second, I would try manually installing the programs that are missing, but I don't know if that's safe considering the targeted directories are already full of files and data, as if they were installed, but didn't register properly with Windows to be able to be run.
    I am not blaming Adobe on this, by the way, but I suspect that, because it was taking so long to install all the listed programs, I left the computer on and went to sleep, and possibly some power-saving feature interrupted the installation progress. It's a brand-new, very fast laptop, a Lenovo Y500 with Windows 8, and I just don't know how to control everything on it yet.
    What to do?

  • Regarding Application server file path browsing

    Hi All,
    I have a issue regarding Application Server File Path browsing.
    Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
    Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
    Can anybody solve my issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Shaik,
    Just copy and paste:
    Here is the code for retrieving list of files contained within specific Application server directory(SAP).
    PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
    include structure salfldir.
    data: end of it_filedir.
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
    call function 'RZL_READ_DIR_LOCAL'
    exporting
    name = p_fdir
    tables
    file_tbl = it_filedir.
    List of files are contained within table it_filedir
    loop at it_filedir.
    write: / it_filedir-NAME.
    endloop.
    Hope this will help you.
    Let me know incase of any concerns.
    EDIT:
    There are few FM for ur refernce :
    RZL_READ_DIR_LOCAL
    SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
    F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
    TH_SERVER_LIST Returns list of application servers.
    EPS_GET_DIRECTORY_LISTING – Lists filenames from the application server .
    Cheers
    Sunny
    Rewrd points, if found helpful
    Message was edited by: Sunny

  • 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 can I display error log of a standard program in my custom program?

    Hello Experts,
    I have a requirement where I submit a standard program from my custom module pool program as a background job. I use the TO SAP-SPOOL and thus the log is available when I go to SM37 and check the spool list. I have a requirement that I display this log in a tab within my module pool after the completion of the program. I am unable to fins a proper solution to this. I have both the spool number & the log number but I am unable to find function modules which will help me print them within my program. I found many ways to display it but as full screen and not with in my program.
    Could someone please help me with this.
    Thank You

    Hi,
    FM to read a spool request is "RSPO_RETURN_ABAP_SPOOLJOB".
    If the error log is displayed as a list output in the standard program, you can also use the syntax SUBMIT Program... and RETURN with export to memory addition.
    Then you will be able to read the list output from memory.
    Regards,
    Munesh.

  • Application Log Issue

    Hello all,
    I need to get the application log data into an internal table.
    I have the following parameters with me: 1) OBJECT ID
                                                                      2) SUBOBJECT
                                                                      3) EXTERNAL ID
    When i enter the same in SLG1 i get the information.
    How do i get the entire message into an Internal table in my program.I n
    Regards,
    Arun

    Hello Arun,
    Using function module 'APPL_LOG_READ_DB' u can read the application log.
    DATA: P_NUMBER_OF_LOGS LIKE SY-TABIX.
    Log header data
    DATA: BEGIN OF P_HEADER_DATA_TAB OCCURS 0.
    INCLUDE STRUCTURE BALHDR.
    DATA: END OF P_HEADER_DATA_TAB.
    Log parameters
    DATA: BEGIN OF P_HEADER_PARA_TAB OCCURS 0.
    INCLUDE STRUCTURE BALHDRP.
    DATA: END OF P_HEADER_PARA_TAB.
    Log messages
    DATA: BEGIN OF P_MESSAGE_TAB OCCURS 0.
    INCLUDE STRUCTURE BALM.
    DATA: END OF P_MESSAGE_TAB.
    Message parameters
    DATA: BEGIN OF P_MESSAGE_PARA_TAB OCCURS 0.
    INCLUDE STRUCTURE BALMP.
    DATA: END OF P_MESSAGE_PARA_TAB.
    CALL FUNCTION 'APPL_LOG_READ_DB'
      EXPORTING
        OBJECT          = 'ZTEST'
        SUBOBJECT       = 'ZTEST01'
        EXTERNAL_NUMBER = 'Application Log Demo'
      IMPORTING
        NUMBER_OF_LOGS  = P_NUMBER_OF_LOGS
      TABLES
        HEADER_DATA        = P_HEADER_DATA_TAB
        HEADER_PARAMETERS  = P_HEADER_PARA_TAB
        MESSAGES           = P_MESSAGE_TAB
        MESSAGE_PARAMETERS = P_MESSAGE_PARA_TAB.
    Please let me know any help needed further.

  • Deleting expired application logs is key to improving mass activity performance issues

    During mass activity runs reference is made to the system's application logs during the process of line item selection. Performance based issues can be overcome by deleting old/expired application logs from the system, and rebuilding the affected table index. Based on my analysis on these issues, there has been a significant observation of 90% improvement in performance.

    Dear Astrid,
    Depending on the performance trace observed using transaction ST12, if for instance the SELECT on a particular table takes the most time, deleting all expired application logs and rebuilding the table index will result in a significant performance improvement.
    Yes 90% improvement will be observed across the entire mass activity run. In my example below I use table BALHDR.
    1. Run report SBAL_DELETE to delete all expired
    application logs from table BALHDR
        1.1. At the selection screen of report
    SBAL_DELETE, set the radio button for the expiry date to 'Only logs which have
    reached their expiry date’
        1.2. Under the tab for 'Selection
    conditions', enter the affected transaction code. e.g FPVA
        1.3. To delete the entries, set the radio
    button under the Options tab to 'Delete immediately'
        1.4. Finally, execute or use shortcut F8 to
    delete logs
    2. Rebuild index 1 on table BALHDR (create a
    secondary index on the table).
    I hope this helps.
    Kind Regards,
    Adrian

  • Responsibles for standard application log development (SBAL)

    Hi,
    does anyone know, who is responsible for the development of the standard application log (SBAL).
    Best regards,
    Fabian

    Hi Fabian,
      I think one of them is,
    <b>  Brigitte Rousseau  ([email protected])</b>
      He replies to some of the critical problems in app log.
      One such note is 575143
      Hope this helps..
    Sri

  • Issue with the Receiving Transaction Processor Standard Program

    We are facing issue in the Receiving Transaction Processor Standard Program.
    The error description is as below:
    RVTII-030: Subroutine rvtiicreate() returned error
    Cause: Subroutine rvtiicreate() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system administrator.
    RVTII-077: ORA-01476: divisor is equal to zero
    Cause: A SQL error has occurred in RVTII. The SQL error is &LSQL_ERR.
    if any once faced this issue earlier and any solution, Please let us know.
    Regards,
    Krishna

    Please see if these docs help.
    RMA Receipt Errors With RVTII:077 OE COGS API Returned Error Warehouse NULL [ID 301767.1]
    RCVRCERC: RVTII-077: ORA-0146: divisor is equal to zero [ID 1287907.1]
    Cost Of Goods Sold Account Generation Failed With Error [ID 406035.1]
    RMA Transaction Issues (Troubleshooting) [ID 311208.1]
    Thanks,
    Hussein

  • I'm having trouble with My adobe Creative Suite 4 Design Standard programs opening. They will bounce to open but won't open up and eventually I will need to force quit as they aren't responding.  I'm thinking it may be a font issue but need some support A

    I'm having trouble with My adobe Creative Suite 4 Design Standard programs opening. They will bounce to open but won't open up and eventually I will need to force quit as they aren't responding.  I'm thinking it may be a font issue but need some support ASAP!

    Nobody can tell you anything without proper system info or other technical details like the crash logs.
    Mylenium

  • Standard application log modification

    Hello all,
    I need help.
    I need to modify the standard application log,I have to change the header text(means we need to extend the header data).
    how can i processed Please help.
    Thanks & Regards,
    Naren.

    Hi Fabian,
      I think one of them is,
    <b>  Brigitte Rousseau  ([email protected])</b>
      He replies to some of the critical problems in app log.
      One such note is 575143
      Hope this helps..
    Sri

  • Issue regarding [Work Flow] Business Object Event Raise in ABAP Program

    Hi All,
    I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
    Actual TDS is as below:
    If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
    (BUS2065 Object key) in event container. Also include table of text version of error
    messages for this set of Transfer
    Request.
    Can anybody tell me how can i write it technically in ABAP Code.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    Can anybody solve above posted issue!
    Thanks,
    Deep.

  • Standard program modification logs

    Hi,
    Is there any way/transaction we can view or store logs from a modified standard program ?
    Something like the version management in the abap editor but it must display all the standard program that has been modified .
    The purpose is to easily keep track of all the changes, in case of system refresh/update.
    Thank you.

    version management will report changes for ALL ABAP objects, including those in SAP namespace.  is that what you're asking for?

Maybe you are looking for

  • A null object loaded from local variable 'o' in XSLT mapping

    Hi experts, We are facing an issue in XSLT mapping for one of the inbound scenario. While executing the source message at mapping level, it is failing with the error text - "javax.xml.transform.TransformerException: com.sap.engine.lib.xsl.xpath.XPath

  • Use Referenced Masters To Avoid Accidentally Deleting A Master Image File

    If you use Managed images it is possible to delete the master file accidentally.  If you delete versions of an image using File -> Delete Version and the version you are deleting is the last remaining version for that image, Aperture 3 will delete bo

  • TopLink, Netbeans 7.4 with embedded Java DB

    Hi, I need some guidance please as I'm new to this subject. I'm building a Java SE application of a catalogue of music albums and I've looked at the few tutorials (specific to NetBeans) about data binding and TopLink Essentials. However, none of the

  • Request failing while data loading

    Hi Experts, I am extracting some data for a data source 0CO_PC_01 upto PSA but the load is failing everytime with a message "Error occurred in data selection". When I checked the source system there is a short dump with error " Source no does not exi

  • PC Suite Bulk SMS

    I am using PC Suite to load numbers to the phone and then send out SMS messages, however I am limited to loading 499 numbers at a time.  Does anyone know if this is a phone restriction or a PC Suite restriction?  the phone is an old 2100 model (I thi