How can we make one view field value to be copied to other field of the the

Hi   
   I am new  in CRM2007 I have enhanced sap component & enhanced SAP View but I wanted the field value of the enhanced view to be mapped to the field value of the same view which is added from EEWB
Pls tell me if the added new field can be made as Dropdown list box without fixed values & Design Layer customizing I mean to say through coding can we made the input field as Dropdown
Appreciate any help in advance
Thanks
Neel

Hi,
You can write your own ligic in GET_V_<FIELD> method. Select the values which needs to be displayed in the drop down list based on your own condition. Some sample code is given below:
METHOD get_v_zzverksomr.
  DATA: lt_ddlb           TYPE bsp_wd_dropdown_table,
          ls_ddlb           TYPE bsp_wd_dropdown_line,
          lv_display_only   TYPE string,
          gr_ddlb_verksomr  type ref to CL_CRM_UIU_DDLB,
          ls_verksomr_values  TYPE LINE OF vrm_values.
    SELECT verksomr verksomrtxt FROM zkb_verks
       INTO TABLE lt_ddlb.
    IF sy-subrc EQ 0.
      INSERT INITIAL LINE INTO lt_ddlb INDEX 1.
    ENDIF.
  IF gr_ddlb_verksomr IS NOT BOUND.
    FREE gr_ddlb_verksomr.
    CREATE OBJECT gr_ddlb_verksomr
      EXPORTING
        iv_source_type = 'T'.
    LOOP AT gt_verksomr_values INTO ls_verksomr_values.
      ls_ddlb-key   = ls_verksomr_values-key.
      ls_ddlb-value = ls_verksomr_values-text.
      APPEND ls_ddlb TO lt_ddlb.
    ENDLOOP.
    gr_ddlb_verksomr->set_selection_table( it_selection_table = lt_ddlb ).
  ENDIF.
  rv_valuehelp_descriptor = gr_ddlb_verksomr.
ENDMETHOD.
Thanks
Swagatika

Similar Messages

  • How can I make one list of all events I have in over 30 libraries I made

    How can I make one list of all events I have in over 30 libraries I made?

    The only way I know of is to take a screenshot of the Photo mode with the View ➙ Show Event Titles selected.  That will give you a list of sorts.  Might take more than one screenshot per library.
                   Click to view full sized
    OT

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • Mountain Lion Recovery DVD - How can I make one, ML was installed on my iMac and BBP

    Mountain Lion Recovery DVD - How can I make one, ML was installed on my iMac and MBP when I purchased them. When I look at the App Store, it dose not show ML as purchased (to download again) - do I have to purchase it again to make a Recovery DVD?
    Thanks for your help.
    Regards
    NGI

    do i have to purchase it again to make a Recovery DVD?
    No. You can still make a bootable recovery DVD, but you will not be able to make a full bootable copy of ML without purchase.
    1) Enable the debug menu for Disk Utility via Terminal Application. Navigate to terminal by typing "terminal" in   spotlight. Copy the bolded text below and enter it into the command prompt:
    defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true ; open -a "Disk Utility" ; exit
    2) From the Debug Menu > Select Show every Partition > Recovery HD should appear
    3) Right click (control + click) the Recovery HD partition and select "Mount"
    4) Right click again the partition again > "Reveal Recovery HD in Finder". Leave this window open
    5) At this point, you will need open terminal again and enter the following command:
    sudo chflags nohidden /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg ; exit
         Type your password when prompted.
    6) Navigate back to the Recovery HD finder Window > com.apple.recovery.boot > BaseSystem.dmg
    7) Drag "BaseSystem.dmg" into Disk Utility's sidebar.
    8) Insert your DVD
    9) Select "BaseSystem.dmg" in the sidebar and hit "Burn"
    Once the burn is completed, hold option down at startup and select the DVD to boot. This is a bootable Recovery partition, not a bootable copy of ML.
    Note: to disable the debug menu,
    defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool false

  • How can we make one object as synchronizable?

    Hi!
    I am new to java.How can we make one object as synchronizable?
    Thanx

    Synchronize is used to make an object and/or a functional sequence thread safe. By itself it does not make something thread safe.
    So the point is to make something thread safe not just to synchronize it.
    You can either sychronize a method like so....
          public synchronized void doit()
    Or you synchronize on an object (where 'Object' below is solely as an example, any object can be used)...
          Object lockObject = new Object();
          public void doit()
             sychronized (lockObject)

  • How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    99jon wrote:
    Perhaps it’s a design feature to speed up the Organizer launch.
    I am sure it is.
    - The normal use of the Organizer is not the folder view, it's the thumbnail view with an organization based on categories and folder. That way you should forget completely where your pictures are stored. Anyway, the folder view in the Explorer is not a map of the location of the different bits of your file, it's only a logical representation. That's easy to see when you are doing a defragmentation.
    - The folder view is useful even for those using normally the thumbnail view, but that is only for rare cases when you must change the folder organization, for instance moving files to another drive. The folder view is here to prevent you from changing things from the explorer and outside of the Organizer.
    - The new folder list view, which you find 'funny' is there to help better organizing using tags. Its huge advantage is that such a view is created extremely quickly by extracting the last subfolder in the media table : it's the way the database sees the folders, based on its own content,  totally ignoring the complex folder organization of your disk with media files or any unrelated other kind of data. You should use it in many cases, the main purpose being assigning tags when you have assigned descriptive folder names. I had suggested such a solution to prevent the long standing bugs in the folder view of previous versions.
    So yes, the purpose is:
    - to speed up switching modes
    - to help folder organization fans to migrate to tags organization
    - to hopefully get rid of the old folder organization bugs

  • How can I make my query to compare only columns of two tables... not the storage information?

    11GR2
    =-----------------------------------
    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    begin
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'PRETTY', TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SEGMENT_ATTRIBUTES', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'TABLESPACE',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'REF_CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS_AS_ALTER',FALSE);
    End;
    select REGEXP_REPLACE(dbms_metadata_diff.compare_alter('TABLE','TABLE_NAME_A','TABLE_NAME_A','USER1','USER2'),('USER1...'),'', 1, 0, 'i') from dual

    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    If you want help you have to SHOW us what you are doing and how you are doing it; you can't just try to tell us in your own words.
    We can't see your computer screen.

  • How can we make 1 window to be displayed on top of other window in smartfor

    Dear friends,
                       How can we make 1 window to be displayed on top of other window in smartforms as i m not getting content of a window which is placed above other window?

    Hi,
    There r two ways ways to display image.
    1)As background image
    2)using graphic node.
    To display image as background.
    click on page node.
    choose background picture options
    enter the path of the image.enter the resolution and output mode in the output attributes.
    enter the horizontal and vertical positions where the image to be displayed in the page.
    To display image using Graphic node.
    Add a graphic node into the window where u want the image to be displayed.
    In the General attribute enter the path and the resolution.
    Hope ur problem get solved.
    Regards,
    shiva

  • How can I make tree view for hierarchical data from select with connect by?

    If we have selected hierachy with connect by clause, how can we make it to see in tree view?

    You can't do this using the ADF, Tree Binding used by JHeadstart.
    However, If you have a recursive relationship (for example managerid) you can get a tree what you want as follows:
    - create one root ViewObject that returns the top-level employees without a manager by setting the where clause to managerid=null
    - create a second ViewObject that simply queries all employees
    - Create a ViewLink between the two view objects, and create a nested VO usage in the app module for the second view object
    - Create corresponding nested group in the application definition file and set the layout style to "tree-form" on both groups.
    See Developers Guide, chapter 3, section recursive trees for more info.
    Steven Davelaar,
    JHeadstart Team.

  • How can I make one slide that contains multiple slides?

    Hi, I want to make slideshow for presentation. And I want to know how can I make this slide.
    For example in this picture, have 1 main slide and 6 sub slides. I want to make slide like this, and all slides should be in one slide. And I want to zoom in to sub slide when I click and then zoom out when I click one more. And then second slide should be zoom in when I click and zoom out when I click again. And then slide 3 etc.
    I want to know how can I do this.

    There are two ways to do this.
    1. Duplicate the main or first slide numerous times - as many as you'll need for the show, which looks like 6 including the first "overview slide".
    2. You know have two choices - either use the Magic Move transition between the first slide and the next, which has the main box centre screen and enlarged proportionally.
    3. Or enlarge the slides so that the main point is central, but use hyperlinks to move between the slides. This also gives you the liberty of changing the order spontaneously should the situation demand. Using the main first slide, place an invisible box around each element and use a link to move to that slide which is enlarged. Then you have to decide if you will come back each time to slide 1 (the overview) by having the whole slide hyperlinked to slide 1, or the whole slide linked to the next slide. That way you don't have to go looking for the hyperlink area.
    The Magic Move effect will give your presentation a "Prezi" like effect, while the hyperlinked version I've described will just use gentle dissolves between each slide.
    I will sometimes use 3 because I want to encourage audience participation and let them choose where to go next... e.g., the various elements of a 747 wing assembly, or the interior of a large cruise ship, showing state rooms, dining, pool area, ballroom, etc.
    Les

  • How can I make one entity attribute change trigger another's default value?

    Guys and Gals,
    Using JDev 11.1.2.1.0
    I have an order form which has a LOV (Customers) and an address field. The address field should contain the default address associated with the selected key in the LOV.
    To do this, I have an entity (Order) with two attributes (CustomerID & Address). Address has its default value set to "adf.object.getDefaultAddress" which returns the default address for the CustomerID. This only works on initial load.
    How would I make this adf.object.getDefaultAddress trigger when I select a different LOV CustomerID in the View Object?
    I've tried various things but am a little confused. Is there something akin to partial triggers for entity objects?
    I can provide pictures, code, etc.
    Thanks,
    Will

    you can try this.
    go the the setter method in your EntityImpl class for the LOV attribute
    public void setCustomerID(Number value) {
            setAttributeInternal(CustomerID, value);
            //here call the setAddress() method
        }in your page, set the customerID autosubmit to true and make the Address field PPR the customer Id.
    <af:selectOneChoice value="#{bindings.CustomerID.inputValue}"
                               id="soc1"
                               autoSubmit="true">
            </af:selectOneChoice>
            <af:inputText value="#{bindings.Address.inputValue}"
                                   partialTriggers="soc1">
            </af:inputText>

  • How can I make folder View Options the default in Snow Leopard?

    Hi everybody! Here I am, learning to Mac!
    When I do a secondary click on an open folder's background and click on +show visualization options+ (actually, +mostrar opciones de visualización+ in spanish), there's an option +set as default+ ( +ajustes por omisión+ ) which, as far as I understood, should change all the rest folder's aspect, as icon's size, font size, background image and so on... but all the rest folder's aspect keep being shown as before, just the folder where I am working changes.
    My questions are: if I am wrong with the use of that "ajustes por omisión", what is it for? And how can I personalize the aspect of all folders on my mac?
    Thanks for your help

    It's "show view options" in English. Also obtained by typing CMD+J
    Those only apply to the top-level folder. Each folder you open uses whatever you've elected to use as the defaults. Select a folder, CMD+J, set the view as you desire, click on Use as Default button. That setting will be used for all windows that you open in the future that have never been opened previously. All other windows that you opened will retain whatever view you previously selected for them.
    If you want to reset everything to one view, close all open Finder windows, launch the Terminal app (/Applications/Utilities/), copy & paste this command into the window that pops up,
    find ./ -name ".DS_Store" -depth -exec rm {} \;
    hit the return key, quit the Terminal app, restart, open a Finder window, CMD+J, set up the view options as desired, click the Use as Defaults button, and close the view options window. Now, every Finder window you open will have this view.
    Once you sort this out, see:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac 101: Mac Essentials,
    Mac OS X keyboard shortcuts,
    Anatomy of a Mac,
    MacTips, and
    Switching to the Mac: The Missing Manual, Snow Leopard Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • How can i make one of my itune songs my ring tone on my apple iphone 3gs-32gb

    HI is there anyone out there that can help me step by step how i can make one of my downloaded itune songs on my iphone as my RINGTONE on my iphone 3gs-32gb please my phone as been upgraded to a ios 6 id be very grateful if you could help me as ive been trying all day with no joy as this is my very first iphone you see and im so blind to all this lol thanks susan.

    http://www.ehow.com/how_2160460_custom-iphone-ringtones-free.html

  • How can I make one computer server at Home for access of SQL Server 2012/2008

    Hi All,
    Sorry for this basic question but I am zero in networking. I will be very grateful if someone guides what should I do to make one of my home PC as server. Scenario is as follows:
    I want to give training to few students about SQL SERVER T-SQL.
    I have one Laptop using SQL Server 2012 having Windows 7 Pro(Laptop Master-want to make this server). I have other laptop running Windows 7 pro and got SQL SERVER 2008. My students have mix of laptops including Windows XP, Windows Vista, Windows 7 and Windows
    8. All students have SQL SERVER 2008 installed and working.
    Q1: I actually want to make Laptop Master(explained in above paragraph) as server and want other laptops to access that master server in home network. I will install sample exercise database on server and students will be writing queries to access
    data.
    Q2: can I secure sample database from students who can copy sample database from server?
    Q3: can students run queries remotely sitting their home?
    Thanks in advance.
    Kind Regards
    A K
    Adnan

    Hi itsadnan,
    According to your description, if you want to make your Laptop as Server, and your student can log in your SQL Server 2012 instance, you need to ensure that your computer and student’s computers are the same domain, and you enable TCP/IP, name pipes protocol
    in SQL Server Configuration Manager, your SQL Server 2012 instance is allowed to connect remotely and your student install SQL Server Manager Studio 2012 as client tool in their computer, and you create the related login name for your students. For more information,
    see:
    http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx
    According to your requirement, in actual, since your students install SQL Server 2008 on their computer, you totally can ask your student to install the sample exercise database in their SQL Server. For example, there are many resource about sample database
    in Website, which is helpful for student to learn database technology, such as
    AdventureWorks databases for SQL Server 2008. From SQL Server Management Studio, they can attach an AdventureWorks database, then write queries to access data.
    Since you have SQL Server 2008 in your other laptop, you can create the sample exercise database, and student can install this database via backup and restore, then write queries to access data and send to you for checking if it is right.
    Note:  Due to backwards compatibility, The students could not restore SQL Server 2012 database in their SQL Server 2008 instance.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How can I make folder view the default view when I open Organizer?

    I just bought Adobe Elements Photshop and Premier 11.  I spent 2 to 3 hours getting my picture video library into Adobe's organizer.  I had some problems with duplicate picture (that I wanted to be there - so I had to rename them) and a couple pictures with corrupted metadata.  After I got all that sorted out I am a bit miffed about the folder view on Adob'es organizer.
    I love that you can switch to folder view - since this is how I have been organizing my pictures for a long time.  I would like to continue organizing this way for now until I get a grasp on the other ways I can organize them in elements.  However, every time I close and re-open organizer it switches back to the default view instead of folder view.  PLEASE tell me that there is a way to set folder view to the default view!  HELP!

    99jon wrote:
    Perhaps it’s a design feature to speed up the Organizer launch.
    I am sure it is.
    - The normal use of the Organizer is not the folder view, it's the thumbnail view with an organization based on categories and folder. That way you should forget completely where your pictures are stored. Anyway, the folder view in the Explorer is not a map of the location of the different bits of your file, it's only a logical representation. That's easy to see when you are doing a defragmentation.
    - The folder view is useful even for those using normally the thumbnail view, but that is only for rare cases when you must change the folder organization, for instance moving files to another drive. The folder view is here to prevent you from changing things from the explorer and outside of the Organizer.
    - The new folder list view, which you find 'funny' is there to help better organizing using tags. Its huge advantage is that such a view is created extremely quickly by extracting the last subfolder in the media table : it's the way the database sees the folders, based on its own content,  totally ignoring the complex folder organization of your disk with media files or any unrelated other kind of data. You should use it in many cases, the main purpose being assigning tags when you have assigned descriptive folder names. I had suggested such a solution to prevent the long standing bugs in the folder view of previous versions.
    So yes, the purpose is:
    - to speed up switching modes
    - to help folder organization fans to migrate to tags organization
    - to hopefully get rid of the old folder organization bugs

Maybe you are looking for