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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 387|回复: 0

[制造] Oracle EBS Shipping(WSH)模块日志收集方法

[复制链接]
发表于 2013/6/21 09:50:56 | 显示全部楼层 |阅读模式

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

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

x
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:
  1. select value from v$parameter where name = 'utl_file_dir'
复制代码
Set profile option WSH: Debug Log Directory at the Site & Application Level.

2.   In the Shipping form go to Tools and check the Debug box. This will print out a file name - NOTE down this file name.

3.   Perform the action you wish to debug.

4.   Go to Tools and uncheck Debug.

5.    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:
  1. DECLARE
  2. l_file_name VARCHAR2(32767);
  3. l_return_status VARCHAR2(32767);
  4. l_msg_data VARCHAR2(32767);
  5. l_msg_count NUMBER;

  6. BEGIN

  7. fnd_profile.put('WSH_DEBUG_MODULE','%');
  8. fnd_profile.put('WSH_DEBUG_LEVEL',WSH_DEBUG_SV.C_STMT_LEVEL);
  9. wsh_debug_sv.start_debugger(l_file_name,l_return_status,l_msg_data,l_msg_count);
复制代码

3.     Submit the job.

4.     Provide the log file.


您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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