🔹 Join the OracleApps88 Telegram Group - Stay up to date with the latest on Oracle EBS R12 and Oracle Cloud/Fusion Applications. 📌 Telegram Group : https://t.me/OracleApps88

💡 Facing issues copying code/scripts or viewing posts? We're here to help!
📬 Contact on Telegram : https://t.me/apps88
📱 Telegram/WhatsApp: +91 905 957 4321
📧 Email Support: OracleApp88@Yahoo.com
Showing posts with label MSCA. Show all posts
Showing posts with label MSCA. Show all posts

Saturday, March 9, 2013

How to Run Various Oracle trace Logs




Pricing Engine Request Trace:
1. Set the profile option QP: Debug to Request Viewer On at the user level.
2. Price the line or the order.
3. On Orders Workbench, go to Tools->Pricing Engine Request Viewer to view the pricing request log.

Shipping Trace
WSH:Debug Enabled : Yes or No (Default is No)
WSH:Debug Log Directory : Must be specified as UTL_FILE parameter value
WSH:Debug Level : Valid Values are: Performance,Statement,Procedure (Default),Event

Inventory Transaction Trace
INV:Debug Trace : Yes or No (Default is No)
INV:Debug file (Including the complete path): Must be specified as UTL_FILE parameter value AND the .dbg file be created in that directory (e.g. /usr/tmp/San_Inv_trace.dbg) with the file permissions allowing oracle to write to that file.
INV:Debug Level : Valid Values are: 1 to 10. 10 being the highest level of logging supported.

Order Management Trace
Set the following profile options: OM: Debug Level - set to 5 OM: Debug Log Directory - any directory that can be written to by the database
Set profile option OM: Debug Log Directory at the Site & Application Level.
In the OM form, go to Tools -> Debug and select 'Write to a File'. Perform the action you wish to debug.
Go to Tools -> Debug and select 'Turn Debug Off' to complete debugging.
The debug log file is on the Database Server tier.
To retrieve the debug file, navigate to Order Management > Run Requests. Then choose: Diagnostics: OM Debug File Retrieval. Parameters: Give the name of the debug file noted in step above. Only give the file name, not the directory path. Remember the first letter in the file name is lower case 'L'.
To view the debug file, navigate to View > Requests. Click View Output.
To generate debug information for a concurrent process, set the profile option OM: Debug Level to 5. This will cause debug statements to be generated in the concurrent request log file.

Using Forms trace
1. Before running a trace, make sure that timed_statistics is turned on at the database level:
alter system set timed_statistics = true;

2.To turn trace on at the form level, go to the toolbar and navigate to
HELP -> TOOLS -> TRACE. By clicking on the word trace, a checkmark will appear next to it, indicating that trace has been turned on. Reproduce the problem.
Navigate to HELP -> TOOLS -> TRACE, and click on the word trace to uncheck trace and turn it off.

3. Finding Your Trace File:
select name, value from v$parameter where name = 'user_dump_dest';

4. Run tkprof
tkprof <filename.trc> <output_filename>

Using SQL trace
1. Before running a trace, make sure that timed_statistics is turned on at the database level:
Alter system set timed_statistics = true;

2. Set the trace on using this SQL:
Alter session set sql_trace = true;

3. Finding Your Trace File:
Select name, value from v$parameter where name = 'user_dump_dest';

4. Run tkprof
tkprof <filename.trc> <output_filename>

MSCA Trace
Getting Mobile Debug Log
------------------------
For Release 11i
Please set the Debug profiles for the Mobile in the instance,
1. Navigate to 'cd $MWA_TOP/secure'

2. Open the file mwa.cfg

3. In this file, check for the log level setting , it should be
'mwa.LogLevel=trace'
Also check for 'mwa.logdir' to be set accordingly

4. Restart Mobile Server

5. After doing a test case there will be files created in log directory
(specified in mwa.cfg) like
<port-number>.WMS.log
<port-number>.INV.log
<port-number>.system.log

For Release 12
Please set the Debug profiles for the Mobile in the instance,
1. Navigate to 'cd $INST_TOP/admin/install'

2. Open the file mwa.cfg

3. In this file, check for the log level setting , it should be
'mwa.LogLevel=trace'
Also check for 'mwa.logdir' to be set accordingly

4. Restart Mobile Server

5. After doing a test case there will be files created in log directory
(specified in mwa.cfg) like
<port-number>.WMS.log
<port-number>.INV.log
<port-number>.system.log

Sunday, August 28, 2011

Oracle R12 JAVA Decompiler for Converting R12 .Class to .Java Files

In Oracle Application R12 Many JAVA Decompilers are not supporting for decompiling dot(.)CLASS files to dot(.)JAVA files.

The Below Link Oracle R12 JAVA Decompiler for Converting R12 .Class to .Java Files
http://www.ziddu.com/download/16204792/jd-gui.exe.html

Thanks,
Raju

Connect to Hyper Terminal For MSCA

All Programs --> Accesseries --> Communication --> Hyper Terminal
Name : Any Name
--> Click on OK
Connect using : TCP/IP(Winsock)
host address :
Port Number :
--> Click on OK
Save to Desktop

SHORTCUT KEY / FUNCTION KEY LIST For MSCA

Here is a list of the most common shortcut/function keys and their meanings.

Action: Help
Default Key: F1
Description: Display the keys that functions have been mapped to. This screen can be exited by pressing the key mapped to the Back function.

Action: Menu
Default Key: F2
Description: Used to return to the last menu and cancel any transaction that has not yet been committed.

Action: Back
Default Key: F3
Description: Used to navigate to previous page displayed within a transaction. This key will also exit out of the Help Menu or a list of values.
** The functionality of this key is mobile transaction form dependent. Some forms may use the F3 key to go back. However, this may not be available in all forms.

Action: Forward
Default Key: F4
Description: Used to navigate to next page of display within a transaction. The same caveats pertain to Next Page as Previous Page as noted in F3.

Action: Clear
Default Key: Control-K
Description: Used to clear the field of any input.

Action: LOV
Default Key: Control-L
Description: Used to display the list of available values for a field.

Action: Main Menu
Default Key: Control-N
Description: Used to return to the main menu of a responsibility and cancel any transaction that has not yet been committed.

Action: Message
Default Key: Control-B
Description: Used to display the long description of a message that has appeared on the status bar.

Action: Toggle
Default Key: Control-Z
Description: Used to toggle between options in a list field.
(Note that I have also seen Control-Z mapped to disconnect Telnet session. This immediately prompts the user to cancel the current connection.)

Action: Show Field
Default Key: Control-A
Description: Used to show the current field on the entire page in the case that the field runs off the screen.

Action: Hot Key
Default Key: Esc
Description: Used in conjunction with a button's accelerator key to press that button from anywhere on the page.

Action: Page Up
Default Key: Control-D
Description: Used to retrieve the previous page of information.

Action: Page Down
Default Key: Control-C
Description: Used to retrieve the next page of information.

Action: Generate
Default Key: Control-G
Description: Used on a particular field in Inventory and WMS (e.g., lot number, serial number, license plate number) to generate a new number.

Action: Skip Task
Default Key: Control-S
Description: Used on the task page to skip the current task.

Action: About
Default Key: Control-X
Description: Used to invoke an 'About' page that lists details of the current connection that could be useful in debugging problems.

Action: Flex Popup
Default Key: Control-F
Description: Used to bring up the segment-by-segment entry screen for a flexfield on the mobile user interface.

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect