Getting the value of the parameter

Hello
I use Reports6i.
I have a parameterized report, say the parameter: P_nat, have the list of values as
Select nat_code,nat_name from Nationality_Master;
The values are as
 IND-Indian
 PAK- Pakisthani
 etc...
in the query, I want the values like IND, PAK etc, so I take: P_nat.
Report also I want to show the selected value of the parameter, but here, I want the values like Indian, Pakisthani etc... Take: P_nat gives only the code.
Is it possible to get the value?

Thank you

Hello
For a full description, create a user setting more (for ex: p_desc) and in the outbreak of the APRES-PARAMETRE-FORM reports, use the code below...

SELECT nat_name
INTO :p_desc
FROM Nationality_Master
WHERE nat_code = :p_nat;

and in the layout of your reports, use the P_DESC parameter to display the full description.

-Clément

Tags: Oracle Development

Similar Questions

  • How to get the parameter

    Hi all
    Greetings!
    I have a requirement in which I need to get the parameter which is recorded in jsp SSWA function.
    for example
    I have a page
    OA.jsp?page=/oracle/apps/conc/webui/ConcPG & Type = XX_DAIL

    Now, I want to use the parameter "LookupType" in my Page CO. processRequest

    I'm trying to get the value of this parameter in processRequest of my CO as

    String l_type1 = pageContext.getParameter ("Type");

    but the string returns NULL when I try to run the jDev page. I'm ideally looking for value "XX_DAIL" in the l_type1 string.

    I have only a single page.

    Please notify.

    Thank you

    I think that since you run it from JDev, you must include the parameter in the configuration of your project (right click on *.jpr--> project settings--> Oracle Applications--> DURATION connection--> the URL parameters in option

    From there, you can specify as: & Type = XX_DAIL

    The co code you must return a value now. Hope it will be useful.

    Kind regards
    LC

  • How to get the parameter values of a step type custom when I create file and adding a type of step seq

    I use lv 8.5 and teststand 4.0.

    I did a step type custom and recorded at the MyTypes.ini in pallets of type.

    I specified a default module by opening the properties of the custom step of *.ini type window, then I put some values of the parameters.

    T1) when I open teststand and I add the custom step type manaully in seq file, the labview module parameter values are represented.

    But, if to use file (create and add support prototype stage), the labview module parameter values has the default value.

    Using joint file, how to get the setting custom step type values I put in *.ini?

    Q2) each type of step are automatically by name through the use of LoadTypePaletteFilesEx. When I open teststand and I add the custom step type manaully in seq file, the module is loaded automatically. Inside the attachment, I use a prototype of charge and a fixed path where the module labview is to load the labview module.

    Can I load module automatically without using a prototype of charge or how can I get a dynamic path of type step?

    I solved Q1 for myself by using the mapping tab of the parameter within the configuration to the default module window.

    Everyone knows Q2?

    Thank you.

  • Unable to get the parameter by using a controller in the OPS

    Hello!

    I am new to using the OPS and will very much appreciate your help!

    FYI:

    Basically, I need to add 2 descriptive flexfields in a page (by creating a VO) and I need to update the table with the data stored on these de facto forces (I did all the logic already).

    I created a (CO) controller that calls a method that is declared in an application module (AM) that runs a stored procedure (CO and the AM were created by me and that they extend a standard CO and I am).

    Problem:

    However, updated just before... I'm having a problem because I can't get a parameter using paramContext.getParameter("reqHeaderId"). who will help me to identify which line I need to update.

    Because the statement is not capture the value, it returns a null value, and I got the following error when I try to convert it to a number in: oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: null

    It is really important to mention that, before we get to the page where I clicked the Send button that makes the logic mentioned... There are 2 pages before that where I'm trying to capture the setting and the required parameter is defined on the 1st page. I have been checking each standard CO 3 pages and they use the statement pageContext.putParameter ("reqHeaderId"); to switch between the 3 pages (as far as I know, if not please correct me). On the 3rd and last standard CO that it uses pageContext.getParameter ("reqHeaderId"); to get the value and make another logic.

    So why Im not getting the value if I do the same thing (pageContext.getParameter ("reqHeaderId") ;) on my xxController (which extends the standard co)?


    Here is the code of the controller:

    public class xxController extends standardController {}

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processRequest (pageContext, webBean);

    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    String str;

    Str = pageContext.getParameter("_FORM_SUBMIT_BUTTON");

    If ((str! = null) & & (str.equals ("SubmitButton")))

    {

    String ReqHeaderId = pageContext.getParameter ("reqHeaderId");

    String ReqLineId = pageContext.getParameter ("reqLindId");

    [Serializable] Parameters = CLIENT1

    {

    ReqHeaderId

    ReqLineId

    pageContext.getParameter ("xxavtBienServicio") //dff

    pageContext.getParameter ("xxavtAttribute3") //dff

    };

    String var = (String) am.invokeMethod ("updateAttributes", parameters CLIENT1);    updateAttributes is the method that converts it to ReqHeaderId number and runs my stored procedure

    }

    }

    }

    Thank you in advance for your help!

    Hello

    I found the reason why I have problems to get the needed values.

    The reason was that the given property has been set to false in order to use pageContext.getParameter must be set to true. So, I went ahead and created as a "value of the form" this way I could put the melted property and keep the hide at the same time field.

    Thanks for your help!

  • Discoverer get the parameter sys_context every second time

    Hello

    I have a very strange situation with Oracle Discoverer BI 11g (11.1.1.6.0)

    There is a package which is reflected in the context of two values DATE_FROM and DATE_TO. In the view, it looks like:

    ET aeb. GLOB_YEAR_MONTH > = to_number(SYS_CONTEXT ('SEPA' 'DATE_FROM'))

    ET aeb. GLOB_YEAR_MONTH < = to_number(SYS_CONTEXT ('SEPA' 'DATE_TO'))

    I created workbook with the worksheet, which is based at the sight and use parameters to pass to the sys_context in addition.

    The problem is that opening spreadsheet for the first time and entering the settings I get the empty result, but as soon as I do refresh parameters (values remain the same) I results.

    In other words, every second I get the results for the query execution.

    Anyy ideas?

    Thanks in advance

    Seems in this case, the problem is:

    You can set a worksheet to set up a different session many
    These parameters and settings is valid for the duration of the
    Discoverer session. However, users should be informed of a problem then
    This technique is used with the discoverer Plus and the Viewer. Discoverer of the Web-based
    sets cache the results of SQL queries. When a workbook is opened, if the same
    SQL query has already been run, then the previous results are returned to the
    user. Discoverer does not detect that the context has changed and that the
    query will now return different results. This problem can usually be fixed by
    the user refreshing their workbook.

  • Workflow started by the script fails to get the parameter passed securestring

    Hello

    I use a script (linux) to start a workflow ( defined by software for the script ;-) thank This mechanism works very well.

    However, yesterday we removed an input parameter in a workflow of some (and also deleted from the script) and now it fails.

    Before the change, the input parameters were: vmName (String), vmUser (String), vmPassword (SecureString)

    After the change, the input parameters are: vmName (String), vmPassword (SecureString)

    In the script, I can add statements to prove that the password has a value and that it is past.

    In the workflow, I've added a task containing a script that is executed first and shows that the value of the vmPassword input parameter is empty.

    The output xml from script of appeal shows also that the value parameter is 'lost '...

    See the definition of setting correct for vmName on lines 11 and 12.

    See a definition of parameter incorrect for vmPassword on line 13 - the part missing "secret < SecureString > < \SecureString >...

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflow-execution  href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/">
    <relations>
    <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/" rel="up"/>
    <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/" rel="remove"/>
    <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/logs/" rel="logs"/>
    <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/state/" rel="state"/></relations>
    <id>ff8080814e0272b6014eadc7c37424fb</id>
    <state>failed</state>
    <input-parameters>
    <parameter type="string" name="vmName" scope="local">
    <string>vm093</string></parameter>
    <parameter type="SecureString" name="vmPassword" scope="local"/></input-parameters>
    <output-parameters/>
    <start-date>2015-07-20T19:23:46.932-04:00</start-date>
    <end-date>2015-07-20T19:23:48.070-04:00</end-date>
    <started-by>[email protected]</started-by>
    <name>Add Agent</name>
    <content-exception>; nested exception is:
            java.io.IOException: java.io.IOException: Non nillable element 'password' is null. (Dynamic Script Module name : addAgent#32)</content-exception>
    <current-item-display-name>Add Agent</current-item-display-name></workflow-execution>
    
    

    Anyone seen elsewhere and - especially - able to fix it? :-)

    Thank you

    Ed

    It turns out that, in the XML input, which is passed to the server vCO, the password parameter type spec can be , but the definition of its value must be specified using ....

    For example:

                    
                            secret
                    
    

    Lesson learned...

    Ed

  • How to get the parameter ITResource to itResourceName using java?

    Hi all
    I need to get itResourceParameters as the server address, port, login, administrator etc. from itResourceName in java.

    I had checked the api and found the interface

    tcITResourceInstanceOperationsIntf Intf = (tcITResourceInstanceOperationsIntf) tcUtilityFactory.getUtility ("Thor.API.Operations.tcITResourceInstanceOperationsIntf");

    But I have problems to use it. It always throws errors. I'm not good at java coding to help you please.

    Is thank you

    public Hashtable getITResourceParameters (String, tcDataProvider ioDatabase resource) throws Exception {}
    Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
    final Hashtable env = config.getAllSettings ();
    tcSignatureMessage moSignature = tcCryptoUtil.sign ("xelsysadm", "PrivateKey");
    tcUtilityFactory tcUtilityFactory = new tcUtilityFactory (env, moSignature);
    Hashtable resourceHash = com.thortech.xl.util.adapters.tcUtilXellerateOperations.getITAssetProperties (ioDatabase, resources);
    log. Debug ("resourceHash size:"+ resourceHash.size () ');
    Return resourceHash;
    }

    After that, you can use Hashtable operations to retrieve the hash values.

  • How to get the parameter in Custom_panel 2, which went from custom_panel 1?

    Hello

    I have 2 custom panels, Custom_panel 1 & 2 Custom_panel.

    I call 'CSInterface.prototype.requestOpenExtension = function (Custom_panel 2, params)' now works, I want to get "params" on the load event of Custom_panel 2. How can I get it?

    Concerning

    Chirag.

    Hello

    In my previous answer, it's just two examples on how to post/get messages. This does not mean that you need simply copy the code and it can work. You need to change the id of the message to your own ID message. If your message id is "Votre_message", you must post "Votre_message" in Panel1 while not 'com.adobe.host.notification.TransferRequest'and you must listen to "Votre_message" in Panel2 while not 'com.adobe.host.notification.SelectedAssetInfo'.

    Lei

  • I get an error message when I boot, the utility of corrupted files E:\$Secure run Chkdsk. When I do I get the parameter f unspecified chkdsk is running in read-only mode. Why?

    I'm running Windows XP sp3 on a Dell with 2 GB of ram. The corrupted file is located in a disk Seagate Expansion (E).

    You should run chkdsk /f (to correct), or chkdsk/r (to repair).  If this is not the case, no repairs will be preformed.

  • After passing parameter to other forms, how do you get the value?

    Hello

    I had created a parameter and Federal Archives. I added the record group in the Data_Parameter parameter and use the Call_Form to open another form and pass it
    pd_id with her.

    Some code this that look like this

    DECLARE
    pl_id ParamList;
    pl_name VARCHAR2 (10): = "Bank_Param";
    rg_name VARCHAR2 (40): = "Bank_RecGrp";
    RG_ID RecordGroup;
    ERRCODE NUMBER;
    BEGIN
    pl_id: = Get_Parameter_List (pl_name);
    IF Id_Null (pl_id) THEN
    pl_id: = Create_Parameter_List (pl_name);

    RG_ID: = Find_Group (rg_name);
    IF Id_Null (rg_id) THEN
    RG_ID: = Create_Group_From_Query (rg_name,
    "SELECT CODE, BANK CODE".
    ||' ORDER BY 1');
    END IF;
    Errcode: = Populate_Group (rg_id);
    Add_Parameter (pl_id, 'bank_query', DATA_PARAMETER, rg_name);

    CALL_FORM (BankForm, Hide, no_replace, no_query_only, pl_id);
    ON THE OTHER
    Message ("list of parameters ' |") pl_name | "exist already!");
    RAISE Form_Trigger_Failure;
    END IF;
    END;

    I want to get the parameter after the other open form and using the record group insert in one of the combobox that is in one of the Databock.

    When_New_Form_Instance trigger level both on the form

    DECLARE
    pl_id ParamList;
    pl_name VARCHAR2 (10): = "Bank_Param";
    list_id Item: = Find_Item("Block_Name.Item_Name');
    BEGIN
    pl_id: = Get_Parameter_List (pl_name);
    IF (pl_id) Id_Null is FALSE
    POPULATE_LIST (list_id, pl_id);
    END IF;
    END;

    I don't know is this correct?

    Thank you if someone could help me with that.

    Joel

    Andreas,
    You can actually spend a DATA_PARAMETER, but in all honesty, I've never used I always comes to pass a text parameter. There are examples in the forms help (which I believe is where the OP got their original code) show that passing a DATA_PARAMETER, but I could not find any examples of how to work with the DATA_PARAMETER in the form of receiver.

    Craig...

  • Try to change the drive letter, but get the error "the parameter is incorrect."

    I am trying to upgrade my PC to run Windows 7 64 - bit on a new Intel Solid State Drive (SSD). I install Windows 7 from scratch on the new SSD (which uses the drive letter J) have just completed and changed the drive letter of my original system from C to M.

    My intention was to reuse the drive letter C to the SSD, but the Win 7 disk management tool will not allow the use of C. "All I get is a' setting is incorrect" error message.

    My first thought was to check the location of the Windows page file. It was indeed using drive J, so I put the pagefile on the D drive instead and restarted my PC.  However, this has not fixed the problem. I always get "the parameter is incorrect" when I try to use the letter C.

    What else could be the cause of this problem?

    David

    I tried a change of the HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices registry but it is just screwed to the top of the new installation of Windows on the SSD (it starts in a unusable mode "is not a real installation"). I was not too concerned by what I had already made my decision to reinstall Windows 7 after making changes in bios to disable all disks except the SSD and force a boot from the installation of Win 7 DVD.

    This relocation is now complete and the new partition on the SSD system has the C drive letter. A reboot with the other shows, active records that the original disc of BONE has been reassigned to the next available drive letter.

    My problem is thus solved. If it was the only way to do so is now a moot point.

    David

  • Get the device ID in the BpsSubscriptionMessageBuilder.createByteSubscriptionMessage method

    Hi all,

    First of all, sorry if this thread is not appropriate because there is a similar. If there is, I have not found.

    I want to build an application compatible with its server push, but I don't want to use servlets and the jar provided by push SDK service.

    I think that the only thing I have to do in the server part is to get the PAP message with the required parameter 'address' (the device) using low level libraries.

    However, I have a problem of developing the application in the device. Using this code as a reference:
    http://docs.BlackBerry.com/en/developers/deliverables/21128/Subscribe_to_a_BPS_content_provider_1226...

    I see that the parameter 'address' is obtained in the createByteSubscriptionMessage method, but I don't see its implementation to get the parameter 'address' (got to the servlet subscription) because it is a native method.

    Thus,.

    1 - see the API:

    http://www.BlackBerry.com/developers/docs/7.0.0api/NET/rim/device/API/IO/messaging/BpsSubscriptionMe...

    What is the parameter 'address' obtained in the server (servlet subscription) part? The device ID? How can I get it back?

    2 - I could build the app-client just stay at step 6 and send the HTTP message on my way?

    Can someone help me?

    Thank you all.
    Kind regards.

    If I understand what you're trying to ask is how to get the address of the device your application to initiator to push aside server.

    If so, you can see an example here:

    https://developer.BlackBerry.com/Java/documentation/registering_to_receive_push_messages.html

    Basically, you can see the code example in the sample application compatible push built a HTTP message to send to its application server-side. Although this example sends the HTTP message in the format SDK expects that you don't need to use the SDK or the same format, but you can follow the example to send a simple HTTP message on your own server to send the information about your application requires server-side. For example, the link above shows that to get the address of the device, you can do this:

    Integer.toHexString( DeviceInfo.getDeviceId() )
    

    In side your application server, you must save the address of the device, then when you build the push request message that you use as the address of the device if you are using the low level SDK APIs (or enter this value in the field address PAP XML if not not using the SDK).

  • The parameter is incorrect

    When looking for ink levels are clicking on maintenance, I get the parameter is incorrect.  What I need to fix?

    The problem was that there is a bug in the HP Officejet Pro 8600 software.  The work around was to reinstall the software and choose "only show me Alters when I Print" and not the other choice is immediately!

  • How to get the content of the shape layer settings in the CEAP?

    Hi all

    I don't know when I want to export the settings from the contents of the shape layer.

    Now I add Polystar Path1, zig - zag 1 and Repeater1, three material layer shaper.

    Content does not seem to be equal to effect. I used AEGP_GetNewEffectStreamByIndex can get the parameter of the effect of the shape layer. But none of the content information.

    Does anyone know how to get this content settings?

    Thank you.

    ha ha, silly me.

    I missed your intention completely.

    It's actually very simple.

    It was recently discussed here:

    http://forums.Adobe.com/thread/741968?TSTART=0

    I hope I got it this time.

    :-)

  • Generated JNLP sometimes does not parse the parameter

    I use a .jsp file that has a content type of jnlp to start a program using WebStart. That's when I can analyze? UserID = theID from the URL and pass this (theID) as a parameter to the program webstarted. Usually it works, but sometimes I get the parameter as "null" instead. However, the parameter is specified in the URL used, and the problem will be solved often clicking again on the same URL. Does anyone have ideas what could cause this intermittent problem or how to check for it before trying to launch with WebStart? Currently, I solved by checking if it is null in the newly launched program and gives an error and released if, with a message to try again, but it is not ideal.

    The line that creates the argument in the jnlp is:
    < argument > - ssUserID = < % = request.getParameter ("userid") % > < / argument >

    And the URL is of the form:
    http://websitelocation.com/studyTests/tabtest.jsp?userid=X10 & School = HS2 & Class = P1

    Thank you!

    Hi vkeiser,.

    You can try this

     
    

    ~ Barry

  • problem when you use the parameter $ v in a package

    Hello.

    I have to get the parameter data $ v view within a packet, but when I compile it, he gives me the error "PL/SQL: ORA-00942: table or view does not exist. However, the owner of the schema of the pacckage has privileges during this point of view because when I run select * v parameter $ outside of the package, I get data without problem.

    I tried to compile using the names SYS.v$ parameter and SYS.v$ _parameter, but none of them works.

    Do I need special privileges to sys or something like that? What is the command?

    I also tried this:

    create or replace view oracle_parameter
    as
    Select *.
    setting of v$.

    but it showed me the error "Insuficient privileges."

    Thank you.

    The user needs to have the privilege granted explicitly not through roles.
    Try

     grant select on v_$parameter to user1;
    

    also

    create or replace view oracle_parameter
    as
    Select *.
    setting of v$.

    but it showed me the error "Insuficient privileges."

    What is the number of the ORA error? Make sure that the user has create the privilege of seeing as well.

    Published by: yingkuan on January 20, 2009 15:41

Maybe you are looking for

  • Facebook is not loading properly

    facebook takes over without javascript and css.I tried to view source and you click on one of the css links and found that he was blocked The secure connection failed An error occurred during a connection to fbstatic - a.akamaihd.NET. The peer certif

  • I lost my cd of restoration of TECRA M3?

    Dear friends I lost my cd of restoration of TECRA M30... How can I ask toshiba to send a copy of the recovery CD. especially windows XP Professional Thank you my address Saudia arabia dammam 31517 box # 67885

  • Photo folders

    How do I copy/import my image files existing (I have now on the desktop) in PHOTOS? I don't want to lose the folders the images are currently. I know how to create folders in the PHOTOS, but I have a lot of images to transfer from my old hard drive.

  • Presario cq62: password bios clear (Compaq CQ-62)

    My laptop has a bios code preventing it from loading after having a friend and they don't know what the code is and said that they did not do. I saw a post were someone could help with this, but I was unable to put in the post to ask. I tried 3 attem

  • BSoD * STOP 0X000000F4 after Windows Update in February

    Dell Inspiron 6000XP, SP3I DO NOT HAVE INSTALL DISKS - Dell installed at the company. @Feb 14, I ran the Windows updates pending on my system.I also bought a camcorder and used to download files on the internet (will explain later). Started having BS