How to delete selection criteria for select-option in program

Hi all,
I have a selection screen with few select-options. the question is if i inserted some value at the select option, how can i delete the selection criteria in the program ? example if i have 3 radio button A,B,C. if I click rb A, select option A1 will be active and other 2 select oprtion B1 and C1 will dim, when I click rb B, the value at select option A1 will be deleted and dim and at the same time, B1 will be active, C1 will dim. when i click rb C, the value at A1 and B1 will be cleared if there is any value in it and then A1 and B1 will dim but C1 will be active. I've found a way to make the select option active n inactive when depending on which rb i click, thanks to a forummer here but to clear the value when the select-otpion is inactive?
Thanks for any help.

Hi
See the sample code and do accordingly
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
pa_vkorg TYPE vbak-vkorg MODIF ID abc.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
s_date FOR gs_lfa1-erdat MODIF ID def,
s_augru FOR gs_vbak-augru MODIF ID def,
s_vbeln FOR gs_vbak-vbeln MODIF ID def.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
IF pa_rep EQ gc_x.
LOOP AT SCREEN.
IF screen-group1 = gc_abc.
screen-input = gc_zero_num.
ELSEIF screen-group1 = gc_def.
screen-active = gc_one_num.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEIF pa_upd EQ gc_x.
*For Reprocessing
LOOP AT SCREEN.
IF screen-group1 = gc_def.
screen-input = gc_zero_num.
ELSEIF screen-group1 = gc_abc.
screen-active = gc_one_num.
ENDIF.
MODIFY SCREEN.
CLEAR pa_upd.
ENDLOOP.
ENDIF.
REPORT zrich_001.
PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
                        user-command chk,
            p_rad2 RADIOBUTTON GROUP grp1.
SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
                s_datum2 FOR sy-datum MODIF ID d2.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF p_rad1 = 'X'
      AND screen-group1 = 'D2'.
      screen-active = '0'.
    ENDIF.
    IF p_rad2 = 'X'
     AND screen-group1 = 'D1'.
      screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji

Similar Messages

  • Additional selection criteria for RHECM_CREATE_COMP_PROCESS (create compens

    Dear All,
    There is a requirement to add additional selection criteria for  RHECM_CREATE_COMP_PROCESS.
    Compensation Plan needs to take several optiions rather than a single option.
    Incentive Plan Type to be added as additional selection criteria
    Do we need to copy the standard program and then modify it or there can be some other way out for it.
    Thanks and Regards
    Shraddha

    have checked out the SDN forums quite throughly and have come up with a couple of questions/solutions.
    1) Copy the program into Z-name space and add in the code
    Question: Where to specifically add the code, the program is huge with multiple enhancement points being seen in the code.
    Can someone please guide me where I can change the displayed records, point where iI can append data or change the internal table being sent for ALV display.
    <b>---> U have to find out , where /how  they defined Selection screeen , final output they are displaying.</b>
    2) Make changes in SPRO>Define field selection for material document list.
    Question: The required field is not present within the listing, It does give the option to make new entries, but I have to specify a program/table and field.
    If I create my own program to get the details and display onto an ALV Grid, will the program be called when I make selections on that requisitioner field?
    <b>---> lot of work to do</b>
    3) This is text copied from a thread, I have lost the link to it.
    Create a Z report that is a copy of the selection include of the standard selection screen include with the additional selection criteria.
    - Export the extra selection criteria value to shared memory.
    - Submit the standard VL10G program with the selection sets.
    - In user exit (depends on which field needs to be checked), import the extra selection criteria value back in and filter the selected data set.
    Could someone please guide me if it is possible to do the above within RM07DOCS, and a little more detail on how to go about it?.
    <b>Better Options --->try to get the logic of MB51 , then do changes which are required.
    most of data , u will get it from MSEGMKPFMARA+MBEW.</b>
    revert back in case of any other issues.
    Regards
    Prabhu

  • Archiving: adding more selection criterias for MM_EKKO

    Is there a possibility for adding new selection criterias for object MM_EKKO? Any exits for Release 4.6c?

    Deactivated means that you have executed a 2-step archiving.
    You have different residence times. SAP set the deletion flag if residence time one is met, but residence time 2 not yet.
    If both times are met, the PO gets archived.
    for examples see OSS note 948493 - Residence time in new reports RM06EV47, RM06BV47
    You probably have customized the test variant for MM_EKKO as production variant, other wise SAP would not have updated your database.

  • DB14 Backup - No logs exist for the selection criteria for system DEV

    Hello Expert,
              When i click on BRBACKUP button Its showing the info message "No logs exist for the selection criteria for system" .
    so please suggest me where i need to maintain the selection criteria.
    Thanks & Regards
    Annasaheb

    Hi Anna,
    As told by Markus and Eric above...
    you never made a backup on you new installed system....then how system will show you backup details(which were not happened in real)
    Why you are searching for money in an empty pot
    Regards
    Nick Loy

  • SLED for selection criteria for batch search

    good day gurus,
    Is it possible to use SLED (LOBM_VFDAT) as a selection criteria for my batch search? how do i set this up?
    Thanks in advance
    Edited by: obie villamosa on Jun 30, 2008 11:06 AM

    hi
    maintained class in t-code CL01 for you characteristics then sort sequence CU70 as per shelf life, setting expiration date check by OMJE for your plamt and movment type,
    maintained strategy type in spro in production
    Define Batch search procedure and assign your strategy there.
    then allocate your search procedure to your plant in spro
    and then maintained condition type in t -code COB1 for your plant.
    also maintained your class in material master in classification view for batch class
    Regards
    Pravin
    Edited by: pravin dhokey on Jun 30, 2008 8:07 AM

  • Selection criteria for KFS?

    Hi,
    is it possible to have selection criteria for the Key figurs while desingning the query?
    If yes, please explain me how this could be achived?
    Thanks,
    Ravi

    Hi ,
    Thanks for the answers!
    My scenario is:  I have a sales document cube as well as deliveries cube! There are queries as well on these cubes!
    Now , the requirement is to make a query having the info of both the cubes with the selection criteria as promised date! i had so created multicube and designed a query as well.
    As promised date is keyfigure in both the cubes, i wonder whether this could be possible and thats why i posted my query!
    now i think you can throw some light into it!
    Thanks,
    Ravi

  • How to set background color for selected days in DateChooser

    How to set background color for selected days. I created
    checkbox for each day [Son,Mon,Tue,Wed,Thu,Fri,Sat] and a
    DateChooser, I want to change the background color for the selected
    day when i click on a button after selecting the desired checkboxs
    [ monthly wise/yearly wise]
    Thanks in advance

    There is no button involved in the following code, but it may
    be of use to you:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    private var origColor:uint;
    private function init():void {
    origColor = dc.getStyle("selectionColor");
    public function setBackGrdColors(newColor:uint):void {
    dc.setStyle("selectionColor", origColor);
    if(dc.selectedDate){
    var dayOfWeek:Number = dc.selectedDate.day;
    else{
    return;
    switch(dayOfWeek) {
    case 0:
    if(sun.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 1:
    if(mon.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 2:
    if(tue.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 3:
    if(wed.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 4:
    if(thu.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 5:
    if(fri.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 6:
    if(sat.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    default:
    break;
    ]]>
    </mx:Script>
    <mx:VBox horizontalAlign="center" verticalGap="20">
    <mx:DateChooser id="dc" textAlign="left"
    change="setBackGrdColors(cellColor.selectedColor)"/>
    <mx:HBox width="100%" horizontalAlign="center">
    <mx:CheckBox id="sun" label="Sun"/>
    <mx:CheckBox id="mon" label="Mon"/>
    <mx:CheckBox id="tue" label="Tue"/>
    <mx:CheckBox id="wed" label="Wed"/>
    </mx:HBox>
    <mx:HBox width="100%" horizontalAlign="center">
    <mx:CheckBox id="thu" label="Thu"/>
    <mx:CheckBox id="fri" label="Fri"/>
    <mx:CheckBox id="sat" label="Sat"/>
    </mx:HBox>
    <mx:HBox width="300" horizontalAlign="center">
    <mx:Label text="Background Color" />
    <mx:ColorPicker id="cellColor"
    selectedColor="#FF00FF"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>

  • Student number as selection criteria for FICA transactions

    Hi experts,
    Is it possible to have the student number as a selection criteria for FICA transaction, for example for payment assignment, among others?
    Do you have a coding example?
    Regards.

    FUNCTION CMAC_EVENT_0210.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_SELTAB) LIKE  ISELTAB STRUCTURE  ISELTAB
    *"  TABLES
    *"      T_SELTAB STRUCTURE  ISELTAB
    *"  EXCEPTIONS
    *"      UNKNOWN_SELECTION
      DATA: ld_student12   TYPE piqstudent12,
            ld_partner     TYPE bu_partner,
            ld_student(12) TYPE n.
      IF i_seltab-selfn <> c_student12.
        RAISE unknown_selection.
      ELSE.
      to get leading zero's move the student number in a NUMC-field first
        ld_student   = i_seltab-selcu.
        ld_student12 = ld_student.
        CALL FUNCTION 'HRIQ_CMACBPST_SELECT_WITH_STID'
          EXPORTING
          IV_STOBJID                     =
            iv_student12                   = ld_student12
          XREAD_BUFFER                   = 'X'
          IMPORTING
            ev_partner                     = ld_partner
          EXCEPTIONS
            student_not_found              = 1
          INVALID_PARAMETER_ASSIGN       = 2
          OTHERS                         = 3
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ELSE.
          i_seltab-selfn = 'GPART'.
          i_seltab-selcu = ld_partner.
          CLEAR: i_seltab-xsfex,
                 i_seltab-selco,
                 i_seltab-selwu,
                 i_seltab-selwo.
          APPEND i_seltab TO t_seltab.
        ENDIF.
      ENDIF.
    ENDFUNCTION.

  • Can we change the selection criteria for RV60SBAT Background Job for Billin

    We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
    Thanks,
       Matt

    Hi Matt
    For your requirement , copy the standard  RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
    Regards
    Srinath

  • How to delete table content for particular filed in a table?

    Hi Experts,
    How to delete table content for particular field in table?
    Thanks
    Ravilla

    Is it a standard or customer table, changing a standard table with non-standard tool can raise database inconsistencies...
    Then use search tool for &SAP_EDIT (*) or look for BAPI/BDC...
    Regards,
    Raymond
    (*) Also look for notes from 1420281 - CO-OM tools: SE16N: Deactivating &SAP_EDIT to 1915828 - CO-OM-Tools: Technical enhancement of SE16N

  • Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?

    Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
    Thanks in Advance

    I don't think there is a way for Edge Code. I'm not sure about Reflow.
    Why don't you just upgrade? That will stop the notifications.
    Randy

  • How to delete the Infoobjects for a particular dimension?

    Hi,
    How to delete the Infoobjects for a particular dimension?
    ( when i was trying to delete dimensions it is saying that the dimension contains infoobjects , u can not delete the dimension, what 2 do?)
    Thanx in advance,
    Ravi.

    Ravi,
    If you want to remove the Infoobject from Dimension then you need to delete the data from the cube and then remove the infoobject from that particular Dimension. I mean delete the assignment for that Infoobject.
    Assign Points if it helps..
    Incase if you need more help.. Please call me..
    Gattu

  • I have an iPad and want to know how to delete email addresses for those that I have sent email to.

    I have an iPad 2 and want to know how to delete email addresses for those that I have sent mail to.

    Email addresses that are not in your Contacts app but which still show up in Mail will disappear after a period of time when they are unused. Just ignore them and they will eventually go away.

  • How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    I have the latest adobe creative cloud and i'm using Mac 10.8.2
    My client gave me a wmv file that she wants some people blurred out in the background but when I go to import the media, it's greyed out. I'm assuming that After Effects will be the best solution for this, but maybe there is another way.
    I can purchase a video converter and convert it to .mov but that costs extra money that I don't want to spend just to do this one project.

  • How do I sign up for the creative cloud program for photographers?

    How do I sign up for the creative cloud program for photographers?

    I think there will be a link in this... Cloud Plans https://www.adobe.com/products/creativecloud/buying-guide.html

Maybe you are looking for

  • MOH not working on specific phone number after uploading new MOH file

    We have Cisco Unified CM Administration version 8.0.3.20000-2. Our college has a global MOH (music on hold) file (MOH_040208) that plays for everyone.  I was trying to figure out how to upload a different music file (MOH_101311) to see if I could get

  • REQ: cookbook on BP

    REQ: cookbook on BP, i need a cookbook for BP. If any of you have a god pdf on this please send it to    [email protected]

  • Win98 se problems/jdk1.2.2

    I installed jdk1.2.2 and when i want to compile, i gotta type all the paths like: cd C:\jdk1.2.2\bin\ javac C:\Java\java.java and its getting me mad. people say to change the PATH in autoexec.bat, but i cant find it on my computer. i can only find au

  • Email sent not in sent mail.

    Email sent not in sent mail, where I find them?

  • Pdf printer offline

    After installing Reader 9.0 my pdf printer went offline.  Cannot print to pdf from any application. I am using Acrobat 6.0 and when trying to repair the program from the original disk an error code said that the patch was not valid. Any suggestions?