Pages

OracleEBSpro is purely for knowledge sharing and learning purpose, with the main focus on Oracle E-Business Suite Product and other related Oracle Technologies.

I'm NOT responsible for any damages in whatever form caused by the usage of the content of this blog.

I share my Oracle knowledge through this blog. All my posts in this blog are based on my experience, reading oracle websites, books, forums and other blogs. I invite people to read and suggest ways to improve this blog.


Wednesday, April 24, 2013

What are message files in Apps ?

Ever wondered what actually happens when a DBA does Generate Message files through adadmin ? What exactly are message files ?

When you chose the option Generate message files in adadmin, it invokes Message Dictionary Generator program (FNDMDGEN) and generates language.msb files in Product_top/mesg directory.

FNDMDGEN apps/appspword 0 Y language application_short_name DB_TO_RUNTIME
For example:
$ FNDMDGEN apps/apps 0 Y US PER DB_TO_RUNTIME
where Language=US and Application Short Name=PER
The FNDMDGEN program will generate a message file named Language.msb in place it in the custom applications basepath mesg directory.

For custom programs, Message Dictionary lets you catalog messages for display from your application without hard coding them into your forms and programs.
Using Message Dictionary, you can:
  • Define standard messages you can use in all your applications
  • Provide a consistent look and feel for messages within and across all your applications
  • Define flexible messages that can include context–sensitive variable text
  • Change or translate the text of your messages without regenerating or recompiling your application code.
What DBAs do from backend through adadmin - Generate Message Files, can be done through
the front end by:

Responsibility: System Administrator
Submit the concurrent process : Generate Messages
-----------------------------------------------------------------------------
a. DB_TO_RUNTIME – This will create a msg file under the application top directory. 
b. DB_TO_SCRIPT – This will create a script(.msg file) that can be used to load messages to other database. This would be normally used in case of upgradation only. 
c. SCRIPT_TO_DB This will take a script(.msg file) and load the messages in it to the database. This would be normally used in case of upgradation only. 
d. SCRIPT_TO_RUNTIME – This will take script(.msg file) and load the messages in to the database and also create the msg file under application top. 

References:

http://www.exforsys.com/tutorials/oracle-apps/oracle-apps-message-dictionary.html


No comments:

Post a Comment