Re : Purpose of REROPTS module within FORMS MODULE
Hai,
Could U please tell me what is the purpose of REPORTS module
within the FORMS module.
Please advice how to invoke the REPORT created in the FORMS
module from the FORM.
Thanks,
Syed Jaleel.
null
Oh ! Sorry, I didn't mention it as FORMS 5.0 problem.
In FORMS 5.0 there is a new feature to create a report for
database block.
My question is after creating the report , how can I invoke it
from that particular form.
Syed
Elikem Ansah (guest) wrote:
: I do not know what exacty you mean, but if you create report
: modules using ORACLE REPORTS, you can invoke them through a
menu
: item in an MDI by using run_product. Get help on run_product
from
: the forms help files.
: Shiek Syed Jaleel (guest) wrote:
: : Hai,
: : Could U please tell me what is the purpose of REPORTS module
: : within the FORMS module.
: : Please advice how to invoke the REPORT created in the FORMS
: : module from the FORM.
: : Thanks,
: : Syed Jaleel.
null
Similar Messages
-
Urgent: Selection-screen within Form routines
Hi Experts,
Within Form routines can i declare selection-screen statements. If no how should i declare my objects on selection screen within form routines bcoz when i declared with selection screen statements within form routines iam getting the error as "Within FORM routines and function modules, the SELECTION-SCREEN statement is not allowed".
Regards.
AADI.Hi Aditya,
U cannot use the Selection-screen in Forms and Function Modules.
Try to use it in an include program and call it from ur program.
Reward if Helpful,
Jagadish. -
Oracle Forms 11gR2 - Cannot deploy locally from within Forms
I cannot deploy locally from within forms. The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window. When I try to deploy from within forms it comes up with some crazy URL that differs everytime.
This is what the URL should be and this works from the browser:
http://machinename:7002/forms/frmservlet?form=WRD608ADMIN_11g.fmx&userid=&otherparams=useSDI=yes
Here is one of the URLs it came up with when I try to run it from within Forms:
http://localhost:60231/lysVL2VjqT33znjfvLwanktVRxTIc6dEwVeRNXXRmhYU2qjf
Localhost is always there, but the rest varies.
In Forms, I have the Preferences, Runtime set to:
http://machinename:7002/forms/frmservlet
Where machine name is my PC, it is the same for this address as the URL above that works directly from the browser.
So what am I missing?
Thank you in advance.Generally speaking, it is discouraged to manually edit any of the configuration files if they are managed by WLS Console or EM. In this case, default.env is managed by EM. Therefore, changes to the file should be done through EM. If however, you want to alter the file manually, the following is likely the best way to accomplish this:
1. Stop the WLS Admin Server and Node Manager
2. Locate the proper file you wish to edit. By proper I mean, there are several copies of most config files. Most of the config files found in the Oracle Home are actually template files and are not used at runtime. Altering these will not give you the change you want. The default.env you want would be here (assuming Windows)
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config
If you are using a "Development" installation type, the above path will reflect AdminServer instead of WLS_FORMS. Remember that Development installations are not for multi-user purposes. Production deployments require the "Deployment" installation type, which can also include the Builders.
Do NOT make any changes yet.
3. Once you find the correct file, create a backup copy. Then open the file for edit (not the backup).
4. Make the desired changes and save.
5. Restart Node Manager and Admin Server if you plan to use them.
For more information about using EM to manage your configuration, refer to the product documentation:
http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/configure.htm#CHDCCGHI -
Querying data from External Source from within FORMS
I have a form that is built based on Oracle tables.
I need to execute a Select statement via ODBC from within Forms procedures. This is going to a SQL Server DB to get some information for validation purpose.
I do not need to bring this in to a Forms Block.
Any thoughts?
ThanksHi
What version of forms do you use? If you use forms 6i, take a look at the EXEC_SQL package. You can access oracle databases and ODBC databases (using OCA) independently of the main database connection -- well, I never tried but that is what the documentation says.
I am not sure about version 9i... the package is there, but I could not find anything in the help about it (what is not a good sign...)
hth
Luis Cabral -
Creating a Folder Within Form or Document Library & Display the name not in the name column.
I have created a form library that will used to create folders within that. The folder creation is done using an InfoPath Form that has been uploaded to the Form Library. When the new folder was created the name will be displayed at the Name column within
the Form Library. I want to change that to another column like documents or suchlike.
Can it be done using InfoPath 2010 VSTA C# or not? If their are other options available please could you try to inform me!
Thank You,
ChiranthakaHi,
If you want to show the name of folder in another column, a workaround is that you can create an extra column, then create a SharePoint Designer workflow to set the value of
this column with the name of folder.
Here is a link about Create Workflow using SharePoint Designer and set field value for your reference:
http://www.codeproject.com/Tips/419037/Create-Workflow-using-SharePoint-Designer
I have seen a similar post from you in the link below:
http://social.technet.microsoft.com/Forums/en-US/c3ff3f17-dbe2-40f9-86c5-ff7d4b663f09/creating-a-folder-within-form-or-document-library-display-the-name-not-in-the-name-column?forum=sharepointcustomizationprevious
It's recommended that you post a single question in a single thread which will make it easier to be discussed by others.
Best regards
Patrick Liang
TechNet Community Support -
Create a jdbc connection within forms
I have created a little piece of java code that connects to my database via a jdbc connection, inserts a value into a table, commits, then closes the jdbc connection.
This works perfectly in JDeveloper.
Now, I need to use it within forms, but forms is throwing an exception in the java console: [I have signed the file]
and I also get an alert that says "FRM-92100: Your connection to the Server was interrupted. This may be the result of a network error or a failure on the Server. You will need to reestablish your session."
I'm assuming when my java code tries to do a jdbc connection, it conflicts with the already established forms connection. Does anyone have any suggestions on how to overcome this?
-----------------java console exception-----------------
java.lang.IllegalAccessException: myconnection
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.handler.UICommon.instantiate Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
------------------java code-------------------------
NOTES: of course I have taken out the real ip
address, the db name, and the login and password.
import java.sql.*;
import java.io.*;
import oracle.jdbc.driver.*;
import oracle.forms.ui.VButton;
class connection extends VButton
public static void main (String[] args) {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
String url = "jdbc:oracle:thin:@<ip>:1521:<databasename>";
Connection conn = DriverManager.getConnection(url,"<login>","<password>");
Statement stmt = conn.createStatement();
ResultSet rs;
rs = stmt.executeQuery("insert into lh_test (my_name) values ('this')");
rs = stmt.executeQuery("commit");
conn.close();
} catch (Exception e) {
System.err.println("Got an exception! ");
System.err.println(e.getMessage());Hi 348874,Frank
Frank,do you thinck that if this java class would extend VBean,instead of VButton will it make any diffence?(I mean,it do has a main method,wich isn't executed when the VButton initialises).
Ín fact,when having a closer look into the java class(wich ,obvioulsly I didn't last time) I'm quite confused...why is this exception raising?
This Component should do nothing in fact,when inserted into a form.
As far as I know,from Forms Applet point of view,this class should be exactly a VButton,because the constructor and init() method are exactly the ones inherited from VButton(This class isn't adding anything to VButton)...Am I wrong?? -
Using JMS and Advanced Queuing within forms.
I am wondering if anyone can forsee problems with embedding a javabean inside a form that:
listens to an Oracle queue.
Do you think there would be some type of problem with a connection factory trying to create a connection and a session from within forms using JDBC?
Thanks in advanceSandu,you are right.
A Forms timer with status polling is a good and stabil solution .
But we are connected on a database and a polling of a database event - Job is finished, or a reply received in a Queue -
is always a network traffic and overhead when we use polling times < 1 min ..
It would be also a good solution and interesting feature of Forms that the database event sends a message to the waiting client (process ?) .. -
Grant privileges, roles within Forms
Hello,
i have a forms application where each year can appear new users (e.g. employees), and i when a new employee appears i wanna grant him privileges, roles, etc within Forms. so is it possible having a form(accesible just for dba user) from where he can assign roles to another users ? (in employee table i have a column 'username'). also, when i insert a new employee, in post-insert query (i think) is it possible to have something like
create user .... identified by ....... but here is a problem.. where can i write the password?
Please clarify :)
Regards,Roger22 wrote:
but when i run the script how can i specify the password?what do you mean by specify the password? What's exactly your problem/requirement with specifying the pw?
You can do this in forms using forms_ddl, but I'd use a database procedure for this which creates the user, does the granting stuff etc.
e.g.:
create or replace procedure createUser(ivUsername in varchar2) is
cursor cGrants(cvUsername varchar2) is
select 'grant '||decode(object_type, 'TABLE', 'select, insert, update, delete ', 'PROCEDURE', 'execute ', [...])|| ' to '||cvUserName as grant_stmt,
'create synonym '||object_name||' for '||cvUserName||'.'||object_name as syn
from user_objects
where object_name != 'CREATEUSER'
and object_name not in (select synonym_name from all_synonyms where owner = upper(cvUserName);
begin
execute immediate 'create user '||ivUserName||'identified by '||ivUserName||' default tablespace my_tbs temporary tablespace my_temptbs quota unlimited on my_tbs';
execute immediate 'grant connect, resource to '||ivUserName;
for rGrants in cGrants(ivUsername) loop
execute immediate rGrants.grant_stmt;
execute immediate rGrants.syn;
end loop;
end;
/A user with pw = username get's created (maybe you should provide your users a pw change functionality to change their passwords afterwards), he gets granted all the privilages to objects from the current user, and also synonyms get's created (if you want to use this the calling user should have the create any synonym privilage). Beware: If you want to do this you MUST NOT grant this procedure to the other users (so object_name != 'CREATEUSER') or use any other database procedures in it, as you'll get a lock when executing the grant statement and the procedure hangs.
If you want to manage more schemas, you could create this procedure with the system user, modify the cursor to do a query on all_objects and restrict it to the schema from where you want to grant the privilages to (grant execute on schema.object to user), and pass the schema and the user to create to it. -
Easy Question: How to identify user roles within form?
Hi folks,
I would like to display/hide button which calls static data maintenance form (from other form) based on current user roles.
If user has role "STATIC_DATA" granted then DISPLAY button (which calls static data form), else DO NOT DISPLAY it.
Any example, how to get user roles within form?
Thanks,
TomasI can do it with below code:
declare
l_cnt number;
begin
select count(*)
into l_cnt
from user_role_privs
where granted_role = 'STATIC_DATA';
if l_cnt > 0 then
-- display it
else
-- do not display
end if;
end;I think, above should work.
Thanks,
Tomas -
Does anybody know how to run a package within forms (in the background?)
Example: I need to run a package to update some tables but I don't want the user to have to wait for that package to complete before making modifications to the form. It is less than a 10 second wait but it appears that the form is hung up.
thank you.Before you start the process, your form could display a stacked canvas telling the user to wait, and then after the package returned control to the form, the form could hide the canvas.
-
Access other_params within forms 9i
Hello,
I'd like to determine the output directory when using the Forms TEXT_IO utility
in the formsweb.cfg (of the OAS) as other_params.
This would facilitate maintenance and it is more flexible.
But I do not know how to access this parameter within Forms 9i.Hello,
I know, that with the TEXT_IO package it is written on the machine of the OAS. However my problem is as mentioned how to access external parameters within forms.
I wrote in formsweb.cfg:
[my_section]
otherparams=myparam1=%alpha% myparam2=%beta%
Then in the Form WHEN-NEW-FORM-INSTANCE Trigger:
DECLARE
outdir VARCHAR2(100);
BEGIN
TOOL_ENV.GETVAR('myparam1', outdir);
:GLOBAL.export_dir := 'd:/oas/Apache/Apache/htdocs/'||outdir||'/';
END;
The URL looks like
http://station:7778/forms90/f90servlet?config=my_section&form=d:\myform.fmx&userid=
But I get the Error: FRM-47023:
Form MYPARAM1 does not contain a parameter named MYFORM
What is wrong here ??
I tried it also with the URL:
http://station:7778/forms90/f90servlet?config=my_section&otherparams=myparam1=outdir&form=d:\myform.fmx&userid=
although I would like to have the information (alpha) only in the formsweb.cfg
Thanks -
hai,
Suppose a requirement is given and there is a need to find a Function module which can do that.
Please let me know about any doucument which explains the purpose of built-in function modules.
Thanks,
Sairam.Sairam,
Look into the following Link.
http://abapprogramming.blogspot.com/2007/06/lesson-24-function-groups-and-function.html
You see all the function module in SAP from transaction SE37. In SE37 Put * in Function module name and press f4. It will give you a list of limited no of Function module names. To see a full list press new selection at the bottom of popup and then put * in Func module name and press enter. But this is a huge list.
I would suggest to search by using wild card search. eg. if you need FM for popup put POPUP In FM name field and press F4.
Hope this helps
Vinodh Balakrishnan -
What is the purpose of RMBWV303 module in R/3
Hi
We have work coming up to evaluate and rectify performance issue for Data loading into BW. In specific for RMBWV303 module.
Can any one please help me understand what is this module and why it is used.
Is there any scope to modify this module, to load data faster in BW.
AshfaqRMBWV303 is the ojob executed to transfer delta records from the update queue to delta queue for application 03 of the logistics cockpit. this is a standard program with no parameters and thus i don't see any way of speeding up performance.
however i have to say that this job never posed any performance problem at my cllients...
M. -
How to use template.fmb file within form builder
Hi
I have created forms without using template.fmb file
and deploy them on EBS then they working fine
But when I try to use template.fmb file then it gives an error
following are the steps :
1:open template.fmb file with form builder
2:rename that file with XXXX.fmb
compile that file and deploy XXXX.fmb file in AU_TOP
after that
in putty i m trying to create XXXX.fmx file in same TOP but it gives an error
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.3.0 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
Compiling package specification APP_CUSTOM...
No compilation errors.
Compiling package specification APP_CUSTOM...
No compilation errors.
Compiling package body APP_CUSTOM...
Compilation error on package body APP_CUSTOM:
PL/SQL ERROR 302 at line 22, column 19
component 'DISABLED' must be declared
PL/SQL ERROR 0 at line 22, column 5
Statement ignored
PL/SQL ERROR 201 at line 40, column 5
identifier 'APP_WINDOW.CLOSE_FIRST_WINDOW' must be declared
PL/SQL ERROR 0 at line 40, column 5
Statement ignored
Compilation errors have occurred.
Form not createdfollowing is command
$ frmcmp_batch module=$AU_TOP/forms/US/XXXX.fmb userid=APPS/apps output_file=$AU_TOP/forms/US/XXXX.fmx module_type=form batch=NO compile_all=specialfor you question - EBS General Discussion General EBS Discussion
Compiling Forms In R12
and search on forum -
dears,
i was design an form that read an excel sheet and upload the excel sheet contant into a table on DB, the excel sheet contain only 2 columns, the problem is when i compile the form CTRL+K there is no errors shown but when the form run i click Browes button but it give me error as below
ORA-06508 PL/SQL could not find program unit being called .
the program unit is client_get_file_name it a package within WEBUTIL attached library, the problem is the form cant call any package or anything from WEBUTIL attached library.
on the form i have 2 buttons
First Button Code: "Browes"
Declare
V_FILE VARCHAR2(2000);
BEGIN
V_FILE := client_get_file_name(NULL, NULL, NULL, NULL, open_file, TRUE);
:main_block.FNAME := V_FILE;
EXCEPTION
WHEN OTHERS THEN
my_alert('There Is Error: '||sqlerrm); -- My_alert(p_text) is program unit
RAISE FORM_TRIGGER_FAILURE;
END;
Second Button code : "Import to DB"
DECLARE
MYFILE CLIENT_TEXT_IO.FILE_TYPE;
filename varchar2(100);
temp varchar2(1000);
t1 varchar2(1000);
t2 varchar2(1000);
cust_id number;
dfrom date;
dto date;
ccode varchar2(100);
r varchar2(1000);
transfer_status boolean;
begin
filename := :main_block.fname;
MYFILE := CLIENT_TEXT_IO.FOPEN(filename, 'r');
SYNCHRONIZE;
SYNCHRONIZE;
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
while temp is not null loop
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
select substr(t1,1,instr(t1,',') -1)
into t2
from dual;
ccode:=t2;
select substr(t1,instr(t1,',') +1)
into t1
from dual;
insert into trc_upload -- table on DB
values(t2,t1);
commit;
end loop;
CLIENT_TEXT_IO.FCLOSE(MYFILE);
EXCEPTION
WHEN DDE.DDE_APP_FAILURE THEN
my_alert('WINDOWS APPLICATION CANNOT START.');
WHEN DDE.DDE_PARAM_ERR THEN
my_alert('A NULL VALUE WAS PASSED TO DDE');
WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
my_alert('DDE CANNOT ESTABLISH A CONVERSATION');
WHEN DDE.DMLERR_NOTPROCESSED THEN
my_alert('A TRANSACTION FAILED');
end;
so please to help me on this issue
Note:
the form deployed under UNIX on Application Server
Thanks
Murad.From ORA-06508 is seems like WEBUTIL.pll is not found in the runtime-environment.
Possible solutions:
Check if the WEBUTIL.pll (or plx) is on the path where the fmx-File is placed.
If not, check the FORMS90_PATH in your env-File (normally default.env) (you didn't mention your forms-Version, may also be FORMS60_PATH) and if the WEBUTIL.pll is in that path, if not adjust the env-file.
If its still not working, check if WEBUTIL.pll is attached including the full Path (unattach WEBUTIL.pll and reattach it without the path)
Last hint: Case-sensitivity: If you attach in lowercase-letters and library is in uppercase on unix-system the library will not be found at runtime. You won't see how the the pll was attached, best method is to unattach library and reattach it in correct case.
Another remark:
The DDE-Exception seem to be useless, because you don't use DDE (and i would not work for its not available under unix).
Hope this helps
Maybe you are looking for
-
I just upgraded to Yosemite and now Safari will not open
I have just started to explore Yosemite and I cannot use Safari - it crashes. It was the most current version before I upgraded to Yosemite and it worked fine - any thoughts?
-
Error while Terminating the Benefits Participation
Hi Frieds, Our system is behaving veri differently. While terminating the Benefits participation we get an error "Organizational Assignment infotype does not exist for 07/01/2011". While in Qulaity server this is succesfuly processed. All the master
-
Can i transfer my apps from my Iphone to my mac book pro--if so how??
can I transfer my apps from my Iphone to my macbook pro??? If so How??
-
DoFilter() method is being called only at the second request
Hi, I have implemented a simple Filter class Here is the code public class BasicFilter implements Filter FilterConfig config; public void init(FilterConfig config) System.out.println("Filter Initialised"); this.config = config; public void doFilter(S
-
I own iLife '11, why does it not show as installed?
I have iLife '11 loaded on my computer as well as iWork '09. Why don't they show up as installed from the app store?