Hide the parameters on selection screen

Hi1
I have a report which has parameters as checkboxes in the sleection screen and by default all the three parameters are checked . What I want to do is hide these parameters in the selection screen while their functionality still existing mean when I run teh report the result should show what it showed when the three checjboxes were checked and the parameters were visible. So now I just want to hide these parameters in my selectiopn screen.
Can anyone help me out pls.
PARAMETERS:     p_varia TYPE disvariant-variant MEMORY ID wrk,
                p_rb1 RADIOBUTTON GROUP G1  user-command ucomm default 'X' hide,
                p_all AS CHECKBOX DEFAULT 'X' modif id 123,
                p_group AS CHECKBOX modif id 123,
                p_rb2 RADIOBUTTON GROUP G1,
                p_date AS CHECKBOX MODIF ID 234,
                p_bedat TYPE fpla-bedat DEFAULT sy-datum MODIF ID 234,
                p_endat TYPE fpla-endat MODIF ID 234,
                p_rental AS CHECKBOX MODIF ID 234.
Thanks

Hi,
Try this sample code. Hope it will solve ur prob.
REPORT  ztest_hl7.
PARAMETERS: p_varia TYPE disvariant-variant MEMORY ID wrk,
p_all AS CHECKBOX DEFAULT 'X' ,
p_group AS CHECKBOX DEFAULT 'X' ,
p_rental AS CHECKBOX DEFAULT 'X' .
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF screen-name = 'P_ALL' OR screen-name = 'P_GROUP'
    OR screen-name = 'P_RENTAL'.
      screen-invisible = 1.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
START-OF-SELECTION.
  WRITE /: p_all,p_group,p_rental.
Regards,
Joy.

Similar Messages

  • How to hide a block in Selection screen ?

    Hello abap gurus,
    I have a requirement where I have to hide a block on Selection screen. Can anyone of u give the command for that or code..
    Its urgent !
    Om Sai Ram,
    aRgD

    Hi,
    Just paste the following code in abap editor.
    *Selectionscreen elements..............................................
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS:
      p_uname     LIKE sy-uname
                  MODIF ID bl1.            " User name
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS:
      p_fname(10) TYPE c MODIF ID bl2
                         OBLIGATORY,       " First name
      p_lname(10) TYPE c MODIF ID bl2
                         OBLIGATORY,       " Last name
      p_empid(5)  TYPE n MODIF ID bl2
                         OBLIGATORY.       " Employee id
    SELECTION-SCREEN END OF BLOCK b2.
    *" Data declarations...................................................
    Work variables                                                      *
    DATA:
      w_uname     LIKE sy-uname.           " User name
                 AT SELECTION-SCREEN OUTPUT EVENT                       *
    AT SELECTION-SCREEN OUTPUT.
      PERFORM validate.
                AT SELECTION-SCREEN ON FIELD EVENT                      *
    AT SELECTION-SCREEN ON p_uname.
      PERFORM validate_uname.
                      END OF SELECTION EVENT                            *
    END-OF-SELECTION.
      PERFORM output.
    FORM VALIDATE                                                      *
    This subroutine disables all parameters if user name is not        *
    initialized or user name is not valid.                             *
    There are no interface parameters to be passed to this subroutine. *
    FORM validate.
      w_uname = sy-uname.
      IF p_uname IS INITIAL OR p_uname NE w_uname.
        LOOP AT SCREEN.
          IF screen-group1 EQ 'BL2'.
            screen-active = '0'.
          ELSE.
            screen-active = '1'.
          ENDIF.                           " IF screen-group1 EQ 'BL2'.
          MODIFY SCREEN.
        ENDLOOP.                           " LOOP AT SCREEN.
      ELSEIF p_uname EQ sy-uname.
        LOOP AT SCREEN.
          IF screen-group1 = 'BL1'.
            screen-active = 0.
            MODIFY SCREEN.
          ELSEIF screen-group1 = 'BL2'.
            screen-active = 1.
            screen-output = 1.
            screen-input = 1.
            screen-invisible = 0.
          ENDIF.                           " IF screen-group1 = 'BL1'.
          MODIFY SCREEN.
        ENDLOOP.                           " LOOP AT SCREEN.
      ENDIF.                               " IF p_uname IS INITIAL...
    ENDFORM.                               " VALIDATE
    Form VALIDATE_UNAME                                                *
    This subroutine gives error message and validates the user name.   *
    There are no interface parameters to be passed to this subroutine. *
    FORM validate_uname .
      IF p_uname IS INITIAL.
        MESSAGE 'Enter the user name'(001) TYPE 'E'.
      ELSEIF p_uname NE sy-uname.
        MESSAGE 'Authorization unsuccessful'(002) TYPE 'E'.
      ENDIF.                               " IF p_uname IS INITIAL.
    ENDFORM.                               " VALIDATE_UNAME
    Form  OUTPUT                                                       *
    This subroutine is used to print the output.                       *
    There are no interface parameters to be passed to this subroutine. *
    FORM output .
      IF p_fname IS NOT INITIAL.
        WRITE: / 'First name:'(003),p_fname.
        WRITE: / 'Last name:'(004),p_lname.
        WRITE: / 'Employee id:'(005),p_empid.
      ENDIF.                               " IF p_fname IS NOT INITIAL.
    ENDFORM.                               " OUTPUT
    I think this solves your problem.
    Reward if it helps you.....
    Regards,
    Sandhya

  • How to hide input fields on selection screen using variant attribute

    Hello all,
    I want to know how to hide input fields on selection screen using variant attribute conpletely.
    As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
    I want to hide the field completely. Di you know how to do ?
    Thank you for your support.
    Regards,
    Hideki Kozai

    Use this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
    Otherwise
    in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
    Regards
    Marcin

  • How to hide F8 function on selection screen.

    Hi,
    How to hide F8 function on selection screen.

    Just create a customer status and SET this status in your INITIALIZATION block.
    <i>You can copy the standard status from program RSSYSTDB status %_00.</i>
    Regards

  • Beginner Question - How to hide the parameters of a created process on a remote machine.

    OK so I am useng the following Powershell command invoke-WmiMethod -class Win32_process -name Create -Argumentlist ($some_command_with_parameters) -Authentication 6 -ComputerName $Your_Computer -Credential $cred
    The question comes when I pass the command with parameters in the command is encrypted until it gets to the destination but then it appears to be very easy to view the command parameters by using a PROCESS Get command while that command is being run. 
    Is there a way to hide the parameters on the remote system to prevent someone from viewing those at the time I run my script.  The problem is that I would like to pass a username and password as a parameter but would like to make sure it is fairly secure.

    Yeah I was trying to execute a cmd.exe /c ...  This works great except the for mentioned issue.  Essentially what I was trying is to create a backward mapped drive.  In order to transfer a log that is created from the command I am running,
    back to my machine.  I know the process I am doing could potentially be done different but in the enviroment I am in it is very restricted so I am basically working with what I have here.  Is there any way to at least make sure that no one other
    than the person who created the process can see its arguments?  Interactive prompts or using files won't work as I am doing this remotely and essentially issuing one long command that will do everything I want. A file might work but I don't have a secure
    way to transfer a file as this has to be a process I can do on multiple servers and many of them do not have anything setup for doing that.  The other issue is the credentials would still be unsecure on the server as long as the file was there. 
    I think my best bet would be if possible to restrict others from viewing a process and arguments that I create.  Any ideas?

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • I am dual booting my mackbook pro with windows 7 64 bit. Yesterday it started locking up at the disk drive selections screen, when you hold down the "option" butting when powering on. I have been searching all morning, and so far nothing. Thanks. :)

    Hey folks,
    I have been using bootcamp for months now with windows 7 64 bit, and its been fine, yesterday while I was rebooting to do some gaming, at the hard drive selection screen when you boot holding the "options" butting down, it locks up when I select the windows drive and just sits there for ever. It doesn't throw an error, it boots fine into Lion.
    I searched all morning and didn't find anything, was hoping that someone might have an idea.
    Thanks in advance

    Search again. Microsoft has tips on what to do and Windows has a number of features
    system restore points
    automatic system repair using the Win7 DVD
    system restore image creation
    Just like you would with OS X Lion and Lion Recovery and Repair
    Use WinClone 3 www.twocanoes.com $20 to make an image just like you would with Disk Utility Restore or Carbon Copy Cloner
    rollback to last known good boot check point
    rollback a driver or program or any changes
    clean out temp files
    clean registry
    chkdsk
    https://discussions.apple.com/people/The%20hatter?view=bookmarks

  • KDMAT need to be included in the current VA01 selection screen or list when

    Hello SAP SD Consultants,
    Please help me with below requirement or what user exit should we use to implement below requirement.  I have discussed with with ABAP and gave some User exits that has related description, however, ABAP confirmed that none of below UE suits the requirement.
    1. AD010002 - Delimit selection and/or filter data that is determined
    2. CLCLRS01 - Additional Fields on the Result Screen
    3. CLCLRS02 - Fill the Additional Fields on the Result Screen
    4. V60P0001 - Data provision for additional fields for display in lists
    5. WVLB0001 - Display additional data in subscreen for simulation list
    Thus, kindly help us on how we can proceed with this.
    000----
    Requirement:
    The field  u201CCustomer-material numberu201D or field name KDMAT need to be included in the current VA01 selection screen or list when creating sales orders with reference from a contract.
    Currently, customer have its own description or material code to classify or define the product they want to order  which are sometimes not exactly the same as the material number maintained in the system or the product / material code used by the Company for sales. These material descriptions were manually entered in the system thru the use of customer-material number field or KDMAT. When sales orders or contracts are created for certain or specific customers, the user or the person who creates that contract / order manually inputs the description in the customer-material number field.
    The said entry should also be seen in the Selection List for Reference Document. The transaction to be modified is VA01 under program screen SAPMV45A specific to screen number 4413.
    Test Data used:
    Reference Transaction: VA41 (create contract), VA43 (display contract)
    Order Type: ZCQ (example)
    Contract No. 40000040
    Transaction: VA01
    Order type: ZOR (example)
    Contract No. 40000040
    a. Go to tcode VA01, input the order type ZOR, click the button CREATE with REFERENCE.
    b. Input the reference contract document, since our reference doc is a contract, go to tab CONTRACT and input the contract no..
    Expected output:
    Upon inputing the contract no. in the contract tab, click u201CSelection Listu201D.
    The customer-material number or KDMAT should be included as one of the field and should be displayed in the Selection List for Reference Document window.
    Edited by: ria sumagaysay on Mar 26, 2010 11:30 AM

    Hello,
    Thank you for the responce.
    The reason why they want to reflect KDMAT in the selection list is that, during order creation, not all materials or KDMAT will be ordered by that customer, only specific materials. However, during order processing, the customer only gives the details of the KDMAT. Thus, if there are around hundreds of items inside that contract, the sales personnel who creates the order needs to exclude those material not included in the customer order list manually via checking table VBAP and compare the material code from the selection list.
    This is very tedious on their part and commonly caused human error, however, when the KDMAT field is available, although the process has manual intervention, it will serve them well and lessen the burden.

  • How to hide the parameters in the url

    Hi,
    Can anyone help me to hide the parameters being passed in the url. For example, when a link is clicked i want to pass few parameters to it, but i dont want to display those parameters in the url. Can anyone help me figure out how can i achieve this?
    Thanks
    ri

    In your CO's processFormRequest, do pageContext.putTransactionValue(name, value). You can retrieve the value using pageContext.getTransactionValue(name). Please use your own judgement to use Transaction or Session as the place holder as per your requirement. In most cases, transaction would do but if you want the values to be retained across transactions, use Session. Also, make sure to clear those values when you are done with the values so that this does not get retained across session/transaction.
    Incase, you want the values only for the next submit and not for the transaction, you can use pageContext.putParamater() and pageContext.getParameter() which has a very short life cycle.
    Regards,
    Guru.

  • Regarding the event AT SELECTION-SCREEN ON FIELD ..

    Hi experts,
    Can u plz tell the real advantage of the event AT SELECTION-SCREEN ON FIELD than
    AT SELECTION-SCREEN ..
    in which type of situations  AT SELECTION-SCREEN ON FIELD is needed??
    Thanks & Regards,
    sathish.

    Hi,
    when we are going to do two are more field validations at a time
    we can use AT SELECTION-SCREEN ON <fieldname>.
    if it is there single field we can use AT SELECTION-SCREEN.
    have a look.
    select-options: s_vbeln like vbak-vbeln,
                          s_vkorg like vbak-vkorg,
                          s_vtweg like vbak-vtweg,
                          s_matnr like vbap-matnr.
    AT SELECTION-SCREEN ON s_vbeln.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    AT SELECTION-SCREEN ON s_vkorg.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    AT SELECTION-SCREEN ON s_vtweg.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    AT SELECTION-SCREEN ON s_matnr.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    Regards.
    sriram.

  • Adding the field in selection screen

    Hi Guru's,
    how can i add the field in selection screen of t code qa33.
    can any one help me pls.
    Thanks & Best Regards,
    Rakhi.

    You can enhance the standard program RQEEAL10 using implicit enhancement points.
    Click the spiral (Enhance) button (Shift + F4)
    Go to Edit -> Enhancement operations -> Show Implicit Enhancement Poitns
    Create an Enhancement Implementation and include your code there.
    See the following link -> Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework
    Hope it helps
    Neeraj

  • Why is the Boot Disc Selection screen always appearing?

    WIth a bootcamp partition on an iMac booting while holding down the Option key will cause the boot disk selection screen to appear, but suddenly I'm getting the boot disk selection screen even WITHOUT holding down the Option key. Why?

    Well it might take a little longer since POST (power-on self test) needs to check more memory.
    But try doing a smc and pram reset and see if that helps.

  • What r the list of selection screen events

    What r the list of selection screen events

    hi,
    chk out the following links...
    http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/content.htm
    http://www.sap-img.com/abap/different-types-of-selection-screens.htm
    Regards,
    Viji

  • The Cluster Node Selection screen doesn't appear installing  RAC 9i

    The Cluster Node Selection screen doesn't appear installing RAC 9i with OCFS on Windows 2003
    We are using patch #2878462 OUI 2.2.0.18.0
    The Oracle Cluster check was successful !

    more info ...
    We are following the doc. id. #178882.1 "Step-By-Step Installationg of RAC with OCFS on Windows 2000" instructions.

  • How gray out the fields in selection screen with parameters

    Hi,
    Can any one help me how to gray out the selection screen fields
    Start-of-selection----
    Parameters : p_status TYPE edids-status MODIF ID xyz DEFAULT co_51.
    End-of-selection----
    i want to grayed out the field p_status.
    except At selection-screeen output, can any one suggest the other method of gray out the above field.
    Thank u
    B Ravi Kumar

Maybe you are looking for

  • Calling a WebServices From Java Stored Proc fails with Connection refused

    I have followed the example in Note:220662.1 on Metalink step by step. I am using two windows machines (2000 SP4). I have Oracle 9.2.0.5 EE on one of them and OC4J 9.0.4 standalone on the other(running on JVM 1.4.2_05-b04). The 2 servers "see" each o

  • While saving the sales document .this error is coming.

    Is there any body to help it out ....... While saving the document this error is coming **Financial document: No financial document assigned**

  • Account Blocked

    For two weeks I have a problem with my Skype account.  I put some credit to make Skype-to-phone calls and tried to make one a msg pops up: your accont has been blocked; aultough I do have 9 dollar credit on it. Previous to the problem skype customer

  • Discount on Total Po value

    Hi, I want discount on Total Po Value For Example Basic Price :100 Vat : 4 Freight Charge :10 Total Po value :114 Rs Discount : 5 Effective price :114 -5 = 109 Rs Now 109 Rs should be hit GR /IR ACCOUNT rather than 114 rs  during MIGO. Please revert

  • Invalid testsuite XML document for junitreport task

    Hi everyone, I'm new to this forum and apologies if this is the incorrect place for me to post this thread. Basically I'm having some issues with the junitreport task with my junit test project. I have a dummy class called Money and dummy test suite