SELECTION-SCREEN: BEGIN OF LINE.

Hi Friends,
I've tried for Begin of line comment for my required selection screen input, but I got some run-time errors. Can u help me to give a parameters with 3 text field in a straight line/row with your examples.
Please adivse
thanks & regards
sankar.

Hi Sankar,
Try this way.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-001 FOR FIELD p1.
SELECTION-SCREEN POSITION 11.
PARAMETERS:p1  TYPE char5.
SELECTION-SCREEN COMMENT 17(10) text-002 FOR FIELD p1.
SELECTION-SCREEN POSITION 28.
PARAMETERS:p2  TYPE char5.
SELECTION-SCREEN COMMENT 34(10) text-003 FOR FIELD p1.
PARAMETERS:p3  TYPE char5.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
Thanks
Venkat.O

Similar Messages

  • [Selection-screen] Begin of line, Icons, Layout, ...

    Hi,
    Is WDA lacking some those very familiar features we have in ABAP Selection-screen? (WDR_TEST_SELECT_OPTIONS application certainly does not show the full scope, is it?)
    Is there a replacement for BEGIN OF LINE in WDA selection-screen?
    What about adding comments?
    Is this possible to add icon or images?
    Besides, I was wondering how it is possible to lay the selection-screen in multiple columns. In tried different layout (Grid, Matrix, ...) without success.
    Lastly, is this possible to put labels on top of input fields?
    Do not hesitate to share your most beautiful selection-screens! 
    Thanks in advance.
    Best regards,
    Guillaume

    Some of the designing things are missing in select options -
    IF_WD_SELECT_OPTIONS~ADD_HORIZONTAL_DIVIDER - > to add a line
    IF_WD_SELECT_OPTIONS`ADD_TEXT_LINE - Add a text based line...
    Regarding alignment we need to work on it..there are layout options using ADD_BLOCK..
    Adding Icon/Symbol - I don't see any option...in the interface

  • Selection screen in one line

    this is ma code SELECTION-SCREEN : BEGIN OF BLOCK A WITH FRAME TITLE TEXT_001.
    *SELECTION-SCREEN : BEGIN OF LINE .
    *SELECTION-SCREEN : COMMENT 3(20) TEXT_002 for field s_fkart.
    *SELECT-OPTIONS   : S_FKART FOR VBRK-FKART NO INTERVALS NO-DISPLAY.
    *SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE .
    SELECTION-SCREEN : COMMENT 3(23) TEXT_003.
    PARAMETERS       : P_VKORG TYPE VBRK-VKORG OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE .
    SELECTION-SCREEN : COMMENT 3(20) TEXT_004.
    SELECT-OPTIONS   : S_VTWEG FOR VBRK-VTWEG NO INTERVALS.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE .
    SELECTION-SCREEN : COMMENT 3(23) TEXT_007.
    PARAMETERS       : P_SPART TYPE VBRK-SPART OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE .
    SELECTION-SCREEN : COMMENT 3(23) TEXT_006.
    PARAMETERS       : S_FKDAT2(4) TYPE C OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE .
    SELECTION-SCREEN : COMMENT 3(23) TEXT_008.
    PARAMETERS       : P_MONTH(2) TYPE C OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : END OF BLOCK A.
    i want s_fkdat and p_month in same line how to do ?

    Hi,
        SELECTION-SCREEN : BEGIN OF LINE .
        SELECTION-SCREEN : COMMENT 3(23) TEXT_006.
        PARAMETERS : S_FKDAT2(4) TYPE C OBLIGATORY.
        SELECTION-SCREEN : COMMENT 45(23) TEXT_008.
        PARAMETERS : P_MONTH(2) TYPE C OBLIGATORY.
        SELECTION-SCREEN : END OF LINE.
    Change the Position of the comment for second parameter.
    Regards
    Bala Krishna
    Edited by: Bala Krishna on Sep 12, 2008 12:57 PM

  • 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

  • SELECT ION-SCREEN COMMENT & BEGIN OF LINE???

    Hi Experts,
    What wuld do the follwoing 2 syntax? I mean, just they print the text on Selection-screen! or any thing else?
    1 - SELECT ION-SCREEN COMMENT
    2-  SELECT ION-SCREEN BEGIN OF LINE
    thanq.
    Message was edited by:
            Sridhar

    See the example :
    SELECT ION-SCREEN COMMENT  - it is for text elements for selection-screen fields.
    When you radio button,text will come right side,if you want to use left side text,then use comment line.
    SELECT ION-SCREEN BEGIN OF LINE
    if you want to use selection-screen fields in same line ,then use this
    selection-screen begin of block b0  with frame title text-b00.
    Data Selection Fields
    selection-screen begin of block b1 with frame title text-001.
    select-options: s_werks     for marc-werks no intervals
                                             obligatory
                                             no-extension
                                             default '1000',
                    s_lgort     for mseg-lgort no intervals
                                             obligatory
                                             no-extension
                                             default '1000',
                    s_prod      for marc-zzproddept ,
                    s_zzdept    for marc-zzdept,
                    s_mtart     for mara-mtart,
                    s_matnr     for mara-matnr,
                    s_lifnr     for mseg-lifnr,
                    s_vmsta     for mvke-vmsta.
    selection-screen end of block b1.
    selection-screen skip.
    Report Type
    selection-screen begin of block b2 with frame title text-002.
    Shelf Life Expiry Report
    selection-screen begin of line.
    selection-screen comment 1(31) text-004.
    parameter:        r_1   radiobutton group rad1.
    selection-screen end of line.
    selection-screen begin of line.
    Aging  Report
    selection-screen comment 1(31) text-005.
    parameter:        r_2   radiobutton group rad1.
    selection-screen comment 40(30) text-003.
    parameter: p_expir as checkbox.
    selection-screen end of line.
    selection-screen begin of line.
    Materials with no Expiry Date
    selection-screen comment 1(31) text-006.
    parameter:        r_3   radiobutton group rad1.
    selection-screen comment 40(30) text-007.
    parameter : p_bin as checkbox ."default 'X'.
    selection-screen end of line.
    selection-screen end of block b2.
    selection-screen end of block b0.

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • Align more than one element in same line in a selection screen

    I have to align more than one element
    in same line in a selection screen.
    It is possible with the following code.
    now the problem is i need space between these elements. how can i achieve it?
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT (8) txt1.
      PARAMETERS :      location AS CHECKBOX,
                  loc(5) TYPE c.
      SELECTION-SCREEN COMMENT (15) txt2.
      PARAMETERS :     dept AS CHECKBOX,
                  dpt(5) TYPE c.
      SELECTION-SCREEN COMMENT (7) txt3.
      PARAMETERS :  product AS CHECKBOX,
                   prdt(5) TYPE c.
      SELECTION-SCREEN END OF LINE.

    Hi,
    Use SELECTION-SCREEN POSITION option.
    ex: SELECTION-SCREEN POSITION 15.
    Sample code:
    selection-screen: begin of block blk1 with frame.
    selection-screen: begin of line.
    parameters: R1 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN position 5.
    SELECTION-SCREEN COMMENT 6(5) comm1.
    parameters: R2 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN position 14.
    SELECTION-SCREEN COMMENT 15(5) comm2.
    selection-screen: end of line.
    selection-screen: end of block blk1.
    initialization.
    comm1 = 'File1'.
    comm2 = 'File2'.
    Edited by: Velangini Showry Maria Kumar Bandanadham on May 27, 2008 2:54 PM

  • HOW TO KEEP 3 LINES IN SELECTION-SCREEN

    hi all,
    i have a requirement.
    i have to keep one field in selection-screen say v_text whose length is 70 characters .
    and i have to display text as follows
    <System Date> ': EST STATUS:HUNGARY PROJECT:'
    in form of 3 lines by default.
    any one can send me the sample code how to do this.
    Thanks,
    Maheedhar.T

    Maheedhar,
    try this code..
    data: v_text(80).
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(30) v1 FOR FIELD p_monat.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(30) v2 FOR FIELD p_monat.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(10) v3 FOR FIELD p_monat.
    PARAMETERS p_monat LIKE bkpf-monat.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
      v_text = 'aaaaaaaaaaaaaaaaaaaaaaBBBBBBBBBBBBBB'.
      CONCATENATE sy-datum v_text INTO v_text SEPARATED BY space.
      v1 = v_text+0(30).
      v2 = v_text+31(30).
      v3 = v_text+62(10).
    -Anu
    Message was edited by:
            Anupama Reddy
    Message was edited by:
            Anupama Reddy

  • Displaying 2 parameters with descriptions in same line of Selection-Screen

    Hi All,
    I want to know how can we display 2 parameters with descriptions in same line of Selection-Screen.
    Means in selection screen first we will give comment as
    <b>Material no</b> then <b>parameter box as MARA-MATNR</b>, In the same line description as <b>Plant</b> then <b>parameter box as T001W-WERKS</b>.
    Material No - BOX - Plant - BOX.
    Can any body tell me how can we do it.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi shaik,
    1. define two TEXT-SYMBOLS :
    001     Material
    002     Plant
    and Activate
    2. use this code (just copy paste)
    REPORT abc LINE-SIZE 80.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001 FOR FIELD p_matnr.
    PARAMETERS : p_matnr TYPE mara-matnr.
    SELECTION-SCREEN COMMENT 35(10)  text-002 FOR FIELD p_werks.
    PARAMETERS: p_werks TYPE t001w-werks.
    SELECTION-SCREEN END OF LINE.
    regards,
    amit m.

  • How to write text  on the selection screen of a  report

    Hi all,
    I need to write some user defined text on the selection screen of an ALV GRID Report.
    Please suggest me how can i do this
    Thanks
    Ajay.

    SELECTION-SCREEN BEGIN OF LINE .
    SELECTION-SCREEN COMMENT 12(31) text-024.<-----Goto text elements and add text.
    PARAMETERS:P_FILEN LIKE RLGRAP-FILENAME .
    SELECTION-SCREEN END OF LINE

  • Selection-screen and top-of-page in ALV

    Hello experts,
    1. In my selection-screen I have 2 parameters as display only. Now, how can I position/move them?
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-002 FOR FIELD p_dcode.
    PARAMETER: p_dcode LIKE zsoemailid-kunnr MODIF ID id1,
               p_name1 LIKE kna1-name1 MODIF ID id1.
    SELECTION-SCREEN END OF LINE.
    SELECT-OPTIONS: s_sorder FOR vbap-vbeln MODIF ID id2,
                    so_date FOR vbap-erdat MODIF ID id2.
    SELECTION-SCREEN END OF BLOCK b1.
    2. In my ALV display, how can I make my header and ALV list display with no spaces. Example:
    Dealer no: 12345
    Address: XXXXXX
    Tel: 00000
    "<--ALV display
    Again, thank you guys and have a nice day!

    Hi viray,
    For positioning the parameters on selection screen you can use two additions pos_low and pos_high as in given example
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 10(15) TEXT-001
                       FOR FIELD PARM.
      SELECTION-SCREEN POSITION POS_LOW.
      PARAMETERS PARM LIKE SAPLANE-PLANETYPE.
      SELECTION-SCREEN PUSHBUTTON POS_HIGH(8) PUSHY
                       USER-COMMAND ABCD.
      SELECTION-SCREEN ULINE (5).
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN ULINE /12(10).
    Regards
    Sumit Bhutani
    Ps reward points if helpful

  • Tooltip on pushbutton on alv report selection screen

    Hi Experts,
    I have a selection screen with two pushbuttons i want to provide tooltip on this button when user takes his cursor on it .. some part of my code
    Selection screen:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_info.
    PARAMETERS: p_info TYPE string.
    SELECTION-SCREEN: PUSHBUTTON 68(10) but1 USER-COMMAND cli1.
    SELECTION-SCREEN : END OF LINE.
    PARAMETERS:      r_exe_im  RADIOBUTTON GROUP rb1.
    PARAMETERS:      r_st  RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN: PUSHBUTTON /1(20) exec1 USER-COMMAND cli2.
    SELECTION-SCREEN: FUNCTION KEY 1.
    SELECTION-SCREEN END OF BLOCK b1.
    please tell me on these selection fields how to display tool tip.
    Thanks and regards,
    Roshan.

    Hi,
    After completing your executable program in SE38, activate it and goto SE51(Screen painter).
    Here give the name of your program and screen number as 1000.
    Click on Change.
    Goto Element List Tab.
    Here you will find all your elements from your program.
    Select the required element and click on Properties.
    Here you will find a Tooltip Text property. Click on the button 'Text' of this property.
    You will be given 2 options 1) Text from Text element 2) Text from Variable
    Enter as per requirement
    Save and Activate.
    Hope this will be useful
    Regards
    Bhupal

  • Selection screen fields

    Hi,
    I want to group the selection screen fields. where should i group.
    I want to group using the modif Id
    T Y P E S
    TYPES:
    BEGIN OF TYVBAK,
    VBELN TYPE VBAK-VBELN,
    AUART TYPE VBAK-AUART,
    AUDAT TYPE VBAK-AUDAT,
    KUNNR TYPE VBAK-KUNNR,
    NETWR TYPE VBAK-NETWR,
    END OF TYVBAK.
    D A T A      D E C L A R A T I O N S
    DATA:
    STVBAK TYPE TYVBAK,
    ITVBAK TYPE TABLE OF TYVBAK.
    S E L E C T I O N    S C R E E N
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
    SKUNNR FOR STVBAK-KUNNR.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS:
    SVBELN FOR STVBAK-VBELN,
    SAUDAT FOR STVBAK-AUDAT.
    SELECTION-SCREEN END OF BLOCK B2.
    I N I T I A L I Z A T I O N
    *INITIALIZATION.
    FILLING SELECT OPTIONS WITH DEFAULTS
    SKUNNR-SIGN = 'I'.
    SKUNNR-OPTION = 'BT'.
    SKUNNR-LOW    = '1'.
    SKUNNR-HIGH   = '4000000'.
    APPEND SKUNNR.
    T O P   O F  P A G E
    TOP-OF-PAGE.
    WRITE:/1'SALES DOC',12 'DOC TYPE',20 'SALES DATE',32 'NETWORTH',60 'CUSTOMER'.
    *A T   S E L E C T I O N    S C R E E N    O U T P U T .
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'SVBELN-LOW'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-NAME = 'SVBELN-HIGH'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    where should i group SBVELN and SAUDAT

    Hi
    Instead of SCREEN-NAME use SCREEN-GROUP1 and for your select options give MODIF ID.
    As follows
    SELECTION-OPTIONS: selcrt for dobj MODIF ID MOD1.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    CHECK SCREEN-GROUP1 = 'MOD1.
    SCREEN-REQUIRED = 1.
    MODIFY SCREEN.
    ENDLOOP.
    This is COZ when you use select-options you get TWO fileds on the INPUT screen LOW and HIGH so you have to check for selcrit-low and selctri-high you can avoid all this my assigning a MODIF ID.
    See this sample programs for this
    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

  • How to deal with dynamic selection screen elements when macros are used?

    Hello experts,
    This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the output. I actually did everything required except for the one thing that is going out of my reach.
    There are a certain fields which are coming when they are not supposed to get displayed. I don't understand the code because of its obsoleteness. Neither can I debug it because it is just data declaration.
    This is the code where there is a fault. If I copy the entire code into a new Z report, I'm getting new fields like Entry Date, Document Type, Reference Transaction,  Reference key, Logical system.
      DEFINE selection_screen_line.
      selection-screen: begin of line.
      parameters &3 like &4 default 'X' modif id mc4.
      selection-screen: comment (30) &1 for field &3 modif id mc4.
      selection-screen: comment pos_low(10) text-019
                        for field &2 modif id mc4.  "neu
      parameters &2 like rfums_alv-variante modif id mc4.
      selection-screen:
          position pos_high.
      selection-screen: pushbutton (15) text-028
                        user-command &5 modif id mc4.
      selection-screen end of line.
    END-OF-DEFINITION.
    Kindly, suggest me the right solution.

    In the program attributes ( SE38 > RFUMSV00 > GOTO > Properties ), you will find a logical database BRF declared. The include DBBRFSEL is part of the selection screen of this logical database.
    The selection screen is actually the selection screen of this logical database.
    Under the Logical Database field, there is a Selection screen field where you can input which selection screen of the logical database to be used.
    But, this is just to change the selection screen that is displayed. To completely suppress it you need to remove logical database declaration from the properties of the program and call it inside your program through function module.
    You cannot just remove it from the declaration because many of its variables are used in the program.
    So call it using function module as the first step in INITIALIZATION section of the program.
    The syntax and function module to call it in your program can be found in the following thread :
    How to hide the selection screen of a Logical datebase?
    Regards,
    Ashish

  • 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

  • IPod Nano 3G lo longer recognized after Update to iTunes 9 on Vista 32 Ulti

    So i updatedt to iTunes 9 yesterday - only to find out that my iPod 3G is no longer recognized by iTunes. Also my 2G are not recognized any longer on this machine ALL three iPods still work fine with my other computer whicgh is running the same Windo

  • My iTunes will no longer come up!

    When I synced my iPod today, a screen came up that told me to download iTunes 7.7. I did. Now, I can access my music from my iPod, but can not access iTunes at all. When I try to run iTunes, nothing happens. What should I do?

  • Check on teens

    I have basic phones I want to find a way to check content of my teens messeges

  • Error Handling in Automated Activities

    Hi experts, I have a question regarding error handling in automated activities in a BPM Process. I have seen various postings and articles regarding exception handling with boundary events. But it seems that for this to work of course your web servic

  • Why can't I select icons on my desktop?

    Today I'm no longer able to select icons on my desktop. When I try to click on one of them, they all disappear momentarily. Then the finder window opens and the icons reappear. (Perhaps related: I downloaded the latest update to Mozilla Firefox right