Working with actions on drop down

Hi Gurus,
I have created a drop down box dynamically with fixed values using add_parameter_field. Now i want is when user selects particular value from the drop down box few fields should be disabled on the screen. Can you please help how to do this. i have added the code below
l_defdate_range-key = '1'."'01DAY'.
    l_defdate_range-value = 'Yesterday'.
    APPEND l_defdate_range TO lt_defdate_range.
    l_defdate_range-key = '2'."'15DAY'.
    l_defdate_range-value = 'Since 15 Days'.
    APPEND l_defdate_range TO lt_defdate_range.
    l_defdate_range-key = '3'."'30DAY'.
    l_defdate_range-value = 'Since 30 Days'.
    APPEND l_defdate_range TO lt_defdate_range.
    l_defdate_range-key = '4'."'MONTH'.
    l_defdate_range-value = 'Last Month'.
    APPEND l_defdate_range TO lt_defdate_range.
*--Default date range
    wd_this->m_handler->add_parameter_field(
        i_id = 'P_DEF_DT_RANGE'
        i_description = 'Default date range'
        it_value_set = lt_defdate_range
        i_as_dropdown = abap_true
        i_within_block = 'DATES'
        i_value = l_value ).
Thanks in advance

Hi.,
Assign a Function Code to List Box., let say  DRP .,
now in PAI.,
if sy-ucomm = 'DRP'.
read the value of List box.,
based on value ., disable the input fields.,
endif.,
for disabling input fields use
loop at screen.
if screen-group1 = 'SC1' " screen group which u assigned to input fields which u want to disable
screen-input = 0.
endif.
modify screen.
hope this helps ., u
Thanks & Regards,
Kiran

Similar Messages

  • New Adobe DC works not with fillable Documents (Drop Down Lists) in iOS

    Hi, the new Adobe DC for iOS (iPad) has a big Problem. When you have a fillable Form with some Drop Down Fields it only works with the first Drop Down. Any other Drop Down will not work since you manualy restart the Adobe in the Task Manager. Please Fix that quick! It's not usable for my Company anymore!!!

    Hi together,
    i received a temporary sollution from Adobe to fix that Drop-Down List issue. It works ;-)
    Adobe wrote:
    Hi Adrian,
    Your sample form exhibits a bug in the latest release of Mobile Acrobat/Reader.  The catalyst for this bug is a drop down setting called “Commit selected value immediately”.  Because this setting is rarely used for Mobile forms (it is generally used when connecting to a backend or when you want your selection to immediately toggle something else in the form), it may have been overlooked during final testing.  Nevertheless, we are holding this bug in highest priority to be fixed in the next release of Mobile Acrobat/Reader.
    In the meantime, it may be possible to keep your forms usable while you wait for the next release. Some of your drop down fields use the “Commit selected value immediately” setting and some do not.  Looking at your form, it does not appear that this setting is necessary for any form logic (for example, I do not see any javascript or Actions associated with the fields that would mandate this setting). If the drop down fields that have this setting were modified to be like the other drop down fields that do not have this setting, I believe your form will become usable again.  I have done this for the sample form you sent and have attached it to this message. 
    Let me know if this solves your immediate problem.  And as mentioned, the bug has been triaged and is being addressed with the highest priority level to be included in the next release of Mobile Acrobat/Reader.

  • Help needed with populating a drop-down list from an Access Database

    Topic
    data drop-down list
    Jason Murthy - 11:39am Feb 14, 2005 Pacific
    Hello,
    I am trying to use the data drop-down list from the custom library. I enter the name of my data connection and the other 2 variables in quotes when they are initialized, just like the example says to, but it still doesn't work. Anyone have any thoughts?
    Thanks,
    Jason
    Reply To This Discussion | Back to Topic List | Bookmark | Change Subscription
    To start a NEW discussion click on the Back to Topic List link and select Add Topic.
    If you are in an archive forum please go up to the main topic list (archives are read only).
    Messages 11 messages. Displaying 10 through 11.
    First Previous Next Last Show All Messages
    Denzil White - 5:46am Jul 28, 05 PST (#10 of 11)
    Oh and before you say anything more I have also tried changing it from Javascript to the FormCalc, and no diff, maybe I am more stupid than I realised, heh,heh
    Post Reply | Bookmark
    Henk Pisuisse - 12:06am Aug 9, 05 PST (#11 of 11)
    I am having trouble (sleepless nights) with populating a drop-down list from an Access Database. The result is: I only get the first record from the data connection. So the connection works but I cannot go through the other records. Maybe there is an other way to do this.
    I am trying to selectively fill a form with data from an MS-access database.
    I hope someone can help me.
    [email protected]
    The Netherlands (small country in Europe)

    If you email the access DB and the form to [email protected], I will try to take a look at it for you.

  • Problems with mm_menu.js (drop-down menu)

    I've made a couple of sites with mm_menu.js (drop-down menu) made by Dreamweaver. It works fine in Firefox, Google Chrome. It worked fine in Internet Explorer up to version 9. In version 10 the mm_menu.js doesn't show at all, and in version 11 it does
    show up, but places itself in the upper left corner of the browser. Can anyone explain why this is so? Is there any fix one can put in the code to make the drop-down menu look correct?

    This is the TechNet Forum for Questions regarding Internet Explorer 8, 9, 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.
    For better assistance please ask for help in the MSDN IE Development Forums.
    Thanks & Regards,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

  • Can't Block Person in iChat, with task bar drop down menu in Buddies.

    Hello : )
    I was wondering if anyone knows how i can use my "Block Person", on iChat (task bar with drop down menu in Buddies). I am pretty sure this worked has worked before , the command is there it just seems to stay greyed out. I know it can be done in the Security tab / ichat preferences, I would like it to work under the Buddies drop down as well. I know it did before, my HD was replaced. Help would be most appreciated.
    Thank you for your time.
    Eme;~[)

    Hi Eme,
    Ok. iChat 3 has a setting that needs to be set if you are going to use the same screen name on two copmuters or on two apps on the same computer.
    Go to iChat > Preferences > Accounts
    Select the AIM account in question in the left hand column
    Select the Account Info tab.
    Log out of AIM (iChat menu)
    Check the check box "Allow Multiple Logins for This Account"
    Log back into AIM.
    If this is not checked starting iChat 3 will boot off (log out) any other AIM Client using the same screen name whether it is on the same computer or not
    From what the ISP says and what you have posted here it seems the modem is in Bridge mode.
    I take it if you open System Preferences > Network > Select Airport from the second drop down > TCP/IP tab you IP is shown as 10.0.1.2 ?
    And the drop down just above that says "USING DHCP" ?
    This would mean the Airport is in default mode and Issuing Addresses.
    Also by default an Airport would do NAT. (Network Address Translation)
    This measn the Airport sorts out where each bit of data has to go.
    It is different from other routers as you don't have the specify which ports are going to whch ports on one IP (Port Forwarding)
    Which Netopia device is it ?
    3347 ?
    If it is this one you may need to look at the QoS settings.
    These are setings that are supposed to protct you form reciveing data too quickly. (helpful if you are running a busy web site but restrictive sometimes for iChat).
    As you are omly talking about sorting out Block lists it is prpobably the multiple login option that needs doing.
    5:40 PM Wednesday; June 14, 2006

  • I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. How can I fix this?

    I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. Can I fix this?

    I'm fairly new to this, but I think it has to do with the way you have the drop downs named. Did you copy one then keep pasting it in each field? If so, that is the problem. You should rename each one with a different number: Dropdown1, Dropdown2, etc. I think that might solve the issue.

  • CS6 stamp tool doesn't work with action / record ( tool record is enabled ) other tools works

    CS6 stamp tool doesn't work with action / record ( tool record is enabled ) other tools works

    At one time tool  recording was not possible and if you install Adobe Scriptlistener Plug-in Adobe will disable tool recording its never an option.
    I use and record actions all the time and was looking forward to tool recording when Adobe announced it.  However I found what they delivered was  of very limited value because of the restrictions. I do not care that Adobe disables tool recording on my machine.
    The amount of data that gets reordered seems also vary between machines.  I found that Action recorded on fast machine are not usable on slow machine.  Fast machine recorder too much data.
    Documents you use such action on must also have the same size and resolution as the document you recorded the action on. Quite a restriction.
    You problem may also be foxed in CC 2014 sett here Photoshop CS6 - Recording the clone tool in an action gives incorrect results on replay.

  • I can't seem to open additional tabs with the +, the drop down menu, or Command T? Is this a bug, or am I missing something?

    Hello,
    I can't seem to open additional tabs with the +, the drop down menu, or Command T? Is this a bug, or am I missing something?
    I'm running Firefox 30.0 in OS 10.8.5 on a Mac Book Pro with the 2.7 GHz Intel Core i7 and 8GB 1333 MHz DDR3 memory.
    Thanks in advance,
    Pat

    BOOM! You have hit the nail on the head, sir!
    I disabled my Vuze Remote Community Toolbar and the problem was fixed.
    Thank you, the-edmeister!!!!

  • Problem with checkbox and drop down menu

    I am using DW8 with PHP/MySQL.
    I made a insertion form and a couple of the fields are
    checkboxes and another is a drop down menu. Everything works fine,
    however, when I create an update form and the recordset calls the
    data it doesn't retain its values on those items.
    For example, if I checked a box when inserting the record and
    then call the data up for the update form, the box is not checked,
    making the user believe it was never checked in the first place.
    The same thing goes for the drop down menu. If I have 3
    options in the menu and someone selects the third one, when the
    update form is used it defaults to the first option automatically
    instead of actually calling up the original value selected.

    The fact that two scripts do not work together does not mean
    there is a bug in the RH script. It is simply that they were not
    designed by their respective developers to work together. This
    happens with multiple scripts in any html file.
    Try creating a new project and then importing just this topic
    into it. Does it still have the problem?

  • Acrobat 8.1.2 Stops Working When Opening a Drop-Down Dialog Box

    Whenever I try to open a drop-down dialog box in Acrobat the application stops working and Vista requests that the application be closed and that I will be notified of a solution when one is available. I've experienced the problem for six months. I must now solve this problem.
    I've already tried repairing the Acrobat installation without any improvement. What should I do next?

    Thanks, seems to solve some of the problem, perhaps I need to uncheck more in this dialogue box...  May be 'a' correct answer but not the complete solution.  Anyway if all I need to do is uncheck a choice in a dialogue box then it must be a bug or driver incompatability as there seems to be no reason why I shouldn't be able to use 2D graphics acceleration.
    Works if you highlight several PDFs in File Manager and then right click and 'Open with Adobe Acrobat', the error still occurs if I drag these files into an open instance of Acrobat beyond two files.  Also seems to be more of a problem if one of the files is a 'colour document ' or 'greyscale document' scanned by Acrobat itself.

  • Problems with flash transparent drop down menu over html in some browsers

    Hi everyone... this is my first post and it's about an issue
    that's causing me a few problems.
    I'm currently designing/ building my company's web site, the
    test page be viewed here: www.musflashtv.com/test.htm
    1) This layout contains an embeded flash movie (.swf) with a
    transparent background, this is the main navigation.
    The flash navigation has a drop down menu that animates down
    and covers the html page (containing links) below.
    The problem is that in most current browsers such as; Firefox
    2.0.05 (links below template don't work), Netscape 8.1.3
    (navigation drop down and links don't work) and Opera 9.10 (links
    below template don't work), any links just below the 'invisible'
    transparent area coverd by the navigation can't be clicked 'through
    the flash file'. The exception is IE 7.0, everything is fine there.
    (it hasn't been tested in any mac browsers though).
    Because the area below the navigation on
    www.kitachi.info/work is one large dummy jpeg file, the link below
    would be a much better example to look at.
    http://www.musflashtv.com/shows/ind...tlight-Sessions
    The flash navigation is embedded in the html (tlp) template
    file using the code below and aligned using an external style
    (.css) sheet, this html code not only embeds the flash movie but it
    also tells the browser to display it's background and as
    transparent. The flash movie is embedded in a layer that sits above
    the table.
    3) The flash embed code:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    name="shows-navigation-tranparent" width="851" height="300"
    align="top" class="flash-navigation"
    id="shows-navigation-tranparent">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie"
    value="flash/navigation-tranparent.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#000000" />
    <param name="SCALE" value="exactfit" />
    <embed src="flash/navigation-tranparent.swf" width="851"
    height="300" align="top" quality="high" wmode="transparent"
    bgcolor="#000000" name="navigation-tranparent"
    allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    scale="exactfit" />
    </object>
    Does anybody know of any code that can solve this problem or
    know a different way of creating a flash navigation with a drop
    menu that can be embeded over html?
    Any help or advice would be greatly appreciated especially as
    this issue is holding back progress in a big way.
    Thanks in advance guys!
    Adie

    It's IE-only behaviour as a result of changes Microsoft made
    last
    year to their browser, regarding how Active Content (Flash,
    Quicktime etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2, the fix is already built
    into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "swizzle_16" <[email protected]> wrote in
    message
    news:eqr0ib$48r$[email protected]..
    > Help please, I've put together a website using a drop
    down menu system
    > that
    > needs to drop down over a flash animation - I've managed
    to get the drop
    > downs
    > to go in front of the animation using the transparent
    tag - but each
    > option has
    > to be clicked on twice to get the link to work.
    >
    > Does anyone know how I can change it so the link needs
    to be only clicked
    > once?
    > The drop down menu system I've used is : * AnyLink Drop
    Down Menu- ©
    > Dynamic
    > Drive (www.dynamicdrive.com)
    >

  • How to create an UI element dynamically on action in drop down?

    Hi,
    How to create an UI element dynamically on action of selecting a value from the  drop down?
    help out with the steps i need to follow..

    Hi,
    <u><i><b>Dynamic UI Element creation</b></i></u>
    We can create it only in the WD Modify View.
    Get the instance for the Root UI Element Container.
    Create the UI element Ex: Input Field, Text View etc.
    Bind the UI Element to the Attribute Value.
    Now bind the UI Element to the Root UI Element Container.
              IWDTransparentContainer root =(IWDTransparentContainer)view.getRootElement();
              IWDDropdownByIndex DdbName = (IWDDropdownByIndex)view.createElement(IWDDropdownByIndex.class,"DdbName");
              IWDDropdownByIndex DdbAge = (IWDDropdownByIndex)view.createElement(IWDDropdownByIndex.class,"DdbAge");
              IWDDropdownByIndex DdbGender = (IWDDropdownByIndex)view.createElement(IWDDropdownByIndex.class,"DdbGender");
              IWDNode Mad =wdContext.getChildNode("Person",0);
              IWDAttributeInfo NameAtt = Mad.getNodeInfo().getAttribute("Name");
              IWDAttributeInfo AgeAtt = Mad.getNodeInfo().getAttribute("Age");
              IWDAttributeInfo GenderAtt = Mad.getNodeInfo().getAttribute("Gender");
              DdbName.bindValue(NameAtt);
              DdbAge.bindValue(AgeAtt);
              DdbGender.bindValue(GenderAtt);
              root.addChild(DdbName);     
              root.addChild(DdbAge);
              root.addChild(DdbGender);
    <u><i><b>Dynamic Action Creation</b></i></u>
    Create the Action in the Action tab.
    Create a Button.
    Get the reference for the created action (Through the Event Handler).
    Bind the Action to the Button.
    Bind the Button to the Root UI element Container.
    IWDButton ButGo = (IWDButton)view.createElement(IWDButton.class,"ButGo");
    IWDAction ActGo = wdThis.wdCreateAction(IPrivateStartView.WDActionEventHandler.GO,"Click");
    ButGo.setOnAction(ActGo);
    root.addChild(ButGo);
    Now write the required code for the Event Handler that is associated with the Action.
    //@@begin onActionGo(ServerEvent)
        IWDNode Mad = wdContext.getChildNode("Person",0);
         wdComponentAPI.getMessageManager().reportSuccess(Mad.getCurrentElement().getAttributeAsText("Name"));
         wdComponentAPI.getMessageManager().reportSuccess(Mad.getCurrentElement().getAttributeAsText("Age"));
         wdComponentAPI.getMessageManager().reportSuccess(Mad.getCurrentElement().getAttributeAsText("Gender"));
    //@@end
    Regards
    SURYA

  • SAPGUI 7.20 patch level 7 crashes while working in ALV using drop downs

    We have a set of users that work mostly in ALV transactions and can have a few open at the same time.  They also use the drop downs quite frequently switching back and forth between ALV's.  After working like this for awhile SAPGUI crahses.
    Unfortunately we have not been able to re-create this issue so I have not entered an OSS message.  The only constant is using ALV & drop downs.
    We have done the following:
    Patched the GUI - no help
    upgraded pc's  - These user received new pc's with higher memory & Windows 7 this helped slow down the amount of crashes occurring but did not eliminate them.
    We have monitored the memory on the pc & that does not seem to be the issue.
    Searched OSS, Google & SDN
    They are using the Signature View and IE 8 .
    Has anyone else experienced these issues or maybe have some suggestions on how to proceed?
    Thanks,
    Diane Szmurlo

    Thanks for the response Jude. 
    I cannot say that all ALV users are affected or at least they are not reporting it.  This particular group of users mainly works in ALV & with very large amount of data loaded into the ALV. 
    I watched the user this morning.  She is filling in data using drop downs & ctrl C and  ctrl V, just s few fields at a time.  There was a note about copying large amount of data in ALV but that has been fixed & we have that patch.
    I ran the  nwcheckworkstation and it came back ok.
    I wanted to trace the GUI but we cannot recreate the issue.  So the trace would have to be running for sometime before the user crashes which is not even a guarantee and I am not too sure that is a good idea since traces usually produce large files.  Also not too sure which GUI component to trace.  
    Diane

  • Help with actionscripting multiple drop-down menus

    So I have 3 different drop down menus that I want to use, and I want them to all work together so that if I have drop down menu number one open, the 2nd menu will drop down while the 1st one is still down.
    (I'm using Flash cs3)
    Here are some screen shorts:
    Layers: http://gyazo.com/3f24c53d5b91b7edb7fbbb1e6aa99c7c
    First action: http://gyazo.com/320857b1a6a94ba3fef153d1beb4ad6c
    Second action: http://gyazo.com/052bf8f1d673d533afc9b11488634869
    Stage before opened: http://gyazo.com/698353db25de7e589126a8800d7fdb25
    Stage opening up: http://gyazo.com/f905b9f20ee7b6205a978e304c27b934
    I'm relatively new to actionscripting all together, and I'm not a great programmer either. I'd greatly appreciate any help, I'm completely stuck and have no idea what to do.
    Thanks!

    fixed it

  • HT4314 Is there a way to turn off game center achievements so they don't interrupt my games with a a drop down every time I open a game?

    Whenever I try to play Deer hunter every achievement I have gotten drops down one by one and takes up a good section of my screen. That section of screen that it uses for about a minute is the area where the back button is and where other important controls are. It is extremely frustrating. I have gone through all the notification settings and game center seeting and turned everything off that has to do with notification drop downs and it still does it. Anyone have a suggestion?

    Hi,
    Genius is required for iTunes Match to work.
    Jim

Maybe you are looking for