Passing parameters to oracle rports from oracle forms
Dear all,
Can anyone tell me how to pass parameters from oracle forms 10g to oracle reports 10g ,i want to hide my connection string and parameteres while open the report through web
can anyone plese help me out to solve this problem.
Hi,
I had trail as advised, but anticipated results were not observed.
Here is the named configuration in formsweb.cfg
[NMPT]
form=D:\NMPT\FORMS\FHOPENFORM.fmx
userid=hmsprod/hmsprod@hindalco
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
imageBase=CodeBase
separateFrame=True
lookandfeel=oracle
logo=none
splashScreen=no
pageTitle =Test Application
background=no
colorScheme=blue
archive_jini=f90all_jinit.jar,icons.jar,frmwebutil.jar,jacob.jar
archive=f90all.jar
height=768
width=1024
envFile=nmpt.env
otherparams=useSDI=yesLOCATIONID=NMPT # new parameter which I want to access in my form
the URL is as follows:
http://MyPC:8888/forms90/f90servlet?config=NMPT
But I am unable to open the login page
Similar Messages
-
Passing Parameters to Discoverer report from ORacle Forms
Hi All,
Can I pass a value to a parameter defined in the discoverer page from a D2k form? I want to call a discovere page from fmb while passing a parameter.
This is extremely urgent for me. Pl help .
Thank you and Regards,
Vaibhav M. Shah.Hi ,
Are you saying I should create a new workbook that is not based on my custom folder for setting and showing the context value? You don't need to create a new workbook, you can just create a new worksheet in your report workbook, but you will need two sheets to use contexts. The sheet that sets the contexts should not be based on your custom folder, but on a folder that returns a single row. You cannot set and check contexts in a single SQL statement, so you have to have 2 worksheets.
You can default the contexts using a trigger or initialisation SQL so that the user only has to set the contexts if they are not using the defaults.
Rod West -
Run Oracle reports from the FORM builder
Hello All,
We have Oracle Form base application running on the window OS.
(Form version is 9.0.4.1.0)
Our Database is installed on Linux box (DB version: 10.1.0.3.0)
I need to run different Oracle reports from the form based application or from the form builder. (Report Builder 9.0.4.1.0)
Any feed back will be appreciated.
Regards,
Dtry this
Run_product(REPORTS,' <path to the report>', ASYNCHRONOUS, RUNTIME, FILESYSTEM,' ',NULL);
in some event ( whichever event you want your report to show up) -
Accssing oracle 8i from oralce 11g is not possible.But can I access oracle 11g from oracle 8?
It is not supported, and will most likely not be successful in connecting.
Client / Server / Interoperability Support Between Different Oracle Versions (Doc ID 207303.1)
HTH
Srini
Can I access Oracle 8i objects from Oracle 11g -
Using Oracle Discoverer from Oracle Forms
Can Oracle Discoverer4 be ran from Oracle Forms 10g?
If so, how and under what topic in documentation would this be under?
ThanksI am in the need of this knowledge too. I wonder if there is any way that
I can pass parameters to the discoverer and the discoverer can
generate two plotters in one graph by evaluating the incoming
parameters. I could do it from Forms to Reports, but can I do it
from Forms to Discover? Appreciate any input!!! -
Calling Stored procedure in Oracle 11g from Oracle forms developer 6i
We have Oracle 11g (11.1.0.7.0 ) database (64 bit) installed on Windows Server 2008.
In this database, we have stored procedure ABC(arg1) which is accesing a table in another instance through DB LINK. If we EXECUTE this procedure from SQL/TOAD. It runs successfully and generates the desired output.
If we write the contents of the stored procedure in the PROGRAM UNIT / ANY TRIGGER in FORM 6i then also, It runs successfully and generates the desired output.
It is also mentioned, that if we try to use any table in the same instance (and not through DBLINK) then it works fine.
However, if we try to call this stored procedure (which is accesing a table in another instance through DB LINK) from ORACLE FORMS 6i in WHEN-BUTTON-PRESSED trigger then the FORM BUILDER gets hanged while compiling the form developed in FORMS 6i.
Please provide a solution to this problem.
THANKS IN ADVANCE.
Hemant Singh.
Asstt. Manager(IT)
Software development team.Forms 6i was never meant to run against a 11g database, this was not tested and is also not supported.Well, that is not completely true. Developer 6i is supported against a 11g database, but only for Oracle Apps R11. That means that for most other customers (not Apps) Forms 6i will work against an 11g database. However, only Apps R11 is supported, and patches are only created specifically for Apps. We are also running Forms 6i against an 11g database without (well, minor) problems.
In this case, you need to find a solution. You can try to put the stored procedure in a package. The package body, with the reference to the remote table, will be hidden from Forms this way. -
Handle Oracle Error from Oracle Forms
Actually I have a form with all types of validation and Id will be auto-generated by forms.
Now if any oracle error occures after pre-insert, auto-generated number will generate but record is not saving.
I want to handle this oracle error in my form and nullify the auto-generated ID forcefully.
Edited by: Sudipto Nag on Sep 16, 2008 12:07 PMThe way we handle database error generally is this:
You should in any case have a NOT NULL constraint on the database column. In the ON-ERROR trigger, we then check for the dbms_error_code value to see, what error message the database returned, after checking for Forms returning the general trigger exception 40735. For example, to trap a NOT NULL constraint voilation, you would do something like this.
if error_code= 40735 then --Forms error code = "Trigger raised unhandled exception".
if dbms_error_code in (-1400, -1407) then --mandatory not null column missing
--do something, like alerting the user
elsif dbms_error_code in (<other DBMS error codes goes here>) then
--do something else
end if;
end if;I believe this is what you are looking for. Hope it helps.
Regards,
Jacob -
Passing Parameters via Post Method from Webdynpro Java to a web application
Hello Experts,
I want to pass few parameters from a web dynpro application to an external web application.
In order to achieve this, I am referring to the below thread:
HTTP Post
As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
I am using SAP NetWeaver Developer Studio Version: 7.01.00
Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
Thanks & Regards,
AnuragHi,
This is purely a java approach, even you can try this for your requirement.
There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
If it is Asynchronous means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
here you go and find the way to implement Asynchronous scenario,
http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
Thanks & Regards
Rajesh A -
How to pass parameters/atrributes to Servlet from ALBPM
HI Friends,
I am invoking servlet from bpm using server configuration, i am able to invoke servlet, but not able to pass parameters dynamically,
Also I like to receive response parameters/attributes from servlets?
Can any body help me on this?
Look forward for response.
CheersSome helpful Docs on the WebServer component for you:
The WebServer component is used to send HTTP requests to an HTTP server and capture the responses. It supports HTTP methods GET and POST.
The body of the HTTP response is available in the WebServer.response attribute (String).
Note: This component is superseded by the Fuego.NetX.AdvancedWebServer component, which provides better performance and more functionality like support for proxies and for more HTTP methods (like PUT and DELETE).
Example: Get Oracle's website home page and save it to a file.
getFrom(WebServer, url : "http://oracle.com", args : null)
binaryResponse = Binary(text: WebServer.response,
encoding: "UTF8")
BinaryFile.writeFromBinaryTo(data : binaryResponse,
name : "/tmp/oracle_index.html",
append : false) -
Oracle Upgrade from Oracle RAC 9.2.0.6 to Oracle 10.2.0.4
Hi All,
Currently, we are running 4 node Oracle RAC environment with below mentioned configuration.
OS: Sun Solaris 5.9
Hardware: Sun E2900
Oracle Version: 9.2.0.6
Veritas Cluster Server: 4.1
We want to upgrade Oracle version to 10g, and currently analyzing the options to perform this. The current database size is 1TB appx and we want to spend minimum application shutdown time running on this database.
As part of upgrade, we also need to upgrade Veritas Cluster Server from 4.1 to 5.1 to support Oracle 10g. It would be great help,, if someone can pass some guideline to perform this task.
We are currently thinking about piecemeal approach, where we can upgrade each node individually and then put them back to cluster. There are some complexities involved, and its really high risk approach.
Thanks a lot in advance for help
Regards,
ManojOrcale 10g RAC requires you to install Oracle Clusterware. Oracle Supports running it along side a 3rd party clustering software. Not sure why you're so anxious to upgrade Veritas Clusterware when it will be trivial on the 10g db hosts.
-
Problem in connecting Non Oracle Database from Oracle
Hi:
I want to access "MS ACCESS" from Oracle 10g (10.2.0.1) using Windows XP.
I tried my best, applied all proper instructions I found from books and from Internet, but getting an error.
Here is what I did:
My Oracle database is called "ORCL" and "MS ACCESS" is called "access_1".
There is only one table "Employees" in "access_1".
1. Accessed ODBC from Start | Control Panel | Administrative Tools.
2. Clicked on Users DSN | "access_1" | Add.
3. Clicked on "Drive do Microsoft Access (*.MDB)" .
4. Hit Finish.
5. Entered at DATA SOURCE NAME "ODBC1" and at DESCRIPTION "Connect Oracle to MS Access". Also I clicked on SELECT and chose the "Access_1.mdb" which is located at "C:\Documents and Settings\Muhammad\My Documents" folder. Clicked OK. and clicked on OK again.
6. Now I went to Oracle side and configured listener as follows: (Only portion is shown here)
# listener.ora Network Configuration File: C:\oracle\product\orcl\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\orcl)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = hsodbc)
(ORACLE_HOME = C:\oracle\product\orcl)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = RIYAZDESKTOP)(PORT = 1521))
7. Configuring the hs file located at C:\oracle\Product\Orcl\hs|admin as follows:
# HS init parameters
# HS_FDS_CONNECT_INFO = <odbc data_source_name>
# HS_FDS_TRACE_LEVEL = <trace_level>
HS_FDS_CONNECT_INFO = odbc1
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
8. The TNSNAMES.ORA File is located at C:\:\oracle\product\orcl\network\admin\ and has the following text (only the related text is shown here):
# tnsnames.ora Network Configuration File: C:\oracle\product\orcl\network\admin\tnsnames.ora
# Generated by Oracle configuration tools
access_db.world =
(DESCRIPTION =
(Address = (PROTOCOL = TCP) (HOST = RIYAZDESKTOP) (PORT = 1521))
(CONNECT_DATA = (SID = hsodbc))
(HS=OK)
9. The database link is created as follows:
SQL> create database link access_db USING 'access_db.world';
Database link created.
SQL>
10. Now the test and selection:
SQL> select * from employees@access_db;
select * from employees@access_db
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from ACCESS_DB
OH! I HAVE TO RELOAD THE LISTENER AND I DID IT HERE.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\oracle\product\orcl\BIN>lsnrctl reload
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-NOV-2006 17:51:26
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
C:\oracle\product\orcl\BIN>
SQL> select table_name from all_tables@access_db;
select table_name from all_tables@access_db
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
ORA-02063: preceding 2 lines from ACCESS_DB
I HAVE DONE IT EXACTLY WHAT YOU PROVIDED ME BUT GOT THE SAME RESULT.
ANY SOLUTION!
THANKS.see Connect 9i to Microsoft Access Database
-
Hi,
This is Vidya from Oracle. I take care of Oracle training for corporates across all technologies and Applications.
We at Oracle always strive hard to cater to our customer's training requirement in any area. Thus, we keep building our curriculum on the latest, niche areas, ie., Fusion Middleware, ERP packages on R12, Database programs on 11g etc. Not only we conduct training on niche areas, but also on the areas like 9i, 10g 11i and others.
Through this forum, we would like to reach out as many customers as possiible and cater to their training requirements.
Below are my contact details and we would be more than glad to assist in any kind of query of yours.
Awaiting for your responses and we look forward to have a strong and mutually beneficial business relationship with our customers.
Thanks and regards,
Vidya Jayatheertha,
Oracle,
E-Mail: [email protected]
Mob: 9900744622.
Direct: 080-41084651.mango_boy wrote:
i am interested in 11g DBA OCA/ OCP.
please give the link /phone no/ contact no/address for kolkata.Alternately, YOU could take the initiative and email the address provided. -
Accessing non-oracle databases from oracle
Is there any way to access from oracle to non-oracle databases and copy the data using COPY command?
Hi Nitin!
You can access these legacy applications as so-called external applications. Check out the Application Server Single Sign On guide.
cu
Andreas -
Learn Oracle Financials From Oracle
Oracle University in India offers Certified Oracle courses across Oracle Technology and Applications. These courses are run by Oracle at its own education centers across the world. In India, the Oracle Education Centers are located in Bangalore, Chennai, Hyderabad, New Delhi, Kokata and Mumbai.
We provide training on Oracle Financials in all of the above mentioned locations. Kindly fill in the details asked below and mail it to me for further details.
1. Contact No :
2. Present Location :
3. Course Preffered :
4. Basic Qualification :
5. Work Experience :
6.Mail ID :
Thanks & Regards
Sutheesh T
ORACLE INDIA PVT. LTD.
Bangalore
Toll Free: 1600 448877 (In India only)
Direct:- 080-51084709
Mobile: 09880662638
Mail id: [email protected]Hi ,
Thanks for showing interest in Oracle Education. Oracle University in India offers Certified Oracle courses across Oracle Technology and Applications. These courses are run by Oracle at its own education centers across the world. In India, the Oracle Education Centers are located in Bangalore, Chennai, Hyderabad, New Delhi, Kokata and Mumbai.
Kindly fill in the below given form and send it back to me.
1. Contact No( With std code)important:
2. Present Location :
3. Course Preffered :
4. Basic Qualification :
5. Work Experience :
6. Mail ID :
Example
1. Contact No : +91 9863 9121
2. Present Location : Bangalore
3. Course Preffered : OCP - Oracle Developer / OCP - Oracle Financials(ERP)
4. Basic Qualification : M.Sc. Computer Science - 2004 batch
5. Work Experience : 0 years, 0 months - Fresher
6.Mail ID : [email protected] [OR] [email protected]
Thanks & Regards,
Sumanth Udayashankar
Oracle India Pvt Ltd
Work: 91-80-51084704
Mobile: 91-9886131579
mail : [email protected] -
How to run and pass parameters to exe file from the .txt file
hi,
i am facing problem with passing parameters to the .exe file which is run by labview.firstly i have .txt script with parameters which i have to pass to .exe file. This .exe file is also a software and that script is written for it.And now i have to create programm in labview which should fullfill following points.
1. I have to use one knob named 'Run script'.If i pressed the knob ,it should open the Browser where i can choose .txt script file.
2. .exe application should open(Path already chossen).
3. after passing the parameters .exe application should closed.
4.And labview now should update his parameter
I can just open .exe file using Exce.vi but i dont getting any idea to do more than this.can somebody please help me?
Solved!
Go to Solution.This depends on the exe file. Does it retrieve the information as standard input or does it require the information as command line arguments?
Depending on this, you can read the txt-file in LV (using the file functions) and pass the content to the System Exec.vi.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Maybe you are looking for
-
Macbook Pro retina display 13 inch 2014 model stopped charging. Charger LED also not on while plugged in. The battery fully drained off so the system can not be started but the system can detect the charger when earlier it was switched on before drai
-
[SOLVED] Thumbnail view of image files in Thunar and PCManFM
Hello all! I have a question about the way Thunar and PCManFM handles thumbnails of image files. I understand that Thunar users can use the thunar-thumbnailers package to get previews of all sorts of different file formats. But on the thumbnailers pa
-
Use two wrt54g in same network?
i have two wrt54g and i searched for info about this but couldnt find it. one of them is in my basement connected to my cable modem and i wanna put the other one up stair and i was wondering if the one i put upstairs can share the internet connection
-
2 Elements returned when executing VC Component with *submit
Hi All, I have a VC Component which uses *submit to summarize 2 Inputs (result from a webservice + user input). I am executing this VC Component as a Callable Obect in my GP. I received a error message because some of the fields where empty. When I t
-
Unable to Activate iPhone 5s for Sprint in store pick up
I was one of the lucky few who preordered the iPhone 5S at BestBuy.com, but when I came in to the store to pick it up, the employees were unable to activate the phone. Sprint had a notice posted on the Best Buy register about an issue with invalid IM