Is possible in a dialog screen attach a field functional like select-option

hi,
   Is it possible - in a dialog screen - to attach a field that has functionality like Select-options fields?
And if so - how?
and information about complex_selections_dialog

Hi,
Look at the below links
module pool programming " to add selection-option on screen"
module pool programming " to add selection-option on screen"
Regards
Sudheer

Similar Messages

  • Selection screen framebox's width extension and select option position

    Hi,
    when i code the following, the select option multiple selection button falls outside the framebox. Is there any way to increase the frame's width or adjust the select option's button? Can I control the select options' distance between the text and input field, the distance between input field skstar10-low and skstar10-high, as well as the position of the word "to" (at the left of skstar10-high)?
    SELECTION-SCREEN BEGIN OF BLOCK C10_12 WITH FRAME.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (11) TEXT-042 FOR FIELD skstar10.
    SELECT-OPTIONS: skstar10 FOR cosp-kstar.
    SELECTION-SCREEN COMMENT 61(11) TEXT-043 FOR FIELD skstar11.
    SELECT-OPTIONS: skstar11 FOR cosp-kstar.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK C10_12.

    Hi,
    Try this
    SELECTION-SCREEN BEGIN OF BLOCK c10_12 WITH FRAME.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (11) text-042 FOR FIELD skstar10.
    SELECT-OPTIONS: skstar10 FOR cosp-kstar.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (11) text-043 FOR FIELD skstar11.
    SELECT-OPTIONS: skstar11 FOR cosp-kstar.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK c10_12.

  • Selection-screen in a Dialog Screen

    Hello,
       I want to create a selection screen in a dialog screen with all its functionality specially the option for multiple selection like want I'm doing in a report-type program. Is this possible?
    tnx,
    Jeff

    Hi Jeffrey
    As Harald mentioned, it is possible. You can check out Re: Store select-options on database to find some more information.
    As another thing, since you are a new SDN member, you are welcome and let me introduce you the SDN forums pointing system: You can assign points to posts you find while helpful solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
    - one 10 points (solved)
    - two 6 points (very helpful answer)
    - many 2 points (helpful answer)
    Kind regards...
    *--Serdar

  • Can't initialise dialog screen fields with values

    Hi.
    I have a dialog screen with 10 fields named
    TXT_FILEDESC1, TXT_FILEDESC2, ...TXT_FILEDESC10.
    I tried to initialise these 10 fields with the following codes, but I got an error message:
    DATA: TXT_FILENAME TYPE ZDM_OF-FILE_NAME,
          TXT_FILEDESC TYPE ZDM_OF-FILE_DESC.
    FIELD-SYMBOLS: <FS_TXT_FILENAME>, <FS_TXT_FILEDESC>.
    MODULE PBO_9000 OUTPUT.
      SET PF-STATUS 'STATUS_9000'.
      SELECT FILE_NAME FILE_DESC FROM ZSCSDM_OF INTO TABLE SCREEN_INIT.
      LOOP AT SCREEN_INIT INTO SCREEN_INIT_LINE.
        SCREEN_INIT_NO = SY-TABIX.
        CONCATENATE 'TXT_FILEDESC' SCREEN_INIT_NO INTO TXT_FILEDESC.
        ASSIGN (TXT_FILEDESC) TO <FS_TXT_FILEDESC>.
        MESSAGE E002(ZMSGGARY) WITH TXT_FILENAME.
        <FS_TXT_FILEDESC> = SCREEN_INIT_FILEDESC.
        ENDLOOP.
    ENDMODULE.                    "PBO_9000 OUTPUT
    Runtime Error - A new value is to be assigned to the field "<FS_TXT_FIELDDESC>", although this field is entirely or partly protected against changes...
    Could anyone share why I got the above error message when i try to run the program (Execute --> In A New Window)? Thanks.
    null

    I got the reason for the error. It's because I did not clear the contents of TXT_FILENAME before the next loop.
    LOOP AT SCREEN_INIT INTO SCREEN_INIT_LINE.
    <b>TXT_FILENAME = ''. ==> This solves the problem.</b>
    CONCATENATE 'TXT_FILEDESC' SCREEN_INIT_NO INTO TXT_FILEDESC.
    ENDMODULE. "PBO_9000 OUTPUT

  • Attaching a search help to a selection screen "Select-options"

    Hello ABAPers,
    I have  a requirement to attach a search help to "select-options" .
    When I checked the table corresponding to the field of select-options,I found that there is no search help assigned for that field.
    I have tried using AT Selection-screenON VALUE-REQUEST and Matchcode Object .
    However, Matchcode Object requests for standard search help name.
    On value-request assign shelp only for the lower linit,but on pressing F4, gives no values found.
    Tried using  the FM F4IF_INT_TABLE_VALUE_REQUEST also. But this is for the POV event.
    Could anyone please suggest a solution for this problem?

    Hi,
       As you are using this Z search help in select options there is no way of interfering with standard SAP table.
    You can declare it as:
    Select-options QNAME for TQRFCOUT-QNAME matchcode object <Z search help name>.

  • Select-options in Dialog Programming

    Hi,
    I am designing a custom dialog programming screen.
    I want to create a filed on thescreen which can allow the range of values to be entered like select-options in a report.
    How do I create a field which can accept range of values in dialog programming?
    Thanks,
    Ashok.

    Hi,
    In your selection screen program, Use Export  command
      Export r_Purchase_Order To Memory Id 'PO'.
                 Export r_Po_Item        To Memory Id 'POITEM'.
                 Export r_Plant          To Memory Id 'PLANT'.
                 Export r_Vendor         To Memory Id 'VENDOR'.
                 Export r_Material       To Memory Id 'MATNR'.
                 Export r_Batch          To Memory Id 'BATCH'.
                 Export r_Arrival_Date   To Memory Id 'ADATE'.
                 Export r_Arrival_Time   To Memory Id 'ATIME'.
                 Export r_Delivery_No    To Memory Id 'DEL'.
                 Export r_Reference_No   To Memory Id 'REF'.
                 Export r_User           To Memory Id 'USER'.
                 Export t_Display_Data   To Memory Id 'DISPDAT'.
    In your Module pool program, Use Import Command
        When c_Ok_0100_Execute.
                   IMPORT r_Purchase_Order From Memory Id 'PO'.
                   IMPORT r_Po_Item        From Memory Id 'POITEM'.
                   Import r_Plant          From Memory Id 'PLANT'.
                   Import r_Vendor         From Memory Id 'VENDOR'.
                   Import r_Material       From Memory Id 'MATNR'.
                   Import r_Batch          From Memory Id 'BATCH'.
                   Import r_Arrival_Date   From Memory Id 'ADATE'.
                   Import r_Arrival_Time   From Memory Id 'ATIME'.
                   Import r_Delivery_No    From Memory Id 'DEL'.
                   Import r_Reference_No   From Memory Id 'REF'.
                   Import r_User           From Memory Id 'USER'.
                   Import t_Display_Data   From Memory Id 'DISPDAT'.
    Thanks

  • Select option in Dialog prog

    Hi,
    I'm developing a dialog programming. 1st screen is the selection screen, i need to code the input for Parameter -> Material number , Select-option -> Plant. Problem hits on select option Plant.
    If we code via normal type 1 executable program, i just need code like -> Select-options: S_PLANT for mara-werks. Since right now im in dialog programming then i need to code my own LOW and HIGH value. I have done that. But i need to code in the Multiple selection/Extension button that next to HIGH.
    Do u guys know is there any FM that helping to create Multiple selection/Extension button? Like standard once click on it, it contains single value, ranges, exclude single value, exclude ranges...
    Please comment.

    Hi,
    1. Create the subscreen using the selection screen
    2. Create the subscreen area in the Dialog program
    3. Call this subscreen created  in point 1 in the subscreen area of dialog programing.
    selection-screen : begin of screen 0050 as subscreen.
    select-option : s_pernr for pa0000-pernr.
    selection-screen : end of screen 0050.
    start-of-selection
    call screen 100.
    in PBO
      call subscreen <subscreen area>including sy-repid '0050'.
    in PAI
      call subscreen <subscreen area> .

  • Select-Option in Screen??

    Hi Experts,
    Requirement is like select-option on Selection-Screen, I want that same function on Screen(Module Pool). Infact i want that button for random selection what comes automatically  in select-options to select the multiple data.
    Can anyone help me for this.Its very very urgent.
    Thanks in Advance.
    Regards,
    Rahul

    hi rahul,
    its not possible to create multiple selections in module pool.
    but you can create 2 i/o fields for lower and upper limit in module pool and you can write select query with between keyword to get values from lower to upper limits.
    Senthil kumar

  • Adding default value for a select-options in a selection-screen

    hello gurus,
    i have a report program with the following select-options in a selection-screen block:
    select-options:  so_site  for MyTable-werks.
    i want the so_site to have a default value once the program displays. can it be possible?
    regards,
    sid

    Hi sid,
    1. Whenever we use select-option,
       an internal table of type range is
      automatically created.
    2. so, in fact, we have to put
       record in this internal table.
    3. eg. Just copy paste in new program.
    4.
    report abc.
    tables : t001.
    select-options : bukrs for t001-bukrs.
    initialization.
      bukrs-sign = 'I'.
      bukrs-option = 'EQ'.
      bukrs-low = '1000'.
      append bukrs.
    regards,
    amit m.

  • Validation for the select option value range of selection screen

    Hi All.
    if i wish to validate the selection screen parameter for a value range(select options),is it possible?
    what should i write in code.Also,m using FM DD_DOMVALUES_GET to get the values for a specific domain name.
    Please reply.

    Hiii,
         Yes it is possible.... Can you give me the piece of code ... about the select option
    and also the value range against which you want to validate the select option.
    So that i can help you with the coding tips...
    Thanks in advance..

  • How to creat a select-options in the screen layout of se80.

    Because in se80 ,the screen is drawed in the screen layout,but it just have text-field for parameter.
    Thanks!

    In your main program, you can declare your desired select-option. Do your select-option declaration before calling your dialog screen.
    Create a subscreen in your screen's flow logic (PBO & PAI) that contains your selection screen with its corresponding screen number of your declared subscreen.
    sample code of select-option declaration below.
    SELECTION-SCREEN BEGIN OF SCREEN 5003 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK PARAM.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (18) TEXT-ABK FOR FIELD S_ABKRS.
    SELECT-OPTIONS: S_ABKRS FOR PA0001-ABKRS.
    SELECTION-SCREEN POSITION 47.
    PARAMETER: P_ATEXT LIKE T549T-ATEXT VISIBLE LENGTH 30.
    SELECTION-SCREEN POSITION 70.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK PARAM.
    SELECTION-SCREEN END OF SCREEN 5003.
    call screen 5000.
    Sample Flow logic Code below of screen 5000:
    *--- PBO
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN SUB_5003 INCLUDING SY-REPID '5003'. " subscreen 5003
      MODULE STATUS_5000.
      LOOP AT GT_MBBH INTO GS_MBBH WITH CONTROL TC_MBILL
                    CURSOR TC_MBILL-TOP_LINE.
      ENDLOOP.
    *--- PAI
    PROCESS AFTER INPUT.
      LOOP AT GT_MBBH.
        FIELD GS_MBBH-SELEC MODULE TC_TABLE_MARK ON REQUEST.
      ENDLOOP.
      MODULE USER_COMMAND_5000.
      CALL SUBSCREEN SUB_5003.  " subscreen 5003
    Hope this will help..

  • Select-option field in dialog programming

    hi guys,
    i need to declare field matnr as select-option range in dialog programming..how can i code it in the module program?

    This questions has been answered many times (even in february)
    - search sdn wiki (2 commented samples at [SELECT-OPTIONS on Dialog programming screen|http://wiki.sdn.sap.com/wiki/display/ABAP/SELECT-OPTIONSonDialogprogrammingscreen] and [Select-Options in Module Pool Programming|http://wiki.sdn.sap.com/wiki/display/ABAP/Select-OptionsinModulePoolProgramming])
    - search abap online help ([SELECTION-SCREEN - AS SUBSCREEN |http://help.sap.com/abapdocu_70/en/ABAPSELECTION-SCREEN_SUBSCREEN.htm] with sample at [Selection Screens as Subscreens |http://help.sap.com/abapdocu_70/en/ABENSEL_SCREEN_SUBSCREEN_ABEXA.htm])
    Regards,
    Raymond

  • Hiding and then making select-options visible on the selection-screen

    I've created a selection screen. On this i've got a field (pr_inpt) depending on whose value i have to display the rest select-options viz. (so_c1, so_n1, so_d1, so_t1) say ,
    1.)if (pr_inpt) contains value 'A' then display (so_c1 & so_d1)
    2.)if (pr_inpt) contains value 'B' then display (so_n1, so_d1 & so_t1)
    To achieve it, in the initialization event, i looped at the screen and for all (so_c1, so_n1, so_d1, so_t1) i made screen-active = '0'. Due to this my objective to hide fields in the beginning is achieved.
    Next when user is entering value into (pr_inpt), i am making screen-active = '1' at selection-screen output event, for those relevant select-options (say if A, then made active for so_c1 & so_d1) but my problem is that it is making all select-options (so_c1, so_n1, so_d1, so_t1) visible on the screen which i don't want.
    How can i achieve this, also is it possible to change the label of the select-options while displaying.
    Plz help.

    hi just copy and paste following code into ur abap editor and see weather this logic helps u ????
    REPORT Z_HRA1.
    tables: pa0000, pa0001.
    parameters: p_chk1 as checkbox user-command rusr,
    p_chk2 as checkbox user-command rusr,
    p_chk3 as checkbox user-command rusr,
    p_chk4 as checkbox user-command rusr,
    p_chk5 as checkbox user-command rusr.
    selection-screen: begin of block blk1 with frame.
    select-options: s_pernr for pa0000-pernr modif id ABC no-extension no intervals,
    s_stat2 for pa0000-stat2 modif id DEF,
    s_werks for pa0001-werks modif id GHI,
    s_persg for pa0001-persg modif id JKL,
    s_persk for pa0001-persk modif id MNO.
    selection-screen: end of block blk1.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'ABC'.
    IF p_chk1 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'DEF'.
    IF p_chk2 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'GHI'.
    IF p_chk3 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'JKL'.
    IF p_chk4 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'MNO'.
    IF p_chk5 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards
    Gagan

  • Possibele entries are not populating for the fields on the selection screen

    Hi,
    Possible entries are not populating for the fields on the selection screen for the query.But its working fine in Development and Quality Systems.
    Can any body help me out
    Regards,
    Amit.

    Hi,
    In the Selection screen,go to Settings->Value Restrictions tab->Read Mode Settings->Custom radio button and select the options Values in Master Data or Only Values in InfoProv or Only Posted values for navigation.
    After this setting,check whether you are getting the data or not.
    Rgds,
    Murali

  • Z_Dialog prog initial input screen-looking like selection screen of Report?

    Hi Experts,
    In internet, I found 2 screens( code is not mentioned there) and mentioned that, they r Dialog Prog. screens, they r as below,
    1 - Initial input screen-programmer mentioned it as a selection screen-1000
    2 - Output screen in ALV grid (Object ALV)
    So, when I saw this initial input screen, it looks like same as selection screen 1000 of a report prog., I mean, its containing all selection screen components, like Select-options with out interval, with out extension, blocks, titles for these blocks!!
    So,pls. let me know that,
    1) How the programmer achived this screen? is he used like,
    SELECTION SREEN 1000 START
    END OF SELECTION SCREEN 1000
    2) How these input fileds r looking like select-optins, parameters,  blocks etc.?
    thanq

    Putting selection screens on dialogue transactions have been covered before in the forum. Please search.
    Rob

Maybe you are looking for

  • Oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing

    I installed oracle report server 10.1.2.02 I tried the following url and it display the page properly that ask Test run Job: http://xxx/reports/rwwebservice?operation=runJob When I tried the url: http://xxx/reports/rwservlet/showJobs?server=rep_xxx_o

  • Precompiling jsps Unexpected Signal : 11  JVM_IsInterface

              Hi,           We have an weblogic 7.0 SP0 application running on solaris 7. As part of it startup           in precompiles jsps - sometimes at different points weblogic crashes           when we don't precompile the jsp's we never get this

  • One chart instead of two - CR XIr2

    Post Author: olesco CA Forum: Charts and Graphs I am trying to put 1 chart instead of 2 charts but Iu2019m getting an error u201CThe data you have selected does not fit the chart type       Explanation: This chart type requires 2 u201COn Change of fi

  • One page from a pdf at time on webroswer

    How can i load only one page from a 10 page pdf file on html browser? Showing 1/1 instead 1/10?

  • Cannot get RAW image to open in CS

    I have Photoshop CS (mac 8.0). I recently bought a Canon G9 Powershot camera. I tried opening an image in Photoshop and got an error: "Could not complete your request because it is not the right kind of document". I thought that I might need to upgra