Professional Documents
Culture Documents
WIP How To Debug
WIP How To Debug
Purpose of the document ................................................................................................................................ 3 What is needed for debugging? ...................................................................................................................... 3 Common Requirements......................................................................................................................... 3 Requirements specific to a Component................................................................................................. 3 HOW TO GENERATE THE LOG AND TRACE FILES ................................................................................... 7 How to generate form trace? ................................................................................................................. 7 How to generate database trace? ......................................................................................................... 7 How to generate Forms Runtime Diagnostics (FRD)?........................................................................... 8 How to generate INV transaction log file in ONLINE cases? ................................................................. 8 How to generate INV txn log file in BACKGROUND cases? ................................................................. 8 How to generate WIP log files in ONLINE cases? ................................................................................. 9 How to generate WIP log files in BACKGROUND cases?..................................................................... 9 How to generate CTO debug log files?.................................................................................................10 STEPS TO GENERATE LOG AND TRACE FILES - COMPONENT WISE ...................................................11 WIPTXSFM Move Transactions ........................................................................................................11 Online means ..................................................................................................................................11 Background means..........................................................................................................................11 Steps to generate Log file in ONLINE cases ...................................................................................11 Steps to generate Log file in BACKGROUND cases .......................................................................12 WIPTXCMP Completion Transactions...............................................................................................14 Online means ..................................................................................................................................14 Background means..........................................................................................................................14 Steps to generate Log file in ONLINE cases ...................................................................................14 Steps to generate Log file in BACKGROUND cases .......................................................................15 WIPTXMAT WIP Material Transactions.............................................................................................16 Online means ..................................................................................................................................16 Background means..........................................................................................................................16 Steps to generate Log file in ONLINE cases ...................................................................................16 Steps to generate Log file in BACKGROUND cases .......................................................................17 WIPTXRSC Resource Transactions..................................................................................................18 WIPTXCFM Work Order-less Completions .......................................................................................20 Online means ..................................................................................................................................20 Background means..........................................................................................................................20 Steps to generate Log file in ONLINE cases ...................................................................................20 Steps to generate Log file in BACKGROUND cases .......................................................................21 MOBILE.....................................................................................................................................................22
Online mode binds if possible) UI Related issues Inventory Transaction Log Files For 11.5.10 and above, WIP log files
Forms Trace raw and tkprof (with Move Worker Log file Forms Runtime Diagnostics (FRD) for Database Trace of Move Worker
Forms Trace raw and tkprof (with Inventory Worker Log file binds if possible) UI Related issues Inventory Transaction Log Files For 11.5.10 and above, WIP log files For 11.5.9 and consigned inventory organizations, wip log file. No wip log file will be generated for nonconsigned orgn. For ATO related issues, CTO debug file Inventory Worker database trace WIP log file For ATO related issues, CTO debug file Forms Runtime Diagnostics (FRD) for raw and tkprof
WorkOrderLess Completions
Forms Trace raw and tkprof (with Inventory Worker Log file binds if possible) UI Related issues Inventory Transaction Log Files For 11.5.10 and above, WIP log files Inventory Worker database trace WIP log file Forms Runtime Diagnostics (FRD) for raw and tkprof
Resource Transaction
Theres no online mode for resource Resource Worker Log file txns, however if issues related to UI or Resource Worker Database Trace performance, need Forms Trace raw and tkprof (with binds if possible) Forms Runtime Diagnostics (FRD) for UI Related issues file raw and tkprof
Online mode all MWA server log file Same as desktop txns For completion txns., CTO debug file
Background mode Same as desktop txns Auto Create FAS log file Omse11i.sql output Database trace file raw and tkprof
Dump of open interface tables for sample jobs/txns that are failing. Dump of errors from interface error tables Corresponding worker log files Corresponding worker database trace files raw and tkprof Inventory Transaction Log files.
OSP
If issues found in receiving txns and If issues found in receiving txns RCV:Transaction Mode is On-line , and RCV:Transaction Mode is provide form trace of receiving Batch or Concurrent provide Receiving txn worker log file transaction form
If requisitions are not getting created, Receiving txn database trace file. check WIP parameter Requisition If requisitions are not getting Creation Time. If the value is move form. trace of discrete job form. created, check WIP parameter value is indicated in move txns at operation, provide form trace of Requisition Creation Time. If the at job/schedule release, provide form at operation, provide log files as background mode. at job/schedule release, provide log and trace for WIP concurrent exploder. REPORT WORK_ORDER N/A If UI related, FRD and form trace. If processing related, log and database trace file of the process Output of the report clearly indicating the problem
WORKBENCH Job Creation / If WIP:Discrete Job Definition Form is If Concurrent Definition and follow us The log file of WIP Concurrent Exploder request Raw and tkprofed trace file of WIP Concurrent Explider OTHERS/MISC Lead Calculation OTHERS/MISC Close Jobs OTHERS/MIS Purge Jobs Log file and trace files for Concurrent Log file for Concurrent request for request for Close Jobs request for Purge Jobs Close Jobs Purge Jobs Log file and trace files for Concurrent Log file for Concurrent request for Time N/A Log file for Concurrent request for LeadTime Calculation WIP:Discrete Job Definition Scheduling Issues Interactive Definition, change it to Form is Concurrent Definition get steps for the Background Mode.
6. Go to the directory where database trace files are generated. You can use the following query to find out this directory. select value from v$parameter where name=user_dump_dest; 7. Search the tracefile that contains the process_id obtained in step 5. For example, check ls l *123456* if 123456 was the process_id obtained in step 5. Get the trace file that is generated both the raw trace and tkprof output with explain plan.
4. Perform the move transaction You can use the following query to find out a valid directory.
select value from v$parameter where name=utl_file_dir;
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=(select oracle_session_id from fnd_concurrent_requests where request_id = &MOVE_TRNX_WORKER_REQUEST_ID) order by log_sequence; spool off;
For 11.5.9 and prior, there will be NO WIP log files generated for online cases.
For 11.5.9 and prior, the WIP debug log files will be created if 1. TP: WIP Concurrent Message Level 2. TP: WIP Debug Directory
select value from v$parameter where name=utl_file_dir;
= Message Level 2
You can use the following query to find out a valid directory.
Background means
TP: WIP Move Transaction TP: INV Transaction processing mode Steps to generate Log file in ONLINE cases 11.5.10 and later 1. Enable the INV and WIP profiles for debugging. 2. Go to the Move transaction form, and perform the move transaction, click on save button. After the form comes back with the following message Shop Floor transaction(s) completed, click on Help About Oracle Application and find the AUDSID and the value associated with it, run the following sql = Background processing = Background Processing
script:
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
3. Upload the MoveON.txt generated from the above sql script 4. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. 11.5.9 and prior 1. Enable the INV and WIP profiles for debugging. 2. Go to the Move transaction form, and perform the move transaction, click on save button. After the form comes back with the following message Shop Floor transaction(s) completed. 3. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. Note: If you are having difficulties generating debug log files for ONLINE cases, please set the profiles to background and provide the logs.
3. Upload the MoveBG.txt generated from the above sql script 4. Upload the INV transaction log file from the directory specified in INV: Debug file profile option.
11.5.9 and prior 1. Set the INV and WIP debug profiles.
2. Launch the Move Transaction Interface Manager. 3. Go to the Move transaction form, and perform the move transaction, click on save button. After the form comes back with the following message Shop Floor transaction(s) completed. The move worker will process the records from WMTI. 4. Upload the Move Worker concurrent log file. 5. Upload the INV transaction log file from the directory specified in INV: Debug file profile option.
3. Upload the CompON.txt generated from the above sql script 4. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. 11.5.9 and prior 1. Enable the INV and WIP profiles for debugging. 2. Go to the WIP Material Transactions form, and perform a Completion Transactions click on Done button. After the form comes back with the following message WIP completion transaction(s) completed
3. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. Note: If you are having difficulties generating debug log files for ONLINE cases, please set the profiles to background and provide the logs.
3. Upload the CompBG.txt generated from the above sql script 4. Make sure material transaction manager is running. Once the material worker completes, upload the worker log file. 11.5.9 and prior 1. Set the INV and WIP debug profiles. 2. Launch the Inventory Material Transaction Manager. 3. Go to the WIP Material Transactions form, and perform a Completion Transactions click on Done button. After the form comes back with the following message WIP completion transaction(s) completed. The material transaction worker will process the records. 4. Upload the Material Transaction Worker log file.
3. Upload the MatON.txt generated from the above sql script 4. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. 11.5.9 and prior 1. Enable the INV and WIP profiles for debugging. 2. Go to the WIP Material Transactions form, and perform a Material Transactions (Component Issue) click on Done button. After the form comes back with the following message Material transaction(s) completed.
3. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. Note: If you are having difficulties generating debug log files for ONLINE cases, please set the profiles to background and provide the logs.
3. Upload the MatBG.txt generated from the above sql script 4. Invoke the material transaction manager. Once the material worker completes, upload the worker log file. 11.5.9 and prior 1. Set the INV and WIP debug profiles. 2. Launch the Inventory Material Transaction Manager. 3. Go to the WIP Material Transactions form, and perform a Completion Transactions click on Done button. After the form comes back with the following message WIP completion transaction(s) completed. The material transaction worker will process the records. 4. Upload the Material Transaction Worker log file.
processes transactions that are assigned by the transaction manager through the group_id. The type specifies the type of transactions within a group. TYPE 2 - Overhead
CSTPOYLD CSTPOYLD.process_op_yield
To Enable Debug for Cost Manager, Stop the Cost Manager and set the following profile options, and relaunch the Cost Manager. MRP:Debug Mode CST:Cost update debug level to = Yes = Full
Please provide the Cost Manager, Material Cost Transaction worker, Resource Cost Worker, and Overhead Cost worker concurrent log files.
3. Upload the WolON.txt generated from the above sql script 4. Upload the INV transaction log file from the directory specified in INV: Debug file profile option. 11.5.9 and prior There was no online mode for WOL completions in 11.5.9 and prior. Note: If you are having difficulties generating debug log files for ONLINE cases, please set the profiles to background and provide the logs.
3. Upload the WolBG.txt generated from the above sql script 4. Activate the material transaction manager. Once the material worker completes, upload the worker log file. 11.5.9 and prior 1. Set the INV and WIP debug profiles. 2. Launch the Inventory Material Transaction Manager. 3. Go to the Work Order less Transactions form, and perform a WOL Completion Transaction click on Save button. The material transaction worker will process the records. 4. Upload the Material Transaction Worker log file.
MOBILE