OM模块调试
1.How to Create a Debug File in Shipping Execution (文档 ID 290432.1)
2. WSH 调试
|
Release: |
11.5.9 and higher |
|
Updates: |
No updates are performed to the database |
|
Profile Options: |
Following Profile Options need to be set before each test case, then reset after completion: OM: Debug Level = 5 Edit > Preferences > Profiles > F11 > OM: Debug Level > Ctrl+F11-> Set User Value to 5 WSH: Debug Enabled = Yes Edit > Preferences > Profiles > F11 > WSH: Debug Enabled > Ctrl+F11 > Set User Value to Yes Following Profile Option once set do not need to be changed. Please confirm settings per Note 290432.1 How to Create a Debug File in Shipping Execution WSH: Debug Level = Statement WSH: Debug Log Directory |
|
Navigate: |
Navigate to the form with the error. |
|
Turn Debug On: |
Tools > Debug |
|
Note Debug File Name: |
Pop up will appear with Debug File Name. Note down Debug File Path and Name. |
|
Reproduce the error: |
Reproduce the error. Step through all errors. |
|
Turn Debug Off: |
Tools > Debug |
|
Retrieve Debug File: |
If profiles WSH: Debug Log Directory and OM: Debug Log Directory are set to the same value: Oracle Order Management > Reports,Requests > Run Requests > Single Request > OK > Name = Diagnostics: OM Debug File Retrieval. Otherwise contact your DBA to retrieve the file and provide the Debug File Path and Name. |
|
Parameters: |
Debug File Name, enter noted Debug File Name |
|
Output: |
To retrieve the output navigate to: View > Requests > Relevant Request ID (button) Click View Output > Save File as "filename.txt" Upload the file "filename.txt" to My Oracle Support |
3.OM调试
QP调试:
一、FORM 界面日志获取
1.开启配置文件:
|
QP:调试 |
关闭请求显示器 |
|
FND:启用调试日志 |
是 |
|
FND:调试日志级别 |
对帐单 |
|
OM:调试级别 |
11 |
|
OM:调试日志目录 |
/pjebs/sit/temp (select value from v$parameter where name = 'utl_file_dir') |
2. OM销售订单->工具 勾上调试。
二、包启用日志调试
l_file_val VARCHAR2(50);
oe_debug_pub.debug_on;
oe_debug_pub.initialize;
l_file_val := oe_debug_pub.set_debug_mode('FILE');
oe_debug_pub.setdebuglevel(5);
dbms_output.put_line('file :' || l_file_val);
oe_debug_pub.add('debug statement', 1);
oe_debug_pub.add('an other debug statement', 1);
dbms_output.put_line('File name '||OE_DEBUG_PUB.G_DIR||'/'||OE_DEBUG_PUB.G_FILE);

浙公网安备 33010602011771号