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

Similar Messages

  • How to hide the selection screen of a Logical datebase?

    Dear All,
    I used the logical database PNP in one of my program by maintain the attribute 'Logical Database' of this program.
    Now I want to hide all the selection screen of this PNP during the ABAP runtime environment.
    Who can tell me how I can realize it?
    Thank you!
    Regards,
    Brian Liu

    Hi,
    If you call the logical database using a function module, the selection
    screen is not displayed.
    To call a logical database from another program, use the function module LDB_PROCESS.
    <b>Example code:</b>
    TABLES SPFLI.
    SELECT-OPTIONS S_CARR FOR SPFLI-CARRID.
    TYPE-POOLS: RSDS, RSFS.
    DATA: CALLBACK TYPE TABLE OF LDBCB,
    CALLBACK_WA LIKE LINE OF CALLBACK.
    DATA: SELTAB TYPE TABLE OF RSPARAMS,
    SELTAB_WA LIKE LINE OF SELTAB.
    DATA: TEXPR TYPE RSDS_TEXPR,
    FSEL TYPE RSFS_FIELDS.
    CALLBACK_WA-LDBNODE = 'SPFLI'.
    CALLBACK_WA-GET = 'X'.
    CALLBACK_WA-GET_LATE = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_SPFLI'.
    APPEND CALLBACK_WA TO CALLBACK.
    CLEAR CALLBACK_WA.
    CALLBACK_WA-LDBNODE = 'SFLIGHT'.
    CALLBACK_WA-GET = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_SFLIGHT'.
    APPEND CALLBACK_WA TO CALLBACK.
    SELTAB_WA-KIND = 'S'.
    SELTAB_WA-SELNAME = 'CARRID'.
    LOOP AT S_CARR.
    MOVE-CORRESPONDING S_CARR TO SELTAB_WA.
    APPEND SELTAB_WA TO SELTAB.
    ENDLOOP.
    CALL FUNCTION 'LDB_PROCESS'
    EXPORTING
    LDBNAME = 'F1S'
    VARIANT = ' '
    EXPRESSIONS = TEXPR
    FIELD_SELECTION = FSEL
    TABLES
    CALLBACK = CALLBACK
    SELECTIONS = SELTAB
    EXCEPTIONS
    LDB_NOT_REENTRANT = 1
    LDB_INCORRECT = 2
    LDB_ALREADY_RUNNING = 3
    LDB_ERROR = 4
    LDB_SELECTIONS_ERROR = 5
    LDB_SELECTIONS_NOT_ACCEPTED = 6
    VARIANT_NOT_EXISTENT = 7
    VARIANT_OBSOLETE = 8
    VARIANT_ERROR = 9
    FREE_SELECTIONS_ERROR = 10
    CALLBACK_NO_EVENT = 11
    CALLBACK_NODE_DUPLICATE = 12
    OTHERS = 13.
    IF SY-SUBRC <> 0.
    WRITE: 'Exception with SY-SUBRC', SY-SUBRC.
    ENDIF.
    FORM CALLBACK_SPFLI USING NAME TYPE LDBN-LDBNODE
    WA TYPE SPFLI
    EVT TYPE C
    CHECK TYPE C.
    CASE EVT.
    WHEN 'G'.
    WRITE: / WA-CARRID, WA-CONNID, WA-CITYFROM, WA-CITYTO.
    ULINE.
    WHEN 'L'.
    ULINE.
    ENDCASE.
    ENDFORM.
    FORM CALLBACK_SFLIGHT USING NAME TYPE LDBN-LDBNODE
    WA TYPE SFLIGHT
    EVT TYPE C
    CHECK TYPE C.
    WRITE: / WA-FLDATE, WA-SEATSOCC, WA-SEATSMAX.
    ENDFORM.
    Regards,
    Sumit.
    Message was edited by: sumit kumar
    Message was edited by: sumit kumar

  • How to Modify the Selection Screen in Report Painter

    Hi All,
    I am working on Report painter and writer,
    can any body helpme how to change the selection screen i.e i want add some more  select options to the exisiting roport .
    how can i  add more select options to the exisiting one
    please let me know the Procedure and provide some relevent documents .
    Thanks and Best regards.
    uma

    Hello...
    In the program ...we can find the following chunk of code..
    selection-screen:begin of block B1 with frame title text-001.
    Parameters : ....
    select-options:.....
    selection-screen:end of block b1.
    if we need to add any more user inputs we can write the code inside the existing
    selection screen....end of block .
    or create a new block ..just the block name should be different...
    if we are using select options...we need to declare the table name using the key word for the field on which we are giving select options ....
    Tables : BSIK.
    Please see the following code:
    Imagine :- we have the current selection screen..
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
    SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR.
    SELECTION-SCREEN END OF BLOCK B1.
    we need to add 2 more fields on the selection screen ..this we can do as the following
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
    SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR,
                    S_HKONT FOR BSIK-HKONT.
    PARAMETER: P_DATE LIKE BSIK-BUDAT OBLIGATORY DEFAULT
               SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B1.
    OR...create a new block...
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS:   S_HKONT FOR BSIK-HKONT.
    PARAMETER: P_DATE LIKE RFPDO-ALLGSTID OBLIGATORY DEFAULT
               SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B2.
    there are many options available in selection screens..like creating check box,radio button etc..
    for more info press F1 help on the Selection screen in the ABAP editor
    Revert back if not clear and reward if helpful
    Regards
    Byju

  • How to suppress the Selection Screen of Logical Database

    Hi,
    I am using one Logical Database for my report.
    I want to show my customized selection Screen.
    How can I hide the Selection Screen of Logical Database?

    Hi,
    Check the attributes of the report program where you assign the LDB. You can see the parameter Selection Screen press the F4 and check the LBD is provided any Blank screen or not.
    For some LDB's you can find the Report Category in the attribute section of the report. either you can create the new screen or standard screen might be provided with Blank.
    Check there ..
    If you don't find you can use LOOP AT SCREEN..ENDLOOP to hide the fields of LDB.
    Which LDB you are using.

  • 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 modify the selection screen frame.

    <b>Friends,
    I need to create two separate blocks A | B.
    Using SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME , we can able to create the blocks one below the other.
    How to create two blocks side by side?
    And also how to fix the size for the block
    Example: block with specific height and width
    Please help it
    <b></b></b>

    Hi,
    If you use the WITH FRAME addition, a frame is drawn around the block. You can nest up to five different blocks with frames.
    SELECTION-SCREEN BEGIN OF BLOCK RAD1
                              WITH FRAME TITLE TEXT-002.
      PARAMETERS R1 RADIOBUTTON GROUP GR1.
      PARAMETERS R2 RADIOBUTTON GROUP GR1.
    SELECTION-SCREEN BEGIN OF BLOCK RAD2
                              WITH FRAME TITLE TEXT-002.
      PARAMETERS R3 RADIOBUTTON GROUP GR2.
      PARAMETERS R4 RADIOBUTTON GROUP GR2.
    SELECTION-SCREEN END OF BLOCK RAD2.
    SELECTION-SCREEN END OF BLOCK RAD1.
    Regards
    Sudheer

  • How to Increase the Selection screen window length width big....

    How to Increase the Selection screen window length width big....  I cant able to do some enter text... because of the window size it gives error... can anyone help me out this...
    Thanks in advance

    hi,
    Maximum size is fixed for selection-screen.
    Split your text into different lines to fit it.
    Create a text element for your text and write it as comments.
    selection-screen begin of block b3 with frame title text-041.
      selection-screen begin of line.
        parameters : p_all radiobutton group g2 default 'X'.
        selection-screen comment 10(75) text-049.
      selection-screen end of line.
      selection-screen begin of line.
        parameters : p_iloc radiobutton group g2.
        selection-screen comment 10(75) text-050.
      selection-screen end of line.
    selection-screen end of block b3.
    Regards
    Sailaja.

  • How to display the selection screen with icons as well as with text element

    How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..

    Report zex33.
    type-pools: icon.
    selection-screen begin of line.
    selection-screen comment 1(20) text_001.
    parameters: p_werks type marc-werks.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_002.
    parameters: p_whouse(10).
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_003.
    parameters: p_auart like vbak-auart.
    selection-screen end of line.
    initialization.
      write ICON_PLANT  as icon to text_001.
    concatenate text_001 text-001 into text_001 separated by space.
      write ICON_WAREHOUSE  as icon to text_002.
    concatenate text_002 text-002 into text_002 separated by space.
      write ICON_ORDER  as icon to text_003.
    concatenate text_003 text-003 into text_003 separated by space.

  • How to display the selection screen fields on reprt output

    Hi,
         I would like to know, which function module is use to diplay the selction scrren fields on the report output.
    For  e.g: 
                  on selction scren I have two select options.
         1. Company Code : 0000  to  9999
         2. Fiscal Year       : 2005  to  2008
    I need to display these fields on the Report ouput, so that I can know that what selection criteria I have entered on selction screen.
    Thanks & Regards
    Chetan Chauhan.

    Hi Chetan,
    Lets say u have selection criterion as
    *SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : pa_werks LIKE vlcvehicle-werks DEFAULT 'XXX' OBLIGATORY,
                 pa_date  LIKE sy-datum DEFAULT sy-datum.
    SELECT-OPTIONS : so_vbeln FOR vbrk-vbeln.
    SELECTION-SCREEN END OF BLOCK b1.
    Put a selection on that criterion according to selection screen,
    Fill in a internal table.
    Write itab-field1, field2.
    Also use ABAPDOCU a tcode where u can find many demo programmes for all topic.
    Reward points if useful.
    cheers
    Mohinder Singh
    Cheers
    Mohinder Singh Chauhan

  • How to disable the Selection screens of LDB's ?

    Hi,
             How to disable the Selection screens of LDB's when we r using the predefined LDB for our executable pgm ? and how to include the predefined LDB  can u write the Code for including LDb or if possible give an example of a Pgm using a Predefined LDB?
    Thanks & Regards,
    Gopi.

    Hi Gopi,
    Go through the link,
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    Regards,
    Azaz Ali.

  • How to display the selection screen fields for selected checkboxes

    Hi all,
             I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
    and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
    Thanks
    sriman.

    hi,
    Try this code
    report z_13317_sdn2.
    tables : mara, marc, dd03l.
    parameters : p_chk1 as checkbox user-command ABC,
                 p_chk2 as checkbox user-command PQR,
                 p_chk3 as checkbox user-command XYZ.
    select-options : s_matnr for mara-matnr modif id A,
                     s_ersda for mara-ersda modif id A,
                     s_werks for marc-werks modif id B,
                     s_lvorm for marc-lvorm modif id B,
                     s_tab for dd03l-tabname modif id C.
    data: v_chk1,
          v_chk2,
          v_chk3.
    at selection-screen output.
      loop at screen.
        if screen-group1 = 'A' or
           screen-group1 = 'B' or
           screen-group1 = 'C'.
            screen-input = 0.
           modify screen.
        endif.
      endloop.
      loop at screen.
        if v_chk1 = 'X'.
          if screen-group1 = 'A'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk2 = 'X'.
          if screen-group1 = 'B'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk3 = 'X'.
          if screen-group1 = 'C'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
      endloop.
    at selection-screen.
      if sy-ucomm = 'ABC'.
        if v_chk1 = ' '.
          v_chk1 = 'X'.
        else.
          v_chk1 = ' '.
        endif.
      endif.
      if sy-ucomm = 'PQR'.
        if v_chk2 = ' '.
          v_chk2 = 'X'.
        else.
          v_chk2 = ' '.
        endif.
      endif.
      if sy-ucomm = 'XYZ'.
        if v_chk3 = ' '.
          v_chk3 = 'X'.
        else.
          v_chk3 = ' '.
        endif.
      endif.
    Regards,
    Sailaja.

  • How to Fill the selection screen while calling the transaction

    Hi All,
             my requirement is in one of the screen while i will press a push button it will call one transaction and it will fill the selection screen build order number field and skip the first screen i.e the selection screen it will show the output of that report directly.
    am using this code .
    case sy-ucomm.
    while 'FSLR'.
    set PARAMETER ID 'ANR' FIELD aufnr.
    RANGES s_aufnr FOR afko-aufnr.
          s_aufnr-sign   = 'I'.
          s_aufnr-option = 'EQ'.
          s_aufnr-low    = aufnr.
          APPEND s_aufnr.
    CALL TRANSACTION 'ZFS1' USING s_aufnr
         MODE 'E' .
        AND SKIP FIRST SCREEN.
    endcase.
    here the problem is i cant use both skip screen and using at a time nither the screen is filling nor its skipping the first screen.
    but its not working would any one please help how can i do this functionality?

    Hi
    Do in this way.
    DATA: rspar TYPE TABLE OF rsparams WITH HEADER LINE.
    rspar-selname = 'S_AUFNR'.
    rspar-kind = 'S'.
    rspar-sign = 'I'.
    rspar-option = 'EQ'.
    rspar-low = 'aufnr'.
    APPEND rspar.
    SUBMIT zfs1_prog  VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar AND RETURN.
    If this doesnt suit yer requirement, I wud suggest you to use BDC as below.
    CALL TRANSACTION 'SE11' USING bdcdata
                           MODE   'E'
                           UPDATE 'A'.

  • How to customize the selection screen of Get Objec

    hi all,
    I'm developing a program for sap hr.
    I use the 'Get objec' to creat the selection screen.
    and I wanna limit the date selection.
    The defaut display is the 'Period'  of radio-button group.
    and I want only the single field 'Date' for input insead of a period with starting and ending dates (manuelly we need click on a button to switch to 'Date' input).
    How can I switch automatically  to the 'date' when I initilize my program?
    Thanks a lot for your help
    Yimin

    Hi,
    This is possible through program attributes.
    goto attributes, click on 'HR Report category'
    now make sure that, 'Master Data (Infotype)' is changed accordingly your requirement.
    I think it is helpfull to you.
    Regards
    Sai

  • How to skip the Selection screen while using BAPI_MATERIAL_DELETE

    Hi,
    I have to delete material master.
    I'm using BAPI_MATERIAL_DELETE Fm,
    But while executing this BAPI it is going to a screen where it is asking to tick the Check Box for material number.
    Can you please tell me how to execute the BAPI Avoiding the selection screen.
    Thanks & Regards,
    Rajender

    Hi,
    Thanks for replying.
    We have to run the BAPI in Background, Then how to achieve the default values.
    Thanks & Regards,
    Rajender.

  • How to hide the list screen

    HI all,
    When i am calling another screen from my report program to display the result. I am Able to display the result on the intended screen but when i click  on back the back button it is returing to the list screen first and than next to the selection screen.
    I dont want to get the list screen in between but only the selection screen should be displayed when i click on the back button.
    How to avoid the display of the list screen.
    Thanks in advance.
    Regards
    Satish.

    Hi,
    Could u plz give the part of code where u get this problem. Need to know whether u r calling a transaction?
    Try this
    MODULE user_command_9100 INPUT.
      CASE sy-ucomm.
        WHEN 'EXIT' OR  'CANC'.
          LEAVE.    " to SCREEN 0.
        WHEN 'BACK'.
          SET SCREEN '0'.
          LEAVE SCREEN.
    This leaves the program but you may need to re-call the
    transaction to go back to the original screen
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9100  INPUT
    Message was edited by: Judith Jessie Selvi

Maybe you are looking for

  • Setup more than one ethernet interface

    Hi, On a 10.5.2 server, I have 4 ethernet ports, 2 on Lan and 2 on Wan with public IP. What I am suposed to do first : 1- Setup 1 lan interface, DNS, others interfaces an d thne services 2- Setup 4 interfces, Dns, Services 3- Other Services planned o

  • BIP Trial 11.1.1..6: Error while generating XML data in Data Model

    Hello, I have created a Data Model with a single query. After saving the DM and clicking on the XML icon to generate sample data, I get the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct

  • Problem with Server It would not start up again .. please help

    Hi All, I recently decided to download a copy of the solaris patch, started the installation and then went home, next morning, I saw that the server would not boot up again. One thing I must say is that I think i played around with the mount point an

  • 2LIS_04_P_MATNR - second setup possible?

    Hello, I have 2LIS_04_P_MATNR which is running perfect. Now I have to fill second DSO. Is it possible to fill this second DSO without new set-up from other DSO?

  • Add Default standard text to notification on creation

    Hi ABAP experts, Is it possible to automatically add standard text when the notification created. Currently we are asking users to manually add the standard text which is wast of effort for every notification. I am not abaper. Could you please provid