How to call Oracle Form within Oracle Form?
Hi,
I have a requirement to call a customized Oracle Form from standard Oracle Form (Special Information screen) and vice versa.
Then need to display the person detail accordingly.
Is it possible to be done? Appreciate guidance on this item.
Thanks and Regards,
SC
Veerendra,
Sounds like you are using the Oracle E-business Suite (EBS). If that is the case, opening a form is different in the EBS than it is in a non-EBS Forms application. You have the register the Custom Form in the EBS for starts.
This question should be posted in the General EBS Discussion forum not here. Also, I recommend you take a look at the Oracle Applications Documentation and find the "Oracle Applications Developer's Guide".
Craig...
Similar Messages
-
How to get absolute path of a form within the Forms
Aslam o Alikum (Hi)
How to get absolute path of a form within the Forms 6i or 9i
For example
i am running a from "abc.fmx" from C:\myfolder directory
can i get the form path 'C:\myfolder' by calling any any function from "abc.fmb"There is no direct call that will always work. What you need to do is call get_application_property(current_form). This may have the full path in it, depending on if that path was defined when the form was launched. If there is no path, then you need to use TOOL_ENV.GETVAR to read the Forms<nn>PATH and the ORACLEPATH, parse those out into individual directories and then check for the FMX in each.
I already have some code to do all this for you see:
http://www.groundside.com/blog/content/DuncanMills/Oracle+Forms/?permalink=4A389E73AE26506826E9BED9155D2097.txt -
How to get names of INCLUDE or FORM within included forms
Hello,
I want to get names of Include program and included form within included forms.
I tried SY-REPID or SY-CPROG but these two SYST variables return the name of report program that performs the form, not the name of Include or form.
Please give me any advice about how to get names of include / included form.
thanks and regards,
HozyYou can use the statement
READ REPORT <Report name> into itab
to read the source code into an internal table.
Later you can use the "Contains Pattern" operator to get the statements that you need. -
How to call database procedure in oracle forms
Hi,
Can anyone describe me that how I'll call database procedure in oracle forms (6i,10g)?
Thanks in Advance.
BalochHi Francois,
As I created a procedure in database as below
create or replace procedure For_table (tbl_of in number,st_pnt in number,en_pnt in number) is
begin
for i in st_pnt..en_pnt loop
dbms_output.put_line(tbl_of||'*'||i||'='||tbl_of*i);
end loop;
end For_table;
The above procedure is working fine when I'm using PL/SQL. I call the above procedure as
begin
For_table(3,5,20);
end;
but nothing happen
Thanks in Advance.
Baloch -
How to call java function in Oracle forms?
Hi I am having Oracle 9i with 10g Developer Suite.
I am new to Oracle forms..
I had one function in java getDatas()..
How can I call this function in Oracle Forms..
Pls help
ThanksThanks Francois,
I want to display values from my java code in the Forms..
For that purpose only i am installing 10g Developer Suite..
The below is java code..
public class DBTest {
public static String callDB(int id,String name){
String ss="Hai";
Connection con=null;
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("url","id","pwd");
Statement st=con.createStatement();
System.out.println("Connected...");
int r=st.executeUpdate("Insert into FORM_TEST VALUES('"+id+"','"+name+"')");
if(r==1){
ss="Inserted Sucessfully";
else{
ss="Insertion Failed";
}catch(final Exception e){
System.out.println(e);
return ss;
public static void main(String[] args) {
int empid=102;
String empname="Gilbert";
String resultStr=callDB(empid,empname);
System.out.println(resultStr);
I want to dispaly Inserted or Insertion Failed in Oracle Forms..
As per Gerd Volberg suggestion, i had placed DBTest.jar in
E:\DevSuite\forms\java\DBTest.jar
and in formsweb.cfg the below jar is added..
archive_jini=frmall_jinit.jar,DBTest.jar
But in Fomrs Builder-->Program-->Import Java Classes-->Oracle
org,ice,com and subnodes are available.
But my jar is not available..
Is my way is coorect?
Pls provide soln..
Thanks -
How to call MS Help within Form ?
Here is my problem :
I don't know how to call Winhelp and get the Help Topics - contents screen when it starts...
Any help would be appreciated..
Thanks in advance!
nullHost('winhlp32 <help file>');
-
How to call a calander in oracle forms6i
Oracle Forms 6i
Hai All
How to call a calander for a botton.I my form I have a button called process date When i press a button the calander need to display and select a date and i need to the process date. How can i do this Pls tell Me
Any help is higly Appricateable
Thanks & Regards
Srikkanth.MHello,
In the forms 6i the installation contains the demo form. In that demo form you can see the calender example and many more. It is very easy to implement through demo form. Otherwise see the below link its java based.
Calendar utility in Forms?
Also this link...
http://www.oracle.com/technology/sample_code/products/forms/extracted/calendar/readme.html
-Ammad
Edited by: Ammad Ahmed on Apr 19, 2010 9:04 AM
Link added -
How to call a rdf file from Form
Hi,
I am begginer in Oracle Reports Builder, and I would like to know how to call a .rdf (report) file from a Form, passing parameters.
Thanks in advance.
SandroHello,
http://www.oracle.com/technology/products/forms/techlisting10g.html
Integrating Oracle Forms 10g and Oracle Reports 10g 2-
Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
Regards -
How to call a bean from a form?
hi all
i want to write a simple bean that checks the login information (userId ad Password) passed to it by a form in my jsp file.
so i think i have to call the setUser() and setPassword() methods of my bean in a single action... how to do it?
I also thought i can do it by calling a JavaScript, by I dont know how....
then, once i get the boolean value (logged) returned from my bean, i can (through jsp) redirect the logged user to another page, or send a message to the non-logged user.
is it a good solution or should I do it with a servlet?
thanx for your answers
sandrou can do it using a servlet or JSP itself. Check the sample code below to see how u can validate using values from form
<%
String username=request.getString("frmUser");
String password=request.getString("frmPassword");
urBean userBean = new urBean(); //Creating instance of ur bean class.
userBean.setUserName(username); //Setting username
userBean.setPassword(password); //Setting password
boolean flag = userBean.validate(); //This functions validates against a database.
if(flag) {
response.sendRedirect("loggedin.jsp"); //redirects to page on successfull login
}else{
response.sendRedirect("error.jsp"); //redirects to error page.
%>
Hope this helps
Biju -
Hi Expert,
I want to call a report from a form.My problem scenario like, a user is login to his account and there is a option called ADMIT CARD(Push Button).Now when he pressed the button a report will generate.I want that when he pressed the button the user id of the user will passed to the report and the report will generate corresponding to his details which was stored in the database.This scenario is like any online admit card.
Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
Thanks,
TAPAN
Message was edited by:
user630863Thanks for replying.
Actually I am a beginner.I think that I have to use RUN_REPORT_OBJECT built-in.But I cannot understand the parameterlist.Can u plz give me any example or code then I am very thankful.
Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
Thanks,
TAPAN -
How to Call a Crystal Report from Form 6i?
Dear All,
Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
f_name varchar2(240);
f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
host(f_name);
This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
Thanks & Regards
SunilHi
First see the built in run_product function.
You can create a parameter list, add the
"MAXIMIZE" paramter in it and then call your
report with run_product passing your parameter list in it.
hence the called report will be maximized.
null -
How to call jsp web report from forms 9i
Dear fellows,
How can i call a jsp report from forms 9i.
Thanx
MochooUse web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.
-
How to call a package in Oracle
I'm trying to call a package in oracle
(this is the oracle way of calling it :
begin pck$xl.get_year_low_high_to_date(:compid, 20010801 , 20020108 ",:year_low,:year_high,:year_average,:low_date,:high_date); end;)
but i can't get it right.
I'm new to package calling in Oracle from Java, till now i only worked with SQL statements without parameters of that kind, can someone help me with this?
ps the ":compid" is a parameter i have to fill in and provide...
thank you very muchok here is a test i do...
but still doesn't work something about the bindvariables (check errorlog). I know a bit jdbc and i understant what you mean, but the problem is i don't know how this should go :(
please advise
import java.sql.*;
import java.util.*;
import java.text.*;
import java.io.*;
* @author U97488
public class test {
public static void main(String[] args) {
try{
ConnectionSherpa cs = ConnectionSherpa.getInstance("ConnectionSherpa");
Connection conn = cs.getConnObj();
String sSQL = "begin?; pck$xl.get_year_low_high_to_date(?, 20010801, 20020801 ,:year_low,:year_high,:year_average,:low_date,:high_date); end;";
CallableStatement stmt = conn.prepareCall(sSQL);
stmt.setString(1, "BRU10");
System.out.println(stmt.toString());
if(stmt.execute(sSQL)){
System.out.println(stmt.getString(2));
}catch (Exception e){
e.printStackTrace();
}StackTrace:
java.sql.SQLException: ORA-06550: Regel 1, kolom 6:
PLS-00110: Bindvariabele '1' is niet toegestaan in deze context..
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:862)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1839)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1764)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2354)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:909)
at com.kbcsecurities.taminoupdate.servlets.test.main(test.java:28) -
How to call a web service from forms 9i
Hello all, I was trying to run the example on this website that shows how to call a webservice from forms, and I recieved an error. I am at the last step, where it tells me to create a button and add a when button pressed trigger. Here is the code I am using from the example:
DECLARE
jo ora_java.jobject;
rv ora_java.jobject;
ex ora_java.jobject;
BEGIN
jo := CurrencyExchangeServiceStub.new;
--This will get the exchange rate from US Dollars to UK Sterling.
rv := CurrencyExchangeServiceStub.getRate(jo,'USA','UK');
message (float_.floatValue(rv));
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message(Exception_.toString(ex));
END;
It gives me an error on"Exception_.tostring" component must be declared. Does anyone have any suggestions? I am trying to figure out how to call an external WS from a form. Thanks.IN forms Builder under Import java classes
Change the Import Classes field to java.lang.Exception and press Import. This will create a PL/SQL package for the Exception Java class. While this is not essential, it does make error reporting easier. Now press Close to dismiss the dialog. -
How to call Report 6i/9i Oracle Standard Report into Discoverer 10g
How to call Report 6i Standared report into Duscoverer 10g as there is a requirement to create or transfer Oracle Standard report into Discoverer.
1) Account Analysis Subledger Details(180 Char) - Standard Report 6i as i want the same report in Discoverer 10g.
2) Aging Report -- 7 bucket --Standard report in 6i,how to transfer in Discoverer 10g.
Is is possible to Transfer from Report 6i to Discoverer or How to Create this report in Discoverer 10g.
Please advice,
SushantWell, if I had to do it, here's how I'd start.
1. Get the SQL from the Oracle Report and then create a database view that's more generic based on the SQL but still gets the answers.
For example, you'd not code many conditions, etc. but the database view would be pointing to the correct Oracle Apps tables / views.
Once you've got the view, bring it in to Disco Admin, etc. and create a report from it that now adds the extra conditions needed. That way you can use the underlying concept without hard coding things like dates, etc. which you would ask the user at run time.
However ... as you may well know ... Oracle Reports can do some 'strange and/or powerful things' on the fly and, for example, it may be something like a temporary table generated for the report, etc. so may become a much bigger issue.
2. If you have NoetixViews views then they'll most likely already have the views for these queries already created as they're reasonable for what's needed in an Oracle environment.
3. I'd see if there is already a pre-defined BIS view that covers this as well. Again, you're in an area that's pretty popular so if a BIS view already covers much of the same info then you've got a create view 'head start' already. Check views owned by Apps starting with the application plus FV or FG (the one you'd really want) such as: GLFG_Budgets_To_Actuals to see what I mean.
Russ -
How do call c++program in oracle
how do I call c++ program in oracle?
how do I store results which c++ program produce to oracle database?(eg:results could be some pictures,variable)If you are using Oracle9i release, there is the new OCCI (Oracle C++ Call Interface). You can use the 'Oracle Call Interface' forum to post your additional questions.
Regards,
Geoff
how do I call c++ program in oracle?
how do I store results which c++ program produce to oracle database?(eg:results could be some pictures,variable)
Maybe you are looking for
-
How do I get time machine to see my Seagate external drive? I
I continue to have trouble getting the machine to ID an external drive for time machine. I bought a new external, Seagate, installed it and things were fine, until I had to move my computer due to home repairs. I ejected the Seagate as part of the
-
Best way to programmatically test opening a pdf
My company, among other things, uses an image processing library to do complex conversions of various types of content ... including pdfs. Sometimes, this library fails and we are looking for a way to, offline, automate the process of checking whethe
-
WRT150N - Very Good Signal with little or no connectivity from wireless computer
I just hooked up my WRT150N today and have had countless issues with the wireless connection. Literally only 50 feet away and I was having LOW signal strength and intermittent connection. After HOURS on phone with tech support, and after downloadin
-
Hi Experts, It seems that there is lot of issues in my ORACLE Server stating ORA-00054: resource busy and acquire with NOWAIT specified I guess this happens when transactions is not committed from front end (PHP), So i just need to query what are the
-
hi, may i know why need to use bank clearing account instead of directly charge to bank account? for example when receive vendor payment, DR bank clearing CR vendor. what happen to bank account? how's the double entry to update to bank account? later