| layout | default |
|---|---|
| title | FND Lookup Search | Oracle EBS SQL Report |
| description | Finds the best matching lookuptype for a given set of lookupcodes in a custom application base table. Example: Coding a sql for ap suppliers, the value of… |
| keywords | Oracle EBS, Oracle E-Business Suite, SQL report, Blitz Report, Enginatics, FND, Lookup, Search |
| permalink | /FND%20Lookup%20Search/ |
Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.
Finds the best matching lookup_type for a given set of lookup_codes in a custom application base table.
Example: Coding a sql for ap suppliers, the value of column vendor_type_lookup_code should get translated to the user visible meaning instead of the code. The lookup_type used for translation can be found by this report entering table name AP_SUPPLIERS and column name VENDOR_TYPE_LOOKUP_CODE. The output contains a column SQL_TEXT which can be used directly in the sql where clause:
=flv.lookup_code(+) and flv.lookup_type(+)='VENDOR TYPE' and flv.view_application_id(+)=201 and flv.language(+)=userenv('lang') and flv.security_group_id(+)=0 and
Table Name, Colum Name
Some Oracle EBS SQL reports in this library require functions from the utility package xxen_util. Install it before running the SQL directly against your Oracle EBS database.
| Resource | Link |
|---|---|
| Excel Example Output | FND Lookup Search 27-Jul-2018 212528.xlsx |
| Blitz Report™ XML Import | FND_Lookup_Search.xml |
| Full SQL on Enginatics | www.enginatics.com/reports/fnd-lookup-search/ |
The FND Lookup Search report is a developer utility designed to reverse-engineer lookup codes. It helps find the correct LOOKUP_TYPE for a given column in a table.
- Data Mapping: When writing SQL queries, you often see a code (e.g., 'S') in a column but don't know which Lookup Type decodes it to 'Standard'.
- Legacy Analysis: Understanding the data model of older or custom tables.
This Blitz Report analyzes the data in a specific table and column:
- Pattern Matching: It compares the values in your target column against all active Lookup Types in the system.
- Recommendation: It suggests the most likely Lookup Type that matches your data.
- SQL Generation: It generates the SQL join syntax to link your table to
FND_LOOKUP_VALUES.
The report uses a heuristic approach to match distinct values from the target table with lookup codes.
- Table Name: The table you are investigating (e.g.,
AP_SUPPLIERS). - Column Name: The column containing the code (e.g.,
VENDOR_TYPE_LOOKUP_CODE).
- Analysis Tool: This is an interactive tool, not a standard report. It runs a dynamic query to find matches.
- Q: Does it work for custom lookups?
- A: Yes, it searches all lookups in
FND_LOOKUP_TYPES.
- A: Yes, it searches all lookups in
- Blitz Report™ – World’s Fastest Oracle EBS Reporting Tool
- Oracle Discoverer Replacement – Import Worksheets into Blitz Report™
- Oracle EBS Reporting Toolkits by Blitz Report™
- Blitz Report™ FAQ & Community Q&A
- Supply Chain Hub by Blitz Report™
- Blitz Report™ Customer Case Studies
- Oracle EBS Reporting Blog
- Oracle EBS Reporting Resource Centre
© 2026 Enginatics