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

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

  • Write error log to Application log

    Hi All ,
    I am new to APO area . I am writing a report in APO and the requirement here is to write the error log to the application log .  Can anyone help explain the process o hot to write the error log to  application log . If possible please help me with some code .
    Thanks ,
    Daniel.

    Hi Daniel,
             Refer the below code for writing the application log.
    .<a href="/people/kamalkumar.ramakrishnan/blog/2007/01/10/a-primer-on-using-and-creating-sap-application-log on Application Log</a>
    Regards,
    Siva.
    Create a Application log
        CALL FUNCTION 'BAL_LOG_CREATE'
          EXPORTING
            i_s_log                 = g_bal_log
          IMPORTING
            e_log_handle            = g_log_handle
          EXCEPTIONS
            log_header_inconsistent = 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.
      ENDIF.
    loop at g_return.
      g_log_mess-msgty     = g_return-type.
      g_log_mess-msgid     = g_return-id.
      g_log_mess-msgno     = g_return-number.
      g_log_mess-msgv1     = g_return-message.
      g_log_mess-msgv2     = g_return-message_v1.
      g_log_mess-msgv3     = g_return-message_v2.
      g_log_mess-msgv4     = g_return-message_v3.
      g_log_mess-probclass = 'Error Class'.
    appemd g_log_mess.
    endloop.
    add this message to log file
      CALL FUNCTION 'BAL_LOG_MSG_ADD'                          
        EXPORTING
          i_s_msg       = g_log_mess
        EXCEPTIONS
          log_not_found = 0
          OTHERS        = 1

  • 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

  • Writing Application Log of SAP PI

    Hi All,
    I have a requirement to update the Application Log of SAP PI 7.1 with Ehp1 whenever mapping for a particular pair of Sender and Receiver is executed.
    SenderA (JMS) -> SAP PI (update Application Log; SLG1) -> ReceiverA (JMS).
    I have already seen this blog: /people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility but it seems to be written long back.
    How should this be done in PI?
    Thanks
    Pankaj

    You can do this with an RFC lookup in message mapping, or with a BPM by calling an abap proxy that post a log in SLG1.

  • Application Log in SAP AII

    The following log <b>Backend integrated documents are not supported</b> is found while trying to give “<b>complete document for free pack</b>” in exception handling (AUTO-ID COCKPIT).
    Can anyone say what could be the reason for the specified log?

    Hi Hari,
    System logs activities in SAP GTS system for various objects, including document blocks in SAP Compliance Management for the customs documents that are replicates of logistics documents from the feeder system and similar such data is also recorded by the system for references at a latter stage for other areas as well. These are known as application logs. For a quick reference, you can use Tcode SLG1 and look at the various things it has. I hope this is what you asked for. For more information, please feel free to ask and of course keep posting.
    Regards,
    Aman

  • SAP TABLE TO VIEW THE APPLICATION LOGS OF IDOCS

    Hi,
    Can you please suggest where I can see the table to view the application logs in idocs. We can see this individually in SLG1 or MM90. But I need to see it collectively to see all the error messages. Please suggest.

    Hi
    You can check tables:
    EDIDC- for control records
    EDID4-for Data Records
    EDIDS-for Status records
    You can also use T Code WE02 or WE05
    Thanks & Regards
    Sanil Bhandari

  • Com.sap.sql.log.OpenSQLException during EntityManager Call

    Hi!
    I deployed an EJB3 session bean on the NW 7.1.
    The aim is to use JPA with this bean.
    I configured the "persistence.XML" for the bean project and packed it into the jar File and a "data-source-aliases.xml" which is included in the ear file. The packaging of the ear-file is done with the developerStudio and deployed on the NW 7.1
    Then I created a dataSource project which contains the "data-sources.xml" and deployed this too.
    Here is my data-sources.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE data-sources SYSTEM 'data-sources.dtd'>
    <data-sources>
        <data-source>
            <data-source-name>JPA_SDN_EXAMPLE_DS_555</data-source-name>
            <driver-name>ora10</driver-name>
            <sql-engine>native_sql</sql-engine>
            <jdbc-1.x>
                <driver-class-name>oracle.jdbc.driver.OracleDriver</driver-class-name>
    <!-- *** Edit the following entries appropriately *** -->
                <url>jdbc:oracle:thin:@10.XXX.7.27:1521:orcl</url>
                <user-name>bdeadm</user-name>
                <password>dmin</password>
    <!-- *** End editing ***  -->
            </jdbc-1.x>
        </data-source>
    </data-sources>
    My deployed session bean looks like this:
    @Stateless(name="WorkerBean")
    public class WorkerBean implements WorkerRemote {
         @PersistenceContext(unitName="JPAModel")
        private EntityManager em;
         public String sayHello() {
    The last step was the deploment of the oracle driver on the NW7.1 under the "Application Resources Overview". The driver I named "ora10".
    Now if I call my Bean shown above with its Entity Manager Call for the injection I got the following exception:
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:532)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:157)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:117)
         at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
    I have no idea, whats wrong. Perhaps my driver is wrong or not set properly ?
    Can anybody help me please ?
    Thanks in advance,
    Hendrik
    Edited by: henne123 on May 18, 2009 6:19 PM

    I have tried that.
    [EXCEPTION]
    *com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM EPD.SAPEPDDB.UME_EP_SLD" contains the syntax error[s]: - Open SQL syntax error: table names must not specify a catalog name (delete "EPD". before "SAPEPDDB"."UME_EP_SLD")*
    Database name must be Ok, because i can access to other tables which are in the same DB...
    Thanks for your help

  • Sap application takes tooo much time to start

    sir my sap solution manager server takes too much time to start,
    when i saw in windows mmc it shows that system is  accesing the <sid>\sys\global\security\lib\engine\iaik_jce.jar(which is accesing by nearly 20 to 30 min )during this in application log it shows error like ,
    1. transation canceled 15   100()
    2.runtime error" CREATE_DATA_UNKNOWN_TYPE
    CAN any one hlp

    hi thanks for  responding
    actually today when i start the system it shows many error in every miniute like operating system call connection failed(no. 100061)
    with every same in my last post .
    this is st22 dump
    Current Date Time Application Server User Name Client ID Keep Name of runtime error Exception Appl. component Report Name Index of Work Process Transaktions-ID
    17.06.2010 10:11:33 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     0 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:11:32 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     0 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:10:42 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     1 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:10:38 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     1 70C979DF97D7F14AB156000C29EE2DC4 
    17.06.2010 10:09:29 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     1 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:07:37 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     0 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:07:36 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     0 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:07:28 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     0 70C979DF97D7F14AB156000C29EE2DC4
    17.06.2010 10:07:06 solman_ASM_00 SMD_RFC 300 C CREATE_DATA_UNKNOWN_TYPE CX_SY_CREATE_DATA_ERROR     0 70C979DF97D7F14AB156000C29EE2DC4

  • Exporting and Importing Data of Application Log

    Hello,
    We do migrate an application from SAP System A to SAP System B.
    Despite the application logic, we do need to migrate some data, too.
    For this we do write an export report in System A that writes the data of some tables to  files on the app server..
    Another report in system B takes the files and fills the respecting tables.
    So far so good:
    One table (which reports certain actions)  contains the handle to the application log, which was created for this action.
    I do want to extract this application log and later import this log in the other system, but do not know how this can be done in the best way.
    Do you have any suggestion ?
    Best regards
    Michael

    In my experience, it's an unrealistic expectation.
    SAP doesn't provide a straight path to migrate logs the way you plan to do. It's kept in a combination of tables and index files on the system. So even if you were to successfully extract it, when you load the data into system B you will lose the date and time stamp. When you create a log entry, it picks up system date and time. That's what an auditor would look for.
    An alternate solution would be to read the application log and store it in a new custom table in system B.
    Any reporting should be done off that as of a specific date.

  • Error while starting SAP Application Server

    Hello everyone,
    This morning, i tried to start the SAP application Server, and i have this message error, some sentances are in frensh , i translate it in english with this sign --> before.
    ===================================================
    ============== Starting System NSP ================
    ===================================================
    =============== Starting database instance ...
    Le nom de service n'est pas valide.
    -->The service name is invalid.
    Vous obtiendrez une aide supplémentaire en entrant NET HELPMSG 2185.
    -->More help is available by typing NET HELPMSG 2185.
    The MaxDB Database Starter, Version 7.7.04.23
    Copyright 2000-2008 by SAP AG
    ERR
    -24988,ERR_SQL: SQL error
    -104,DBM command impossible at this time
    20013,Admin command cannot enter critical state 'Backup'
    Error: Error while calling dbmcli
    "D:sapdbprogramspgmdbmcli"  -d NSP -u , db_online
    ============== Start database failed !
    Can somone, explain me, please, the origin of this problem and may be a solution to solve it.
    Thank you and have a nice day.
    Best regards.
    Amine

    Seem that is a problem in starting DB instance phase, specificly for DBMS instance (you need to check detailed DB starting log in run directory).
    For Run Directory, check this link:
    http://www.sapdb.org/7.4/htmhelp/ff/2d823b572b844ee10000000a11402f/frameset.htm
    For DB Log Files:
    http://www.sapdb.org/7.4/htmhelp/9c/2d04073493af41844be62f15d252f3/content.htm
    Is a Local SAP System?

  • Problem about com.sap.tc.logging.LogController.removeLogs

    Hi guy
    I create a LogIt class. code like this
    {private static Category cate = Category.getCategory(Category.APPLICATIONS,"/shneider/km");
         private static void iniLog(){
              cate.removeLogs();
    when runtime I find error in sap nwa log
    Help me
    thanks
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###com.sapmarkets.bam.util.BAMRuntimeException: Permission denied by JMX.#
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller test not authorized, only role administrators is allowed to access JMX#
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###java.security.AccessControlException: access denied (javax.management.MBeanPermission -\#-[:SAP_J2EECluster="",SAP_J2EEClusterNode="",j2eeType=LVLogType,name=./log/schneider/debug/km.%g.log] unregisterMBean)#
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###Originated from: java.security.AccessControlException: access denied (javax.management.MBeanPermission -\#-[:SAP_J2EECluster="",SAP_J2EEClusterNode="",j2eeType=LVLogType,name=./log/schneider/debug/km.%g.log] unregisterMBean)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at com.sap.engine.services.jmx.EngineAuthorization.checkMBeanPermission(EngineAuthorization.java:66)
         at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:77)
         at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:98)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.unregisterMBean(MBeanServerSecurityWrapper.java:395)
         at com.sap.engine.services.jmx.ClusterInterceptor.unregisterMBean(ClusterInterceptor.java:1327)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.unregisterMBean(MBeanServerInterceptorChain.java:258)
         at com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler.unRegisterLogMBean(AbstractFileLogHandler.java:538)
         at com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler.handleEvent(AbstractFileLogHandler.java:563)
         at com.sap.tc.logging.LoggingManager.notifyRemoveLog(LoggingManager.java:379)
         at com.sap.tc.logging.LogController.removeLogsNormalInt(LogController.java:3394)
         at com.sap.tc.logging.LogController.removeLogs(LogController.java:1462)
         at com.deep.util.LogIt.iniLog(LogIt.java:142)
         at com.deep.util.LogIt.Log(LogIt.java:45)
         at com.deep.authoriy.impl.KmAuthServImpl.getBoScope(KmAuthServImpl.java:91)
         at com.deep.service.impl.KmCategoriesSerivceImpl.hasGrandson(KmCategoriesSerivceImpl.java:175)
         at com.deep.km.cate.comp.Comp_KmCategories.getCategories(Comp_KmCategories.java:703)
         at com.deep.km.cate.comp.Comp_KmCategories.initKmCategoriesTree(Comp_KmCategories.java:354)
         at com.deep.km.cate.comp.Comp_KmCategories.initView(Comp_KmCategories.java:541)
         at com.deep.km.cate.comp.Comp_KmCategories.wdDoInit(Comp_KmCategories.java:137)
         at com.deep.km.cate.comp.wdp.InternalComp_KmCategories.wdDoInit(InternalComp_KmCategories.java:367)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    Edited by: yan liang on Dec 2, 2010 4:02 AM

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

  • To add message in Application Log in Me2xn

    Hello Experts,
    This is my requirement.
    During creation of PO item it is required to put a check if the Vendor is one among the Vendors in the table: ZTABLE.
         If yes, it means that the PO is an internal order. Then you should check if the flag: GR Non-valuated is set for the newly added items.
         If not, send out an error into the application log when the document is saved, so that the user is notified and it has to be checked to make the document complete for further processing.
    I have implemented is check in the exit <b>EXIT_SAPMM06E_012</b>. But I don't know how to update the application log.
    Could you please send some sample code to update the application log saying that <b>the PO is inetrnal Order</b>
    Thanks in Advance.
    Regards,
    Vasanth

    Hi Vasanth,
    in this case u have to USE BADI only ,
    path-.Se18->f4--.SAP Application and check under ME package.
    Regards
    Prabhu

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

  • Can not start SAP application server

    Hi All,
    I use RZ10 to change instance profile, after that I shutdown SAP application but nothing can start.
    In process list : msg_server.exe : stopped
                             disp+work.exe : stopped
                             igswd.exe : stopped
    Pls help me resolve it.

    Hi,
    This is new dev_disp file: ______________
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        DEV
    systemid   562 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    185
    intno      20050900
    make:      multithreaded, Unicode, 64 bit, optimized
    pid        944
    Fri May 27 08:54:12 2011
    kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 944) [dpxxdisp.c   1285]
         shared lib "dw_xml.dll" version 185 successfully loaded
         shared lib "dw_xtc.dll" version 185 successfully loaded
         shared lib "dw_stl.dll" version 185 successfully loaded
         shared lib "dw_gui.dll" version 185 successfully loaded
         shared lib "dw_mdm.dll" version 185 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Fri May 27 08:54:17 2011
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5418]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >dianasvr1_DEV_00                        <
    DpShMCreate: sizeof(wp_adm)          29792     (1752)
    DpShMCreate: sizeof(tm_adm)          5912704     (29416)
    DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    DpShMCreate: sizeof(comm_adm)          552080     (1088)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1864)
    DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000F1D0050, size: 6614016)
    DpShMCreate: allocated sys_adm at 000000000F1D0050
    DpShMCreate: allocated wp_adm at 000000000F1D21F0
    DpShMCreate: allocated tm_adm_list at 000000000F1D9650
    DpShMCreate: allocated tm_adm at 000000000F1D96B0
    DpShMCreate: allocated wp_ca_adm at 000000000F77CF30
    DpShMCreate: allocated appc_ca_adm at 000000000F782D30
    DpShMCreate: allocated comm_adm at 000000000F784C70
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 000000000F80B900
    DpShMCreate: allocated gw_adm at 000000000F80B980
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 000000000F80B9B0
    DpShMCreate: allocated wall_adm at 000000000F80B9C0
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    rdisp/queue_size_check_value :  -> off
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    <ES> Info: em/initial_size_MB( 18431MB) not multiple of em/blocksize_KB( 4096KB)
    <ES> Info: em/initial_size_MB rounded up to 18432MB
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 4607 blocks reserved for free list.
    ES initialized.
    mm.dump: set maximum dump mem to 96 MB
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1692]
    ***LOG Q0K=> DpMsAttach, mscon ( dianasvr1) [dpxxdisp.c   12429]
    DpStartStopMsg: send start message (myname is >dianasvr1_DEV_00                        <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 185
    Release check o.K.
    Fri May 27 08:54:57 2011
    my types changed after wp death/restart 0xbf --> 0xbe
    my types changed after wp death/restart 0xbe --> 0xbc
    my types changed after wp death/restart 0xbc --> 0xb8
    my types changed after wp death/restart 0xb8 --> 0xb0
    my types changed after wp death/restart 0xb0 --> 0xa0
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:07 2011
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Fri May 27 01:55:07 2011
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA     3652 Ended         no      1   0        0                                                                         
    1 DIA     2964 Ended         no      1   0        0                                                                         
    2 DIA     3956 Ended         no      1   0        0                                                                         
    3 DIA     2992 Ended         no      1   0        0                                                                         
    4 DIA     3308 Ended         no      1   0        0                                                                         
    5 DIA     1072 Ended         no      1   0        0                                                                         
    6 DIA     1112 Ended         no      1   0        0                                                                         
    7 DIA     1820 Ended         no      1   0        0                                                                         
    8 DIA     3456 Ended         no      1   0        0                                                                         
    9 DIA     2496 Ended         no      1   0        0                                                                         
    10 UPD      608 Ended         no      1   0        0                                                                         
    11 ENQ     1368 Ended         no      1   0        0                                                                         
    12 BTC     2972 Ended         no      1   0        0                                                                         
    13 BTC     3656 Ended         no      1   0        0                                                                         
    14 BTC     3604 Ended         no      1   0        0                                                                         
    15 SPO     2724 Ended         no      1   0        0                                                                         
    16 UP2     3528 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Fri May 27 01:55:07 2011
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    5
    5
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     6 ( 75%),  shm     2 ( 25%)
    since last update     total     8,  udp     6 ( 75%),  shm     2 ( 25%)
    Dump of tm_adm structure:               Fri May 27 01:55:07 2011
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Fri May 27 01:55:07 2011
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:12 2011
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >dianasvr1_DEV_00                        < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (1252) (SOFT_KILL)
    Stop icman
    killing process (4044) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:1252  HANDLE:324)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:13 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:1252  HANDLE:324)
    wait for end of icman
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:14 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:15 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:16 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:17 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:18 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:19 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:20 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:21 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:22 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:23 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:4044  HANDLE:336)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=357
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 27 08:55:24 2011
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:4044  HANDLE:336)
    DpStartStopMsg: send stop message (myname is >dianasvr1_DEV_00                        <)
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes

Maybe you are looking for

  • How to unlock your ipad if you forgot your password, how to unlock your ipad if you forgot your password

    how to unlock your ipad if you forgot your password

  • New ITunes update query

    Hi. I have an Ipod Touch version2, which holds a lot of games and music. Tomorrow i will be receiving a new Iphone 3gs. My query is will i have to reinstall Itunes, will i be able to connect both the Touch and and the Iphone to the same Itunes accoun

  • Throwing Exception in Message mapping.

    Hello, I am using PI 7.0 and SP 16. I have implemented this blog  /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping . But when i was testing in Message Map it is showing the error but when i am testing an e

  • Errors when starting tomcat5.5

    Errors when starting tomcat5.5 I found below errors message when starting tomcat5.5 every time, does anyone know what cause it? Thanks in advance. JDK 1.5.0 & Struts 1.2 were installed on my machine, running on win XP home edition. validation.xml fil

  • Creating trigger using database link

    I need to create the trigger from local server B using Dblink(whereas the dblink points to the remote server A) Action of the trigger: After every insertion of the record in the 'Table1' from the Remote DB Server A , the newly inserted record should