当前位置:  数据库>oracle

Oracle EBS Shipping(WSH)模块日志收集方法

    来源: 互联网  发布时间:2017-04-29

    本文导语: A. To generate a debug file from the Shipping Transaction or Quick Ship forms Set the following profile options:OM: Debug Level - set to 5WSH: Debug Enabled - set to YesWSH: Debug Level - set to StatementWSH: Debug Log Directory - any directory that can be written to by the databaseTo check, run th...

A. To generate a debug file from the Shipping Transaction or Quick Ship forms

  • Set the following profile options:
    OM: Debug Level - set to 5
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    WSH: Debug Log Directory - any directory that can be written to by the database
    To check, run the following SQL statement:
    Code:
    select value from v$parameter where name = 'utl_file_dir'
    Set profile option WSH: Debug Log Directory at the Site & Application Level.
  • In the Shipping form go to Tools and check the Debug box. This will print out a file name - NOTE down this file name.
  • Perform the action you wish to debug.
  • Go to Tools and uncheck Debug.
  • After you have completed generating the debug file, please set thevalue of the profile OM: Debug Level back to 0 and WSH: Debug Enabledset to No, otherwise there will be some performance impact. Retrievethe debug file from the directory specified in step 1.





  • B. To generate debug information for Pick Release :

  • Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Trace - set to Yes
    INV: Debug Level - set to 11
    FND: Debug Log Enabled - set to Yes
    FND: Debug Log Level - set to Statement
    FND: Debug Log Module = set to wms.plsql.%
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
  • In the Release Sales Order for Picking form go to Tools and check the Debug box.
  • Submit the pick release.
  • Provide the Pick Selection List Generation log file.








  • C. To generate debug information for Interface Trip Stop - SRS:

  • Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
  • Set the Debug Level parameter to 1 (Debugging ON) .
  • Submit the job.
  • Provide the log file.




  • D. To generate debug information for an APIs:

  • Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    WSH: Debug Log Directory - set to a valid writeable directory path
  • Add the following line of code in the wrapper script which calls the API:
    Code:
    DECLARE 
     l_file_name VARCHAR2(32767);
     l_return_status VARCHAR2(32767);
     l_msg_data VARCHAR2(32767); 
     l_msg_count NUMBER;
    
    BEGIN 
     
     fnd_profile.put('WSH_DEBUG_MODULE','%');
     fnd_profile.put('WSH_DEBUG_LEVEL',WSH_DEBUG_SV.C_STMT_LEVEL); 
     wsh_debug_sv.start_debugger(l_file_name,l_return_status,l_msg_data,l_msg_count); 
  • Submit the job.
  • Provide the log file.







  •     
     
     
     
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Oracle 安装和卸载问题收集(集合篇)第1/6页
  • 收集的ORACLE函数大全
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • 请问su oracle 和su - oracle有什么不同?
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle 数据库开发工具 Oracle SQL Developer
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Oracle EBS R12 支持 Oracle Database 11g
  • Oracle 10g和Oracle 11g网格技术介绍
  • SCO unix下安装oracle,但没有光盘,请大家推荐一个oracle下载站点(unix版本的)。谢谢!!!!
  • oracle中如何把表中具有相同值列的多行数据合并成一行
  • 请问大家用oracle数据库, 用import oracle.*;下的东西么? 还是用标准库?
  • Oracle 数据库(oracle Database)性能调优技术详解
  • Linux /$ORACLE_HOME $ORACLE_HOME
  • ORACLE日期相关操作
  • Linux系统下Oracle的启动与Oracle监听的启动
  • ORACLE数据库常用字段数据类型介绍
  • 请问在solaris下安装ORACLE,用root用户和用oracle用户安装有什么区别么?
  • Oracle 12c的九大最新技术特性介绍
  • 网间Oracle的连接,远程连接Oracle服务器??


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,