1)Open the form where DFF is Implemented. and Query the Data
2)find the DFF name from Help Menu =>Diagnastcs =>Examine
Select $DESCRIPTIVE_FLEXFIELD$ in the Block field
select DFF name in the "Field"
we will get the DFF Title in the Value field.
Copy the DFF title
3)goto Application Developer Responsibility.
flexfield=>Descriptive=>register
4)Query the records by using the DFF Title.
Select columns button and find wether Attribute
columns are enabled or disabled.
5)Goto Segments form and Query the records by using Title.
6)Uncheck the Check box called "freeze Flexfield Defination"
7)Select Segents button and enter the new fields and save transactions.
8)Check the check box called "freeze Flexfield Defination"
and click the Compile Button.
9)System will change the DFF structure and creates
a descriptive flexfield View.
Oracle Apps
This Blog contains Basic technical concepts(Lables),
Oracle Videos and Oracle weblinks
Oracle Videos and Oracle weblinks
Tuesday, August 18, 2009
TABLE REGISTRATION
TABLE REGISTRATION:
NOTE: CONNECT TO CUSTOM Schema (WIP) --WIP/WIP@PROD
1)CREATE TABLE CUSTOM_VENDORS
2) GRANT ALL ON CUSTOM_VENDORS TO APPS;
3) CONN APPS/APPS@PROD
4) CREATE PUBLIC SYNONYM CUSTOM_VENDORS FOR PO.CUSTOM_VENDORS;
5) EXEC AD_DD.REGISTER_TABLE ('PO','CUSTOM_VENDORS','T', 8, 10, 90);
6) EXEC AD_DD.REGISTER_COLUMN ('PO','CUSTOM_VENDORS','VENDOR_ID', 1,'NUMBER', 10,'N','Y');
NOTE: REGISTER ALL COLUMNS
7)COMMIT;
VALUE SETS
WHO COLUMNS
FLEXFIELD (DFF,KFF)
NOTE: CONNECT TO CUSTOM Schema (WIP) --WIP/WIP@PROD
1)CREATE TABLE CUSTOM_VENDORS
2) GRANT ALL ON CUSTOM_VENDORS TO APPS;
3) CONN APPS/APPS@PROD
4) CREATE PUBLIC SYNONYM CUSTOM_VENDORS FOR PO.CUSTOM_VENDORS;
5) EXEC AD_DD.REGISTER_TABLE ('PO','CUSTOM_VENDORS','T', 8, 10, 90);
6) EXEC AD_DD.REGISTER_COLUMN ('PO','CUSTOM_VENDORS','VENDOR_ID', 1,'NUMBER', 10,'N','Y');
NOTE: REGISTER ALL COLUMNS
7)COMMIT;
VALUE SETS
WHO COLUMNS
FLEXFIELD (DFF,KFF)
SQL loader exexution
1)Connect to Scott schema create temp table
2)Prepare the data file having some sample records save in the local mechine.
3)Develop the control file like follows.
load data
infile 'C:\22\LOAD\EMP.txt'
INSERT INTO TABLE EMP_DETAILS22
fields terminated by ','
(empno ,
ename ,
sal ,
job ,
comm ,
tax ,
deptno ,
jdate)
Note: Save the file extension as ".ctl".
4)Goto Command Propmt through Start Menu = Run = > CMD
5)Connect to following path and execute the control file
D:\Oracle\Proddb\8.1.7\Bin\SQLLDR Scott/Tiger@PROD
Control = C:\22\LOAD\emp_details.ctl
6)test the data in the Table.
2)Prepare the data file having some sample records save in the local mechine.
3)Develop the control file like follows.
load data
infile 'C:\22\LOAD\EMP.txt'
INSERT INTO TABLE EMP_DETAILS22
fields terminated by ','
(empno ,
ename ,
sal ,
job ,
comm ,
tax ,
deptno ,
jdate)
Note: Save the file extension as ".ctl".
4)Goto Command Propmt through Start Menu = Run = > CMD
5)Connect to following path and execute the control file
D:\Oracle\Proddb\8.1.7\Bin\SQLLDR Scott/Tiger@PROD
Control = C:\22\LOAD\emp_details.ctl
6)test the data in the Table.
Report Registration Steps
Report Registration Steps:
--------------------------
1)Develop the report (.rdf)as per client Requirement by using reports 6i Builder
2)Move the report from Local mechine into Server
CUS_TOP\11.5.0\Reports\US\ .rdf
PO_TOP\11.5.0\Reports\US\ .rdf
3)Select System Administrator and create EXECUTABLE
1)Executable Name
2)ApplicationName
3)Execution Method
4)Report(.rdf) file Name
4)Create Concurrent Program and attach 1)EXECUTABLE
2)PARAMETERS
3)INCOMPATIBILITIES
5)Create Request Group and attach Concurrent Program
6)Create Responsibility 1)Request Group
2)Data Group
3)Menu
7)Create user, attach Responsibility to the user.
8)User will select the Responsibility and goto SRS(Standard Request Submission) Window
submit the Request.
Navigations:
============
Executable = Concurrent=>Program=>Executable
Concurrent Program = Concurrent=>Program=>Define
Request Group = Security=>Responsibility=>Request
Responsibility = Security=>responsibility=>Define
User = Security=>User=>Define
SRS Window = View Menu=>Request =>Submit New request=>Ok=>Select Program
=>Submit=>No=>Find=>View Output
--------------------------
1)Develop the report (.rdf)as per client Requirement by using reports 6i Builder
2)Move the report from Local mechine into Server
CUS_TOP\11.5.0\Reports\US\ .rdf
PO_TOP\11.5.0\Reports\US\ .rdf
3)Select System Administrator and create EXECUTABLE
1)Executable Name
2)ApplicationName
3)Execution Method
4)Report(.rdf) file Name
4)Create Concurrent Program and attach 1)EXECUTABLE
2)PARAMETERS
3)INCOMPATIBILITIES
5)Create Request Group and attach Concurrent Program
6)Create Responsibility 1)Request Group
2)Data Group
3)Menu
7)Create user, attach Responsibility to the user.
8)User will select the Responsibility and goto SRS(Standard Request Submission) Window
submit the Request.
Navigations:
============
Executable = Concurrent=>Program=>Executable
Concurrent Program = Concurrent=>Program=>Define
Request Group = Security=>Responsibility=>Request
Responsibility = Security=>responsibility=>Define
User = Security=>User=>Define
SRS Window = View Menu=>Request =>Submit New request=>Ok=>Select Program
=>Submit=>No=>Find=>View Output
Report navigation
EXECUTABLE Window:
=======================
Executable : We can enter any User Defined Name in this field
ShortName : This is Primary key we have to enter Unique value
ApplicationName : Enter The Applications Name where the (.rdf) file is located
Description :It is Optional we can enter any valid Information
Execution Method :we have total 11 types of Execution methods select
"Oracle Reports" for Report Development.
Execution File Name : Enter the (.rdf) File Name without extension Name.
If we know the Application Short Name we can find the Application name
by using following Navigation
Application =>Register=>Press F11=> Enter short Name => Press CTRL+F11
Concurrent Program Window:
=============================
Program : We can enter any User defined Program Name which is meaningful
Enabled Check Box : Once the Concurrent Program is created and saved We can not delete
Instead of delete we can disable by unchecking this check box.
ShortName : This is Primary key we have to enter Unique value
Application Name : We can enter Any Valid Application Name
Description : It is Optional we can enter any valid Information
EXECUTABLE : Enter the "Executable Short Name" whatever we have created
Method : System will automatically retrives the Execution MEthod.
Format : we can select whatever the format we would like to print
Ex: HTML (.html)Internet Explorer
pdf (.pdf) Acrobat Reader
Postscript (.ps) GhostView
text (.txt) Text Pad
PCL HP Printer Language
XML (.xml) XML Publisher
Save check Box : System will save the Output and Log file details in the server
COLUMNS : No of Columns to print per page in the Output file
ROWS : No of Rows to print per page in the Output file
SELECT LOGFILE_NAME,
OUTFILE_NAME
FROM FND_CONCURRENT_REQUESTS
WHERE REQUEST_ID =1424277
Request Group :
================
Request group is nothing but collection of Concurrent Programs and Reports we can group
All concurrent Programs.
Group :Enter Any User Defined Name (This is Case sensitive we have to maintain Capital and
Small Letters)
Application Name :Enter Any Valid Application Name
Attach Concurrent Program by select type as Program.
Responsibility Window:
======================
Responsibility is nothing but Level of Authority which Combines Forms,Report and Application
User ID's.
Reponsibility Name : we can enter any meaningful Name
ApplicatioName :Enter any Valid Application Name
ResponsibilityKey :This is Primary enter the Unique Value
Data Group:
===========
data Group is nothing but Collection of Oracle Application UserID's.
it will be for Security purpose.(STANDARD will be used)
Application NAme :Enter any Valid Application Name
Request Group:
===============
Requset group is nothing but colletion of Concurrent Program
add the request group whatever we have created.
it will automatically retrieves the Application NAme.
MENU:
----
Menu : Menu is nothing but collection of Forms and Sub Menus
select any one of Existing Menu.
Note : Once we create the Responsibility we can not delete instead of that we can disable
by using Efective start Date and End date.
=======================
Executable : We can enter any User Defined Name in this field
ShortName : This is Primary key we have to enter Unique value
ApplicationName : Enter The Applications Name where the (.rdf) file is located
Description :It is Optional we can enter any valid Information
Execution Method :we have total 11 types of Execution methods select
"Oracle Reports" for Report Development.
Execution File Name : Enter the (.rdf) File Name without extension Name.
If we know the Application Short Name we can find the Application name
by using following Navigation
Application =>Register=>Press F11=> Enter short Name => Press CTRL+F11
Concurrent Program Window:
=============================
Program : We can enter any User defined Program Name which is meaningful
Enabled Check Box : Once the Concurrent Program is created and saved We can not delete
Instead of delete we can disable by unchecking this check box.
ShortName : This is Primary key we have to enter Unique value
Application Name : We can enter Any Valid Application Name
Description : It is Optional we can enter any valid Information
EXECUTABLE : Enter the "Executable Short Name" whatever we have created
Method : System will automatically retrives the Execution MEthod.
Format : we can select whatever the format we would like to print
Ex: HTML (.html)Internet Explorer
pdf (.pdf) Acrobat Reader
Postscript (.ps) GhostView
text (.txt) Text Pad
PCL HP Printer Language
XML (.xml) XML Publisher
Save check Box : System will save the Output and Log file details in the server
COLUMNS : No of Columns to print per page in the Output file
ROWS : No of Rows to print per page in the Output file
SELECT LOGFILE_NAME,
OUTFILE_NAME
FROM FND_CONCURRENT_REQUESTS
WHERE REQUEST_ID =1424277
Request Group :
================
Request group is nothing but collection of Concurrent Programs and Reports we can group
All concurrent Programs.
Group :Enter Any User Defined Name (This is Case sensitive we have to maintain Capital and
Small Letters)
Application Name :Enter Any Valid Application Name
Attach Concurrent Program by select type as Program.
Responsibility Window:
======================
Responsibility is nothing but Level of Authority which Combines Forms,Report and Application
User ID's.
Reponsibility Name : we can enter any meaningful Name
ApplicatioName :Enter any Valid Application Name
ResponsibilityKey :This is Primary enter the Unique Value
Data Group:
===========
data Group is nothing but Collection of Oracle Application UserID's.
it will be for Security purpose.(STANDARD will be used)
Application NAme :Enter any Valid Application Name
Request Group:
===============
Requset group is nothing but colletion of Concurrent Program
add the request group whatever we have created.
it will automatically retrieves the Application NAme.
MENU:
----
Menu : Menu is nothing but collection of Forms and Sub Menus
select any one of Existing Menu.
Note : Once we create the Responsibility we can not delete instead of that we can disable
by using Efective start Date and End date.
Monday, August 17, 2009
Default types
Current Date : Will be used to pass the Sysdate as default value
Current Time : Will be used to pass the Systime as default value
Constant : Will be used to pass the constant number or date or
string as default value
Segment : will be used to get the Previous parameter value as
default to the next parameter then we will use this.
Default type: segment Default Value :ParameterName
SQL Statement: We can pass the SELECT statement result as default
value
Default type : SQl Statement Default Value : SELECT MIN(USERID) FROM
Profile : This will be used to pass the user profile value as default
like userid ,username,respid,respname and so on.
Required ChekBox : This will be used to make the parameter as mandatory
or optional
Enabled CheckBox: will be used to enable or disable the parameter
Display CheckBox: will be used to hide or display the parameter.
Current Time : Will be used to pass the Systime as default value
Constant : Will be used to pass the constant number or date or
string as default value
Segment : will be used to get the Previous parameter value as
default to the next parameter then we will use this.
Default type: segment Default Value :ParameterName
SQL Statement: We can pass the SELECT statement result as default
value
Default type : SQl Statement Default Value : SELECT MIN(USERID) FROM
Profile : This will be used to pass the user profile value as default
like userid ,username,respid,respname and so on.
Required ChekBox : This will be used to make the parameter as mandatory
or optional
Enabled CheckBox: will be used to enable or disable the parameter
Display CheckBox: will be used to hide or display the parameter.
SQL Loader
SQL * Loader :
==================
It is one of the Oracle Tool will be used to transfer the data from Flat files into
Oracle Base tables.
When we are developing the Interfaces or Conversion program in Oracle Applications
then we will be using the SQL Loader Programs.
while working with SQL * Loader we will come across 5 Files.
1)Flat File OR data File:
Data file contains the data in the specific format which we will receive from the
client. this file will be generated by the legacy system(Other Systems) program.
It may be either .txt format
.dat
.csv(Comma Separated View) Excell sheet.
Most of the times we will receive in the (.csv) format
2)Control File :
-----------------
Is nothing but a SQL*Loader Program will be used to load the data from file into table.
we will develop the control File
Execute the Control File.
While developing the Control file we will specify follwoing things.
1)Data File path
2)Database Table Name
3)Column Mapping.
Control file Extension is (.ctl)
3)Bad File:
-----------
when we execute the COntrol file if any records are rejected by SQL *Loader then we
will find those rejecteds record in the Bad file.
SQl loader recjects the records if there are any datatype mismatch
Internal Errors
Data file Format problem
Bad File Extension is (.bad)
4)Discard File:
---------------
when we execute the COntrol file if any records are rejected by Control File then we
will find those rejecteds record in the Discard file.
Control file Recjects the record when the record is not satisfying the record which
are not satisfied the condition specified in the Control file.
Discard File Extension is (.dis)
5)Log File :
-------------
It contains the Log information like Program start time,End Time
No of succesfully records upload
Rejected Records into the Bad file
Rejected records into the Discard file
Any errors are there in the Control file those error message details we will find.
Log file Extension is (.log)
Control File Syntax:
----------------------
LOAD DATA
INFILE 'Data File Path'
Insert into table
==================
It is one of the Oracle Tool will be used to transfer the data from Flat files into
Oracle Base tables.
When we are developing the Interfaces or Conversion program in Oracle Applications
then we will be using the SQL Loader Programs.
while working with SQL * Loader we will come across 5 Files.
1)Flat File OR data File:
Data file contains the data in the specific format which we will receive from the
client. this file will be generated by the legacy system(Other Systems) program.
It may be either .txt format
.dat
.csv(Comma Separated View) Excell sheet.
Most of the times we will receive in the (.csv) format
2)Control File :
-----------------
Is nothing but a SQL*Loader Program will be used to load the data from file into table.
we will develop the control File
Execute the Control File.
While developing the Control file we will specify follwoing things.
1)Data File path
2)Database Table Name
3)Column Mapping.
Control file Extension is (.ctl)
3)Bad File:
-----------
when we execute the COntrol file if any records are rejected by SQL *Loader then we
will find those rejecteds record in the Bad file.
SQl loader recjects the records if there are any datatype mismatch
Internal Errors
Data file Format problem
Bad File Extension is (.bad)
4)Discard File:
---------------
when we execute the COntrol file if any records are rejected by Control File then we
will find those rejecteds record in the Discard file.
Control file Recjects the record when the record is not satisfying the record which
are not satisfied the condition specified in the Control file.
Discard File Extension is (.dis)
5)Log File :
-------------
It contains the Log information like Program start time,End Time
No of succesfully records upload
Rejected Records into the Bad file
Rejected records into the Discard file
Any errors are there in the Control file those error message details we will find.
Log file Extension is (.log)
Control File Syntax:
----------------------
LOAD DATA
INFILE 'Data File Path'
Insert into table