Oracle Apps Techo-Functional

Tuesday 16 July 2013

How to Find the Lookup Both Functional and Technical level



Lookups are an approach of creating a configurable “list of values” in E-Business Suite. The main purpose of a lookup is to keep programs flexible and easier to configure.
Finding the Lookups in back end

Select * from Fnd_Lookup_Values;
For example my lookups is 'XXTC_MODEL_ATTRIBUTES'

Select Application_Id, Meaning,Lookup_Type  From Fnd_Lookup_Values where Lookup_Type      ='XXTC_MODEL_ATTRIBUTES';

Now you can find the this lookups comes under in which module
Take application id , query the below query 

SELECT   application_name,  Application_Short_Name,  FAN.application_id
FROM   Fnd_Application FAN,   Fnd_Application_Tl FAT
              WHERE  FAN.application_id   = 401 AND FAN.Application_Id = FAT.Application_Id
ORDER BY   FAN.application_id;
Now you can get Your lookups comes under in which module .
Now you can log on EBS .
Goto particular Module Responsibility 

 

  Then click the Lookups

 

Then query your lookups name in type field ,then you find the lookups details and meaning,if you want update or changes means please update and save it




Wednesday 10 July 2013

How To Creating The Flex Field - Descriptive Flex Field



Descriptive Flex Field:

Descriptive flex fields lets you add additional fields to the form in order to track additional information needed by the business that would not be captured by the standard form. Descriptive flex fields(DFF) can be context sensitive, where the information your application stores depends on other values your users enter in other parts of the form.
Descriptive flex fields(DFF) define field as Attributes level whether it will be Custom table or standard base   table
ATTRIBUTE 1 to ATTRIBUTE15 and ATTRIBUTE_CATEGORY are the normal field used for Descriptive flex fields(DFF) 

Example, I have described below how to create the Descriptive flex field for MTL_systems_item oracle base table.

Creating the Descriptive Flex field columns for Brand (GL)
Login Oracle E-business
Navigate the Application Developer ->Flex Field -> Descriptive -> Segments 

Navigation - Descriptive Flex Field 
    Click to open the Segments window
 
DFF Segment Window

Click Find icon Menu Bar, Query the Inventory under the title of Items

Once Open the Descriptive Flex field Segment for the Application of inventory.
After then uncheck “Freeze flex field Definition



Press the segment button; it will be list out all Assigned Attributes,then click the new button, to enter the new attribute name and column label it will list out which are the attributes columns are unassigned or free.



Assign the DFF - Attribute column

List out Free DFF Attributes


If you want add Value Set for that Descriptive Flex field attributes means update in value set window or otherwise leave it. Save your work






After then enable the check out “Freeze flex field Definition”. After save, it will show compiling flex field definition and show success compiled




Then you can check whether your DFF added successful or not 





Saturday 29 June 2013

Run the SQL*loader Based on Concurrent program


SQL * Loader Program - Sample Example

Create the sample concurrent program for running SQL*Loader in Oracle Application
Step 1:
Create the Sql loader control file (.ctl) and data file placed on the server under the path in bin directory (Example: $Custom_top/bin/ )

Step 2:
Create the Control file (.ctl): Demo_test.ctl

Load data
Infile 'D:\Sql_loader\export_dat.dat'
into table demo_test
fields terminated by ','
OPTIONALLY ENCLOSED BY '"'
(
 INDENT_NUMBER,
 CHASSIS,
 ENGINE,
 ITEM
 )

Step 3:
Create the Dat file  (.dat) : export_dat.dat




Step:4
Create Table or copy the structure another Table
Create table demo_test (INDENT_NUMBER      VARCHAR2(20)
CHASSIS            VARCHAR2(100)
ENGINE             VARCHAR2(100)
ITEM               VARCHAR2(100)  );

Copy the Structure of the another  table

Create table demo_test as Select * from XX_table;

Step:5

Creating the concurrent Program 
Application Developer -> Concurrent -> Executables.
Define a concurrent program executable name and choose the execution method is “SQL*loader”  and give the execution file name (name must be same as control file name ). Save it


 
Step:6

Create the Concurrent program name

Step:7

Goto Parameter Window. Create the parameter to take server path of the data file. Define the Server path on Default value


Step :8

Assign the concurrent program under your custom responsibility through a Request Group


Step:9

Run Program under the Custom Responsibility

After the running the concurrent program ,click “view Log”

+---------------------------------------------------------------------------+
XXTC Custom: Version : UNKNOWN

Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

XXTEST_SQLLDR module: XX_Test_Sqlloader_Demo
+---------------------------------------------------------------------------+

Current system time is 29-JUN-2013 13:22:05

+---------------------------------------------------------------------------+


+-----------------------------
| Starting concurrent program execution...
+-----------------------------

Arguments
------------
/u01/applebsuat/applcrp2/apps/apps_st/appl/xxtc/12.0.0/bin/export_dat.dat
------------

SQL*Loader: Release 10.1.0.5.0 - Production on Sat Jun 29 13:22:05 2013


Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array:     64 rows, maximum of 256000 bytes
Continuation:    none specified
Path used:      Conventional

Table DEMO_TEST, loaded from every logical record.
Insert option in effect for this table: INSERT

   Column Name                  Position   Len  Term Encl Datatype
------------------------------ ---------- ----- ---- ---- ---------------------
INDENT_NUMBER                       FIRST     *   ,  O(") CHARACTER           
CHASSIS                              NEXT     *   ,  O(") CHARACTER           
ENGINE                               NEXT     *   ,  O(") CHARACTER           
ITEM                                 NEXT     *   ,  O(") CHARACTER           


Table DEMO_TEST:
  238 Rows successfully loaded.
  0 Rows not loaded due to data errors.
  0 Rows not loaded because all WHEN clauses were failed.
  0 Rows not loaded because all fields were null.


Space allocated for bind array:                  66048 bytes(64 rows)
Read   buffer bytes: 1048576


Step:10

Check  the back-end Sql developer, whether table got updated or not

    Select * from demo_test;