Disabling input option

Hi, I am new to ABAP and I have a requirement where in I need to display two radio buttons with each radio button accepting one parameter. When the first radio button is chosen, the parameter of second radio button should be disabled. When the second radio button is chosen, the first parameter should be disabled. I have written the following code but it does not seem to be working.Please have a look at it and suggest any modifications required.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: ODS RADIOBUTTON GROUP radi default 'X'  modif id RD1
user-command ucomm.
PARAMETER : p_odc(20) type c modif ID RD1 . "OBLIGATORY .
PARAMETERS: FILE RADIOBUTTON GROUP radi modif ID RD2.
PARAMETER : p_filpth LIKE rlgrap-filename modif id RD2. "OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
AT selection-screen output.
  loop at screen.
    if ods = 'X'.
      if  screen-group1 = 'RD1'.
        screen-input = 1.
        modify screen.
      endif.
    endif.
  endloop.
  loop at screen.
    if file = 'X'.
      if  screen-group1 = 'RD2'.
        screen-input = '1'.
        modify screen.
      endif.
    endif.
  endloop.
Thanks,
-Kiran

Hi Kiran,
Try out the below code -
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: ods RADIOBUTTON GROUP radi DEFAULT 'X'
USER-COMMAND ucomm.
PARAMETER : p_odc(20) TYPE c MODIF ID rd1 . "OBLIGATORY .
PARAMETERS: file RADIOBUTTON GROUP radi.
PARAMETER : p_filpth LIKE rlgrap-filename MODIF ID rd2. "OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF ods = 'X'.
      IF screen-group1 = 'RD1'.
        screen-input = 1.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'RD2'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.
  LOOP AT SCREEN.
    IF file = 'X'.
      IF screen-group1 = 'RD2'.
        screen-input = '1'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'RD1'.
        screen-input = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.
Reward points if found useful...!
Cheers
Abhishek

Similar Messages

  • Text input options missing

    Hi,
    After running some updates yesterday, the "show text input options" is no longer available in the options. Neither can I select suretype when writing a message. Would appreciate some help.
    Thanks
    Solved!
    Go to Solution.

    Had to re-boot after removing an application and everything back to normal! What bugs me is that my service provider tech never brought up a re-boot but rather wanted me to delete all my data and start all over!

  • Missing Some Select input options the Query

    Hello all,
    Normally when i excute a query, it will ask for date range and year, fiscal period etc input options which i have to input to execute a given query. But  for one of the BWuser(sales guy) iam unable to see the fields, can anyone guess what cud be the problem. do you think its something to do with the BW authorization? any ideas to solve the problem are appreciated.
    Thanks
    SP

    Hi, you need to force the variables to be asked.
    Add &variable_screen=X at the end of the URL of the report. Check if then the values are requested.
    Hope this helps.
    Regards,
    Diego

  • How to disable the option of "Overprint [Black] Swatch at 100%" in Indesign by Java Scripting

    Hi Guys,
    We have a requirement where we have to disable the option of "Overprint [Black] Swatch at 100%" in Indesign. This option is available when we go to Indesign ---> Preferences----> Appearance of Black.
    Also, if a user opens a file, in which the swatch is already enabled, then it should prompt him for disabling.
    I am aware of doing it through AppleScripting, however I would be needing it on both mac as well as Windows Workstations and hence as such I require a JavaScript here.
    I am novice to JavaScripting and any help would be highly appreciated.
    Thanks Everyone,
    Abhishek

    Thanks for your response!!
    However, currently this action gets applied to only active documents.
    Can we keep the status disabled after we close the indesign document. We need to have it disabled in the preferences panel.
    Thanks again for your help !!
    Regards,
    Abhishek

  • How to disable the option of "Overprint [Black] Swatch at 100%" in Indesign by Apple Scripting

    Hi Friends,
    I am new to Indesign Scripting by Apple Script. As a beginner, I am trying to do some basic scripting in Indesign by Apple Script.
    My aim is to disable the option of "Overprint [Black] Swatch at 100%" in Indesign. This option is available when we go to Indesign ---> Preferences----> Appearance of Black.
    Also, if a user opens a file, in which the swatch is already enabled, then it should prompt him for disabling.
    I can make a display dialog in AppleScript. But, I am bit unsure as how can I go ahead and disable this option. I tried this below script:
    tell application "Adobe InDesign CS4"
          tell every layout window to set overprint preview to false
    end tell
    However, it is changing the view option to overprint preview.
    Appreciate your help and suggestions!
    Thanks,
    Abhishek

    tell application "Adobe InDesign CS5"
              tell the active document
                        set overprint black of document preferences to false
              end tell
    end tell

  • Validation on Disabled input text

    it seems <af:validateRegExp cannot work inside a <af:inputText disabled='true'>, is there any easy way to have this client side validation on a disabled input text in ADF?

    I am wondering if you could create a transient attribute in the EO that displays the data from the attribute. The "real" attribute would not be disabled, and would then validate.
    You then display the transient attribute on the form, and it would be non-update-able since it is transient.
    You could then place entity level validation on the entity (instead of on the attribute) since it is based on a second value in your form. Haven't tested it, but it would seem to be a solution.
    Stuart

  • How to disable save option from adobe toolbar in Acrobat Reader

    We need to disable Save option from Acrobat Reader plugin in Internet Explorer 8/9/10 version.
    Acrobat version is X.
    Is it possible to disable Save ( Floppy Disk) icon?
    We have disabled printing and copying.
    Please help

    You are, I'm afraid, chasing an impossible security that cannot exist. Many have sought this, but it just isn't there -- and there is so much more than the save button involved.
    If you are a big enterprise with sensitive information consider DRM solutions ($$$$+).

  • Disable cut option in Indesign CS5.5

    Hi,
    I want to disable CUT option in indesign once document is opened. I have added ActionFilter.cpp in my project and added following code in "FilterAction" function,
    IDocument* myDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();
        if (myDoc)
           switch(actionID->Get())
                   CAlert::WarningAlert("1");
                case kCutActionID:
                case kCopyActionID:
                case kPasteActionID:
                   CAlert::WarningAlert("2");
                    *componentClass = kSampleActionComponentBoss;
                    break;
                default:
                    break;
    But it is failed to disable CUT menu. and even warning alert "1" is not displayed. Am I missing anything in this? please let me know.
    Thanks in advance

    Hi,
    I have solved this issue
    took help of SuppUI sample code of indesign.
    Thank you

  • Disable Bluetooth Option

    Our company deals with audio/video media provided by content providers and per MPAA guidelines we need our macs configured where no media content can be copied/transferred out of Macs via External Drives, Wireless, Bluetooth etc.
    I was able to configure mac to restrict copy to external connected drives. But iam wondering how to disable bluetooth option so that data transfer to a bluetooth device can be avoided. Is there a way we can disable or remove bluetooth option in Macs?
    Thanks for yourhelp

    Have you checked this item in BIOS: "BIOS --> Security --> I/O Port Access --> Bluetooth"?
    ThinkPad T500 2082-6PG: T9400(2.53GHz), 2GB RAM, 250GB 5400rpm HD,
    LCD, 256MB ATI Radeon HD3650, Secure chip, Fingerprint reader, WinXP SP2

  • Auxiliary Input option for Factory CD player ster

    I initially bought an FM transmitter to use my micro zen in my car but the quality (and drop outs) were unbearable in the city... so I just received my order for one of these today and installed it in my 2004 Scion xA in about 45 minutes:
    <img src = "http://akamaipix.crutchfield.com/products/2004/58/l58DFTOY-f-.jpeg">
    It didn't cost much more than a good FM transmitter and it's not as flexible (can't easily move it from car to car, DUH!) but the sound is AMAZING! I just figured I would pass on a good experience from adding an auxiliary input option and where you can pick one up for your car.
    My factory stereo only came with a CD player so the tape apapter option obviously wasn't one that I had. I highly recommend <a href = "http://www.crutchfield.com/]crutchfield[/url] because there customer service was phenomenal, I received my order in ONE day, and it came with detailed instructions (with pictures) on how to remove my factory stereo to install it!

    oooo
    ps.
    i meant to include a direct link to the one i bought (specifically for my car). <a href = "http://www.crutchfield.com/S-7CYOw52LiNp/cgi-bin/ProdView.asp?g=82500&I=58DFTOY]here it is.[/url]
    there's a connector on the back (not shown in the picture). it's like an 8-pin connector that you hook up to the back of your factory stereo. in my case, it get's hooked up to the satellite receiver control connector. the 4 inputs on the front (pictured) are the two new audio input channels that you have now "created" on your stereo. i bought a stereo mini to dual rca cable adapter (y splitter). the mini part plugs into you headphone jack and you connect the left and right channels to the box.
    when my stereo powers on, i just push the CD button again and i get what looks like CD changer control options. power up the zen micro (push play) and there you go. i pump the volume up to about 20 on the zen micro and control the rest of the audio with my stereo. it's sounds great! now, i can get rid of all the burned backup copies of my CDs that i keep in my car to listen to.

  • Logic Pro X - Cannot see multiple input options

    Hello,
    I've been using other DAWs(DP and Studio One 2) but I decided to try Logic Pro X and purchased it yesterday.
    I'm using a firewire audio interface which has multiple input options. For example, Ch1 and Ch2 are for mic inputs, ch3 and ch4 are for my external sound module (Yamaha Motif Rack), etc.
    I tried to play and record the sound module on Logic, I first added "New External Midi Track". Then, I added "New Audio Track" to record the sound of sound module, like I do on other DAWs. I tried to select the ch 3-4 as an input for the audio track, however I could only see the input ch1-2 as an option for the track.
    The audio interface's driver is installed correctly. In fact, I can use the input ch 3-4 with no problem on other DAWs.
    Since I'm new to Logic Pro, I might have overlooked how to assign / setup the inputs.
    Can anybody let me know how I can activate input ch3-4 on Logic Pro X?
    Thanks in advance.
    -Holly

    Yeah, after I wrote the post, I found out that this happened because "built-in input" was chosen as a default input source on "Preferences -> Audio". That's why it only showed ch1-2. Now I chose my audio interface as the default input and I could see other channels.
    That's good, however this brought up a new question, if I want to use multiple input options such as two audio interfaces or combination of built-in input and an audio interface, is it possible to do so?

  • Is there a way to disable the option to save files in the cloud for a companies user base in the new subscription model??

    Our corporation is mandated by privacy laws within provincial legislation that prevents us from using cloud based storage outside of our province for the storage of data.  We are unable to continue using Adobe products based on the new subscription based model due to the inclusion of cloud based storage.  We need to have a way to disable the ability/option for our large corporate user base to store data files in the cloud.  Merely having the "option" to store files in a location of one's choice is not sufficient based on the policies we are legally forced to adhere to.  Without the option of disabling the cloud storage for our user base we will be forced to look at other vendors products to fill the needs we have that are currently filled by the Adobe line of products.  We would prefer to stay with Adobe products...so if someone knows how to disable this option (via registry edits, etc.), please advise.

    hi Nikolay,
    there is no clean solution for your problem. Browsers cache files by url, you can avoid caching appending in query string unique value per deployment. For example
    _layouts/my_js_file.js?v=<current date> - will be refreshed from cache when day changes
    _layouts/my_js_file.js?v=<GUID> - if guid is generated on every request, this file should never cache
    _layouts/my_js_file.js?v=<product version> - more preferable solution, browser will update cache on every new version that was deployed
    Actually, ScriptLink should take care about this, internally it has a method that appends unique id into query string based on js file content, if content changed, hash is also changed and new unique id is generated.
    Check Below link for more information
    http://sharepoint.stackexchange.com/questions/57874/how-to-avoid-caching-issue-when-using-custom-javascript-and-css-deployed-under
    You can also check this link
    http://www.sharepointnutsandbolts.com/2011/11/avoiding-bugs-from-cached-javascript.html
    Please mark the Answer and Vote if it will help to resolved your issue

  • How to disable the option of Resart for application error in SXMB_moni

    Hi Experts,
    I have a scenario of JDBC to Proxy.In this we have created Fault message type to capture any error.The requirement is to disable the option of Restart in SXMB_MONI for application error generated with Fault message.We have made coding for generating application error in inbound proxy code.Looking for a quick reply.
    Thanks
    Deepak

    Hi Mayank,
    I am looking for disabling the "Application Error" generated from Fault message of inbound proxy to "Resart" using Resart button in SXMB_moni of Application system ECC.what I am referring to is how to disable u201Crestartu201D (not resend) of the messages in SXMB_MONI if they have errors.
    For example, the interface to load some entries calls a proxy which may load some messages successfully and some may result in errors. This would appear in the SXMB_MONI with application errors with restart capability. If the user restarts the message it will post the entries again which were successfully posted earlier. We would like to prevent this from happening.
    Thanks
    Deepak
    Edited by: deepak jaiswal on Mar 2, 2010 5:19 PM

  • GRC CUP to disable mitigate option

    Hi,
    How can i disable mitigate option,when approver do risk analysis,we don't want approver to assign/create mitigate control .I know if i wouldn't put mitigation URL in mitigation can work.But, in SP14 if i remove mitigation URL. approver gets 500 server error.
    Any solution.
    Thanks
    MUSHU.

    Try removing the permissons Viewmitigation and create mitigationcontrol from the role.
    Regards,
    Chinmaya

  • How to Disable edit option in Logon pad

    Hi,
    How to disable edit option in logon pad
    thanks

    Actually if you are looking to disable the "Edit" option so end users cannot change or modify the existing  Logon Pad options systems, you can.
    What version are you using for SAP GUI?
    7.10 has icons to the right which allow changes. (New, edit, etc)
    7.20 has icons across the toolbar at the top. (pencil, paper, trashcan)
    For both versions, Navigate to C:\Program Files\SAP\FrontEnd\SAPgui (Default location)
    In there you will find 2 executeables:
    saplgpad.exe
    saplogon.exe
    If you run the saplogon.exe it will allow edit, delete and modify
    If you run the saplgpad.exe:
    On the 7.10 version the buttons are gone.
    On the 7.20 version, the buttons are grayed out.
    Hope this is what you are looking for.
    Regards,
    Zecher

Maybe you are looking for

  • Error while using the Bapi   BAPI_GOODSMVT_CREATE

    Hi all, I am using the BAPI     BAPI_GOODSMVT_CREATE to Upload the Data in MB01 and for creating the MATERIAL DOCUMENT  for Multiple Lineitems at a time. But i am getting the error as  * NO ITEMS WERE TRANSFERRED* I am using two separate intenal tabl

  • Printing Low-Res in InDesign

    hi there! I'm trying to print a file directly from InDesign with lo-res settings. I'd like to use it for quick review (content only) so that images do not need to be high quality. I remember in QuarkXPress you could reduce the lpi when printing and t

  • Install Oracle DB as service that should be started manually

    Hi! I have laptop computer (Windows Business Vista) with small main disk space and I would like to install Oracle DB on removable HDD (I have already many programms installed there; RAM is sufficienly large to accomodate them) and my plan is to insta

  • How do I set photoshop to process raw files in background all the time?

    Sometimes when I process my raw files in photoshop it will process them in the background. Other times it will make me wait while the files process until I can access photoshop again. Anyone know why this happens or how I can consistently process raw

  • Any one with BT using Apples Mail need help

    Hi Anyone with BT and using Apples Mail please can you please send me all the settings that are needed. I have tried BT web site and even used on line help but nothing has helped. The problem is I can receive but not send, the message goes into the o