Help: How to call a plsql Package on click of a button in ADF
Hi Guru's
Please provide your suggestions, how to go ahead in ADF to call a plsql package when a button i clicked.
I do have a knowledge of oracle callable statment to call the plsql package but not having any idea how to relate button click event in ADF.
Thanks,
SPC
Create a service method in your Application Module to [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvgen.htm#sm0297]call the stored package, expose that service method on the client interface, and then drag the service method from the data control palette on to your page as a button.
John
Similar Messages
-
How to call a custom form on click of a button?
We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
some sample code will help. Thanks in Advance,
Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053Hi,
I think you are working with Oracle EBS.
I don't think so that we can able to call the custom form on clicking button.
We can call the form from the standard form using both custom.pll and form personalization
In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
So please check further, and let me know if any i can help you any.
Regards
Sri . -
How to call custom BSP application on click of BACK button for SC in EBP.
Hi All,
We are implementing OCI using custom BSP applications.In EBP SC screen ,in step1 (Select Goods/Services), the links for these BSP applications are displayed.
The user can create a shopping cart using these applications , after the items are transfered from BSP to SC on standard EBP screen , in step2
there are four buttons ,
1)Refresh
2)Check
3)Back
4)Continue.
We need to call one of our custom BSP applications on click of this BACK button
How can i acchieve the same?
Do i need to make changes in the standard ITS application or thers some other way?
Thanks,
Anubhav.
Edited by: Anubhav Jain on Jul 1, 2008 7:24 AMTo call a wd abap application from BSP use the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL then just create a link in bsp with the url returned like this:
<a href="url">Link</a>
To pass data from wd abap to bsp or vice versa that a look at this blog: /people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
regards,
Fabio Louzada Saito -
How to call sub-vis with a click of a button?
Is there any block that functions llike "System Exec" ?
"System Exec" calls only .exe file.
I need a block that can call a Sub-VI.
TQHere is a way to do it with the example I first showed. I don't know why you could not get it to work, it does. I changed your diaglog vi to have a stop button to close its window. Closing the subvi does NOT close the main.
Message Edited by tbob on 05-18-2010 04:46 PM
- tbob
Inventor of the WORM Global
Attachments:
dialog[1].vi 7 KB
Program3[1].vi 9 KB -
How to call a form with dabble clicking on a record with one time where
Hi All,
How to call a form with dabble clicking on a record with one time where clause. I mean when i dabble click on the current record i want to call another form with details of the
record with onetime where clause. Can anyone help me in this regard.
Now i am calling a form with parameter with onetime where but this should avoid.
Thanks in advance
ArifHello,
I mistakenly mark it as solved. There is a problem remain. when i placed the code below it do not execute with the where condition. I mean the condition to execute is not work.
All records executes. Please correct my code--
Here the WHEN-BUTTON-PRESSED-trigger on the Edit-Button:
:GLOBAL.MODE:='EDIT';
:GLOBAL.REQ_ID:=:PROBLEM_REQUEST.REQ_ID;
CALL_FORM('REQUEST_ID_PARAM',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY);And also, WHEN-NEW-FORM-INSTANCE-trigger of REQUEST_ID_PARAM:
DEFAULT_VALUE(NULL, 'GLOBAL.MODE');
DEFAULT_VALUE(NULL, 'GLOBAL.REQ_ID');
IF :GLOBAL.MODE='EDIT' THEN
GO_BLOCK('PROBLEM_REQUEST');
EXECUTE_QUERY;
SET_BLOCK_PROPERTY('PROBLEM_REQUEST', INSERT_ALLOWED, PROPERTY_FALSE);
END IF;Arif -
How to Validate a User on the click of a button in Oracle APEX
Hi,
How to Validate a User on the click of a button in Oracle APEX.
say for e.g: I want to allow only a specific user to go beyond after clicking on a button and restrict all the other Users. Any ideas please.
Thanks in Advance,
AfWell , the actual idea was to hide the button for specific users and show the button only for some specific users... is this possible...?
@ AndyH: yeah, what you have suggested also fits well for my requirement... Could you please let me know how can i achieve it...
Regards,
Af -
How to close the detach popup on click of a button in the panel collection
Hi,
I'm using Jdeveloper 11.1.2.3.0.
I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
Clicked detach button to view the table in full browser.
On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
Thanks,
VinodHi Frank,
Thanks for your response. Popup is not closed.
I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
Printed client id and UI component class in the while loop, result is as below.
r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
f1 class oracle.adf.view.rich.component.rich.RichForm
Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
Thanks,
Vinod -
Purchase Order - How to call customised PO_COMMUNICATION_PVT package?
We need to add additional fields to the Standard Purchase Order that is produced by using View Document on the PO form. The only suggestions in the forum so far are to modify the PO_COMMUNICATION_PVT package or the PO%XML views.
But the option of overwriting the seeded package or view is not possible for us. We can only customise the package and compile it under a different name, eg XXPO_COMMUNICATION_PVT. My question is: what changes are needed so that the PO_VIEW_DOCUMENT function calls this new package?
What modifications to the xml and/or java classes are needed? Are there any specific things to look out for so that the java classes compile properly.
Any help much appreciated. Thanks.Welcome to the forums !
Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
HTH
Srini -
Hi Experts
i would like to know how a plsql package called inside odi.i have plsql package in the back end.i just need to run the same via odi by giving some parameters
in back end i am running the same as below
DECLARE
ERRBUF VARCHAR2(200);
RETCODE NUMBER;
BEGIN
abc.lea (ERRBUF,RETCODE,'abc',2011,12);
END;
how i will replicate the same odiHi Guru
I have refered the same .here its mentioned for calling a procedure and running the same.in my case i have a plsql package in the back end which is having so many procedures.so i just need to call.but while directly calling the package.procdure in odi its throwing error like package should be declared.
Regards
Sree -
Anyone there that can help me how to call a new form...
Actually I have 3 forms.... the Parent, and 2 child...
child a
child b
I extend JFrame to the Parent...
I extend JDialog to the child....
I want to know how to call child a by the child b.....
this is my code in calling them....
when i'm in the form_b, i used this code to show form_a....
form_a a = new form_a();
a.setVisible(true);
when i'm in the form_a, i used this code to show form_b....
form_b b = new form_b();
b.setVisible(true);
but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
public class form_a extends JDialog{
public form_a (Parent parent){
public class Parent extends JFrame{
form_a a;
form_b b;
public Parent(){
a = new form_a (this);
b = new form_b (this);
public form_a getFormA(){
return form_a;
public form_b getFormB(){
return form_b;
} -
How to call a PLSQL procedure from MSexcel ?
Hi all.
This is a beginner question. I do not know anything about OLE DB.
I have an Excel sheet on one side.
I have a 9i DB 9.0.1.4 on Sun Sparc on the other side.
I need to call a PLSQL procedure directly from Excel.
HOW TO ?
(This is simply because I need to pass eastern europe special caracters to my PLSQL procedure. Is there another way to do so?)
Best Regards.In MS Excel you use VBA as the Macro Language.
You will need to install the Oracle client and the OLEdb provider.
Once this is done, Run the samples in Visual basic to test connectivity to your database (if you can).
In either case, look at the VB code that connects and calls an Oracle stored procedure. THis code is almost identical in VBA.
Make sure you reference the Microsoft ADO references. -
How to call procedure and package in BI
IN OBIEE how to call procedure- function and pass parameter in it.??
Thanks
Jatin.Do you mean DB function. Check this link:
http://oracle-bi.siebelunleashed.com/articles/callingdb-function-in-obiee/
For OBIEE 11g, you have additional options to make calls with Action Framework. For now, I think the above link will help.
If helpful pls mark as correct or helpful -
How to call a popup window when click save button
Hi, expert
the scenario is :
we we create a order , we click the 'save' button,
then there will show a popup window,
in the window, there are buttons like 'confirm' , 'cancel' and also show some info about the order.
how can i do that.
Thanks
Oliver.Hi ,
Try to redefine the method and use the IV_TEXT parameter in the CREATE_POPUP_2_CONFIRM method (usaully comes from the Component Controller ).
Regards
Vikranth -
How to cancelling email submission after user clicks "yes/no" button of message box?
could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
Thanks so much for your help in advance and i am very glad to hearing from you soon!
DjingesHello,
The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
form1.#subform[0].Button1::click - (JavaScript, client)
var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
if(answer==1){
EmailSubmitButton1.execEvent('click');
Hope this helps. -
How to get current view name on clicking device back button?
Hi,
iam wriing a function for handling device back button(in android) press in my app.controller.js .How to get current viewname when clicking device back button.
code samples will be helpful.
my app.controller.js looks like below
sap.ui.controller("com.opensap.App", {
onInit : function() {
document.addEventListener("deviceready", onDeviceReady, false);
onBeforeShow : function(evt) {
navButtonTap : function(evt) {
function onBackKeyDown(){
//alert("hai");
//sap.ui.getCore().byId("SalesDetail").app.backToPage("ProductList");
//sap.ui.getCore().byId("ProductList").app.backToPage("Dashboard");
//sap.ui.getCore().byId("SupplierDetail").app.backToPage("Dashboard");
function onDeviceReady(){
document.addEventListener("backbutton", onBackKeyDown, false);I somehow managed to find the solution
function onBackKeyDown(){
var app = sap.ui.getCore().byId("LoginDetail").app;
app.back();
Maybe you are looking for
-
IPhone no longer syncs with iTunes ("deauthorized")
It now says that I'm "not authorized" to sync my iPhone with my iTunes. How do I fix this problem?
-
Convert AS 3.0 to AS 2.0
Hello, I know I am goings backward from AS 3 to AS 2, but it is needed to happen (please sorry for my bad English). I found cool drag and drop but is in AS 3 and I need to convert to AS 2. Could anyone please help me? I have given the AS3 below. Than
-
How to Check for Default Applet Selection
Hello all, I'm new to the Java Card world, so I'll warn you in advance my questions will be basic. I appreciate your willingness to help us newbies out. I've been given a smart card and applets to dissect an reverse engineer. Currently, Applet 1 is l
-
Zed E-Commerce 7.0.1 Now available
zedIT Solutions has released it's version of the rebranded and updated Web tools product, version 7.0.1. This has all the fixes that went into patch 4 for Web tools, updated 3rd party controls, branding, and more. Express Checkout Now shoppers can c
-
"Error in processing external entity reference" - why?
-- FM 8.0p277, structured -- Saddened to see this morning that FM apparently decided against saving the work I did yesterday afternoon ... I can sympathise with the idea of not saving imperfect documents, but it could at least have warned me! First a