I need a selection screen

I need a selection screen if there r 3 selection screen in O/P screen
If i click on 1 selection other 2 should be disable

Hi Swaroop,
write like this, i hope your problem will solve
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_EBELN FOR EKKO-EBELN.MODIF ID S1.
PARAMETERS: P_MATNR TYPE MATNR MODIF ID S2,
                         P_WERKS TYPE WERKS_D MODIF ID S3.
SELECTION-SCREEN END OF BLOCK B1.
BLOCK 2 ****
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UG1,
R2 RADIOBUTTON GROUP G1  ,
R3 RADIOBUTTON GROUP G1  .
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
    IF R1 EQ 'X' .
        IF  SCREEN-GROUP1 EQ 'S2' AND  SCREEN-GROUP1 EQ 'S3'.
      SCREEN-INPUT = 0.
      MODIFY SCREEN.
      SET CURSOR FIELD 'S_EBELN'.
        ENDIF.
    ENDIF.
    IF R2 EQ 'X'
       IF SCREEN-GROUP1 EQ 'S1' AND  SCREEN-GROUP1 EQ 'S2'.
      SCREEN-INPUT = 0.
      MODIFY SCREEN.
      SET CURSOR FIELD 'P_MATNR'.
       ENDIF.
    ENDIF.
IF R3 EQ 'X'.
   IF SCREEN-GROUP1 EQ 'S1' AND SCREEN-GROUP1 EQ 'S3'  .
      SCREEN-INPUT = 0.
      MODIFY SCREEN.
      SET CURSOR FIELD 'P_MATNR'.
    ENDIF.
ENDIF.
  ENDLOOP.
Thanks,
Murali

Similar Messages

  • Help needed in selection screen - Urgent

    Hi Experts,
    I have a selection screen. I have three radi buttons in that selection screen. Based on the selection of the radio buttons I need to activate corresponding selection screen parameters.
    e.g : if radiobutton1 is selected, njo activation needed,
           if radiobutton2 is selected, activate selection screen parameter p_one,
           if radiobutton3 is selected, activate selection screen parameter p_two.
    All three radiobuttons are attached to the same radio button group.
    I have assigned the parameters p_one, p_two, p_three to MODIF ID as follows.
    p_one - NULL
    p_two - t01
    p_three - t02.
    on the selection of a radio button I want the corresponding parameter to get activated.
    please help me.
    Regards,
    Arul jothi A.

    hi
    jothi
    AT SELECTION-SCREEN OUTPUT.                                      
      CASE SY-TCODE.                                                 
        WHEN 'ZEDI6'.                                                
          LOOP AT SCREEN.                                             
            CASE SCREEN-GROUP4.                                      
              WHEN '001'.                  "Sales order select       
                SCREEN-ACTIVE = '1'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                       
              WHEN '002'.                  "Delivery select          
                SCREEN-ACTIVE = '0'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                        
              WHEN '003'.                  "Invoice select           
                SCREEN-ACTIVE = '0'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                       
              WHEN '004'.                  "PO Select                
                SCREEN-ACTIVE = '0'.       "1=Active, 0=Don't display
                MODIFY SCREEN.                                       
    regards
    praveen

  • Need Different Selection screen for different Queries in a Workbook

    Hi,
    I have created a workbook with Multiple tabs in BI 7.0.  Each Tab has different Queries and each query has different Selection screens (Variable Selections).
    When i open the workbook and refresh it, the selection screen is appearing only for one query.  All the queries are refreshed by this single selection screen, though each query has different Variable selections.  What i need is a seperate selection screen i.e seperate Variable selection appearing for each queries, when i refresh each one of them.
    Is it possible to do this?  If anybody has tried this, help me in solving this issue.  Thanks for ur time.
    Regards,
    Murali

    Murali,
    If you un-check the 'Display Duplicate Variables Only Once' this WILL solve your problem.
    When you Refresh, you should be presented with a single variable selection dialog box, but it should contain an area for each Query (DataProvider) that is embedded in the Workbook.
    This is the case if the queries are all on the same tab, or on different tabs.
    However, if you have multiple tabs each with a query on it, each query must have it's own DataProvider. If all queries are based on the same DataProvider, it will not work as the Workbook only 'sees' one Query for which it needs variable input.
    If you REALLY want multiple variable selection dialog boxes, then maybe the best way to do this is to have the queries in separate Workbooks.
    If you don't want the User to have to open 5 queries manually, you could use a Macro in each Workbook that runs on opening, to open the next Workbook in the sequence.
    I hope this makes sense!
    Regards
    Steve

  • Logic needed in selection screen

    hi experts,
       in  a selection screen i have one field S_budat ( it contains the range ) the user enters the date in it .the problum is we need to check the following condition .
    if sy-datum> s_budat+13 months if it is ok we need get the values from the archive db else r/3 data .but in the mean while we have to check residency limit ( for ex: the data is archived till 22-03-2007. but in the selection screen  the user entered the range 20-2-2006 to 24-5-2007 this falls in the both .so for this how to write the logic .till 22-03-2007 we have to take the data from the archive DB after thatwe have to take online data )
    points will be reworded.

    You can check whether the Achive date lies between the range.
    If it does, then create 2 records in the select-option table
    1) from s_budat-low to arcive date
    2) from archive date to s_budat-high.
    Now you can do 2 selects 1 on archived tables , other on R/3 data using these 2 date ranges.
    For the 2nd select , you can use the "appending" addition in the select statement

  • Help Needed for selection screen

    Hi Experts
    I'm doing one report of pm module using one standard program called me RIQMEL10
                 my query is if u execute this stand.prog u'll get one selection screen ,and having three selction-screen blocks.  first sel-scr block name is Notification status this selection screen is calling dynamically by using sap stand.prog SAPDBQMI
                    SCR NO : 1000
    can any one send me the default code of this selection screen block ( Notification status ) which sap is providing .

    INCLUDE DBQMISEL
    It will be automatically included into the database program.
    If the source code is automatically generated,
    please perform the following steps:
    1. Replace ? by suitable names (at most 8 characters).
    2. Activate SELECT-OPTIONS and PARAMTERS (delete stars).
    3. Save source code.
    4. Edit database program
    Hint: Syntax-Check is not possible within this Include!
    It will be checked during syntax-check of database program.
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-011.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS dy_ofn LIKE rihea-dy_ofn FOR TABLE diqmel.
    SELECTION-SCREEN COMMENT 3(11) text-001
                                          FOR FIELD dy_ofn ID 001.
    PARAMETERS dy_rst LIKE rihea-dy_rst FOR TABLE diqmel.
    SELECTION-SCREEN COMMENT 16(10) text-002
                                           FOR FIELD dy_rst ID 002.
    PARAMETERS dy_iar LIKE rihea-dy_iar FOR TABLE diqmel.
    SELECTION-SCREEN COMMENT 29(10) text-003
                                           FOR FIELD dy_iar ID 003.
    PARAMETERS dy_mab LIKE rihea-dy_mab FOR TABLE diqmel.
    SELECTION-SCREEN COMMENT 42(10) text-004
                                           FOR FIELD dy_mab ID 004.
    SELECTION-SCREEN COMMENT 52(10) text-005
                                           FOR FIELD selschem ID 005.
    PARAMETERS: selschem LIKE tj48t-selid FOR TABLE diqmel.
    SELECTION-SCREEN PUSHBUTTON 73(5) p_addr USER-COMMAND addr
    FOR TABLE diqmel ID 006.
    PARAMETERS dy_adrfl NO-DISPLAY FOR TABLE diqmel.
    SELECTION-SCREEN COMMENT 79(30) ad_icon FOR TABLE diqmel ID ic1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-012.
    SELECT-OPTIONS:
      qmnum                  FOR diqmel-qmnum MATCHCODE OBJECT qmeg,
      qmart                  FOR diqmel-qmart,
      tplnr                  FOR diqmel-tplnr NO-DISPLAY,
      strno                  FOR diqmel-strno MATCHCODE OBJECT iflm,
      equnr                  FOR diqmel-equnr MATCHCODE OBJECT equi,
      matnr                  FOR diqmel-matnr MATCHCODE OBJECT mat1,
      serialnr               FOR diqmel-serialnr,
      deviceid               FOR diqmel-deviceid,
      aufnr                  FOR diqmel-aufnr MATCHCODE OBJECT orde.
    *--- date from - until
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(28) text-009 FOR FIELD datuv.
    SELECTION-SCREEN POSITION 33 FOR TABLE diqmel.
    PARAMETERS datuv LIKE rihea-termab FOR TABLE diqmel DEFAULT sy-datum.
    SELECTION-SCREEN COMMENT 51(6) text-010 FOR FIELD datub.
    PARAMETERS datub LIKE rihea-termbi FOR TABLE diqmel DEFAULT sy-datum.
    SELECTION-SCREEN END OF LINE.
    *--- partner function, partner
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(9) text-006 FOR FIELD dy_parvw.
    SELECTION-SCREEN POSITION 10 FOR TABLE diqmel.
    PARAMETERS  dy_parvw LIKE ihpa-parvw FOR TABLE diqmel
                AS LISTBOX VISIBLE LENGTH 22.
    SELECTION-SCREEN POSITION 33 FOR TABLE diqmel.
    PARAMETERS  dy_parnr LIKE ihpa-parnr FOR TABLE diqmel VALUE-REQUEST.
    *--- button classification
    SELECTION-SCREEN PUSHBUTTON 73(5) text-013 USER-COMMAND clse
    FOR TABLE diqmel.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK block2.
    *--- freie Abgrenzungen für log.Datenbankselektion -
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE diqmel ID 010.
    SELECTION-SCREEN BEGIN OF VERSION 001 text-v01.
    SELECTION-SCREEN EXCLUDE PARAMETERS: dy_mab, dy_ofn, dy_rst, dy_iar,
                                         selschem, dy_adrfl.
    SELECTION-SCREEN EXCLUDE IDS: 001, 002, 003, 004, 005, 006, 010, ic1.
    SELECTION-SCREEN END   OF VERSION 001.
    SELECTION-SCREEN BEGIN OF VERSION 002 text-v02.
    SELECTION-SCREEN EXCLUDE IDS: 010.
    SELECTION-SCREEN END   OF VERSION 002.
    *--- Parameter für Selektionssteuerung -> es sollen nicht     -
    *--- automatisch alle Segmente der log.DB selektiert werden   -
    *--- neu mit P30K047900                                       -
    PARAMETERS: ldb_ihpa NO-DISPLAY DEFAULT 'X' FOR TABLE diihpa,
                ldb_iflo NO-DISPLAY DEFAULT 'X' FOR TABLE diiflo,
                ldb_equi NO-DISPLAY DEFAULT 'X' FOR TABLE diequi,
                ldb_qmfe NO-DISPLAY DEFAULT 'X' FOR TABLE diqmfe,
                ldb_qmma NO-DISPLAY DEFAULT 'X' FOR TABLE diqmma,
                ldb_qmmx NO-DISPLAY DEFAULT 'X' FOR TABLE diqmmax,
                ldb_clas NO-DISPLAY DEFAULT 'X' FOR TABLE diclass,
                ldb_clda NO-DISPLAY DEFAULT 'X' FOR TABLE dicldat,
                ldb_qmsm NO-DISPLAY DEFAULT 'X' FOR TABLE diqmsm,
                ldb_qmsx NO-DISPLAY DEFAULT 'X' FOR TABLE diqmsmx,
                ldb_aufk NO-DISPLAY DEFAULT 'X' FOR TABLE diaufk.
    regards
    vinod

  • Two options are required in the Selection Screen

    Hi All,
    I need a selection screen with two option:
    Option 1: Based on Open delivery
    The following are the input fields:
    In which Delivery types and dates are mandatory
    1.     Delivery
    2.     Delivery Type(Mandatory field)
    3.     Shipping Point/Receiving Point
    4.     Material
    5.     Planned goods movement Date(Mandatory Field)
    6.     Total goods movement Stat
    and,
    Option 2: Based on Material
    There are no mandatory fields in this option,
    The following are the input fields:
    1.     Material
    2.     External Material Group
    3.     Plant
    I want to implement the same using Radio buttons,
    In which If i select the radio button 1, option 1 should be triggered,
    and if I select radio button 2, option 2 should be triggered.
    How do I go about this??
    Thanks,
    Debrup.

    Hi,
    Check the following code:
    tables: vbap, mara.
    parameters: p_open radiobutton group grp1 user-command abc,
                p_mat radiobutton group grp1.
    selection-screen: begin of block b1 with frame title text1.
    parameters: p_vbeln like vbap-vbeln modif id opn,
                p_matnr like vbap-matnr modif id opn,
                p_grkor like vbap-grkor modif id opn,
                p_vstel like vbap-vstel modif id opn.
    selection-screen: end of block b1.
    selection-screen: begin of block b2 with frame title text2.
    parameters: p_matel like mara-matnr modif id mat,
                p_matkl like mara-matkl modif id mat,
                p_satnr like mara-satnr modif id mat.
    selection-screen: end of block b2.
    initialization.
    p_open = 'X'.
    at selection-screen output.
    text1 = 'Open orders'.
    text2 = 'Material'.
    if p_open = 'X'.
      loop at screen.
        if screen-group1 = 'OPN'.
          screen-active = 1.
          modify screen.
        endif.
        if screen-group1 = 'MAT'.
          screen-active = 0.
          modify screen.
        endif.
      endloop.
    elseif p_mat = 'X'.
      loop at screen.
        if screen-group1 = 'MAT'.
          screen-active = 1.
          modify screen.
        endif.
        if screen-group1 = 'OPN'.
          screen-active = 0.
          modify screen.
        endif.
      endloop.
    endif.
    Regards,
    Bhaskar

  • What is a Selection Screen and how to make it ?

    What is a Selection Screen and how to make it ? Please explain the process.
    Best regards,
    Ryan

    Selection Screen are used for the program reports. These allows you to input some values that are required to show the desired output.
    for example : you want to show the list of sales orders between 1000 to 1999, you would write a select query as this (to make u understand better)
    select vbeln from vbak into it_vbeln
                 where vbeln GE 1000 " greater than or equal to
                   and vbeln LE 1999. " less than or equal to
    now if you wnat to do it dynamically, you need a selection screen
    tables : vbak. " declaration
    selection-screen : begin of block block1 with frame title text-003.
    select-options : so_vbeln for vbak-vbeln. " selection range from __ to __
    selection-screen : end of block block1.
    now you can write the same select query as
    select vbeln from vbak into it_vbeln
                 where vbeln in so_vbeln.
    Hope this is clear now
    Regards
    Gopi

  • Multiple selection screen.

    hi all,
           how to create multiple selection screens,
    i need 3 selection screens how to do it?
    wats the maximum number selection screen can be created in a report.
    regards
    Suprith

    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    PARAMETERS: p1 TYPE c LENGTH 10,
                p2 TYPE c LENGTH 10,
                p3 TYPE c LENGTH 10.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    PARAMETERS: q1 TYPE c LENGTH 10,
                q2 TYPE c LENGTH 10,
                q3 TYPE c LENGTH 10.
    SELECTION-SCREEN END OF SCREEN 200.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
                      TAB (20) button1 USER-COMMAND push1,
                      TAB (20) button2 USER-COMMAND push2,
                      END OF BLOCK mytab.
    INITIALIZATION.
      button1 = 'Selection Screen 1'.
      button2 = 'Selection Screen 2'.
      mytab-prog = sy-repid.
      mytab-dynnr = 100.
      mytab-activetab = 'PUSH1'.
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN 1000.
          CASE sy-ucomm.
            WHEN 'PUSH1'.
              mytab-dynnr = 100.
            WHEN 'PUSH2'.
              mytab-dynnr = 200.
            WHEN OTHERS.
          ENDCASE.
      ENDCASE.

  • How to hide the selection-screen Begin of Block

    Hi,
    I copied the standard program into my new 'Z' prog.
    But i dont need a selection-screen begin of block and end of block i.e. I have to hide the entire block from the output screen.
    I can delete the selction-screen block , but the field which is present inside the block is used in several places of program
    and i dont know the purpose of the fields.
    Can any one help me to hide the block.
    Thanks in advanced
    Regards,
    Darshana

    Hi
    Use keyword NO-DISPLAY with the select options or parameter which u want to hide in the selection screen.
    No need to comment statements Begin of block or end of block.
    SELECTION-SCREEN BEGIN OF BLOCK ss_01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_month FOR isellist-month no-display .
    PARAMETERS: p_email LIKE somlreci1-receiver no-display.
    SELECTION-SCREEN END OF BLOCK ss_01.
    It will work this way.
    Thanks

  • Submit via selection-screen - Return automatically

    Hello so far I have a code ....
    <b> SUBMIT (p_pname) EXPORTING LIST TO MEMORY AND RETURN
                         USING SELECTION-SET p_vname.</b>
    Now what this does is self explanatory. Afterwards I just write the list to the program with the submit statment.
    However, instead of using a variant. I would like to have an option that it goes to the selection-screen where the user can input the parameters and return back to the original program afterwards.
    When I tried this ...
    <b>SUBMIT (p_pname) VIA SELECTION-SCREEN
                       EXPORTING LIST TO MEMORY AND RETUR</b>
    What happens is that it goes to the selection-screen, but stays in that program which I submitted and sends the report there. Its only when I press the back button is when it Exports list to memory.
    As mentioned my desired process is that after the selection-screen process is done. You return back and the report is generated there. Thank you every one and good day.

    Chad,
    As you need the selection screen of the calling program, unless you exit out of the report, its not going to come out of the program. Once the program is displayed, you will hav explicity come out of it.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Help Needed in At selection screen output

    Hi Experts,
    I need your help in AT SELECTION SCREEN OUTPUT event. My issue is i have 4 radio button and with each radio button couple of parameters that need to be filled in selection screen of report. My requirement is that sometimes user enters details in second radio button parameters but forgot to change the radio button to second one so kindly suggest a solution so that radio button gets selected as per user input in parameter like if user clicks on certain parameter to enter value then automatically corresponding radio button gets selected.
    Thanks in advance for all your help.

    example from a checkbox in one of my progs..but you can do same approach with radio butts
    parameters p_test as checkbox default abap_on user-command test.
    at selection-screen.
        if sy-ucomm = 'TEST'.
          perform birth_mnth_chck.
        endif.

  • Need to restrict selection screen entries in logical database in HR report

    After creating custom HR Report Category using Logical database, I need to restrict the options available in the in the selection Screen
    for example- for company code i m getting 182 entries, but after running the program, selection-options for company code, i need only first 3 entries, don't want remailing entries
    how can i do this?

    Hi
    You can retrieve the required entries into an internal table and use FM F4IF_INT_TABLE_VALUE_REQUEST to provide them under F4 help.
    Regards
    Raj

  • Need help to disable input selection-screen - very urgent

    Hi SAP experts,
    I have a requirement where in I need to disable ( Grey out ) the input fileds on the selection screen .
    My problem is as I am using ABAP query I am not able to use any events ( AT SELECTION-SCREEN OUTPUT ).
    My selection screen looks like this
    MATERIAL NUMBER ( SELECT-OPTIONS)
    MATERIAL TYPE ( PARAMETERS )
    Now I want to add one more check box below the above fields on the selection-screen.When I click on the check-box,the MATERIAL NUMBER  must be greyed out and MATERIAL TYPE should remain the same.
    Please let me know the coding for the same. All answers would be rewarded.
    Thanks in Advance,
    Suresh.

    Hi,
    Check out these codes.
    1.
    TABLES : mara, makt.
    parameter: p_matnr type mara-matnr,
               p_maktx type makt-maktx.
    at selection-screen output.
    select single maktx
    from makt
    into p_maktx
    where matnr = p_matnr
    and spras = 'EN'.
    loop at screen.
      if screen-name = 'P_MAKTX'.
        screen-input = 0.
        modify screen.
      endif.
    endloop.
    2.
    TABLES : mara, makt.
    TYPES:BEGIN OF tp_maktx,
          maktx TYPE makt-maktx,
          END OF tp_maktx.
    DATA:t_maktx TYPE STANDARD TABLE OF tp_maktx,
         wa_maktx TYPE tp_maktx.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECT-OPTIONS: s_maktx FOR makt-maktx.
    INITIALIZATION.
      REFRESH s_maktx[].
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'S_MAKTX-LOW' or screen-name = 'S_MAKTX-HIGH'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
      REFRESH s_maktx[].
      if s_matnr[] is not initial.
      SELECT maktx FROM makt
      INTO TABLE t_maktx
      WHERE matnr IN s_matnr
      AND spras = 'EN'.
      endif.
      LOOP AT t_maktx INTO wa_maktx.
        s_maktx-low = wa_maktx-maktx.
        APPEND s_maktx.
        CLEAR:wa_maktx.
      ENDLOOP.
    3.
    TABLES : mara, makt.
    parameter p_cb1 type c as checkbox.
    parameter p_cb2 type c as checkbox.
    parameter p_cb3 type c as checkbox.
    initialization.
    loop at screen.
    if screen-name = 'P_CB3'.
    screen-invisible = 1.
    modify screen.
    endif.
    endloop.
    at selection-screen output.
    *loop at screen.
    *if screen-name = 'P_CB3'.
    *screen-invisible = 1.
    *modify screen.
    *endif.
    *endloop.
    loop at screen.
    if p_cb1 = 'X'.
      if screen-name = 'P_CB2'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB3'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    if p_cb2 = 'X'.
      if screen-name = 'P_CB3'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB1'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    if p_cb3 = 'X'.
      if screen-name = 'P_CB1'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB2'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    endloop.
    Reward if helpful..
    Regards.

  • Need stock on particular date entered on selection screen

    I am creating a stock in transit report and need stock on particular date entered by the user on selection screen.How do I calculate stock on a particular date?

    same thread...
    Re: Stock on a particulare date

  • Need to have pop up window in selection screen and capture the user action.

    Hello Friends,
                         I have a requirement, that need to show a pop up window after execution, and to get the action from user using a Push button.
    I create a selection screen and a sub screen as window.
    After user execute from the selection screen, I am popping up this window.
    Window contains some input values to be entered and push button to identify the user action.
    I try to capture the user action using sy-ucomm, but it does not hold any value when user press the button.
    How to overcome this issue.
    Here is the definition of the window.
    Pop Up Window for getting values
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title .
    PARAMETER : p_vdate LIKE t9aa01-validfrom,
                p_dcggt LIKE t9aa01-hkont,
                p_dcgst1 LIKE t9aa01-hkont,
                p_dcgst2 LIKE t9aa01-hkont,
                p_na LIKE t9aa01-hkont.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 20.
    SELECTION-SCREEN PUSHBUTTON 2(10) text-001 USER-COMMAND SVE.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 500.
    Cheers,
    Senthil
    Edited by: Senthil on Jan 7, 2008 11:03 AM

    Hi,
    Try using the below code.
           data : w_var type string.
           CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
              DEFAULTOPTION        = 'Y'
               textline1            = 'test '
             TEXTLINE2            = ' '
               titel                = 'check'
             START_COLUMN         = 25
             START_ROW            = 6
             CANCEL_DISPLAY       = 'X'
            IMPORTING
              ANSWER               = w_var.
                     if w_var = 'J'.
                     else.
                     endif.
    Comments : J indicates Yes and N indicates No
    Regards,
    Jeswanth

Maybe you are looking for

  • Usage of  ITS from SAP BW 3.5 (6.40) to connect  SAP R/3  4.6c basis 6.20

    Hy, I have following problem. My customer is using a R/3 System Release 4.6C on a 6.20 Basis and a SAP BW 3.5 on 6.40 Basis. We currently using the internal ITS for BW to use the WebGui. Now we also want to show the some Transactions from the R/3 ove

  • How to create a new photostream?

    Hi, when I go to WEB -> Photostream, I can't find an option to create a new photostream. How is that supposed to be done? Thanks, p.

  • Smaller images from linking Word doc not showing in RH8 Webhelp

    I am using RH8 and linking Word Documents.  Will generate as WebHelp.  All images are pasted into the word documents using Snagit.  The images are varying in size and need to be that way.  It seems as though RH8 imports larger images as .jpg files an

  • Incorrect alignment (text and graphics) in Safari

    I recently updated my website and am now experiencing problems with the alignment of my text/graphics (all created in iWeb) when viewed in Safari 5.0.2. I'm using Arial Black and Arial Narrow (Bold). Any other fonts used on my site are jpegs from Pho

  • ITunes not responding on OS 10.8.2

    iTunes 10.7 for Mac keeps on freezing up on me whenever I try to sync my iPhones 4S. Here is the error report: Date/Time:   2012-09-21 18:48:44 -0500 OS Version:  10.8.2 (Build 12C54) Architecture: x86_64 Report Version:  11 Command:     iTunes Path: