How to call a package from the Report in Oracle Application Express

How to call a package from the Report in Oracle Application Express

Hello,
What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
Or do you want to execute a procedure when something happens on the page, like clicking a button?
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-)

Similar Messages

  • How to stop and start only the process of Oracle Application Express?

    I'd like to know how to stop the process of Oracle Application Express on my server installed oracle express package.
    After installed Oracle Express edition, not only oracle database server processes but also Oracle Application Express, such as http server, is started automatically...
    I hope to stop and start Application Express on demand but is this feature enabled?

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • How to call java function from PL/sql in oracle applications

    I am trying to call a java function from plsql procedure. Can any one explain how to call java function, and in which directory I have to store my java function in oracle applications. Do I need to register that java function from Application developer.
    Thanks
    Kranthi

    http://www.oracle.com/technology/tech/java/jsp/index.html
    Good Luck,
    Avi.

  • How to call a Workflow from a Report in SE38?

    How to call a Workflow from a Report in SE38?
    Please can Anyone Send me a Source code (with Explanation)which I can use for calling Workflow >> WS99900253?
    Regards,
    Shashank.

    you can use FM
    SAP_WAPI_CREATE_EVENT
    SWE_EVENT_CREATE
    OR
    SAP_WAPI_START_WORKFLOW
    Regarding usge of this FMS search the forums you will get ample examples.
    Thanks
    Arghadip

  • How to call a package from a different instance?

    Dear all:
    how to call a package from a different instance?
    for example:
    package A belongs to instance A1
    package B belongs to instance B1
    Now I want to call the package B in instance A1, how can I do ? my environment is oracle 10g
    Regards
    Terry

    Terry Chen wrote:
    Dear all:
    how to call a package from a different instance?
    for example:
    package A belongs to instance A1
    package B belongs to instance B1
    Now I want to call the package B in instance A1, how can I do ? my environment is oracle 10g
    First you have to create create dblink in A1 database as below
    CREATE DATABASE LINK INSA1
       CONNECT TO USER_NAME IDENTIFIED BY <pass>
       USING 'B!' Then you can execute exec pack_b@INSA1;

  • How to call a package from within a package

    How would I call a package from within a package and pass variables to it. For instance I am trying to pass variables to a log package from another package when a user inserts or updates a table

    First, technical questions need to be addressed to one of the technical forums. Products | Database | SQL & PL/SQL would be appropriate for this question. Please direct any followup to that forum.
    Second, you cannot call a package; a package is a collection of stored procedures and functions. You can call a packaged function or procedure from another package simply by specifying the package name and the procedure
    CREATE OR REPLACE PACKAGE pkgA
    AS
      PROCEDURE callPkgB;
    END;
    CREATE OR REPLACE PACKAGE BODY pkgA
    AS
      CREATE PROCEDURE callPkgB
      AS
      BEGIN
        pkgB.someProcedure( 'Some argument' );
      END callPkgB;
    END pkgA;In general, any packaged procedure can be called by specifying the schema, package, and procedure name, i.e.
    EXEC mySchema.myPackage.myProcedurethough the schema and package can be omitted if the calling procedure is in the same schema or package.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Interactive Report in oracle application Express

    Hello,
    I am new User in oracle application express apex . I've created interactive report .when i click download option then choose html format. but there are some
    problem .there are no header and footer in the page. how to add dynamic header and footer in the page .please help me .
    Md. Masum Manzil
    01925110083

    Try making your column definition as "Remove HTML and escape special characters".
    I tried it and it make the column appear as editable as intended and also clicking on the column heading or on the filter in the IR bar behave properly.

  • How to call WCF method from the SSRS 2008 ?

    I am developing the SSRS report and wanted to consume the one method call of the WCF service. Suppose I have a service Url like http:\\localhost\2014\security.svc and
    wanted to consumestring
    Encrypt(string data) method from that service. Now I know how to use XML and Web service as the data source. I don't want
    that what I want is to call the web service to get the some values encrypted on the report so I can use the expression to set the encrypted values for the some fields. In case of confusion feel free to leave a comment. Any help would be great .

    See this
    Blog post.
    Andy Tauber
    Data Architect
    The Vancouver Clinic
    Website | LinkedIn
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Windows 8.1 & Skype: how to call a contact from the Windows Contact List?

    Hi  I just added a contact on Win 8.1 Surface. When I try to call directly from the windows contact list I get a message that skype has been replaced by skype for desktop. When I remove the skype app (and keep skype for desktop) calling from the list is also not possible: I get a message that no app is associated (message-skype-com) Is there a way around it? Or is it currently not possible to call a skype contact from windows contacts? 

    Hi, Pancake12,
    Because I am not certain I an interpreting what you mean - although it looks quite literal - I am going to provide three separate pieces of information:
    - To remove a contact's name from your Skype sign-in window, please refer to the instruction in this FAQ article - using their account name, not yours:  https://support.skype.com/en/faq/FA11070/how-can-i​-remove-my-skype-name-from-the-sign-in-screen-in-s​...
    - In case you mean removing a contact from the Skype Home Screen when you say, "sign in window," unfortunately, we cannot do this.  Skype has some arbitrary algorithm which places recently contacted people on the Home Screen.
    - In case you mean removing a contact from your contact list, here is an FAQ with the details how to do this:  https://support.skype.com/en/faq/FA421/how-do-i-or​ganize-my-contacts   In Windows, it's as easy as highlighting by single-clicking a contact's name, right-click, and choose Remove from Contacts or Block.
    Hope this helps!
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to call a query from the backing bean ?

    Hi all,
    Another question for you guys :
    I made a jspx page with an input form and a submit button.
    When I click the submit button, the action my_action in my backing bean is executed.
    This is the code :
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public String my_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("EmployeesView");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    I hoped that the query 'EmployeesView' was executed in this way, but I get the following exception :
    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding cannot be cast to oracle.binding.OperationBinding
    So how should I execute the query EmployeesView ?
    Second part of the question : What if I typed the name an employee in my form, and I want to
    execute a query that selects all the Employees with that name ?
    How do I make a query with a variable as input in the WHERE clause ?
    Thanks in advance.
    Edited by: Facehugger on 7-apr-2010 11:15

    I'm still trying all the stuff you guys says, but still no result.
    This is my backing bean :
    +// the button action+
    +public String my_action()  {+ 
    +// get the selected rows from the multiselect table and store the objectid's in an String array+
    RowKeySet rks = graph_table.getSelectedRowKeys();
    Iterator itr = rks.iterator();
    Object key;
    int nbr_objects = 0 , i = 0;
    if (rks.size()>0)  nbr_objects = rks.size();
    +String[] objectid = new String[nbr_objects];+
    while(itr.hasNext())
    +{+
    key = itr.next();
    graph_table.setRowKey(key);
    Object o = graph_table.getRowData();
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
    Row row = rowData.getRow();
    +objectid[i] = row.getAttribute("Objectid").toString();+
    i+;+
    +}+
    +// now get all the x and y values for these objectid's from the database out of the table history.+
    BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
    for (int j=0 ; j<nbr_objects; j+){+
    +// get X and Y values for object number j+
    DataPoints history = new DataPoints();
    OperationBinding operationBinding = bc.getOperationBinding("retrieveHistory");   ===> operationBinding stays NULL ???+
    +operationBinding.getParamsMap().put("OBJECTID", objectid[j]);+
    Object retVal = operationBinding.execute();
    +// ==> retVal should contain a List of all X and Y values for the provided objectid.+
    +// while (retVal has values)+
    +// {+
    +// List_of_x_values.add(retVal.valueX);+
    +// List_of_y_values.add(retVal.valueY);+
    +// }+
    history.add(List_of_x_values);
    history.add(List_of_y_values):
    +// call the soap method to do some calculations+
    methodname.forecast(history);
    +}+
    +}+
    In my application module :
    public void retrieveHistory(String objectid) {
    getHistory().setWhereClause("OBJECTID = '" + objectid + "'");
    System.out.println("current query : "+getHistory().getQuery());
    getHistory().executeQuery();
    public ViewObjectImpl getHistory() {+
    return (ViewObjectImpl)findViewObject("History");+
    The query for the VO History : SELECT * FROM HISTORY
    Please anyone ?
    Edited by: Facehugger on 9-apr-2010 14:19

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • How to call Java Pgm from a VB / C / C++ Application???

    Hi,
    I have 3 applications in VB, C, C++ respectively.
    I have a java program which accepts a message id & message description.
    How can i call this java program from my VB, C, C++ applications and pass the parameters.
    Thanks,
    Karthik Narain

    o You could use an exec() call to run it in another process.
    o You could write JNI code to start the JVM and run your program. (Complicated)

  • How to find out last_query from jsp form in oracle applications

    Hi
    At present i am working on Quality Module.
    in India Localization.
    In Quality module -> Results -> Inquiries -> Skip Lot Inquiry
    If i enter our organization name
    Then its openning one form.
    I am unable to find out the table names from the jsp form.
    User also unable to comment on it.
    So, please help me on this issue.
    Regards,
    Pradeep.

    Hi
    Once you open the jsp form, at below leftside corner you can see link : About This Page. If you click on the link : About this Page this again open another window, there you can see multiple tabs at header level, if you click on page tab, there you can all the VO objects used to build this page. If you click on VO object hyperlink you can see the query.

  • How to invoke a pdf from the java  stand alone application

    I have a JFileChooser and i select a pdf through that . And i should be able to invoke the file in an acrobat reader.
    The acrobat application should be invoked on a click the button upon selection.
    Thanx in advance.

    Try to use Runtime.exec() method like this:
    String exePath = "path to acrobat reader executable";
    String filePath = "path to the file to execute";
    Runtime.getRuntime().exec(exePath+" "+filePath);

  • How to build a form with multiple tables in oracle application express

    Hi everyone,
    I have got problem in building a form with multiple tables.I have a main table with (20) columns and this main table is related to the other tables with the primary key-foreign key relation ship.My requirement is i have to build a form which has fields from many tables and all the fields are related to the main table using (ID) column.In that form if i enter ID field i have to get information from differnt tables.
    Please help me to solve this (building a form with mutiple tables)
    Thank you
    sans

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

Maybe you are looking for

  • Scanning with Canon's MP520 in Leopard

    Hi folks, I bought a multifunction Canon MP520 from a local apple store and have not had any issues printing with it or copying. I have been unable to scan, however, since the Canon scanner application crashes every time. I got Canon guys on the phon

  • Exporting Options in Final Cut Pro

    At work I can Export a sequence out of final cut pro as a motion jpeg A or use sorensen 3. At home I have The same version of FCP but do not have those options. I'm Talking Final Cut Pro 6. I can export motion jpeg through Quicktime Pro. Any Thoughts

  • Sorry one more question, "USB Device not recognized" ???

    I got this new iPod dock, called the Harman/Kardon GO+PLAY, they say it should sync with all new iPods... when i connect this dock to my computer through the USB, and then I connect my iPod to the dock, it always says on my computer, "USB Device not

  • Lines appearing around menu navigation

    Hi, I don't know why but I have started get hairlines around the top navigation of my site. In design mode it looks OK: In the Muse preview it looks OK: But in the browser preview these lines appear: I didn't make any changes to the menu, it just sta

  • Truncated date(time)

    Database 9.0.2.5 jDeveloper 9.0.5.2 (build 1618). I have a date column in a table that I want to display the date and time components via ADF. If I define the attribute type Date in the Entity Object Editor the format box on the Control Hints tab is