HOW TO DESIGN RANGE SELECTION IN MODULE PULL LIKE SELECT-OPTION.

HOW TO DESIGN RANGE SELECTION IN MODULE PULL LIKE SELECT-OPTION.
how can we add range selection in screen painter.
regards.

Hi,
   create two input fields and a push button like select option in the screeen.
Try checking this logic
<b>Program:</b>
<b>ranges</b> ra_matnr for mara-matnr.
<b>Layout field name declaration:</b>
Give the low field name as ra_range-low
  and high field name as ra_range-high.
extension for pushbutton.--exten(function code)
next -- function code for the enter key.
PBO
module status_3000.
PAI
module user_command_3000.
<b>module user_command_3000.</b>
if sy-ucomm = exten.
  call screen 400. (screen which shows extension values can be kept).
elseif sy-ucomm = Next.
if ra_matnr-low is not initial.
    ra_matnr-SIGN = 'I'.
    ra_matnr-OPTION = 'EQ'.
    APPEND ra_matnr.
    clear ra_matnr.
endif.
if ra_matnr-high is not initial.
    ra_matnr-SIGN = 'I'.
    ra_matnr-OPTION = 'EQ'.
    APPEND ra_matnr.
    clear ra_matnr.
endif.
endif.
endmodule.
module status_3000.
read table ra_matnr  index 1 into ra_matnr .
set pf-status '3000'.
set title '3000'.
endmodule
Br,
Laxmi.

Similar Messages

  • How to assign ranges ( select-option)to field symbol

    Hi ,
    I have following scenario
    ranges : r_test1 for agr_1251,
                 r_test2 for agr_1251.
    In runtime i am getting which range i have to populate in a field v_rname.for now let it me v_rname  = 'r_test2'
    i want to assign (v_rname ) to <field -symbol> ie is range to field symbol.
    and i want to update the <field -symbol>-sign ='I'
                                        <field -symbol>-LOW ='some value'
                                        append <field -symbol>.
    This is the logic i want to follow,  for this how should i have to declare the field symbol ? I couldn't assign a range to field symbol . Please help me.
    thanks
    Murali

    Try this
    FIELD-SYMBOLS : <field_symbol>  TYPE ANY TABLE.
    ASSIGN (v_rname) to <field_symbol>.
    <field -symbol>-sign ='I'
    <field -symbol>-LOW ='some value'
    append <field -symbol>.
    This should work because your range is a table.
    Hope this helps you.

  • How can i decleare select-options in module pool table control?

    Hi everybody!!
    Can anyone tell me how can I decleare select-options in module pool table control screen?. I have declared it in a screen with a table control but a dump is triggered due to an error when generating the selection screen.
    Regards...

    My suggestion will be try to use fm
        call function 'FREE_SELECTIONS_DIALOG'
    Please search this forum you can find lot of threads related to this.

  • How to create the select option for the Plant in screen (Module pool)

    HI,
    I am developing one module pool program and I have below requirement,
    currently plant is acting like PARAMETER and the now it should be changed to select option.
    how to create the select option in the screen
    Thanks and regarding,
    Malla
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Dec 16, 2009 1:41 PM

    Steps to get SELECT-OPTIONS in module pool programs.
    1.Start one dialog program with SAPMZ_001.
    Place the below code in the TOP include of the dialog program.
    TABLES marc.
    SELECTION-SCREEN BEGIN OF SCREEN 3200 AS SUBSCREEN.
    SELECT-OPTIONS: werks FOR marc-werks.
    SELECTION-SCREEN END OF SCREEN 3200. 
    2 .Create one screen 3000.
    Go to Layout of the screen and Define subscreen area on the screen and Name it as l_subscreen.
    Place the below code in the Flow logic of the screen.
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN l_subscreen INCLUDING 'SAPMZ_001' '3200'.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN l_subscreen.
    Activate all.
    Create Transaction code for the dialog program .
    Execute the transaction code. You will see the select-option for werks how we see on Selection-screen.

  • How to do range selection for connected clips?

    How to do range selection for connected clips? Whenever I press I or O, it only selects the primary storyline. I want select a portion of the connected clip and trim it.

    If you're using the 10.1.x, and if you set the playhead, so that the circle is over the connected clilp (you don't even need a range selection OR have the clip selected) you can type Option - [ to trim from the beginning of the clip to the playhead; you can type Option - ] to trim from the playhead to the end; or if you do set a Range selection, you can type Option - \ (backslash) to trim both ends off the clip preserving the range selection.
    If that circle isn't over the connected clip you require (perhaps you have a stack of clips) then you will need to click on the clip you need to have selected for the trim operation.

  • How to create the select option in the screen

    HI,
    I am developing one module pool program and I have below requirement,
    currently plant is acting like PARAMETER and the now it should be changed to select option.
    how to create the select option in the screen
    Thanks and regarding,
    Malla
    Moderator message - Please search before asking - post locked
    Edited by: Rob Burbank on Dec 16, 2009 1:41 PM

    Try RANGES.
    The RANGES has same structure as that of select-options.

  • Dialog programming - How to place a select-option field in a dialog screen

    Hi all,
    In Dialog Programming, How to place a select-option field in a dialog screen.
    Kindly give me some example code...
    Thanks,
    Jaffer Ali.S

    hi Ali,
    U can add select-options in ur module pool by using  SELECTION-SCREEN BEGIN OF SCREEN <scrn> AS SUBSCREEN  command.
    check this link for reference.....
    http://help.sap.com/saphelp_47x200/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm
    Example Code :
    DATA : ok_code TYPE sy-ucomm.
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X',
                p_rad2 RADIOBUTTON GROUP grp1,
                p_rad3 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_matnr FOR  mara-matnr,
                    s_matkl FOR  mara-matkl,
                    s_mtart FOR  mara-mtart.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 1010.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CALL SCREEN 1010 .
    ENDMODULE.                    "status_0100 OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    SCREEN 100 ****************
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      CALL SUBSCREEN sub_1010 INCLUDING sy-repid '1010'.
    <b>***** where sub_1010 is name of sub-screen area</b>
    PROCESS AFTER INPUT.
      CALL SUBSCREEN sub_1010.
      MODULE user_command_0100.
    <<< REMOVED BY MODERATOR >>>
    Harimanjesh AN
    Edited by: Marcelo Ramos on Dec 17, 2008 7:54 PM

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • How to hide the select-options fields on radiobutton select in webdynpro

    hi
    Could you please help how to hide the select-option fields in webdynpro
    there are four radio buttons
    for every radiobutton there is corresponding the select_option filed is associated to it
    user as only provision select  one radio button and reset of the select-option fileds should be hidden
    which ever the radio button is selected corresponding the select-options fileld should be displayed
    please find the attachement below

    Hi Nine,
    To hide select options you should use interface method REMOVE_SELECTION_SCREEN_ITEM of IF_WD_SELECT_OPTIONS.
    Sample code :
    Write the below code in the Event handler of Radio Button.
    DATA lv_r_helper_class TYPE REF TO if_wd_select_options.
    lv_r_helper_class = lo_interfacecontroller->init_selection_screen(
    lv_r_helper_Class->REMOVE_SELECTION_SCREEN_ITEM(exporting i_id = 'Select_option1_id1').
    This will hide first select option of your screen.Similarly pass select_option_id2 to hide it and so on.
    Regards,
    Ravikiran.k

  • How to disable the select options button, while audio is playing in the question template in captivate 8?

    How to disable the select options button, while audio is playing in the question template in captivate 8?

    Apologies for late reply.
    I mean "On Question screens audio keeps on playing even after we have selected an option or options depending on the question type and clicked Submit. How do we stop the audio on selecting an option?"

  • How to modify a select option without range and mutiple selection??

    hi all,
    i need to modify a select option by removing the range and option for multiple entry. i other words i need to make select option as parameter.( because i cannot use parameter in my program due to some constraints.)
    is it possible to change the select option as per my requirement if yes please let me know how is it possible.
    Thanks in advance.
    Sreekanth.

    hi,
            Yes u can use code like following way..
    select-options : s_matnr for mara-matnr no-extension no intervals.
    Reward if helpful.
    Regards
    Gagan

  • How to design channel select VI for Agilent34970A

    Hello Guys,
                 I want to design a temperature data acquisition system by using 34970A,but now i have a problem that i don't know how to design a channels selecting vi?
    My idea is to select any channel from multiple channels to scan,pls help me for explaining how to do,because my labviw knowledge and experience  is so poor.

    Thanks for the response.  In order to incorporate the sampling information (sampling frequency) into my data ( 160 X 512 2-D Array), I use "Build Waveform.vi." However, for the input argument "Y," I can only use a 1-D array.  I try with my 2-D array, but it gives me a connection error.  So, my first thought was to stick the Build Waveform.vi into a for loop with a shift register.  I use an indexing tunnel node when guiding my data array into the loop.  I then connect the 1-D array to the build waveform.vi, and send the output to a "Build Array.vi" where the output goes to the shift register, and the other input comes from the first shift register.  What prevents this from working i.e., creating a 2-D waveform array, is that the option to uncheck the "Concatenate Inputs" is not available when i right click on the  Build Array.vi.  I notice that I do have the option to uncheck it when i'm just using 2 waveforms without the shift register.  Would you have any suggestions?  I want keep it running as efficient as possible, so i figured that I might want to avoid doing the filtering 160*13 times, manually.
    would there be any advantage to using the Digital IIR Filter.vi over the Butterworth Filter.vi ?  The input for the former is a waveform while for the latter is a plain ol' array, but i notice that i can send a waveform into it and i don't get an error.
    Message Edited by Alias77 on 07-17-2007 06:35 PM

  • How to pass a SELECT-OPTION to a FUNCTION-MODULE

    Hi forum:
              How can i pass a selection-option like an input parameter of a function-module?. Put one example in the answer, please.
              After pass this value i want to put this into an IN select condition.
       But for i only need know how to pass this value
    thnks
    Josué
    Thnks
    Josue Cruz

    Hi Rich.
       this is a little example of my code.
       DATA: wa_bukrs TYPE bkpf-bukrs,
                  wa_budat TYPE bkpf-budat,
                  wa_gjahr TYPE bkpf-gjahr.
       SELECT-OPTIONS: se_bukrs FOR wa_bukrs OBLIGATORY,
                    se_gjahr FOR wa_gjahr OBLIGATORY,
                    se_budat FOR wa_budat OBLIGATORY.
      HERE i can to put the call to the function.
    Thnks

  • How to degin a  select-option in screen painter?

    Help me !
    How can i create an object  like select-option  in screen painter.
    I want to input a range ,but there are no button or text   in screen painter  like  select-option?

    hai u can create select options on screen but in little differernt way..
    1st way : if u want to give only 1 interval then declare on screen as two different variables in same line
    and after that append the value in ranges.
    2nd way: here u can define as asingle input vriable  beside that variable u can give a icon as extension in select option and give give some function code to that.if we click on that in user command write following code :
      IF V_OKCODE = 'EXT'.
        CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
                 TITLE             = 'Title'
                 TEXT              = 'Text'
                 SIGNED            = 'X'
            LOWER_CASE        = ' '
            NO_INTERVAL_CHECK = ' '
            JUST_DISPLAY      = ' '
            JUST_INCL         = ' '
            EXCLUDED_OPTIONS  =
            DESCRIPTION       =
                 HELP_FIELD        = 'T001W-WERKS'
            SEARCH_HELP       =
             TABLES
                  RANGE             = R_WERKS
            EXCEPTIONS
                 NO_RANGE_TAB      = 1
                 CANCELLED         = 2
                 INTERNAL_ERROR    = 3
                 OTHERS            = 4
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    help field the field reference wich u want to declare and range is where values will be stored atomatically as in select options.
    once we click the icon if we execute the function module a window will open as in selection option in reports.there user can enter the values.once the user enters the values it will stored automatically in ranges declared like r_werks in above example.
    try it..

  • Select Options: How to preallocate the select options values?

    Hi All,
    I have been trying to preallocate my select options. I want to read all values a user is authorized for and set them in the range of the select options fields (before the are actually shown to the user). However, I wasn't able to..
    Does anybody know how to do that and can provide codong examples?
    Thanks, Johannes

    Hi Johannes,
    Refer to the below link which has an article on the same topic with code snippets-
    http://www.divulgesap.com/blog.php?p=NjY=
    Regards,
    Ravikiran

Maybe you are looking for

  • How can we stop the finger pointing?  Apps Vs iPad

    Here is a WiFi problem I sent the Print Magic HD developer with the hopes of getting Print Magic HD working on my iPad. Check out their response blaming Apple WiFi. My Wifi works well with all other Apps! Whose to blame? Set up: Print Magic HD versio

  • Why Apple store can't Upgrade the storage for Macbook Pro Retina after sale?

    Hello everyone I am disappointed from apple store . One month ago i bought the new MacBook Pro Retina with storage 256 GB and now i would like to upgrade the storage to 768 GB as mentioned in there website where you can configure the storage higher,b

  • Internal Hard Drives for Apple Mac Pro

    Hello there, Does any one have some advice on the following internal HDs. I am in Germany and this is what I have found that I am interested in. I just don't know if they all are for Apple Mac Pro because the provider doesn't specify. 1) HD 1000GB We

  • Some files are not visible on external drive

    i have recently upgraded my laptop to Mac osx mountain lion, and inorder to have write access to NTFS drives i use paragon NTFS for Mac software which was working well with OSX Lion. After i have installed OSX mountain lion i can only see the files w

  • Aperture 3 and Remote Library Management

    I'm a photographer and often travel internationally. Having experienced data loss before, I'm trying to remove this factor altogether by using a Mac Mini Server that I can connect to while on the road. I have Lion Server installed, but not sure if th