How to run queries of BSE within the APEX

Hi gurus

I want to run inside the APEX of a complex query extracted a simultaneous R11 EBS, but this application has many features such as USERENV('LANG') and USERENV('CLIENT_INFO').
How can I set this info in order to run this application?
I know that the values of these parameters, but my problem is to put

Any help will be rewarded
Oscar

You must initialize a context apps before do anything associated EBS. The most common place for it is in the section of DTV application (renamed the PLSQL pre-rendered or something like that since 4 APEX).
Use a call to fnd_global.apps_initialize. You must pass the appropriate values for the user, the responsibility, application etc.

Tags: Database

Similar Questions

  • How to insert as an entry within the formula variable, the total time on the scope window?

    How to insert, as an entry within the formula variable, the window of total time on the scope (i.e. of 20ms/div x 10 div = 200ms)?

    HERE'S A SAMPLE QUESTION:

    FORMULA FOR INTEGRAL ACTION:

    STATISTICS:

    Input variable: DPO4034 (CH1);

    Box: number of samples.

    FORMULA

    Input variable 0: DPO4034 (CH1); alias: x 0

    Input variable 1: 'time window Total out of scope?. " alias: x 1

    Input variable 2: number of samples (CH1); alias: x 2

    Under the operation Configuration: formula

    Y = (x 0 ^ 2) *(x1/x2)

    Output: Data 1 (CH1)

    THEN, WITH THE HELP OF STATISTICS:

    Input signal: data processing 1 (CH1)

    Checkbox: SUM

    Output: CH1 integral Action [has ^ 2s].


  • How to run a script for all the images in a folder?

    How to run a script for all the images in a folder?

    You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.

  • How to run 2 different applications of the same Application Server

    Hello

    I would like to know how to run two different applications of the same Application Server with different databases?

    We use
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Oracle Application Server 10g 10.1.2.0.2

    Kind regards

    Hassan

    You can have as much as you want, just your applications should have different names or URLs and point to a specific database (using data sources).

    Greetings.

  • MP3 player within the APEX

    Here is a link to an article titled "How to embed MP3 Audio files in Web Pages".

    http://www.labnol.org/Internet/design/HTML-embed-MP3-songs-podcasts-music-in-blogs-websites/2232/

    I suppose that it is possible to use the Google Player within the APEX. If so, can someone please provide me with some basic instructions on how to do it?

    Hello

    Create HTML region and insert to the source code for this blog post

    I have created sample
    http://ActioNet.homelinux.NET/HTMLDB/f?p=100:99

    Kind regards
    Jari

  • How to create a session variable in the Apex?

    Hello dear colleagues,

    Is there a person know how to create a session variable in the Apex?

    How to get them?

    Thank you

    Best regards

    Hello

    No problem, PS don't forget to mark messages as 'useful' or 'correct', if you did infact find them useful or correct ;)

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd

  • How to run a HTTP command in the service of database?

    Hello

    Let me start by describing my requirement.

    I would like the latitude and longitude of some given postcodes via Google/Yahoo API geocoding.

    I can run something like this

    http://maps.Google.com/maps/geo?q=$ SW1X7HT, UK & amp; amp; output = csv & amp; amp; key = my_key_value

    in my web browsers URL bar and I receive the latitude and the data lonitude code postal (7HT SW1X United Kingdom in this example).

    Since I was a little postcoes to get the data for, I like to store postal codes of entry in a table and write a PL/SQL function/procedure that executes this code in a loop.

    How to run this command inside PL/SQL and how should I store the value returned by the HTTP command above?

    Thanks in advance.

    PS: Please note that the command http may not work because I removed the key value that is specific to the user. To make it work, you need a free key value of Google.

    Published by: movilogo on August 3, 2009 10:47

    Hi movilogo,

    UTL_HTTP. Request()
    FEATURE request (url in VARCHAR2,
    power of Attorney in VARCHAR2 DEFAULT NULL,
    wallet_path IN VARCHAR2 DEFAULT NULL,
    wallet_password IN VARCHAR2 DEFAULT NULL)
    RETURN VARCHAR2;

    Returns a web page into a variable.
    you have to be able to access the internet from your server!

    Concerning

    Michael

  • How to run several programs simultaneously on the same block diagram

    Hi all

    I want to run three instruments simultaneously on the same schema. One is a control position for linear drives, other is an optical micrometer and the third is a digitizer card. When using tabs of the controls, the linear actuator Vi is the only thing that seems to work (confirmation on the front panel) but the optical micrometer show no indication on the front panel, but runs in background. I used a tab control to consume less space on the front panel. Someone can help me solve this problem where I can carry several bolts on a single diagram and could even see on the front panel. I enclose my VI.

    Thanks for the help!

    I can't open your VI, but in general; Either you use a loop with all the instruments in the same loop, or separate loops each with no wires between them that forces the execution order. You have none of this?

    Tab control is purely visual, and has nothing to do with the execution.

    /Y

  • How long database links stay open at the APEX?

    When a report region runs a query on a remote database via a database link, how long the link remains open in the APEX? Usually the database links get closed the dedicated session ends, but I don't know when this happens at the APEX.
    Thank you.

    Request Express does not any explicit action to close links to the database at the end of a request.

    Scott

  • I have 2 separate servers, 2 databases running with 2 packages of the apex. Can I merge them all on a single server/database?

    Hello.

    Currently I have two servers each with an oracle database, each of them is running apex and offers a package that people use to interact with data through Web pages.

    I want to merge these two servers into one to save on costs, which means that 1 Server 1 database... with 2 packets of the apex. Is this possible? I guess I would need to export/import the whole package and to migrate database schema, but I will say a default package a schema and a single default package to another scheme? I don't understand workspaces so maybe that's where the question is rooted.

    Hi Daniel Jakes.

    Daniel Jakes wrote:

    Currently I have two servers each with an oracle database, each of them is running apex and offers a package that people use to interact with data through Web pages.

    I want to merge these two servers into one to save on costs, which means that 1 Server 1 database... with 2 packets of the apex. Is this possible? I guess I would need to export/import the whole package and to migrate database schema, but I will say a default package a schema and a single default package to another scheme? I don't understand workspaces so maybe that's where the question is rooted.

    APEX applications are similar/different?

    You can do the following:

    • Import the schema (data) of base2 in database1.
    • You can associate multiple schemas to a workspace. For example, you can associate the schema imported into your workspace (in database1).

    Reference: https://docs.oracle.com/cd/E59726_01/doc.50/e39151/adm_mg_wrkspc.htm#BABCEBIE

    • Then, you can export the APEX of base2 workspace application and import this request to the workspace from base1.
    • Access the newly imported application. Change the attributes of the Application -> Security-> database Session and define the Schema of the analysis to the newly imported schema.

    Kind regards

    Kiran

  • HOWTO disable a button within the APEX?

    This may seem like APEX for Dummies, but I currently have a problem with presenting a plain old HTML in the APEX in mode button disabled (not clickable). In HTML, this is no problem when you use 'disabled', but in the APEX, it does not work because the apex"disabled =" off "disabled".

    1. How can I display the button in a status of "disabled" in the APEX?

    2. How can I dynamically determine whether the button should be displayed as disabled or not?

    Any help is appreciated.

    Hello

    I did something very similar recently (and to be honest, the methodology is very close to what Riedelme suggested already):

    (1) create an item hidden in the area containing the keys to be turned off (make sure it's AFTER the buttons you want to disable)
    (2) in the message text of the element element field, enter Javascript to disable the button (s) - for example:

    (3) set the conditional display of this point on the result of a PL/SQL function returns BOOLEAN - in this case, it would be your authorization feature, or whatever. Or you can use regardless of the conditional formula meets your configuration.

    In this way, every time this hidden item is loaded i.e. authorization fails for example, the javascript code snippet will be loaded and executed, and your buttons will be disabled!

    Hope that makes sense!

    Chris

  • How do I link a button from the APEX to the HTML file stored on the server app?

    I hope that it will be simple for a person

    We have some word documents very technical I really didn't want to replicate in the oracle reports

    So I saved them as html documents, and when I opened then they look very well in IE

    I placed in the folder where our reports are stored, but I can't figure out how to create the URL to be placed behind a button in the APEX?

    Of course the oracle reports url will not work as long as the pdf and servlet uses

    Thanks in advance

    Chris

    Assuming you are using Apache?

    You can place your Word documents in the same folder as your current Apex images directory (or a subdirectory it) and then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively, you can add a new Alias entry to your dads.conf file (located in your Apache/modplsql/conf directory) to expose the folder on your Web server that contains your Word via a URL like http://yourserver/word_docs/ files

    For example

    /Word_docs/ alias "c:\my_docs\technical_word_docs/".

    Andy

  • Which schema/user is a connected person slot within the Apex?

    Greetings,

    I have an application with built in authentication of the function table. When a person logs in their username and password is simply compared to the values of a user table to determine if they can use the application. The authentication table is in the same schema as the application.

    The Apex application is in a schema called DLR_INV. All the tables used by the application, but one is in that same pattern. The table in another schema is used to retrieve the status codes for a LOV.

    The user receives an error when the page opens, the error is on the State LOV. My DBA and another Oracle developer to determine what the problem is. Is there a synonym above the state table which should provide access. The DBA can connect through SQL Developer as DLR_INV and access the status table.

    What could be the problem?

    One question - given the way the authentication of the application is set up - when a person signs this schema/user are they connected as?

    Thank you, Tony

    Published by: hidden on January 25, 2010 12:14

    Tony

    I don't see the privilege to 'select' on XX_BMC_DLRINV.MS_US_STATES? Your APEX application schema needs grants 'live' on the objects he needs to access. Privileges gained through roles will not be recognized.

    GRANT SELECT ON XX_BMC_DLRINV.MS_US_STATES TO DLR_INV;

    CITY

  • How to run windows (vista, 7), during the night, or during any period of time and do not have to worry it restart itself.

    Windows Update will restart when the changes are applied.  I understand why.  However, when I do not use windows, which is relatively rare, and the specific task, I often run long processes.  Windows will reboot the machine by force regardless of what I'm doing at the time.  I guess if you are electronic control or Watch youtube, its not that big of a deal, but when it stops at Midway for a night process, its quite frustrating.

    I had turned off the windows update service, so I guess that takes care of things, or is there another process that verifies that the windows update is running and restarts it?  Thoughts?  Even if restarting is intentional, the fact that a modern operating system will turn off when it receives a message from the mother ship is quite disturbing (beat tone comes from the fact that I'm a nerd of linux.  Sorry).

    Hello

    Check in scheduled tasks and also like antivirus programs that can update themselves
    and sometimes require a restart.

    Learn how to create a scheduled task leads to the understanding of those that have been created.

    How create a task in Vista Task Scheduler (apply as well to Win 7)
    http://www.Vistax64.com/tutorials/132903-Task-Scheduler-create-task.html

    =============================

    If something stops Windows:

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the entire file.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How to filter data in cursors within the procedure

    Hello

    Yesterday, I tried all night, but couldn't do it.

    I know that is incomplete, I just want to know how to filter the data based on the setting in

    Basically, here I want to get only the records that match the id_fichier


    create or replace PROCEDURE clearing_details (p_file_id in varchar2)
    IS
    strStatusCode VARCHAR2 (6);
    CURSOR PD1 IS
    SELECT COUNTRY_CODE, EOD_MARK OF LINK_STATUS WHERE FILE_ID is p_file_id


    Can someone help me on this please:


    Thanks for reading.

    Does do the same if you run the query itself in SQL * Plus with the same value you pass as a parameter?

    Without seeing your data and which parameter you're passing, we will fight help more as the concept itself works great as you have been demonstrated.

Maybe you are looking for