Parameter should be disabled

Hi,
I am having some parameters on selection screen.
one parameter is having default value. At the time of execution, that paramter should be disabled, means it should be in 'display' mode with the default value entered.
here is the code---
   PARAMETERS : p_pernr1 like pa0001-pernr,
                           : p_endda1 LIKE pa0001-endda DEFAULT '99991231'.
I want p_endda1 in disable mode at selection screen.
Can anyone suggest the logic for this?
thanks
Revanth

Hi,
PARAMETERS: p4(10) TYPE c default 'text' MODIF ID bl2,
            p5(20) TYPE c ,
            p6 TYPE c LENGTH 10 .
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
      if screen-group1 = 'BL2'.
       screen-input = '0'.
    endif.
    MODIFY SCREEN.
  ENDLOOP.
rgds,
bharat.
Message was edited by:
        Bharat Kalagara

Similar Messages

  • Parameter may be disabled in Report

    Hi abapers,
    I am giving 1 radiobutton and 1 parameter in selection screen.
    Now,if radiobutton is selected then parameter should be disabled...Is this possible??How

    use loop at screen, statement
    SELECTION-SCREEN: BEGIN OF BLOCK RADIOBUTTON WITH FRAME TITLE TEXT-002.
    PARAMETERS: R_DIRECT RADIOBUTTON GROUP G1 USER-COMMAND UCOM DEFAULT 'X',
                R_DISC   RADIOBUTTON GROUP G1 .
    SELECTION-SCREEN:END OF BLOCK RADIOBUTTON.
    AT SELECTION-SCREEN OUTPUT.
      IF R_DISC = 'X' .
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'A'.
            SCREEN-INVISIBLE = 1.
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
          ENDIF.
      ENDLOOP.
      ENDIF.
      IF R_DISC = 'X' .
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'C'.
            SCREEN-INVISIBLE = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    IF R_DIRECT = 'X' .
       LOOP AT SCREEN.
         IF SCREEN-GROUP1 = 'B'.
            SCREEN-INVISIBLE = 0.
           MODIFY SCREEN.
         ENDIF.
       ENDLOOP.
    ENDIF.
    IF R_DIRECT = 'X' .
       LOOP AT SCREEN.
         IF SCREEN-GROUP1 = 'C'.
            SCREEN-INVISIBLE = 1.
            SCREEN-INPUT     = 0.
           MODIFY SCREEN.
         ENDIF.
       ENDLOOP.
    ENDIF.
    Regards
    Anbu B

  • Make MultiValue Parameter Dynamically Enable/ Disable

    Hi,
    I have two MultiValue  parameters in SSRS report. Both the parameters are independant of each other.  If I choose value from first parameter, Second parameter should be disabled dynamically. If I choose  value from second parameter, First
    parameter should be disabled dynamically.
    Can this be achieved in SSRS ?
    Is there a workaround to achieve the above scenario ?
    Regards
    G. R. Venkatesh

    Using nulls is one way. Another way is to set a default value say NotApplicable. Just set below expression for default value
    IIF(Len(Parameters!SecondParameter.Value) > 0,"NotApplicable",Nothing)
    Similarly for the other parameter
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
    Hi Visakh,
    I am new to SSRS.
    Could you please share a workaround sample for my scenario
    I tried to implement the expression for Multivalue  parameter1 default value, The parameter1 has below expression
    =IIF(Len(Parameters!SecondParameter.Value) > 0,"NotApplicable",Nothing)
    and Parameter2 has below expression
    =IIF(Len(Parameters!FirstParameter.Value) > 0,"NotApplicable",Nothing)
    I get a error saying "The expression references the parameter 'parameter2' which doesn not exist in the parameters collection. Letters in the names of parameters must use correct case"

  • Do I need Java 8 or should i disable it? What happens if i disable it? And what is the difference between Java and Java Runtime?

    Do I need Java 8 or should I disable it? What happens if i disable it? And what is the difference between Java and Java Runtime?

    There's no difference. They're both runtime plug-ins (they run when an app calls for Java functions).
    You only need Java if you either have Java apps on your Mac that won't run without having it installed, or you use trusted web sites that require Java to function (getting fewer and far between). Otherwise, you have no need for it at all.

  • OLEDB command - all parameter should be bound

    i am excuting my sp in OLEDB command 
    my proc has some required param and some null and 1 output param.
    i am executing like 
    exec p_sp param1=?,param2=? , paramn=? output
    i m just passing required filed and output, but when i go to comun mapping 
    its giving me error : all parameter should be bound and the one i am not passing here its showing up there in column mapping and i dont see output parameter.
    any help

    see
    http://www.rad.pasfu.com/index.php?/archives/24-Output-Parameter-of-Stored-Procedure-In-OLE-DB-Command-SSIS.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Should I disable RAID 0?

    I need some advice on what to do with my present system. I will be using CS4 Prod Prem for editing HD, AVCHD, SD, etc. ...here's the issue -
    I bought a custom built comp with -
    Antec 902 Mid Tower ATX case
    750Watt Corsair power supply w/140mm fan
    2-120mm fans
    ASUS P6T mobo
    Core i7 920 CPU
    Kingston V-Series SSD 128gb drive (for Win 7 + app's)
    2- WD Caviar Black 1TB
    12gb RAM (mushkin 4gbx3)
    nVidia Quadro FX 1800 + Elemental Accelerator
    +
    I have 4 USB external drives, and one Firewire 800 drive attached as well. (Unfortunately these are 'mostly' maxed out, but I can still defrag.)
    I had originally asked for the 2 WD Caviars to be set to RAID 0, but after I realized I would have no redundancy I asked for it just to be set up as two single drives. But, they kept it in RAID 0 . The RAID is controlled by the ASUS mobo. I am thinking a RAID 3, for now....eventually expanded to RAID 30 will be my best option.
    I know I'll have to get more HDD's, but I need to know what would be my best option.....
    1. Should I disable the RAID 0 until I can get more HDD's so I won't lose data? If so, how do I go about that....I would need to re-install Win 7 correct?
    2. Or, should I just go ahead, get 2 more drives and go with a different RAID (x)?
    3. If I have to get a RAID controller card for RAID 3, what's my cheapest/most reliable option? I just don't think I can swing the high end Areca cards right now.
    4. If I go RAID 3, and want to expand to RAID 30, will I have to run an external RAID tower instead of internal discs?
    5. If a drive goes down, how fast do I need to get the new drive in?
    Lost, dazed and confused....please help!

    1. Should I disable the RAID 0 until I can get more HDD's so I won't
    lose data? If so, how do I go about that....I would need to re-install
    Win 7 correct?
    Win 7 and your programs are on the SSD, so there is no need to re-install Win7. To disable the current raid0, you have to know how it was setup. Was this done in the BIOS using the ICHR10 or the Marvell chip or was it done in software under Windows? Look in the user guide in section 4.4 for instructions on how to break out the raid to individual disks.
    2. Or, should I just go ahead, get 2 more drives and go with a different RAID (x)?
    Getting 2 more internals is always wise, since they are a lot faster than your current USB externals and these are already pretty full. I would make sure you get the identical model as your current WD Caviar Black. Also make sure that ACPI is disabled in the BIOS, because it can disrupt reliable operation of the Caviars in a raid. BTW, I'll explain later, but consider getting 3 Caviars instead of 2.
    3. If I have to get a RAID controller card for RAID 3, what's my cheapest/most reliable option? I just don't think I can swing the high end Areca cards right now.
    AFAIK Areca is the only controller card to offer Raid3. Also keep in mind that buying an Areca controller card is like buying a Vinten or Sachtler tripod and fluid head. Pretty expensive, but usually they last a lifetime. Now the Areca may not last a lifetime, but can certainly last a couple of PC generations.
    4. If I go RAID 3, and want to expand to RAID 30, will I have to run an external RAID tower instead of internal discs?
    Not at all, if your case is large enough. For instance in my case I currently have 2 BRD burners and 17 3.5" disks. If I want I can increase that to 2 BRD burners plus 21 3.5" disks of which 15 hot-swappable.
    5. If a drive goes down, how fast do I need to get the new drive in?
    As I said above, I suggest you get 3 WD CB disks. You can then configure them in a 4 disk raid5 array plus 1 hot-spare. The dilemma is that AFAIK neither the ICHR10 nor the Marvell support hot-spares, so you may need an Adaptec, Areca or 3Ware controller to get hot-spare support. If you don't have the budget for an Areca controller, then in the future you may find that the more affordable Adaptec or 3Ware card (or even Hightpoint or LSI) have no further use if the time comes for a raid3 card.
    With a hot-spare in a raid5 when one disk fails, you can take your time with getting a new one (although with reduced security untill replacement). If one disk fails, you will have reduced performance for less than an hour, maybe only for minutes, untill the hot-spare kicks in. You can easily take a week or even two weeks to get a replacement disk if you can live with the reduced security of not having a hot-spare available anymore.
    With hot-swappable drive cages you gain easy access to all your disks, like for instance the SuperMicro CSE-M35T, http://www.newegg.com/product/product.aspx?Item=N82E16817121405
    Hope this helps.

  • Should I disable Netinfo?

    When I upgraded to Tiger server, I started using LDAP. Working on another issue, I noticed that in Directory Access, I still have Netinfo service checked off. Should I disable Netinfo service on all my OS X clients now that I'm using LDAP?

    NetInfo has a local domain and a network domain. If the NetInfo plug-in is unchecked in Directory Access, the network is not searched for NetInfo servers but your local domain continues to work just fine. However, there should always be a netinfod process running to support the local domain. Don't disable that.

  • Should I disable wi-fi when not using it ? Will this preserve the Battery?

    When I`m at home,should I disable the wi-fi when not using the internet ? Does this preserve the battery?

    http://ipod.about.com/od/iphone3g/tp/iphone-battery-life.htm
    #5 on the list to preserve battery:
    Keep Wi-Fi Off
    The other kind of high-speed network that the iPhone can connect to is Wi-Fi. Wi-Fi is even faster than 3G, though it’s only available where there’s a hotspot (not virtually everywhere like 3G). Keeping Wi-Fi turned on at all times in hopes that an open hotspot will appear is a sure way to drain your battery life. So, unless you’re using it right this second, keep Wi-Fi turned off.
    Find it in Settings -> WiFi -> Slide to Off

  • Should I disable the sudden motion sensor after upgrading to an SSD

    I put a 1TB Samsung 840 EVO in my MacBook Pro (9,1).  Should I disable the sudden motion sensor?  Does it do anything else other than park the hard disk (like something with the fans)?

    You may want to read up on the SMS here:
    Mac notebooks: About the Sudden Motion Sensor
    Sounds like you can safely disable it if you wish since MacBooks which ship with an SSD drive seem to have it disabled.

  • Should I disable onboard sound when..

    Should I disable the onboard audio and stuff when I install the X-Fi. I installed my X-Fi some time ago and have never had any hardware problems with it, however recently I was in the BIOS options area (F2 at the splashscreen I think) and saw the option for disable onboard audio. Will it improve my system if I do disable it or will it require a reinstall of my soundcards driver and stuff. Any response is appreciated.

    Well,
    You're supposed to disable it, Yes. Your system needs to know wich card you will use. May create conflict if you have both enabled. Yes, disable it.
    Fremen

  • Should I disable apple ie dav

    should I disable apple ie dav

    Well I think I may have kicked this into life.
    Here are the steps that I followed:
    [Important] Backup your bookmarks, I use IE, so I exported them to a bookmarks.htm file for safe keeping. (I also deleted my Cookies and temporary Internet Files, just for good measure)
    Uninstall iCloud control panel
    Reboot your PC
    Once rebooted. Go to your user profile area, Favorites. Delete all your bookmarks under Favorites. (C:\Users\<yourusername>\Favorites\..)
    Download the latest iCloud control panel from Apple. v3.1.0.40 was what I downloaded. Save the exe, don't run it yet.
    Right click the iCloudSetup.exe and Run As Administrator.
    Reboot
    Login, open the iCloud Control Panel. Sign in with your apple ID.
    I am only syncing Bookmarks. So tick Bookmarks. Options->tick Internet Explorer. Click OK.
    Click Apply.
    If you then browse (using Windows Explorer) to C:\Users\<yourusername>\Favorites\.., within seconds you should see your Bookmarks appear, downloaded from iCloud. Check with your iPhone/iPad to see if they match up.
    This has worked for me so far, and there are no AppleIEDav errors (yet).
    WARNING: if you currently sync your photostream, AND you sign-out of iCloud Control Panel, or if you uninstall it, I'm not sure what effect it will have the photostream on your PC. So please be cautious.

  • Should I disable the wireless capabilities of my Bigpond modem/router when Airport Extreme is connected?

    Should I disable the wireless capabilities of my Bigpond modem/router when Airport Extreme is connected? I'm told that it's better to only use the WiFi capabilities of the Extreme and leave the Bigpond to feed to the extreme.

    No, bridge mode would not be the correct setting for this.
    Instead, look for a "wireless settings" tab or page that will provide the option to turn off or disable the wireless radio of the BigPond router.
    If you are still having difficulty, it would be a good idea to post your question on a BigPond support forum or contact your Internet Service Provider.
    Contact Technical Support - BigPond

  • Why is Telemetry enabled by default when support page says it should be disabled in release builds?

    Page at https://www.mozilla.org/en-US/privacy/firefox/#telemetry says Telemetry feature should be disabled by default in release builds. I just updated to 34.0.5 and it is enabled. I don't know if in a previous version is was enabled and it kept the same state, but I never manually set it to enabled.

    hello itabirca, just to be sure: you did look at options > advanced > data choices to check if the extension was enabled?
    did you use a firefox beta release or the testpilot addon in the past?
    https://wiki.mozilla.org/Telemetry/FAQ

  • What type of out put parameter should i have to pass here?

    Hi all,
               I'm working on a custom function module. In that i have to call a standard function module "SAPWL_READ_STATISTIC_FILES".
    This standard FM is returning the values in changing parameter "ALL_STATS" of type "SAPWL_ALLSTATS". SAPWL_ALLSTATS is a structure in a pool structure "sapwl".
    My problem is when i'm testing the standard FM with some input parameters its throughing some values into changing parameter "ALL_STATS", but in my custom FM for the same standard FM i'm passing the same values its not throughing any values into that changing parameter "ALL_STATS".
    So can anybody check this standard FM and suggest me how to declare the output parameter type and pass? Its a pool structure there i'm getting problem to define it. Help me out please.
    Thanks & Regards
    Naidu

    Hello Naidu
    Using the sample report ZUS_SDN_READ_STATISTICAL_FILES I can fetch a couple of records from the system (ERP 6.0).
    If your selection does not work within your custom function module then perhaps there is some conversion problem with the input data (keep in mind that the SAP-GUI takes care of all conversions, e.g. a date '10.11.2008' is automatically converted into '20081110').
    *& Report  ZUS_SDN_READ_STATISTICAL_FILES
    *& Thread: What type of out put parameter should i have to pass here?
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1119462"></a>
    REPORT  zus_sdn_read_statistical_files.
    TYPE-POOLS: sapwl.
    DATA: gt_stats    TYPE STANDARD TABLE OF sapwl_statrec.
    DATA: gd_msg      TYPE bapi_msg.
    START-OF-SELECTION.
      CALL FUNCTION 'SAPWL_READ_STATISTIC_FILES'
        EXPORTING
          read_client                 = syst-mandt
    *     READ_TIME                   = '001000'
    *     READ_TIME_DELTA             = '000200'
    *     READ_EXCLUDE_USERNAME       =
    *     READ_START_DATE             = SY-DATUM
    *     READ_START_TIME             = ' '
    *     READ_USERNAME               =
    *     READ_WORKPROCESS            = 'FFFF'
    *     STATISTIC_FILE              = ' '
    *     AS_STATISTIC_FILE           = ' '
    *     NO_BUFFER_FLUSH             = ' '
    *     WAIT_FACTOR                 = 150
    *     INCLUDE_APPL_STAT           = ' '
    *   IMPORTING
    *     PROBLEMS                    =
    *     TOTAL_RECS_READ             =
    *   TABLES
    *     PROTOCOL                    =
    *     RFC_RETURNS                 =
    *     SERVER_LIST                 =
        CHANGING
          all_stats                   = gt_stats.
      DESCRIBE TABLE gt_stats.
      WRITE syst-tfill TO gd_msg NO-ZERO.
      CONDENSE gd_msg NO-GAPS.
      CONCATENATE gd_msg 'Records found' INTO gd_msg
        SEPARATED BY space.
      MESSAGE gd_msg TYPE 'I'.
    END-OF-SELECTION.
    Regards
      Uwe

  • [JList] serious bug: readonly attribute should not disable jlist nav

    Hi,
    I've got a JList with a navigation binding. As display attribute, I chose an attribute that is read-only (Updateable: "Never").
    Now the entire list becomes disabled. The fact that the field I'm displaying is readonly, does not mean that the navigation should be disabled. I want to be able to navigate through the records, which has no influence on the values of the attribute, so I see no reason why this is disabled.
    Something similar was already discussed here: re:Bug: JList does not always show the right selection
    but Shailesh could not reproduct it at that time. I've got a reproducable testcase now.
    By the way, it's fairly easy to create your own testcase:
    - Create an Entity with a default view object, and set the primary key (for example 'Id') to Updateable: Never.
    - Populate the table with a few records.
    - Create a JClient with a default form and panel to edit the data.
    - Add a JList to the panel and bind it as a navigation binding to the view object, and select Id as display attribute.
    - Run the app. You'll see that you can't use the list to navigate through the records. This should however be possible, as long as you don't change the values.
    I would like to file this as a bug report, and more importantly, I would like to know if there's a workaround I can try (calling setEnabled(true) on the JList from inside jbInit doesn't seem to work).
    Greetings,
    Ivo

    The same problem goes for the JCombBox with a navigational binding. Once the binding involves a non-updatable attribute, the control goes disabled.
    I have solved this by creating my own sub-class of JComboBox which cannot be disabled. It overrides the setEnabled(boolean) method and does nothing (no call to super.setEnabled()). So, whenever I need a JComboBox with a navigational binding, I use this sub-class.
    To work around your problem, I would suggest you create a JList subclass which also overrides the setEnabled() method and replace your JList instances with ones of the new clas.
    HTH

Maybe you are looking for

  • Issues with my performance GE70

    HI guys I'm having a problem with my laptop with the frames and performance on star wars the old republic i keep on getting 5-15 fps on very low setting any suggestions on how to make it better or has something changed ? My specs are: CPU I7-4700HQ G

  • Oracle 8i tns:protocol adapter error

    Hello,      I am programmer and wanted to try and learn oracle database. I am trying to install Oracle 8i Releae 8.1.5 developer edition (which I got with a book) on windows NT 4.0 with service pack 6. But after doing a minimal install when and creat

  • Test if interval is set properly in DBMS_JOB .

    Hi, looking for a way to test interval setting in some complex cases . Its obvious when You have DBMS_JOB.SUBMIT (         :jobno       , 'p;'       , TRUNC(sysdate)+11/24       , 'TRUNC(SYSDATE+1)+11/24');but what if You want interval depend on day

  • Ituneshelper missing

    At first, after installing and running Lion, my iTunes was working as it should, but then one day the Devices dissappeared from the Playlist area, so I had to reinstall iTunes. Now, the iTunesHelper is missing and when I plug in a device such as an i

  • Regd. UWL

    Hi All, I am having one issue regarding UWL work item. For one user, after clicking UWL link from detail navigation. he is able to see the UWL in his content area. In the table he is able to see the work item and after clicking the work item he is no