How To Create An Excel Output File Through Concurrent Program
How To Create An Excel Output File Through Concurrent Program
All this without affecting the standard program and only a teeny tiny bit of
technie stuff. This technique applies to any concurrent request that executes
via Oracle Reports. The only major difference in the process is the content of
the (RTF) Template, plus changing a few names for your report.
1. Copy concurrent program you want funky output from
System Administrator > Concurrent > Program > Define
Query Program "Active Users"
Click the "Copy To" Button
Program: Active Users - BIP
Short Name: XXXX_FNDSCURS
Application: Application Object Library
Check Include Incompatible Programs
Check Include Parameters
Click OK
Change the Output Format to XML
Save
Query:
Group: System Administrator Reports
Application: Application Object Library
Add new Request:
Program: Active Users - BIP
Save
4. In Microsoft Word create a file with the following contents save as RTF file,
say ActiveUsersBIP.rtf.
Note: Nice to use BIP Template Builder, and form fields, but here I display
the real tags for clarity. Software for (BI Template Builder - Patch 5887917 &
Microsoft .Net 2.0 Framework).
Username
<?for-each: G_RESPS?
><?../../USER_NAME?>
Resp
Start
End
<?
<?
<?END_DATE?> <?
RESPONSIBILITY_NAME START_DATE?
end for-each?>
?>
>
Click File (or Page) > Save As and choose Save as type: "CSV (Comma
delimited) *.csv"
Displayed following error message when try to open an excel file with MS Excel
2007.
The File You are Trying to Open, 'FNDWRR.exe' is in a Different Format Than Specified By The File
Extension [ID 467256.1]
Modified 10-MAR-2010
Type PROBLEM
Status PUBLISHED
In this Document
Symptoms
Changes
Cause
Solution
Applies to:
BI Publisher (formerly XML Publisher) - Version: 5.6.3 to 5.6.3 - Release: 5 to 5
Information in this document applies to any platform.
***Checked for relevance on 10-Mar-2010***
Symptoms
You are generating excel output file via XML Publisher.
You defined a viewer pointing to MS Excel for file having EXCEL extension.
Changes
Migrated to MS Office 2007.
Cause
This is due to a new security feature introduced by MS OFFICE 2007.
There are references to this new behavior in Microsoft forums.
Solution
Please review your Microsoft documentation or contact your Microsoft support center for more information
about this feature.
Related
Products
Oracle E-Business Suite > Applications Technology > Technology Components > BI Publisher
(formerly XML Publisher)
Keywords
XML PUBLISHER; MICROSOFT; FEATURES; EXCEL; FNDWRR.EXE
Method to avoid getting error message while opening Excel file in Oracle 11i with
MS Excel 2007
After upgrading to Excel 2007, you may get the following error when you try to open an excel
document:
The file you are trying to open .xlsx is in a different format than specified by the file
extension. verify the file is not corrupted and is from trusted source before opening the file.
Do you want to open the file now?
This errors particularly occurs when youre trying to open an XLS file (Excel 2000-2003) with
Excel 2007.
The easiest way to solve this problem, is to insert the following registry key. This will suppress
the notification:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security]
ExtensionHardening=dword:00000000
The step-by-step instructions are as follows:
1. Click Start, click Run, type regedit.exe and press ENTER. This will open your Registry
2. Navigate to
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SEC
URITY
3. Right click in the right window and choose New -> DWORD
4. In the Name field, type ExtensionHardening (without the quotes)
5. Verify that the data has the value 0
I advice the steps above to solve the problem, despite the fact that it is quick and dirty.
If you want a more constructive way, you should define MIME types and associate them with
extensions.
When you use a Document Management System (like Sharepoint or Livelink), you can try
adding these:
.xls = application/msexcel
.xlsx = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet