Modify dynamically Static LOV and System Tables

Hello,
Does anyone know if it is possible to dynamically modify a Static LOV using a system table. All suggestions greatly appreciated!
Sharon

Hello,
I am converting a program from the old HTML-DB. The original program dynamically manipulated a static LOV using a system table. I am trying to do the same thing. If it is possible to dynamically change a static LOV I would like to know how. If there is no way in APEX, I will create a table and dynamically change the table. Thank you for your suggestions.
Sharon

Similar Messages

  • Search static pages AND database tables

    Hi,
    I'm working on a project in which I have static content
    pages, plus I'm creating a set of dynamic pages that display jobs
    and events listings etc. The dynamic pages are going to run off an
    access database.
    I'm need to create a search facility on the site. At present
    I'm planning to use a drop down box (or radio buttons ?) to allow
    the user to select which part of the site to search (main site,
    jobs or events), the selection will determine which search page the
    form query is passed to (site text search or database query search
    page).
    Am I approaching this correctly.
    Can anyone comment on possibly a better or alternative way of
    providing such a search option ? (searching both static pages and
    database tables)
    Thanks in advance.

    I guess something like <cffile action="read"
    file="C:\docs\shopping.html" variable="shoppingList">. Is there
    a way to do multiple files at once?

  • Restrication on using sys and system tables.

    I have created the user in oracle 10g, granted resource , connect , select, insert, and update any table
    I would like to restrict the user from modifying sys and system tables.
    I know , it is possible using triggers. but it will create perofrmance issues
    Any other solution , please let me know

    user8680248 wrote:
    user wants this priv ( user is super user ) but user is not DBAYou say the user is not a "super user" and is not a DBA.
    Then he doesn't get what he "wants", he gets the minimum privs required to do his job. And it's the job of the DBA (presumably you) to enforce that policy. The technical issues are simple. The political ones are often difficult, but as a DBA that, too, is part of your job. It's YOUR job that will be on the line if you put the company's data at risk by granting someone excessive privileges on the database..
    Edited by: EdStevens on Feb 8, 2010 6:33 AM

  • Encrypt sys and system tables

    How to encrypt/restrict sys and system tables so that no user can view them.
    On one of the database few user are having dba access.
    Is it possible to restrict their access on the dictionary tables.

    I have not heard of anyone encrypting the sys and system schemas, and suspect it is not possible due to the number of tools that need access to these tables and views (OEM, RMAN etc)
    Maybe the application needs to run "create user" or "select * from v$session", but this does not mean that it needs DBA role. Turn on tracing or auditing to find out what priveleges the application actually needs, then grant minimum priveleges and revoke DBA.
    In the worst case if the application won't start unless it has been granted a role called "DBA" then you may be able to revoke all priveleges from the DBA role and then grant them via a custom role called "MY_DBA", but there is potential for this to go very wrong, so test in a DEV environment first, and I doubt Oracle Support would approve.
    Or you could use Database Vault ....

  • Dynamic/Static LOV

    Hi,
    Im havin a little trouble trying to do the following:
    I have a LOV that does a query, but besides the query I want also to have an static option on the LOV that represents all the options, any idea how can I achieve this?
    thanks

    I'm not quite sure if I have understood your requirement; you want to have a LOV which always shows the same records?
    If so there comes 2 possibilities to my mind:
    - You could create a record group at runtime, populate this record group with your desired values, and assign your record group to your LOV.
    or
    - create a table where you store your static values you want to show, and do a query on the table. Maybe you could add a realm to the table, as if you wish to use your static LOV elsewhere you could also simple use your static LOV table...
    maybe
    select key_col, name_col
    from static_lov
    where realm = 'FORM1_LOV1'regards

  • Bug Report: Static LOV's and PDF Printing with Tabular Forms

    I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
    Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
    To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
    Anyway, I link my report with the layout created, and go to run it. I get this message.
    ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
         Error      ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
    OK      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
    I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
    It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?

    Hi Patrick.
    I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
    [STATIC:Yes]
    [No        ]
    ----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
    It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
    However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
    Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
    Cheers,
    K.

  • Graph using static lov

    I am using a static lov which has a code and description. I select an entry from this lov and it's code is stored in a table.
    I now want to create a chart on the contents of this table, but need to translate the code stored in the table to the description stored in the static lov.
    Is it possible to do this? If so, any hints!?
    Toby

    So you have a table with a code value in it. The description of the code value is in a static LOV item. I would suggest creating a table in the database with the code and description. Then use a dynamic LOV instead of the static LOV and of course for completeness sake create a foreign key from the table you currently have to your new LOV table.
    Now to get the description of a code, you just do a SELECT on your code/description table. This would be helpful for a chart title maybe?
    Your LOV item on your page will visually display the description, but when referenced it will have the value of the code. So have your SELECT statement in your chart reference your LOV in its WHERE clause.
    Mike

  • Disable Static LOV

    I'm an APEX 4.1 user and a novice. I have a tabular form with several columns and rows of data. Each row has a static LOV and a comment field for end users to modify and save. I want to disable the LOV and comment field (at a row level) whenever the end user selects certain values in the LOV and saves. I've looked all through the forum and didn't seem to find the solution for my particular scenario. Any suggestions would be greatly appreciated.

    bump

  • Translate static LOV values ?

    Hello,
    I need to translate a French application into English. I've followed the translate processus, but I've got a problem with static LOV values.
    I use radiogroup with static LOV, and it seems that I can't translate these static values, but I have to do it.
    Any idea to help me?
    Tanks

    Another solution is to define both French and English (or whatever) item in the LOV. For each item in it, you specify a "Conditional Display: current language = Expression" --> fr-ca for exemple. So in your LOV, you will have something like this.
    YES --> Y
    NO --> N
    Oui --> Y
    Non --> N
    Depending on the current language, you will see only 2 items in that LOV.
    That should do it.
    Christian

  • Dynamic release strategy and static release strategy

    Hi,
    What is the difference between dynamic release strategy and static release strategy.
    What the customization setting required to activate dymanic and static release strategy.
    Thank you
    REgards,
    Yshu

    Dear Yshu,
    What do you mean by dynamic and static release strategy. In SAP, we don'y have this term.
    Please kindly give more explanation so we can help you.
    We only have with classification and without classification.
    Normally, release strategy without classification is used in R/2, and out of support in
    R/3. However the functionality still available in case you want to use it.
    You can not use Release without classification and Release with classification.
    If there is an entry present in Release Group table (T16FG-FRGOT), only release with
    classification can be used.
    If you are in R/3, then forget the release strategy without classification but just
    use the release strategy with classification as it had more flexibility than the old
    system design.
    Thanks
    Ian

  • Dynamic source and destination tables

    Hi all
    I've got to import 142 tables from csv into SQL 2008 on a regular basis.
    I was looking at building a 142-part SSIS package to do this, then thought there must be a dynamic way of doing it.
    Is there any way of dynamically changing the source and and destination tables?
    The csv filenames will remain identical, the SQL tables will be the same names but with "_Staging" at the end of them (e.g. SRSection.csv will always go into SRSection_Staging).
    I can then write MERGE statements to update the main tables from the staging data.
    Any help on this would be greatly appreciated.
    I get the the feeling I would need a FOREACH LOOP container but I'd really aprreciate a step-by-step guide if you can.

    Please check this :- http://sql-bi-dev.blogspot.com/2010/07/dynamic-database-connection-using-ssis.html  
    STEP1:
    To begin, Create two tables as shown below in on of the environment:
    -- Table to store list of Sources
    CREATE TABLE SourceList (
       ID [smallint],
       ServerName [varchar](128),
       DatabaseName [varchar](128),
       TableName [varchar](128),
       ConnString [nvarchar](255)
    GO
    -- Local Table to store Results
    CREATE TABLE Results(
       TableName  [varchar](128),
       ConnString [nvarchar](255),
       RecordCount[int],
       ActionTime [datetime]
    GO
    STEP 2:
    Insert all connection strings in SourceList table using below script:
    INSERT INTO SourceList
    SELECT 1 ID,
    '(local)' ServerName,
    --Define required Server
    'TestHN' DatabaseName,--Define DB Name
    'TestTable' TableName,
    'Data Source=(local);Initial Catalog=TestHN;Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;' ConnString
    Insert as many connections as you want.
    STEP 3:
    Add new package in your project and rename it with ForEachLoopMultipleServers.dtsx. Add following variable:
    Variable
    Type
    Value
    Purpose
    ConnString
    String
    Data Source=(local);
    Initial Catalog=TestHN;
    Provider=SQLNCLI10.1;
    Integrated Security=SSPI;
    Auto Translate=False;
    To store default connection string
    Query
    String
    SELECT '' TableName,
    N'' ConnString,
    0 RecordCount,
    GETDATE() ActionTime
    Default SQL Query string.
    This can be modified at runtime based on other variables
    SourceList
    Object
    System.Object
    To store the list of connection strings
    SourceTable
    String
    Any Table Name.
    It can be blank.
    To store the table name of current connection string.
    This table will be queried at run time
    STEP 4:
    Create two connection managers as shown below:
    Local.TestHN: For local database which has table SourceList. Also this will be used to store the result in Results table.
    DynamicConnection: This connection will be used for setting up dynamic connection with multiple servers.
    Now click on DynamicConnection in connection manager and click on ellipse to set up dynamic connection string. Map connection String with variable
    User::ConnString.
    STEP 5:
    Drag and drop Execute SQL Task and rename with "Execute SQL Task - Get List of Connection Strings". Now click on properties and set following values as shown in snapshot:
    Result Set: Full Result Set
    Connection: Local.TestHN
    ConnectionType: Direct Input
    SQL Statement: SELECT ConnString,TableName FROM SourceList
    Now click on Result Set to store the result of SQL Task in variable User::SourceList.
    STEP 6:
    Drag and drop ForEach Loop container from toolbox and rename with "Foreach Loop Container - DB Tables". Double click on ForEach Loop container to open Foreach Loop Editor. Click on Collection  and select
    Foreach ADO Enumerator as Enumerator. In Enumerator configuration, select User::SourceList as ADO object source variable as shown below:
    STEP 7: Drag and drop Script Task inside ForEach Loop container and double click on it to open Script Task Editor. Select
    User::ConnString,User::SourceTable as
    ReadOnlyVariables and User::Query as
    ReadWriteVariables. Now click on Edit Script button and write following code in Main function:
    public void Main()
    try
    String Table = Dts.Variables["User::SourceTable"].Value.ToString();
    String ConnString = Dts.Variables["User::ConnString"].Value.ToString();
    MessageBox.Show("SourceTable = " + Table +
    "\nCurrentConnString = " + ConnString);
    //SELECT '' TableName,N'' ConnString,0 RecordCount,GETDATE() ActionTime
    string SQL = "SELECT '" + Table +
    "' AS TableName, N'" + ConnString +
    "' AS ConnString, COUNT (*) AS RecordCount, GETDATE() AS ActionTime FROM " + Dts.Variables["User::SourceTable"].Value.ToString() +
    " (NOLOCK)";
          Dts.Variables["User::Query"].Value = SQL;
          Dts.TaskResult = (int)ScriptResults.Success;
    catch (Exception e)
          Dts.Log(e.Message, 0,
    null);
    STEP 8:
    Drag and drop Data Flow Task and double click on it to open Data Flow tab. Add OLE DB Source and Destination. Double click on OLE DB Source to configure the properties. Select
    DynamicConnection as OLE DB connection manager and
    SQL command from variable as Data access mode. Select variable name as User::Query. Now click on
    columns to genertae meta data.
    Double click on OLE DB Destination to configure the properties. Select Local.TestHN as
    OLE DB connection manager and Table or view - fast load as
    Data access mode. Select [dbo].[Results] as Name of the table or the view. now click on
    Mappings to map the columns from source. Click OK and save changes.
    Finally DFT will look like below snapshot:
    STEP 9: We are done with package development and its time to test the package.
    Right click on the package in Solution Explorer and select execute. The message box will display you the current connection string.
     Once you click OK, it will execute Data Flow Task and load the record count in Results table. This will be iterative process untill all the connection are done. Finally package will execute successfully.
    You can check the data in results table:
    Here is the result:
    SELECT *
    FROM SourceList
    SELECT *
    FROM Results
    Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

  • Use of T168F and T168 Tables in System

    Hi everybody
    I'm making a development, the purpose is to assign the Release Strategy to RFQ's when the user sets the Unit Prices for Items in transactión ME47.
    This action is executed in SAPMM06E in Routine strategie_ermitteln calling FM ME_REL_STRATEGIE_EKKO, but before the call there is a check at routine begin: t160-vorga NE vorga-angb (vorga-angb is a constant 'AG').
    t160-vorga has the 'A' value for ME41 (creating RFQ), then in this transaction the Strategy is assigned.
    But in ME47, t160-vorga has the 'AG' value, then the FM is not called.
    I solved this making t160-vorga = 'A' (only in memory) in EXIT_SAPMM06E_017, and the Release Strategy is assigned ok.
    But, when the user modificates a price using a button, the program makes a validation in Routine FCODE, checking that the value of t160-vorga exists in T168F and T168 tables with field fcode = 'KO'.  Because i modified the value from AG to A, this record does not exist and the program set an error. But, if i don't modify the t160-vorga, the Release is not assigned because the check in Routine strategie_ermitteln.
    So , i'm thinking in change my development, calling myself the FM  ME_REL_STRATEGIE_EKKO in EXIT_SAPMM06E_012 when action Save, but i dont' like this solution because i would need to copy not only the FM call, but else all the code involved in fill the parameters.
    So, i think other solution is to create the record for vorga = 'A', fcode = 'KO'  in T168F and T168 tables.
    If somebody can helpe, my doubts are:
    1. what implicates this record creation in these tables T168/T168F, that is, wich is the usage of these tables in the system ??     
    2. Where can i see the meaning of t168-vorga values (AG, A, K, F etc.)  ??
    3. In wich transaction can i create records to these tables ??
    4. Could be any problem if i add that records to these tables ??
    Any help will be apreciated !!
    (Excuse the long Topic text)
    Thanks
    Frank

    Hi Frank,
    2. Look the table T167T (to find this, I was going into the SE11, Data element: VORGA, : table, ...)
    3. The table T167T could be updated with the SM30/SM31 transaction. But you have a warning message.
    4. See the message, in the previous answer
    Rgd
    Frédéric

  • Table Filter with static LOV column

    Hi,
    I am using JDeveloper 11.1.14 and ADF-BC in my project.
    For one of the tables,I have the following scenario.
    1. I have a viewobject [Ex: EmpVo] in which one of the attributes has a static LOV[:Ex: 'Status' attribute in EmpVo has static LOV - StatusLOV with values A - Active I - Inactive].
    2. EmpVo -- > Employee table which stores A and I as status values in database
    3. Display this view object as table in jsff page.
    In the jsff page, when filter is enabled, for the status column I am able to filter only using 'A' and 'I'.
    But actually filter has to work with 'Active' and 'Inactive' as filter values.
    Please suggest the best way to implement filter in this scenario
    Thanks,
    Praveen

    Take a look at the following article:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    Here, for LOV's you could have an LOV as a filter component instead of the default inputText component.
    Thanks,
    Navaneeth

  • ADF BC: LOV in view object and af:table

    Using JDev 11g PS2
    I have a few question about the use of LOV's in BC.
    Let's take the HR schema as an example.
    Suppose i am building a basic CRUD operation for the employee table. The employee has a FK to the department, job and manager table.
    I have build a view that only uses the Employee entity. I have also defined a LOV for the departmentId and jobId.
    This is all working quiet well when i put it into a form.
    When i am adding a read only table to my page, the departmentId and jobId are shown as a number instead of their corresponding value for the department and jobs table.
    The question i am having, what is the best practice for solving this? Is there a way to tell the output text to show the value of the LOV instead of the actual ID? Or do i need to modify my VO and add the department and jobs view to my Employee view so i can add the departmentName and jobTitle column to my employee VO?
    I also notice that when i enable the filter on my table, it does not show my LOV for the department and job column... How can i enable that?
    Edited by: Yannick Ongena on Jun 6, 2011 12:57 PM

    The departmentId and jobId are shown as a number instead of their corresponding value for the department and jobs table1) What ADF Faces components do you use for the Department ID and Job ID in the table?
    2) What Control Type is chosen for these VO attributes on "Control Hints" page of VO attribute definition dialog (Default, Choice List, Combo Box, Input Text With LOV, etc.)?
    The generated table/tree binding does not specify the type of corresponding attribute bindings (have a look at the generated PageDef). The types of these attribute bindings (and also the types of the UI components inside corresponding <af:column>s) depend on the values of Control Type. If you use Choice Lists, then Department Name and Job Name should be displayed (if your LOV configurations specify them as displayed attributes). If you use "Input Text With LOV", then IDs should be displayed. I am not sure what should be displayed if "Combo Box" is specified, I suspect that IDs would be displayed.
    Do i need to modify my VO and add the department and jobs view to my Employee view so i can add the departmentName and jobTitle column to my employee VOIf you use Choice List and if the LOV has parameters (from values of another VO attributes), then the Choice List query will be executed once for each VO row (if the parameter values are different for the different rows), so the performance will be slow. It is recommended to avoid Choice Lists in such cases but to include the corresponding "name/descrription" attributes in the VO query. If the LOV's query does not depend on any parameters and you use Choice List, then the query will be executed once at page load and then it will be reused from the VO cache.
    When i enable the filter on my table, it does not show my LOV for the department and job column... How can i enable that?Table filter fields are text fields by default. You are able to override default filter fields (for example, with <af:inputListOfValues>) by using <f:facet name="filter"> within corresponding <af:column>. Just specify the necessary input component(s) within this facet.
    Dimitar

  • Static or Dynamic Reorder Point and Safety Stock

    Hi,
    In a retail scenario, what would be the advantages over the other of setting a static or dynamic reorder point and safety stock?
    The MRP type used is Time Phased Planning, but whether to let the system automatically set the reorder point and safety stock is the question. What should be considered in implementing this?
    Regards,
    Lee

    hi,
    As far as i know is static means manual entry of reorder point.
    The dynamic or automatic reorder point is used for Forecast based planning...
    the sysstem wii automatically calculate the reoder point evrytime there is the forecast run.
    So, it dependig on ur scenario , select either manual or automatic.
    First entry for both is always manual entry....
    hope u got this..
    Regards,
    Smitha

Maybe you are looking for

  • Search Facility in User Defined Object (Default Forms)

    Hi, I have created a User Defined Object in the Default Forms section and chose the 'Find' tickbox when registering the UDT.  Now I have populated the data into the UDO but I can't search for data in columns. Am I doing something wrong please?  Can t

  • Problem with F1,F2,etc keys in kde 4.2

    I just installed KDE 4.2. One thing that is really annoying me is that the F1,F2,...,F12 keys do not seems to works. For example, ctrl+F1 does not bring to the console. Any suggestions?

  • Text Works but No Video/Audio

    My friend just got a new iMac, and a Dot Mac account. But we cannot video or audio chat together! His server is login.oscar.aol.com and the port he's using is 5190. We tried limiting bandwidth, but no joy. He's using a small local company in Tennesse

  • Video renders out blurry

    I am new to Motion- I replaced video is a motion template and the video renders out blurry, on screen and on my tv monitor -please help.

  • How to implement avg function in answers or RPD

    hi, I need to implement this function in obiee answers or RPD..how can i do that.. please help me AVG(SAS.SHIPPED_QTY) OVER (ORDER BY SAS.ACCOUNT_MONTH_NO ROWS BETWEEN 12 PRECEDING AND 1 PRECEDING) AVG_QTY_SALES, thanks in advance