How to hide a selection screen comment ?

Hi Experts,
I have an issue in Interactive report...
I know by using  LOOP AT SCREEN we can modify screen elements like HIDE ... in the AT SELECTION-SCREEN OUTPUT event
But my question is i need to HIDE Selection screen comment also...I can this be achieved....???
Please do reply me with a solution...
Thanks in Advance...
Reddy Arun

Hi Reddy,
              Please go through below code..
it will fulfill ur requirements
REPORT 123.
  PARAMETERS : RB_USER  RADIOBUTTON GROUP za .
PARAMETERS :  RB_MAN   RADIOBUTTON GROUP za .
PARAMETERS :  RB_MAN1   RADIOBUTTON GROUP za DEFAULT 'X'.
AT SELECTION-SCREEN OUTPUT.
   PERFORM f13000_check_radio.
FORM f13000_check_radio.
     IF rb_man1 = ''.
LOOP AT SCREEN.
     IF screen-NAME = 'RB_MAN'.
       IF rb_man  = 'X'.
         screen-active = 0.
         rb_man  = ''.
       ELSE.
         screen-active = 1.
       ENDIF.
       MODIFY SCREEN.
     ENDIF.
     IF screen-NAME = 'RB_USER'.
       IF rb_user = 'X'.
         screen-active = 0.
         RB_USER = ''.
       ELSE.
         screen-active = 1.
       ENDIF.
       MODIFY SCREEN.
     ENDIF.
ENDLOOP.
     ELSE.
       LOOP AT SCREEN.
     IF screen-NAME = 'RB_USER'.
         screen-active = 1.
            MODIFY SCREEN.
     ENDIF.
   IF screen-NAME = 'RB_MAN'.
         screen-active = 1.
       MODIFY SCREEN.
     ENDIF.
   ENDLOOP.
ENDIF.
ENDFORM.           " f13000_check_radio

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 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

  • REG hiding selection-screen comment

    Hi all,
    Cud any one tell me how to hide a selection-screen comment.

    hi chaitanya,
    see the example may be useful.
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(8) PWD.
    SELECTION-SCREEN POSITION 35.
    PARAMETERS: PASSWORD(8) MODIF ID AAA.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: PROGRAM(8).
    SELECTION-SCREEN END OF BLOCK BLOCK.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'AAA'.
          SCREEN-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    reward if useful,
    thanks and regards

  • 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 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.

  • Selection screen comment..getting error...!

    Hi..,
    My code:
    SELECTION-SCREEN COMMENT 80(2) text-027
    Error Which I am getting with above syntax:
    The specified offset "80" is too large (maximum:79)
    Q: How to slove this? and here I need that text 27 is in greater than 80th position only.
    Thanks,
    Naveen.I

    >
    Avinash Kodarapu wrote:
    > The maximum length to display text on the selection screen is 80 chars.
    No, You can exceed this limit.I'm able to display the screen text upto 83.
    >
    Gautham Vangaveti wrote:
    > I think it is possible only upto 79.
    Which version you are in?
    >
    Naveen Inuganti wrote:
    > So we can'nt able to adjust the screen offset here?
    No, you can set offset upto 83 position.
    Just run this below code:
    REPORT test.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 83(2) text-005."I have 'To' in text-005 and make sure length is 2
    PARAMETERS: p_li AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    >
    Sathish Reddy wrote:
    > if you use comment statement with in the frame then you can't exceed 79.
    > if you use comment statement with in line then you can't exceed 83.
    That's true.

  • 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.

  • Selection screen comments

    Hi ,
    My requirement is to put the description ( in blue colour ) of the input field on the selection screen on the right handside of the field after the user enters a certain value.
    How do i go abt it..Plz help .
    Thanx nd regards,
    Srestha

    HI,
    check this example report it is doing the same.
    <b>REPORT zwa_test1 line-size 132 line-count 60.
    TABLES: fmfincode.
    SELECTION-SCREEN BEGIN OF LINE.
    selection-screen comment (11) text-004.
    parameters : fcode type fmfincode-fincode .
    parameters: fc_desc(50) MODIF ID FC  visible length 40 default 'abc'.
    SELECTION-SCREEN END OF LINE.
    AT selection-screen output.
    LOOP at screen .
      IF screen-group1 = 'FC'.
        Screen-input = 0.
        SCREEN-INTENSIFIED = 1.
        Modify screen.
      endif.
    ENDLOOP.
    at selection-screen on fcode.
    SELECT SINGLE beschr FROM FMFINT INTO fc_desc
    WHERE FINCODE = fcode.</b>
    REgards,
    HRA
    Message was edited by: HRA
    Message was edited by: HRA

  • How to hide variant configuration screen in sales order

    Hi Friends,
    Could you please help : how to hide variant configuration screen in sales order for a configured material
    Ranjan

    Hi
    The very purpose of VARIANT CONFIGURATION is to for this material these are the characteristics available
    In this you choose one characteristic then these are the values available
    If you make a choice then this is the price
    Means Maruthi car is the product
    Say 800
           Alto
           Zen
    These are characteristics
    In this you choose say black, cherry red, white these are the values
    When you put a sales order for Maruthi car then if it is 800 black colour then price is X
    if it is 800 white colour then price is y
    So that according to the choice of the customer the pricing and other details are fetched
    Why do you want to defeat the very purpose of VARIANT CONFIGURATION
    Rather than listing out of the whole product list the system simplifies the thing
    Without that popup variant configuration is meaningless
    Regards
    Raja
    Edited by: ramanathan raja on Dec 11, 2008 3:48 PM

  • ABAP Query Selection Screen Comment

    Hi,
      I want to display some text (just text) on Selection Screen of an abap query. If this was a regular abap program I could have simply used "SELECTION-SCREEN COMMENT... " and that would have been enough. But since I dont seem to have access to Initialize event I cant use this option.
    1.  Is there some way I can write code which will be executed in the initialize event of the abap query
    2. Is there some other way for us to just display comment (without any selection field) on the selection screen of abap query.

    Hi Saquib,
    Is the navigation correct ? I dont see any onfoset anywhere on se38 editor. Can you eloborate please.
    Thanks and Regards,
    Ben.
    Message was edited by: Daniel Ben

  • 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 Do I Drag Select Multiple Comments or Annotations in Adobe Acrobat Pro 9

    How Do I Drag Select Multiple Comments or Annotations in Adobe Acrobat Pro 9

    Hello Sara,
    Yes, command+click will work to select multiple comments. However, I'm working with some PDFs that have a substantial number of comments and this is taking quite some time to select them all. Additionally, it is tricky to click some of them, and if I mis-click, all the selection work is undone and everything becomes deselected. I'd like to know if there is a simpler way to select many multiple comments, such as a simple drag selection in Adobe Acrobat Pro 9.

  • How to have a selection screen in the smartform

    Hi,
    <i><b>How to have a selection screen in the smartform. <u>Could anybody share with the example of driver program and the smart forms</u> . Please send me ASAP</b></i>
    Thanks
    Shiva shekar

    Hi,
    Refer to this
    http://www.****************/Tutorials/Smartforms/SFMain.htm
    Thanks,
    Anitha

Maybe you are looking for