URGENT:regarding oracle forms
i created a form to insert data into a table in apps.i have customized the form and registered it in front end.When i try to insert a record to the table through this form ,the same record is inserted twice in the table.why this is happening.
There are many references, both within Oracle and on the Internet.
Oracle® HTTP Server Administrator's Guide
http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14007/toc.htm
Oracle® Forms Services 10g Advanced Configurations
http://www.oracle.com/technology/products/forms/pdf/10g/advancedformsconf.pdf
How to use FORMS with FIREWALL and PROXIES
Metalink Note 291606.1
Apache Module mod_proxy
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
Similar Messages
-
Hi all...
I'm new to Oracle Form... But i am using it to create a program using Oracle Form 6. I have one table called Customer. There is a button called 'Create New Customer' which will allow the user to create a new record when he/she clicks on it.
What I want to know is 'How to make the button so it can record the new customer?'
I've been looking around to solve this problem. But I still don't manage to get it works.
Thank you very muchi created an alert named UPDATE_ALERT. It has two buttons, which are 'OK' and Cancel
Here is the code in program unit:
PROCEDURE DISPLAY_UPDATE_ALERT IS
alert_button NUMBER;
BEGIN
alert_button := SHOW_ALERT('UPDATE_ALERT');
IF alert_button = ALERT_BUTTON1 THEN
COMMIT;
MESSAGE('Record successfully updated.');
ELSE
ROLLBACK;
MESSAGE('Record is not updated.');
END IF;
END;
And i placed the procedure in Update button trigger 'When-Button-Pressed'
Both compiled successfully..
I run the form and update a record. When i click on 'Update' button in the form, it does show the alert. I click on 'OK' and it prompts out 'FRM-40400: Transaction Complete: 1 record applied and saved.'
What should i do if i don't want that message (FRM-40400)?? I know it's indicationg that the record has been sucessfully updated.
Thank you -
Urgent : Regarding Oracle Applications tutorials for beginners
Hi ,
This is vamsi krishna. I am new to oracle applications. I am looking for material which contains different examples for:
1) Reports and various types of reports
2) Forms and forms customization(all types of examples)
3) Detailed examples of all types of canvases in forms
4) All the cycles and interface programs that are called in each cycle. for example in an O2c cycle what are the tables that are effected and what all interface programs or api's that are called in between.
Please send me the links to forums where i can easy learn all these.
Please send any required material for all these to [email protected]
Thanks in Advance.
Vamsi Krishna GHi,
Refer to Oracle Application Developer Guide.
Applications Releases 11i and 12
http://www.oracle.com/technology/documentation/applications.html
In addition, the following links should be helpful.
Oracle Apps Tutorials
http://www.exforsys.com/tutorials/oracle-apps.html
eTRM
http://etrm.oracle.com
Oracle Integration Repository
http://irep.oracle.com/
Regards,
Hussein -
URGENT: REGARDING SMART FORM CALLING FROM REPORT
HI,
I had made a report in which i have to display the output in smart form ,the problem is this i had delclared only 1 INTERNAL TABLE and i dont know how to display it in the smart form as i am new to it .
if help me out with solution ,he or she will be definately rewarded.
regards,
ric.s
Edited by: ric .s on Dec 21, 2007 10:22 AMHi,
You need to craete a SMARTFORM using transaction SMARTFORMS. In this trasaction under FORM INTERFACE give the variable which would be passed from your program.
Then use these variables and pass the information in Windows which you will create in your smartforms.
When you activate your SMART form it will create a Fucntion Module whihc you need to call from your report program.
Please go through the information given in thread :
http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm
/community [original link is broken] hreadID=187587&messageID=2096976#2096976
/community [original link is broken]threadID=187587&messageID=2096976#2096976
Refer to the following:
http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf
http://esnips.com/doc/58566115-54a4-4405-8872-8de952e245e5/smartform.pdf
http://esnips.com/doc/2276d194-dc47-4b1e-9c14-7af0ffe923ca/smartforms-xsf-output.pdf
http://esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms.doc
http://esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf
http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt
Smartforms Step by Step...links
Smartforms Step by Step...
http://www.sapgenie.com/abap/smartforms_detail.htm
Smartforms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
This would give you information about smartform.
Though the info is bit extensive but will surely help you.
Reward if u find this useful.
Regards,
Lalit -
URGENT:Running oracle form in front end
hi,
i have created a form in form builder and compiled successfully in server.i registered the form in apps and i have added responsibility also.what is the next step to run that form in apps.Do we need to create concurrent program and executable and add to the request group?Please help.
Thanks in advanceDo we need to create concurrent program and executable and add to the request group?Depends if you have custom concurrent programs. If so, then here are the steps:
To create a Custom Program:
- Login to System Administrator Responsibility
- Navigate to Concurrent > Program > Define
- Define your program
To add the Concurrent Program to the Request Group:
- Login to System Administrator Responsibility
- Navigate to Security > Responsibility > Request
- Query your Request Group
- Under Requests, select "Program" under "Type", enter the name of the Concurrent Program under "Name" -
Urgent Regarding Oracle Spatial
We are running arc SDe on Oracle 8.0.5. Is it advisable to modify the values in sdoindex and sdogeom table values thru triggers itself. If so, what is that SDO_CODE. How to calculate value for that column. Please advise.
Thanks in advance
Sudha
nullDan,
Thanks For entertaining , can you please elobrate your explanation.Actually i am very new to the spatial Oracle.
Actually i know that there is a standard known as WGS84 but which are the valid values...e.g....
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by dan abugov:
Hello Raju,
If you want to use the units parameter, you must be in wgs84 (long/lat).
The valid bounds for the coordinate system in long/lat are -180 to 180, and -90 to 90.
Hope this helps,
dan <HR></BLOCKQUOTE>
null -
Urgent : Regarding Adobe Forms ,Scripts and Smartforms
<i>
Hi Floks
Any body having Adobe Printing Forms ,Scripts and Smartforms documents Links can you send me to me . Its will be help full to me
thanks
suresh</i>Hi Suresh,
SCRIPTS
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
http://www.onestopsap.com/sap-miscellanous/sap-script/
http://sap.niraj.tripod.com/id19.html
http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
http://www.thespot4sap.com/Articles/SAPscript_commands.asp
Smartforms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm -
Search option using a new small window in oracle forms using pl/sql
Hai Friend,
Iam Navya Jeevan,regarding Oracle Forms and Reports Doubts.
Our project is developed using Forms and Reports
In Forms for triggers we are using Pl/SQl language.
DOUBT
IN a form we require an option like search button when we press the search button a small window must be opened.This window should contain details from database(ie an entire column of database,must be displayed in the window ) and the user selects the value from the window.
If u got any sample code related to this subject please mail to me.
....................................VERY URGENT............................................................................
thankyou,Hello,
The LOV is made for this.
Francois -
I have some basic questions regarding Oracle Forms and OAF JSP forms. There is a requirement by the client to create custom forms for a functionality not available in Oracle Applications R12. I have to make the decision if Oracle forms or OAF JSP should be used to develop these forms. I have been told that both are supported in R12. I would like to know what is the advantage of doing one over the other? What factors do I need to consider?
Thanksand the appeal is not only about good looking UI, but more on making better user experience, less coding effort, easy maintenance, low cost (on hardware/software), thin clients, and the reason for whole internet revolution based on browser based applications
Tapash -
Regarding validation in oracle forms
I have a requirement that in oracle forms i need to validate that i enter the data in one record and the same data in next record also with the checkbox checked for both rows . And when i enter the same data in next record i.e 3rd record it should not allow to checkbox for 3rd record.This should be the frond end validation in oracle forms .
My requirment looks like this
A B C --> columns in oracle forms
1 ab ab --> checkbox checked
1 ab ab --> checkbox checked
1 ab ab ---> when i check the checkbox it should not allow as only any of the two rows only should be checked
Please help me out?
Regards
Prasadhello
Change/ modify the properties of the check box item;
for the check boxes :
1. Make the data type of the check box as number;
2. fill the functional a.)value when check = 1 b.) value when uncheck = 0;
3. add new item to summarize the value of the checkbox;
change properties of the new added item
datatype number;
calculation summary
summary function :- sum
summarize block :- your block
summarize item :- your check box item.
used :----> when checkbox change trigger
if nvl(:item_summry,0 > 2 and //double entry of data then
your code......
.... message..
raise..
else
your code.....
end if;
For Duplicate Item data entry :-
see this for the duplicate entry for item :-
duplicate records in a multi record block
modify my given code & modify the said link information to satisfied your requirement.
charles -
Urgent: Regarding Join Syntax in Oracle 9i and 10g
Dear Members
Please help me by providing me the synatx of following Join statements for Oracle 9i and 10g:
1.Inner Join
2.Left Outer Join
3.Right Outer Join
4.Self Join
5.Cross Join
6.Full Outer Join
N.B. I NEED THIS HELP URGENTLY
Regards
Praveen Kumar PandeyInner join
SELECT *
FROM a,
b
WHERE a.<<column>> = b.<<column>>Left Outer Join
SELECT *
FROM a LEFT OUTER JOIN b
ON a.<<column>> = b.<<column>>Right Outer Join
SELECT *
FROM a RIGHT OUTER JOIN b
ON a.<<column>> = b.<<column>>Full Outer Join
SELECT *
FROM a FULL OUTER JOIN b
ON a.<<column>> = b.<<column>>Self Join
SELECT *
FROM a a1,
a a2
WHERE a1.<<column>> = a2.<<column>>Cartesian Join
SELECT *
FROM a,
bJustin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Urgent : Communicate from JAVA Applet to Oracle Forms
Hi All,
I have developed swing applet. Through this applet I need to start the Oracle Forms on web and access it as well. Is there a way to to this. In this case, Oracle Form is using Global Variables, and the requirement is to set these from my swing applet.Many thnx Frank.
Still little confused. I am J2EE guys and hardly have any understanding on Oracle Forms. I am explaining the requirement in detail so as to you can get an insight into my issue.
We have a developed a swing Applet, which would be access on web. We have received Oracle Forms from the client, and this has been installed on Oracle10gAS. Our application is installed on the same server. Once user starts interactions with the applet, it will be session based. Also the applet is running at the client end and the form would open at the client end as well. So how is this singleton going to benefit it.
If the singleton in placed at the server end, how would be maintain the session?
Can the solution you are mentioning, used in some way to implement SSO, although the login will be done through the applet?
I am sorry to be a trouble, but if can possibly provide some code snippet, it would be of immense help.
Thnx a million!
Regards,
Rajiv -
How can i use Oracle interMedia with Oracle forms Urgent
Hi all,
I have a requirment from one of our client that they want to manage a large amount of Images,by seeing the documents about the oracle interMedia we got some idea to manage this images ,but the client is alredy having a software which is been developed by Oracle forms9i and we need to develope this using oracle forms9i can anyone give us an idea that how can we make use of InterMedia through Oracle forms9i ....
Thanks in advance....I will ask, but it would be good to ask in the Oracle Forms forum as well. Many tools recognize the interMedia columns and automatically handle them since they now can say "Oh, this is an image column, I know how to handle this". I am not sure where forms is in this regard.
-
JavaBean not working with Oracle Forms (URGENT)
I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from the form to the bean and get a parameter back to the form from the Javabean. The bean is called on the when-button-pressed event of a form button. The problem is, the form doesnt seem to invoke the bean at all. There seems to be no communcation between the form and the bean at runtime on-click of the form button other that all the messages in the form procedure being displayed.
The event code for the button is,
Declare
setNewMsg varchar2(2000) := 'Hello World';
getData varchar2(2000);
BeanHdl Item;
Begin
BeanHdl := find_item('Block3.MYBEAN');
If NOT ID_NULL(BeanHdl) Then
Message('Before Set');
SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
Message('Before Get');
getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
SYNCHRONIZE;
Message(getData);
Message('After Get');
Message(' ');
Else
Message('The ID is null');
Message(' ');
End If;
END;
The javabean code is,
package oracle.forms.beans;
import java.awt.*;
import java.io.*;
import java.beans.*;
import oracle.forms.ui.*;
import oracle.forms.properties.*;
import oracle.forms.handler.*;
import oracle.ewt.lwAWT.*;
public class SimpleTestBean extends VBean {
public static final ID SETMESSAGE = ID.registerProperty("setMessage");
public static final ID GETMESSAGE = ID.registerProperty("getMessage");
private String msg = "";
public String newMessage() {
return msg;
public Object getProperty(ID id) {
try {
if (id == GETMESSAGE) {
return newMessage();
return super.getProperty(id);
catch (Exception e) {
e.printStackTrace();
return null;
public boolean setProperty(ID id, Object value) {
try {
if (id == SETMESSAGE) {
msg = (String) value;
return super.setProperty(id, value);
catch (Exception e) {
e.printStackTrace();
return false;
ThanksHi,
I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from Oracle Form(Ver 6i) to the java bean and get a parameter back to the form. The Javabean is called on "When-Button-Pressed" event of a Form button. The problem is, Form doesn't seem to invoke the bean at all. There seems to be no communication between the Oracle Form and the Javabean at runtime.
On-click of the Form button though all test messages in the Form trigger are being displayed (Even message before and after the Set_Custom_Property & Get_Custome_Property). The only issue is the Form variable doesn't show the returned value from the bean. So the big question is - Whether the bean is invoked at all or not.
If YES then how to check it and if NO then how to communicate with the bean from Oracle Form. I am attaching the code of Javabean and trigger code.
Thanks & Regards
NOTE : All the ClassPath for the JavaBean has been set properly and the Form is also recognizing the Implementation Class for the Javabean.
The Trigger Code is,
--- This code is written on When-Button-Pressed trigger of Form button.
--- The form also contains the bean area "MYBEAN", which i have referred in the code.
Declare
setNewMsg varchar2(2000) := 'Hello World';
getData varchar2(2000);
BeanHdl Item;
Begin
BeanHdl := find_item('Block3.MYBEAN');
If NOT ID_NULL(BeanHdl) Then
Message('Before Set');
SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
Message('Before Get');
getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
SYNCHRONIZE;
Message(getData);
Message('After Get');
Message(' ');
Else
Message('The ID is null');
Message(' ');
End If;
END;
The Bean Code is,
package oracle.forms.beans;
import java.awt.*;
import java.io.*;
import java.beans.*;
import oracle.forms.ui.*;
import oracle.forms.properties.*;
import oracle.forms.handler.*;
import oracle.ewt.lwAWT.*;
public class SimpleTestBean extends VBean {
public static final ID SETMESSAGE = ID.registerProperty("setMessage");
public static final ID GETMESSAGE = ID.registerProperty("getMessage");
private String msg = "";
public String newMessage() {
return msg;
public Object getProperty(ID id) {
try {
if (id == GETMESSAGE) {
return newMessage();
return super.getProperty(id);
catch (Exception e) {
e.printStackTrace();
return null;
public boolean setProperty(ID id, Object value) {
try {
if (id == SETMESSAGE) {
msg = (String) value;
return super.setProperty(id, value);
catch (Exception e) {
e.printStackTrace();
return false;
------------------------------------------------------------------------------------------ -
Regarding installation and usage of oracle forms 11g on windows 7
dear all,
i am new to the oracle forms and reports feature. i tried installing forms and reports following certain steps which i could find from the internet, but it could not be installed.
i ended up crashing my system.can anyone of you help me in providing the step by step installation of oracle 11g forms and reports on windows 7 64 bit.
regards,
sreejithWhen I was cleaning my email account i noticed message from OTN forum. I forgot to reply :/
I followed instructions from the message above and it worked. Oracle XE + PPRD (only forms to save disk space and RAM) + weblogic, i have also installed APEX 3.2.1. It all works at my win 7 system
There where one bug in forms builder database connector, solution was to replace it with the file from SQL*Plus (AFAIR it was tnsnames.ora file)
So thank you Chris999, you helped me a lot.
Maybe you are looking for
-
Screensaver not working in Mountain Lion 10.8.2??
Hello, Since the update of Mountain Lion 10.8.2 on my iMac the screensaver is not working anymore. I set it to 10min and after 10min nothing happen. Whats that?? Sometimes (like 1 time a day or 2) it will work but most of the time, nothing. Anyone ha
-
'BAPI_DOCUMENT_CREATE2': store attachment using 'SAP-SYSTEM'
while i am checkin a document (attachment) using storage category KPRO ,the document is getting stored but when i use SAP-SYSTEM the Document is not getting stored. How can I get it stored using 'SAP-SYSTEM' Following is the code; DATA: lv_docnum TYP
-
Hello,I am a phone dealer in Nigeria. please how can i track a brand new iphone 5 64gb and 16gb that was stolen from my shop with the last 4 digit IMEI numbers?
-
Is the new iPhoto '08 Library syncing in entirety every time?
The new storage for iPhoto Library in iPhoto '08 is a package. It SEEMS like PHD is sensing any minute change inside (which update the package's modified date) and then copying/syncing the ENTIRE library. For some users, this can be 15GB of pain. Can
-
SQLPlus SP2-0317 on SET DEFINE in 10.2.0.2 W2K
Hi, I'm getting a frequent SP2-0317 error in SQLPlus running in a command window under W2K against Oracle 10.2. Here's an example showing it working intermittently: C:\Duncan\install_new>sqlplus /nolog SQL*Plus: Release 10.2.0.2.0 - Production on Thu