How insert hundreds of user's responsibilities in Oracle Form ?
I'm using DataLoad, but I'd like use a more intelligent tool.
Is there another tool to make this huge task ?
Thanks
Yes, DataLoad is the best option if you want to do it through front end.
Also you can try to upload the data into temp table, create PL/SQL script and insert using API (Fnd_user_resp_groups_api) to add new responsibility.
Similar Messages
-
Getting Logged on User'Information in an Oracle-Form SSO Partner Application
Hi.
I could run Flight-of Fancy Application and capture user's information by calling the
"Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
and defined an Oracle-Form application as Partner application like FOF.
I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
Thanks in advanced.Hi.
I could run Flight-of Fancy Application and capture user's information by calling the
"Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
and defined an Oracle-Form application as Partner application like FOF.
I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
Thanks in advanced. If you're writing your own partner application, then you are correct to get the user information from the output variables
from the parse_url_cookie procedure. You should then set the information you want to keep track of in the cookie, or combination
of cookie and persistent storage in the database. Take care of the security implications while doing this.
On subsequent calls to your application, the user info should be obtained from the cookie and the database, if you
are using a combination of the cookie and database storage to keep your info.
The owa_cookie.get routine is used to read the cookie, which is generated with owa_cookie.send.
These routines work fine, when invoked correctly.
If you are having trouble with them, you're probably not using the calls properly.
The following code provides an example of how to use the owa_cookie calls...
create or replace package testcookie
is
procedure show (p_name IN VARCHAR2);
procedure send
p_name IN VARCHAR2,
p_value IN VARCHAR2,
p_path IN VARCHAR2 default null,
p_expires IN VARCHAR2 default null
end testcookie;
show error package testcookie
create or replace package body testcookie is
procedure show (p_name IN VARCHAR2) is
v_cookie owa_cookie.cookie;
begin
v_cookie := owa_cookie.get(upper(p_name));
htp.htmlopen;
htp.bodyopen;
htp.print(v_cookie.vals(1));
htp.bodyclose;
htp.htmlclose;
exception
when others then
htp.htmlopen;
htp.bodyopen;
htp.print('NO COOKIE FOUND.');
htp.print(SQLERRM);
htp.bodyclose;
htp.htmlclose;
end;
procedure send
p_name IN VARCHAR2,
p_value IN VARCHAR2,
p_path IN VARCHAR2 default null,
p_expires IN VARCHAR2 default null
is
v_cookie owa_cookie.cookie;
l_agent varchar2(30);
l_expires varchar2(30);
l_path varchar2(100);
begin
if p_expires is null then
l_expires := null;
else
l_expires := to_date(p_expires, 'MMDDYYYY');
end if;
if p_path = 'ALL' then
l_path := '/';
else
l_path := null;
end if;
owa_util.mime_header('text/html', FALSE);
l_agent := owa_util.get_owa_service_path;
l_agent := substr(l_agent, 1, length(l_agent) - 1 ) ;
owa_cookie.send(
name => upper(p_name),
value => p_value,
expires => l_expires,
path => l_path
owa_util.http_header_close;
htp.htmlopen;
htp.headopen;
htp.headclose;
htp.bodyopen;
htp.print ('Cookie set.');
htp.bodyclose;
htp.htmlclose;
end;
end testcookie;
show error package body testcookie;
grant execute on testcookie to public;If you load this into a schema which a DAD can access, then you can invoke the show and send procedures to view and
generate cookies.
To generate a cookie, issue the following from your browser ...
http://server.domain.com/pls/dad/schema.testcookies.send?p_name=test&p_value=hello
To view the cookie:
http://server.domain.com/pls/dad/schema.testcookies.show?p_name=test -
How to call a COM object from an Oracle Form?
Hi All,
Pls advice. How to call a COM object from an Oracle Form?
Thanks.try asking the "Form" forum
-
How can i do the following in the oracle forms developer :
How can i do the following in the oracle forms developer :
1- delete or add new item to block and canvus at the RUNTIME ????
2- change the following property at the RUNTIME :
- item type
- datatype
- database item
- column nameHow can i do the following in the oracle forms
developer :
1- delete or add new item to block and canvus at the
RUNTIME ????It's not possible, you can do enabled/not enabled, or visible/not visible
2- change the following property at the RUNTIME :
- item typeno
- datatypeno
- database itemno
- column nameno
You are not lucky :-) -
How do i allow users to change their oracle password?
Please help.
I need a procedure/module in my forms6 to allow users change their oracle database passwords. I am using Oracle 8.0.6.
thanks for a replySEND YOUR EMAIL SO I CAN SEND YOU A COMPLETE
FORM HOW TO CHANGE THE USER PASSWORD
MARK -
How to verify the user information pass by the form with a stored procedure?
Hi,
I would like to know how to verify user information pass by the form with a stored procedure.
I want make a portal which accepts to new user registration, but I want verify the new user's informations (like the name don't contain a number etc).
Thanks for your help
regards
jlaHi Samson,
You can use the UI API to do this. You can catch the form_ADD event and then validate the input from the users. You can even block the event from completing (and stop the document from being added) if your code finds some incorrect data using the bubbleEvent functionality.
I don't have one specific example to show you, but if you look at some of the SDK samples (for example C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\02.CatchingEvents) to see how to work with events, you can then create your own validation to ensure the users data is valid.
Regards,
Niall -
How to get an user field in a sap form
SBO2004
I'm trying to get an user field in a sap form(651).
My code is:
Dim FrmT As SAPbouiCOM.Form
Dim Itm As SAPbouiCOM.Item
FrmT = GestorSAP.SBO_Application.Forms.GetForm("651", 1)
If (Not FrmT Is Nothing) Then
Itm = FrmT.Items.Item("U_Project")
End If
Frmt is not nothing, but itm is ever nothing and gives me an exception(item not valid). If i go to sap and look at this form, with debugging info activated, i see:
Form=651 Itm=U_Project Variable=1 OCLG,U_Project
What am i ding wrong?Hi Miguel Angel.
Try with form "-651".
UDF form is the negative sap form.
HTH
Juli
P.S:I'm not sure your code works, I never work with GetForm method, but yes with UDF form -
How to change the parameter's value of Oracle Forms Applet?
Hello,
I'm working with Oracle Forms 10.1.2.3.0 and JRE 1.6.0_14, we got some performance issues and we think are related with Java, so we enabled Java trace and we realized that every time user moves the cursor from one item to another, the applet sends a request to the server. This is the request.
network: Connecting http://server/forms/lservlet;jsessionid=e53bb50b2f95ecb357451bf21a291367cc1747d2d9956b3ba1c4a05916d87d34.e34LaheTahaLai0LaxyLbN4ObxqTe6fznA5Pp7ftolbGmkTy with proxy=DIRECT
I want to disable these connections as Sun states that sometimes they are not needed (not sure if this is the case but we want to test it).
I got a possible answer from a Sun forum, the possible fix is to set the following property to false:
<APPLET ...>
<PARAM name="codebase_lookup" value="false">
</APPLET>
But I don't know how to pass that parameter to Oracle Forms applet.
Does anybody know?
Thanks.You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
i.e.
<PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
<PARAM NAME="CODEBASE" VALUE="%codebase%">
<PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE" VALUE="%archive%" >
<PARAM name="codebase_lookup" value="false">
I have never done it myself so I do not know if it would be recognized though. -
How to get recently opened module name in oracle forms
hello experts, I am using oracle forms 11g with oracle weblogic server 10.3.5 at windows 7.How can i get the module name opened in a particular session by a user in oracle forms. regards aaditya
Hi,
You can do this by using GET_APPLICATION_PROPERTY built-in and using its property CURRENT_FORM_NAME.
More of its usage in Forms Builder -> Help menu -> Online Help and type "Current Form Name Property".
Hope this helps
Regards
Carlos -
How are listbox and radiobutton items working in oracle forms?!?
Hi all.
I need some help over may be a standard case in every real project.
Imagine i have a db table PERSONS -> PERSONID, NAME, TOWNID, MATRIALSTATUSID
and table TOWNS -> TOWNID, TOWNNAME
and table MATRIALSTATUS -> MATRIALSTATUSID, NAME
And i have a standard oracle form with text item person name, listbox item with many towns (from TOWNS table) and the town of the concrete person is selected when the form is inited, after that we can change it by selecting other town and saving it to db.
The same is with matrial status but lets make it as radio group with 3 buttons married, not merried, divorced.
So my questions is how to populate the listbox(radiogroup) for 1 person by selecting data from other preferenced tables. And most important how this data is populated in the list box for example i.e. every town name is indexed in some way or what. I am a java developer and for example in java the control listbox item has two attributes the name(string) that is displayed in the listbox and a index binded for that name, and i work with indexes and show strings. I read about LOV but couldn't understand how to "index" the populated values. Is it possible.
And please can you give me some example of how to load (populate + set current town), change and (if it is possible) "index". The same case appears to be valid with radio buttons and check boxes.
You could give me some tutorials too, i cant find simple and focused on the problem examples.
Thank you.
Best Regards.Hi,
well here is what i done for now.
First I created recordGroup with query SELECT GENDER, GENDERID FROM GENDERS (I want to select all genders and place them in listbox)
After that i created Listbox and on triger when-new-form i placed this code:
DECLARE
it ITEM:=FIND_ITEM('PERSONS_DETAILS.GENDER');
BEGIN
CLEAR_LIST(it);
POPULATE_LIST(it, 'RG_LIST');
DEFAULT_VALUE(NULL, 'GLOBAL.PERSONID');
IF :GLOBAL.PERSONID IS NOT NULL THEN
SET_BLOCK_PROPERTY('PERSONS_DETAILS', ONETIME_WHERE, 'PERSONID=' || :GLOBAL.PERSONID);
GO_BLOCK('PERSONS_DETAILS');
EXECUTE_QUERY;
:GLOBAL.PERSONID:=NULL;
END IF;
END;
Imagine i have a main form PERSONS that displays general information about many persons (the data is retrieved from PERSONS db table). The form PERSONS displays PERSONID, PERSON FIRSTNAME and PERSON LASTNAME. When a user double click on some row from the PERSONS FORM( i have tabular datablock that displays the person data) other form 'PERSONS_DETAILS' must be displayed with detailed information about the selected person. The data about the selected person is loaded well but i want gender to be listbox and the user can change it if he wants. So i have TABLE GENDERS 1:N with PERSONS and the table has GENDERID AND GENDER. When the user double clicks on single person i must populate the list with all possible genders from the GENDERS table and set the gender of the selected person. How to do that?
P.S.: The example with gender is not very good because it could be only male female, but don't worry about it. You may think about gender list as townlist :)
It finds me the GENDER LIST and populates it. After that i take the personId (that is global variable and comes from previous form) and displays all the data for the person with id personid.
When i compile the form it gives me :
FRM-30351: No list elements defined for list item.
List GENDER
Edited by: user9536806 on Nov 19, 2008 3:01 AM -
How to retrieve information on UNIX Host from oracle Forms
Hi,
Has anybody tried to retrieve manipulated information
on the Unix Server From the oracle forms running on a client ?.
If it is to be done by user exit and calling the pro*c code
then where should the pro*c code exist ?. on server or on client.
1. If on server then can that code return the value to form ?.
2. If on client then can that code access the unix server and
return the value ?..
OR
any other method or tool to do the above.
Thnaks and regards
nullI can only tell you what we've done for our system. We have
client applications which need to send/recv information from the
UNIX server (report submission, etc.)
We have a deamon (written in PRO*C) which runs on the UNIX
server. This deamon constantly monitors a pipe (using the
DBMS_PIPE package available with ORACLE 7.1). The client apps.
send requests through this pipe and wait for the server deamon to
process the request and send responses down a "return pipe".
This approach has served us well.
With ORACLE 8, you can (according to what I've read) link
external object modules (similar to ORA_FFI on the client), which
would make these OS specific functions available to the database
developer via PL/SQL but we're just now looking at ORACLE 8 so I
have no first hand experience with this.
gautam (guest) wrote:
: Hi,
: Has anybody tried to retrieve manipulated information
: on the Unix Server From the oracle forms running on a client ?.
: If it is to be done by user exit and calling the pro*c code
: then where should the pro*c code exist ?. on server or on
client.
: 1. If on server then can that code return the value to form ?.
: 2. If on client then can that code access the unix server and
: return the value ?..
: OR
: any other method or tool to do the above.
: Thnaks and regards
null -
How to Return a value to a 10g Oracle Form form a Web Service Call
I've read the demo available from Oracle, 'Calling a Web service from Oracle Forms', that shows how to invoke a call to a Web Service from a Form. The demo only shows how to do a call and how to display messages. I've done some searching, but can't seem to find any examples of how to return a value from the call into a field on the form. If any one could provide an example of that, I would greatly appreciate it.
We are in the process of modifing a form and we would like to use a webservice, which we have never done before. We have created a webservice which calculates a value based upon what is entered on the form and we want to pass that calculated value back to a field on the form.
This is the code provided by the demo to do a call.
DECLARE
jo ora_java.jobject;
xo ora_java.jobject;
rv varchar2(100);
ex ora_java.jobject;
BEGIN
JO := SendServiceSoapClient.new;
RV := SendServiceSoapClient.sendMessage(JO,:BLOCK3.PHONE_NUMBER, :BLOCK3.MESSAGE_BODY, xo, xo);
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;In the future, please be sure to include the exact product versions you are using. In this case, also be sure to include the java versions you are using to build your java code.
http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
Regarding your question, take a look at this older white paper which discusses integrating Forms with SOA.
http://www.oracle.com/technetwork/developer-tools/forms/documentation/forms-soa-wp-1-129441.pdf -
How to connect to SQL server 2000 with Oracle Form
Hi,
I'm looking for the document of how to connect "SQL Server 2000" with Oracle Form 6i. Anyone knows that?Shay or other knowledgeable folks,
Is there a way to utilize the wizard for "Business Tier > ADF Business Components > Business Components from Tables" for SQL Server 2000, 2005 or 2008. I can successfully execute sql via java programmatically or import a table from SQL Server with "Business Tier > ADF Business Components > Entity Object" wizard, but the Business Components from Tables simply doesn't see any tables under any schema. Without the "Business Components from Tables", i don't get the referential constraints imported into the application and to code all those from scratch is just not as elegant. So far i have only utilized the sql server jdbc driver from Microsoft (versions, 1.1, 1.2 and 2.0). Is there an alternative client that i need to use to enable selecting tables from that "Business Components from Tables" wizard. Is this a limitation of SQL Server, the jdbc driver or the wizard itself? Did anybody else experience the same issues? I am using Jdeveloper 11.1.1.0.1 against SQL Server 2005 (currently)
Thanks,
Andy -
How to use advanced PL/SQL concepts in oracle forms/reports
Hi all,
Can any one suggest me how to use the advanced PL/SQL Concepts(nested tables,PAA,Varrays,Objects...) in Oracle forms.
Actually i Created a Table having column of Varray datatype. now i want to create a item in oracle forms on this field. can any one suggest me the way to do this.
Thanks,
KumarHello,
Have a look at this one:
http://sheikyerbouti.developpez.com/tutoforms10g/tutoforms10g.htm
particularly the chapter about block that contain a collection (2.3.3). The sample is built around a nested table but you have the idea to adapt it to work with a varray.
Kind regards,
Alex
If someone's answer is helpful or correct please mark it accordingly. -
How to run a DOS command from an Oracle form.
How can I run a DOS command from an Oracle form (i.e. open the calculator located at c:\windows\system32\calc.exe)?
first of all get the environment variable for the c:\windows\system32 direcotry for any of the windows
you can use get variable from the ora env package
now cancat the system32 variable with the calc.exe string
now pass the string with host command as parameters
this process will work for all type of windows.
Maybe you are looking for
-
How do I output a large Ai file as multiple PDFs (via views, pages, whatever)
I am working in FreeHand 10 and Illustrator CS3 on a large street map. The client wants to do his own edits to the map in Illustrator (version unknown) then output it so he can show a section per page, in an atlas he plans to publish. And maintain th
-
I cannot get onto iTunes to remove a credit card, so how do I do it from my iPod Touch?
I cannot get onto iTunes to remove a credit card, so how do I do it from my iPod Touch?
-
my daughter has an ipod touch 4th gen and i have an iphone 4. does she need to have her own apple id in order to play gamecenter games on her own account? if so, is this a new thing?
-
The uploaded file .xml is invalid. The file should be in XSD format.
hi , when i am trying to upload a data definition file .ie salesinvoice.xml through oracle XML Publisher , i get the error message "The uploaded file salesinvoice.xml is invalid. The file should be in XSD format." i tried attaching other xml files al
-
Need to copy contents of my iphone to a new Windows 7 computer
Hi, My iphone 4 is currently syced to a macbook pro. But now, I need to sync my iphone to a new network drive accessible thru my Windows 7 laptop. Can some body point me to a set of steps that I need to do. I have apps, some with its own data, voice