Add new value to existing LOV

I need to add "Current Date" as LOV of one object, which displays today's date. Could you please help me to do that?
Thanks & Regards,
Muntasir

SELECT 'Current date' FROM DUAL
UNION
(SELECT DISTINCT
SNAP_DT_DLY_RNG_VW.RANGE_NAME
FROM
DIM_DATE_RANGE_VW SNAP_DT_DLY_RNG_VW)
Go to the universe designer, select the object properties entry in the context menu (right mouse button) and in the Properties tab press Edit. Press on the SQL icon, etner your SQL statement and check the option Do not generate SQL statement before running. Close the windows by pressing OK.
Still you have to handle the string value 'Current date' in your prompt.
The SQL where clause will look like this
((@prompt(<definition of your prompt here>)='Current date' AND SNAP_DT_DLY_RNG_VW.RANGE_NAME=XXXX) OR (@prompt(<definition of your prompt here>)=SNAP_DT_DLY_RNG_VW.RANGE_NAME))
Replace XXXX with an oracle stament that will convert current_date to a format that is comparable to the contents of your RANGE_NAME field.
Regards,
Stratos

Similar Messages

  • Urgent -Need to Add new values for the LOV field in forms

    HI,
    I am customizing an existing form. In that i need to add some values for the LOV fied which can be used during run time.
    Please Can some one help me in doing this?
    Thanks
    Suresh P

    Go to Navigator and edit the LOV or create a new one.
    hope that helps!

  • Add New value to the special reference indicator on the TO field

    Can you please tell me how to add a new value to the special reference indicator dropdown which is on the transfer order. 
    LTAK->SPEZI  ?  Currently it is displaying values  A & B in the drop down and want to add a new value to the indicator.
    Thanks
    John

    Hi,
    I dont think you will be able to add more values to this field from configuration.
    If you check the data element and domain associated with this field (LTAK_SPEZI) in SE11. You can see that the value range for the domain has been defined there as  A and B only.
    So if you want to add a new value you can ask and ABAP/technical consulatnt to add new values to this Domain.
    However i am not sure it will be useful (unless you have a specific requirement and want to modify the standard programs) as the field is checked in different program (eg in inculde  LL03AF4V , LL03AF7F ) against these fixed values A and B.

  • FM - Add new value to WRTTP Field

    Hi experts,
    I would like to add a new value to the table Value types.
    Currently this table contains values form 1- 3C.
    Could Anybody tell me how I 'd add a new value?.
    Thanks in advance,
    Greetings,
    Nachos

    Hi,
    I dont think you will be able to add more values to this field from configuration.
    If you check the data element and domain associated with this field (LTAK_SPEZI) in SE11. You can see that the value range for the domain has been defined there as  A and B only.
    So if you want to add a new value you can ask and ABAP/technical consulatnt to add new values to this Domain.
    However i am not sure it will be useful (unless you have a specific requirement and want to modify the standard programs) as the field is checked in different program (eg in inculde  LL03AF4V , LL03AF7F ) against these fixed values A and B.

  • Add new depreciation to existing assets

    hi experts
    can we add new depreciation to existing assets , while creating new assets i can see the depreciation that i have created recently. but for the existing assets i want to add this new depreciation.
    venkat

    Hi
    Yes u can change the depreication
    but keep in mind note the date when u chnage the depreciation of existing asset
    and check any invoice not pending of asset PO at the time of change the depreciation
    Suppose u create a PO with asset, whc\ich is creatd ( suppose machinary rate is 10%)
    then u comlete the cycle first this means invoce entry ( MIRO)
    then u chnage the depreciation
    if any query revert back
    Regards
    Roobal

  • How to add new infoobject to existing cube or dso?

    Hi all,
    Can we add new infoobject to exixting cube in BW 3.5 ver? if yes how can we add? Please provide me steps.
    Thank you.
    Sunil

    Hi Sunil,
    If you want to add new info object to the IC or DSO which is already holding data - then you need to make a copy of that particular DSO/IC and load the data into dummy.
    Now delete the data from the IC/DSO to which you want to add the new info object. once the data is deleted it will allow you to add new info object to you IC/DSO.
    save it and activate the IC/DSO
    load the data from Dummy DSO and from new run on wards the newly updated info object will also get updated(historical data will not be updated if its newly added to DS as well).
    If you want the historical data for the newly added field then you need to drop the compelte data and need to extract from source.
    Note: You can't include the new info objects are change the existing info objects if there is data exist in the IC/DSO
    Regards
    KP
    Edited by: prashanthk on Dec 31, 2010 10:54 AM

  • How to add new class to existing DC (Web Dynpro project)

    Hi,
    How can I add new class to an existing DC (Web Dynpro project)?
    I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
    Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
    This can't be difficult, does somebody knows how to do it?
    My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
    Thanks,
    Jeroen

    Hi Jeroen,
    where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
    Regards,
    Marc

  • How can I add new value in a list box in a screen

    Hi All ,
        In transaction CRMD_BUS2000120 (CRM Server), I need to add one value to the list box. Already 4 values are coming. How can I add 1 more value.
      any suggestion is very appreciated.
    Thanks & Regards,
      Shekar.

    Hi,
    Check you have any exits to do that, if there are no exits then you can Copy the program and change the code.
    to add the extra value in list box, you just have to append the new line to the internal table which you are passing to VRM_SET_VALUES FM.
    some thing like this..
    wa_list-key  = sy-tabix.
    wa_list-text = itab1-vbeln.
    Append wa_list to It_list.
    v_name = 'P_VBELN'.
    call function 'VRM_SET_VALUES'
      exporting
        id                    = v_name
        values                = It_list
    EXCEPTIONS
       ID_ILLEGAL_NAME       = 1
       OTHERS                = 2
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Regads
    vijay

  • How can I add new values only to a column of a spreadsheet?

    I have three "while loops" that are executed in parallel, two generate values and the third while loop write the values in a spreadsheet.
    The run time of each while loop is different, to synchronize the three while loops I use a "Wait Until Next ms Multiple", but sometimes the same value is kept twice.
    I think that a solution would be to add a "Write To Spreadsheet File" in the blocks that generate values, adding a new value in the wished column in each cycle, but I do not know like doing this.
    I could keep the values in two arrays and add them in a same spreadsheet in different rows or columns, but I need save values in spreadsheet in each loop and not all values at the end of cycle.
    Thanks.
    German Garrigos.

    I think your three loops solution is probably better than putting different kinds of functions into one loop. Keeping data acquisition/generation separate from file i/o is usually better because the OS can interfere with timing on the file operations.
    If you pass the data to the file loop via queues, place the data into shift registers, and only write to the file when you have equal amounts of data from each generator you should be able to keep things synchronized. You can write larger or smaller amounts as necessary to keep pace with the generators. If one of the generators gets way ahead of the other, you have to decide how to deal with that issue.
    Writing to the second column of a three column spreadsheet can be tricky. It involves keeping pointers to the portions written and not written, reading the entire file into memory and overwriting the cells where new data goes and rewriting the entire file. This can get very slow for large files. If the file and data structures are simple enough it might be feasible to read only a portion of the file and overwrite it with new data, but that approach has lots of risks to the data.
    Wait until next ms multiple is only reliable if the wait interval is sufficiently longer than the execution time (including random OS delays) of each loop. Look at the synchronization functions such as notifiers to synchronize your loops.
    If you still have problems, post a simplified version of your program and someone will probably be able to suggest solutions.
    Lynn

  • LDAP: Recommended way to add new objectclass to existing entries?

    Can anyone help me with the preferred way to add a new objectclass (with attrributes) to existing entries within a directory (via the javax.naming API)?
    I have an application that uses a directory of users. Each user has objectclasses "top", "person", and "inetOrgPerson" with usual attributes.
    The application needs to change to add a custom objectclass, say "ourAppClass" (and its attributes), to each existing entry within the directory. I have already successfully defined the schema for the objectclass within the directory.
    I cannot find examples showing how to add an objectclass to existing entries. Creating brand new entries with custom objectclassess is straightforward.
    When using DirContext.modifyAttributes must I define all the objectclasses again, or is there a way to send only the new objectclass and its attributes only?
    Attributes attrs = new BasicAttributes();
    Attribute classes = new BasicAttribute("objectclass");
    classes.add("top");  // do I need these?
    classes.add("person"); // do I need these?
    classes.add("inetOrgPerson"); // do I need these?
    classes.add("ourAppClass"); // in-house class
    attrs.put(classes);
    attrs.put("ourCustAtribute", "value1"); //
    DirContext.modifyAttributes(dn, LdapContext.REPLACE_ATTRIBUTE, attrs);Does someone have a good example to follow?

    I think I have answered my own question. I think I need to use a ModificationItem to add an attribute to the objectclass.
    final ModificationItem[] classModification= new ModificationItem[1];
    classModification[0] = new ModificationItem(DirContext.ADD_ATTRIBUTE,
                new BasicAttribute("objectclass", "ourAppClass"));
    dirContext.modifyAttributes(dn, classModification);

  • Add new Column to existing Primary Key

    Hi,
    I have a Primary key consisting of 6 columns. Now i want to add new 7th column to that existing key.
    Do i need to drop the existing primary key and then recreate agian with 7th field or is there any other way?
    Regards,
    Jayesh

    I think what Joel was really saying is that dropping/recreating a PK is the only way to change the PK column list in version 6 - 9. Who knows about in 10g? Though I doubt that this has changed.
    If the table only has one or two more columns that are not part of the key you might consider converting the table to being an IOT (indexed organized table).
    HTH -- Mark D Powell --

  • Add new values in drop down

    Hi ,
        I need to add new agreement types to the drop down. Please let me know how and where to add the item to get populated in the drop-down
    Thanks in Advance
    Tayi

    HI,
    You can create a value list value and  point  the list from extended field .
    Regards
    Sudipta

  • Problems importing new values into existing hierarchy

    I have a hierarchy setup with name and code fields. I have already imported the majority of the records and manually setup the hierarchy in Data Manager (as we never had hierarchy setup in the past). I now have 100 or so new entries to add to this table, but it will not let me add the new values to the hierarchy table in Import Manager. I can map the code field fine, but when I try to map the name field, the Add button is grayed out no matter what I try to do. What am I doing wrong?
    Thanks!

    Hi Ryan,
    Kindly go through the below links to understand Hierarchy importing in MDM:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=mdmhierarchyimporting&cat=sdn_all
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=mdmhierarchyimporting&cat=sdn_all
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0e122d4-40ab-2a10-4a82-fe7db431fd5e
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903c9530-52be-2a10-7d97-a48dc8082905
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80aa6fa7-4dbe-2a10-8b8f-8f1ce6fa2f95
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/mdm/how%2bto%2bimport%2bhierarchy%2bin%2bmdm
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Maintenance view: add new entry under existing ones

    Hi,
    I would like to add a new entry in a maintenance view, but keeping the existing entries visible. That is, I want a new line to appear under the older ones, so I can see them, instead of opening a whole new screen with empty lines.
    Thanks in advance,
    Ivson

    If you want to add new field in the view.
    Goto SE54 and carry out the following steps:-
    1) Enter the name of the table or view.
    2) Choose Generated objects.
    3) Choose Create/Change. You go to the generated objects maintenance screen.
    4) Choose Change. A screen of reasons for changes appears.
    Select option(s) and choose Continue.
    The new field will appear in the view.

  • How do you add new songs to existing playlist on iphone 5?

    Before the update a few months ago I was able to add new songs to an existing playlist by hitting the Edit button.  Now I can only delete songs off of a playlist.  Has anyone figured out how to add new songs or do I just have to create a new playlist?  I really hope I don't because they will all be the same then.

    What could I do to be able to add more pages to a document?

Maybe you are looking for

  • Budget exceeding error message coming up at the time of GRN

    Dear Guru's I am facing a problem at the time of GRN, When i am going to create GRN to purchase order then message is coming up budgut exceed. Regards, Vishal Kr. Sharma

  • I want to reactivate your account iclound

    I am using iphone 4. I now upgraded to 7.1, then the log detector to activate iphone "Sign in. This Apple ID has been locked for security reasons. Visit iForgot to reset your account (https://iforgot.apple.com) ". Activate my yahoo has been removed f

  • Print out of Report Region dropping negative values

    I am very new to APEX (< 2 months) and don't have much of a programming background. I have created a report layout using BI publisher and made it available as a shared component in my APEX applicaiton. When I print the the report region, most of the

  • Saved LKM Options not reflecting in new Interface

    I have modified my LKM option to truncate my target table. When I create a new interface, the LKM is automatically selected, but the options selected are not what I had saved. How can I "really" change my option so that every time I create a new inte

  • Script tp stop and start components

    Hi All, I know the steps to stop/start all the components managed by opmn in a standalone env. But, I need to know is there any differnece to stop/start components in a cluster env, as I have SOA installed on 2 nodes and wanted to create a shell scri