壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 392|回复: 0

[制造] Oracle EBS WIP模块Debug Log收集方法

[复制链接]
发表于 2013/6/20 16:06:36 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
How to generate WIP debug log files in ONLINE cases?
For 11.5.10 and above, the WIP debug log files will be created if
    1. FND: Debug Log Filename = (Make sure this is null)
    2. FND: Debug Log Enabled = Yes
    3. FND: Debug Log Level = Statement
    4. FND: Debug Log Module = WIP%
To get the log file, run the following SQL script. This will create an output called MoveON.txt
        set pagesize 500
        col message_text format a99
        spool MoveON.txt
        select message_text from fnd_log_messages where audsid=&audsid order by log_sequence;
    spool off
       To get the audsid In online cases
        Navigate to Help > About Oracle applications  
·        Note AUDSID Under Database Server and use it in the above sql.
        To get the log messages for mobile applications
               1. Get the maximum log sequence number using the following sql just before performing the test case and make a note of it.
                     select Max(log_sequence)  from fnd_log_messages;
               2. To get the log file,run the following SQL script.
                   set pagesize 500
                   col message_text format a99
                   spool log.txt
           select message_text from fnd_log_messages where log_sequence > &log_sequence;
           Use the log_sequence number which is obtained from the point 1.           
Note: For 11.5.9 and prior, there will be NO WIP debug log files generated for online cases.

How to generate WIP log files in BACKGROUND cases?
     For 11.5.10 and above, the WIP debug log files will be created if
     1.  FND: Debug Log Filename = (Make sure this is null)
     2.  FND: Debug Log Enabled= Yes
     3.  FND: Debug Log Level = Statement
     4.  FND: Debug Log Module = WIP%
          To get the log file, run the following SQL script. This will create an output called MoveBG.txt
            set pagesize 500
            col message_text format a99
            spool MoveBG.txt
            select message_text from fnd_log_messages where audsid=(select oracle_session_id from fnd_concurrent_requests where   
          request_id = &Concurrent_Request_Id) order by log_sequence;
            spool off
    For 11.5.9 and prior, the WIP debug log files will be created if
      1.  TP: WIP Concurrent Message Level = Message Level 2
      2.  TP: WIP Debug Directory = "valid directory from v$parameter"
               You can use the following query to find out a valid directory.
                select value from v$parameter where name=utl_file_dir;
     3.  TP:WIP Debug File = "valid filename"
     4.  MRP: Debug Mode = Yes
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 01:05 , Processed in 0.017615 second(s), 18 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表