Dynamic parameter scope check

Dear All,
My colleague has changed a parameter open_cursor, now if I want to verify the scope of that parameter then how can i check.
scope = both
scope = memory
scope = spfile
Is there any view or table available.?
Thanks
Ajay

refer to v$parameter(is_sysmodifiable)
NO means scope=spfile only
YES means scope=memory or both
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • CR2011 Dynamic Parameter does not show list at all

    I am upgrading some Crystal Reports from CR 8.5 to 2011.  Some would be better served by using a dynamic parameter to allow the user to select the data for the parameter from the database information.  I have created a dynamic parameter on the Customer ID and set the description to be the customer name.  I have set it to handle multiple values.
    When I preview the report in the Crystal designer, I get a text box to type in but not a drop down.  To be clear, I am not talking about the LOV 1000 limit here.  There are only 50 customers in the sample file I am working with.  I tried turning the static parameter into a dynamic one, I deleted the original parameter and created a new one.
    In case it matters, the parameter is only used as part of the selection formula and if I enter a proper customer id, it will retrieve the data.  This report has about 7 tables (no stored procedures or views) and a subreport of two tables that is linked to the main report on the customer id.  The parameter is only used on the main report for record selection.  The SQL statement in the main report and subreport did need to be reset when I first opened the report in CR2011 but I did that on both.  I have verified the database and the option to verify on first refresh is checked.  The original parameter did have an imported list of about 3000 customer names.  I tried exporting the CR template to a new file and while the file size changed, the behaviour did not.
    When I create a brand new report on two of the tables, including the same customer table, and create the parameter the same way, it shows me the list properly in a dropdown at the prompt stage.
    I am not sure where to go here or what else to try.  If anyone has any suggestions, I appreciate the help. TIA, rasinc

    Thank for the reply Dell,
    I see the logic in adding the extra table and keeping it unlinked and I do know the crazy data that can come up if I use it linked to other tables or use the fields in other parts of the programming.
    However, I've now tried it several times, creating the parameter on just the name alone, with the ID alone, etc. and I still only get a text box to type into.
    I have made sure the original selection criteria
    {customer.Id} = {?Customer}
    if from the original table, not the new one, which I assume you expected me to do.
    So I decided to run the same report through CR XIR2.  When I update the Set Datasource Location, I am now getting the message
    "Invalid Argument provided.
    Details: The alias requested 'company', contains a combination of characters which is not considered to be valid"
    Company is a table containing information about the main company, not the customers.  The same message pops up for another table as well.
    Then I get a message that says:
    "Prompting failed with the following error message: 'List of Values failure: fail to get values. [Cause of error: The table company does not exist in the document.]'
    Error source: prompt.dll Error code: 0x8004380D"
    This appears to be a database access issue but I know the firewalls are not a problem because I can create a new report and get the LOV properly with the same database and same desktop computer.  I can take that report created in CR2011 and use it in CRXI also and get the proper LOV.  Is it possible I am dealing with template corruption because there were so many items imported into the static list before?

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Crystal Report Dynamic Parameter for SAP B1 version 8.8

    Hi, does anyone have problem with the dynamic parameter prompt for Crystal Report in SAP B1 version 8.8?
    For example:
    1. For static parameter that allows multiple value --> In SAP B1 v8.8, there is a check-box and a "..." button next to it. When you click the "..." button, a new window appear with a list of values to choose.
    2. For static parameter that does not allow multiple value --> In SAP B1 v8.8, there is one field with a drop-down menu.
    3. For dynamic parameter that allows multiple value and does not allow range values --> In SAP B1 v8.8, just one field for us to key in the value. Shouldn't this be the same as No. 1?
    4. For dynamic parameter that does not allow multiple value  and does not allow range values --> In SAP B1 v8.8, same as No.3 above. Shouldn't this be the same as No. 2?
    How do I get no. 3 dynamic parameter that allows multiple value and does not allow range values  to have a check-box and a "..." button next to it to allow us to select multiple values?

    Hi Shwu Hua Gan,
    Thank you for your reply.
    Please forgive me as I don't really understand what you are saying here. To be honest, I'm very new to Crystal Report and my understanding of CR is just the very basics. I'm actually not from a technical background which makes it more difficult.
    In your reply:
    Ie, you create a parameter in Crystal report, and by using the token eg:Mytest@select * from OCRD, it gives you the benefits of selecting the list from the database.
    How do you do this by using the token? All I did is just select the parameter type (dynamic) and then select the table. When I preview the report in SAP B1 8.8, it doesn't prompt me like how I expect it to be. It is a blank field that I have to key in the value myself and then only the report will generate. Sometimes I don't remember what value to key in, so I have to do a formatted search for the blank field. After the report is generated, I can reselect the value (multiple values) from the CR viewer panel toolbar and refresh the report.

  • Dynamic Parameter Prompting for Database Connection Password

    Post Author: rsharp
    CA Forum: Publishing
    Hi
    I've been finding recently that reports using dynamic parameters and published into Crystal Server prompt for the database connection password when the dynamic parameter is accessed.  Thing is, this only started happening recently for new and already existing reports with dynamic parameters and I don't know why.  In Crystal Reports the dynamic parameter can be accessed without a database connection prompt being displayed but not after publishing.  (Maybe there's a problem with the Publishing Wizard?)  Static parameters work just fine just as they always have, but I'm a bit mystified by the fact that dynamic parameters used to work (without prompting) but now they don't.  Any advice or opinion would be much appreciated.

    Post Author: amr_foci
    CA Forum: Publishing
    from the CMC you have to set the default connection or wat connection should this report use,
    go to this report in CMC, click process tab, and check the connection

  • Can't delete dynamic parameter after deleting command

    I have a report that I inherited.  It used commands instead of stored procedures to retrieve the data.  I needed the data in a stored procedure, so I went through and systematically switched everything over to the stored procedure fields.  When I thought I had it all moved over to the new fields, I deleted the commands.  I then went to publish the report using the Publishing Wizard.  It told me that I had unused parameters.  When I went back to check the report, I found 2 unused parameters.  I tried to delete or edit them and I can't do either function (I click the delete or edit option and nothing happens).  I tried adding the command back in, but I still couldn't delete them.  The parameters are definitely not being used anywhere in the report because:  1) I have checked everywhere and 2) they do not display the usual check mark when a field is being used.
    This is an extremely complex report, and it is database intensive on a production server (I've brought the system and its users to its knees by attempting to run the report.  It is designed to run at 5am and it still takes an hour).  So, I'd really rather not recreate the report.
    Does anyone have any ideas?
    I saw someone else had this issue in April, 2007 (Can't delete a dynamic parameter from report), but it never got resolved (I imagine the user recreated the report).
    Thanks.
    Lisa

    Lisa,
    Just taking a guess here (being that I've never seen this happen before)...
    1st thing I'd try... Go back to an unaltered version of the report. and see if you can delete the parameter prior to any other modifications. 
    2nd thing... Add the parameter to the report design and refresh. This should cause the parameters to prompt for values. Hopefully this will, in turn, allow you to modify the parameters.
    Jason

  • Pass dynamic parameter to Struts' forward

    In my application, when a user modifies a particular record from the database, after they edit it and save it, I want to show them the modified record.
    I'm using struts, however, I don't know how to pass the recordID to the struts forward after it has been saved.
    Here is my struts-config.xml
    <action path="/saveEquipmentTemplate"
             type="cafe.struts.actions.SaveEquipmentTemplateAction"
             name="equipmentTemplateForm"
             input="saveequipmenttemplate.input"
             scope="request">
             <forward name="saveequipmenttemplate.success"
             redirect="true"
             path="/showEquipmentTemplate.do" />
    </action>What I would like is something like this:
    <forward name="saveequipmenttemplate.success"
             redirect="true"
             path="/showEquipmentTemplate.do?recordID=XXX" />Where XXX is the recordID that was just modified.
    To recap, how do I pass a dynamic parameter to an action forward in struts?

    The following kludge works for me:
    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
        HttpServletRequest request, HttpServletResponse response )
        throws IOException, ServletException {
        // select the view
        ActionForward actionForward = mapping.findForward("foo.bar");
        ActionForward newActionForward = new ActionForward(actionForward);
        newActionForward.setPath(actionForward.getPath() + "?id=" + id);
        return newActionForward;
      }

  • Dynamic parameter not populating

    Post Author: lk4772
    CA Forum: Crystal Reports
    hello. we have crystal reports server xi r2 sp2, and crystal reports xi sp3 installed. we also this past weekend upgraded our database server (windows 2003 server). however now, when trying to add a dynamic parameter to a report, I get an empty list box on the right side of the popup screen and nothing else for the parameter. I've double checked that the business view the parameter is based on does actually pull back data (and it's pointing to the new server) by just adding the view to a brand new report with no criteria, and also made sure the parameter was successful last time it was scheduled to run...but nothing's working...even creating a brand new report and adding the parameter to it doesn't populate the list box....however, there are several other parameters that are working correctly - does anyone have any ideas as to what's going on? does this make any sense? thanks in advance!

    Post Author: dhauge
    CA Forum: Crystal Reports
    I'm experiencing similar issue.  When I bring in the data I see 50 or so different "usernames" in my data.  Then if I simply add a dynamic parameter to populate a list of "usernames" and add that criteria in my select expert, I only see about 25 usernames.  The other people disappear for some inexplicable reason.  I tried created a blank reporting, and ONLY bringing in the one field and it does the same thing....

  • Dynamic Parameter - Login Prompt

    I created a command which has a paramenter in it. Crystal Reports automatically created the paramenter in the report. My problem is that when I run the report in infoview I am prompted for the database username and password. I have already set the datasources in my crystal report as well as in the cms setup the database and selected use the database connection and do not prompt.
    I have narrowed the problem down to the dynamic parameter. I am not prompted for the username and password when I remove the parameter.
    I am not sure if the problem is with my command given the fact that I am doing a select statement from two different databases or what. or
    I changed the static parameter to a dyanmic parameter so that I could let me users select using a description rather then just a number.
    I'm using crystal reports 11.0.0.1282
    Richard

    I don't know. I have tried to do it a few ways. Here is my query:
    SELECT     EmpName, ClockNbr, DeptNbr, DeptName
    FROM         SecurityLevels.dbo.ActiveEmployees AS TB1
    WHERE     (ActFlag = '1') AND (NOT EXISTS
                              (SELECT     transID, employeeID, agreementID, agreeDate, fullname, DepID, ContractEmp, Login
                                FROM          iagree AS TB2
                                WHERE      (TB1.ClockNbr = employeeID) AND (agreementID ={?@Document})))
    I'm grabbing a list of employees and then checking to see who is not in another table. I could figure out how to make this work in crystal by just adding the two tables to the report.

  • IMPORT from database with dynamic parameter list

    Hi Gurus,
    Iu2019m having problems during import from a cluster table.
    I wanu2019t to do an import with a dynamic parameter list, but I cannot get it to work.
    Sample code ********
    DATA: BEGIN OF st_key,
    report LIKE rsvar-report,
    variant LIKE rsvar-variant,
    END OF st_key.
    DATA dirtab1 LIKE cdir OCCURS 10 WITH HEADER LINE.
    DATA dirtab2 LIKE cdir OCCURS 10 WITH HEADER LINE.
    st_key-report = 'ZPRG'.
    st_key-variant = 'VAR1'.
    IMPORT DIRECTORY INTO dirtab1 FROM DATABASE vari(vb) ID st_key.
    IMPORT DIRECTORY INTO dirtab2 FROM DATABASE vari(va) ID st_key.
    DATA: tmp_var(100)   TYPE c.
    This works - P_BWTAR is a parameter from the selection screen registred in VARI
    I'm getting the content of the field in tmp_var
    IMPORT p_bwtar TO tmp_var FROM DATABASE vari(va) ID st_key.
    This does not work - the parameter P_BWTAR is in the dirtab2-name
    I'm not getting the content
    LOOP AT dirtab2.
        IMPORT dirtab2-name FROM DATABASE vari(va) ID st_key.
      ENDIF.
    ENDLOOP.
    I have tried the syntax IMPORT (dirtab2-name) ........
    but this fails the syntax check.
    Please - if you have any suggestions  :o)
    Best Regards,
    Vibeke

    Dear Vibeke,
    Could you please explain us how you solved the problem because you have the same issue ?
    thanks a lot
    KR
    véronique

  • How to have a Dynamic PARAMETER in SMARFORMS

    Hi,
    I need a dynamic Parameter which will change its value for each copy. What I mean is I have a SmartForm with 1 Page. When number of copies is increased the dynamic Parameter should change in each copy.
    The following System Field will be used to display the copy number. Cant I do a arithmetic operation to this field.
    &SFSY-COPYCOUNT(CIZ)& + 1
    Thanks
    Kishan

    Hi,
    If you mark Identical Copies SAP Smart Forms buffers the output to increase performance. Within such a window, any queries of the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 have no effects.
    If you mark Different Copies SAP Smart Forms generates the contents again for each copy. You use this option if, for example, you want to number your copies consecutively (Copy 1, Copy 2, Copy 3, and so on).
    For more information,Check this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm

  • Static or Dynamic parameter

    hi all,
    please help me regarding this....
    1)How to know whether a given parameter is a static parameter or dynamic parameter.
    2)If we change dynamic parameter value using "alter system statment .." we no need to bounce the database right , that parameter change will apply to the database.
    am i right???????
    3)If we change static parameter value using "alter system statment .." we need to bounce the database right , than only the parameter change will apply to the database.
    am i right???????????
    Regards,
    Vamsi.

    Hi Vamsi,
    1) for the parameters which can be altered by "SCOPE=BOTH" are the Dynamic parameters right,
    Right
    Eg:
    SQL> SHO PARAMETER %PGA%
    NAME TYPE VALUE
    pga_aggregate_target big integer 0
    SQL> ALTER SYSTEM SET PGA_AGGREGATE_TARGET=700 SCOPE=BOTH;
    SQL> SHO PARAMETER %PGA%
    NAME TYPE VALUE
    pga_aggregate_target big integer 700
    2)for the parameters which can be altered by "SCOPE=SPFILE" or "SCOPE=PFILE" are the static parameters.
    yes
    SQL> SHOW PARAMETER %CONTROL_FILE%
    The parameters are written into the pfile as a text and the changes take affects after restarting the database.
    But the SPFILE can not be change without issuing the dynamic parameter during run time of the database.There are so many parameters that can not be changed dynamically,we have to use the PFILE to make the changes.In that situation,we perform the following this to make the changes in SPFILE using PFILE.
    First,open the PFILE and write the changes as a static parameter and save the changes .Now enter the following command to reflect the chnage into SPFILE :
    SQL> CREATE SPFILE FROM PFILE;
    NOTE: The database should be in shut mode to make changes in the SPFILE otherwise,it can occur the error message.
    Hope your all doubts are clear.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/
    Edited by: Rafi (Oracle DBA) on Apr 12, 2011 1:52 AM

  • Limit to rows displayed in a Dynamic Parameter?

    Post Author: shecter
    CA Forum: General
    Hi,Does anyone know if there is a limit to the number of rows that can be displayed in a dynamic parameter? I have set up a parameter that needs to let the user choose from 2700 book titles A-Z. But it only show titles A-R. -Marc

    Post Author: SKodidine
    CA Forum: General
    It is limited to 1000 rows by default.  Check this KBase article on how to increase the number.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=19032644&stateId=1%200%2019034607

  • Is there a way to disable levels of a cascading dynamic parameter?

    Hello,
    As the title describes, I'd like to see if there's a way of programmatically disabling levels of a cascading dynamic parameter.
    For example, I have a dynamic cascading parameter that has two levels, levelA -> levelB, where based on the value of levelA, levelB choices get filtered. I'd like to programmatically populate a value for levelA and disable it so that the user can't change it.
    Miscellaneous info:
    Language: C#,
    IDE: Visual Studio 2010
    CR for Visual Studio ver: 3.0.2.x
    Any help is appreciated.
    Thanks.

    Hi Andrew,
    First, the version of CR for VS does not make sense, did you mean 13.0.2000.0? If so that is the Assembly version which never changes. The real version s the version of the dll's. Or you can query the GAC for the version this way:
    foreach (Assembly MyVerison in AppDomain.CurrentDomain.GetAssemblies())
        if (MyVerison.FullName.Substring(0, 38) == "CrystalDecisions.CrystalReports.Engine")
            //File:             C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll
            //InternalName:     Crystal Reports
            //OriginalFilename:
            //FileVersion:      13.0.9.1312
            //FileDescription:  Crystal Reports
            //Product:          SBOP Crystal Reports
            //ProductVersion:   13.0.9.1312
            //Debug:            False
            //Patched:          False
            //PreRelease:       False
            //PrivateBuild:     False
            //SpecialBuild:     False
            //Language:         English (United States)
            System.Diagnostics.FileVersionInfo fileVersionInfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(MyVerison.Location);
            txtRuntimeVersion.Text += fileVersionInfo.FileVersion.ToString();
            // check if CrsytalDecisions.Enterprise dll's can be loaded ( Anything but Cortez - managed reporting )
            if (fileVersionInfo.FileVersion.Substring(0, 2) == "13")
                btnRasOpen.Enabled = false;
            CRVer = fileVersionInfo.FileVersion.Substring(0, 2);
            return;
    As for the dynamic parameter you cannot get the top levels of the prompt, only the last field info but there are limitations right now.
    If you look at the Query all you will see is the last prompt field in the SQL.
    Currently we have an Enhancement request to be able to get the field name from the the report to get that last field name. There is no plans to get the field names above though so no option to disable in code.
    What you can do though is change the Dynamic parameter to Static and/or List of Values and then you can change the behaviour in your app by creating your own Parameter Prompt UI and the result should be noted in the WHERE portion of the SQL Statement. And no you cannot modify the SQL statement.
    Don

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

Maybe you are looking for

  • Auto Login in Apex 4.2.3

    Hi All, Am calling a apex application url from a third party application. In the url am passing user name and password and i to want to check the user is valid user or not, if the user is valid then it should skip the login page and go to the home pa

  • Send to Soundtrack Pro Multitrack Project - All I get are empty tracks

    I have a sequence in Final Cut Pro that has a collection of clips and sequences inside of it. When I right click the sequence in the browser and select Send To -> Soundtrack Pro Multitrack project, it opens STP as it should. When STP opens, though, I

  • Struggling to have two document type attributes in the same notification

    Hi All, I need some help. I am working with Oracle Time and Labor, and am trying to get two document type attributes to play nice in the same notification message body. One documentation type attribute is made available to me. Here is its attribute v

  • .Mac self password reset? or sneaky log on to my account?

    Hi there, i'm a newcomer of the forum and i can't find this topic in the search therefore i post it, anyway yesterday i suddenly received this e-mail: "Your Apple password has been successfully reset. You are now ready to log in. If you experience an

  • Imovie can't be opened

    I have a MacBook Pro with OSX 10.9.5 When I go to open iMovie, it says "iMovie can't be opened because of a problem. Check with the developer to make sure iMovie works with this version of OSX. You may need to reinstall the application." I updated th