How to make a parameter grey

How to make a parameter(text box) uneditable by enduser.

Hhi,
SELECTION-SCREEN COMMENT [/]pos(len) comm [FOR FIELD f]
                                          [MODIF ID key].
This statement writes the comm comment on the selection screen. For comm, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length len. The field must be filled before the selection screen is called. You must always specify the pos(len) addition. Only if there are several elements in one line can you omit pos.
The text comm  will be displayed, starting in column pos, for a length of len. If you do not use a slash (/), the comment is written into the current line; otherwise a new line is created.
You use FOR FIELD f to assign a field label to the comment. f can be the name of a parameter or a selection criterion. As a result, if the user requests help on the comment on the selection screen, the help text for the assigned field f is displayed.
Regards
Sudheer

Similar Messages

  • How to lock a customer master and how to make a parameter checkbox as defau

    how to lock a customer master and how to make a parameter checkbox as default checked?

    The Account Groups is the one which maintains the field status for the customer master. In case you want to change the field status (i.e. changage the mandatory field to optional field) you need to maintain the same (i.e. changage the mandatory field to optional field) by navigating to the field status screen and then to the general data tab. Here you can change the status of the your field by selecting the 'OPTIONAL' radio button for the respective field and then save the transaction.
    Reward Points if useful.

  • How to make selection parameter gray out, not changeble mode

    Hi Experts,
      Selection screen having parameters, I am putting default values in that parametrs.
    How to make this parameter gray out, not changeable mode.
    Thanks in advance
    mahahe.
    See comments below
    Edited by: Rob Burbank on Jul 1, 2009 12:43 PM

    Hi,
    For the parameters required, while declaring them use the MODIF ID, lets say you have choosen the modif id as SC1.
    i.e. parametes: p_mat type matnr DEFAULT '100' MODIF ID SC1.
    Then in the initialization event, code as below.
        LOOP AT SCREEN.
          IF screen-group1 = 'SC1'.
            screen-input = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
    It will work.
    Regards,
    Nangunoori.

  • How to make a parameter base report?

    I am making a report on employees and departments but i want to choose employees for some required departments for that i need to use parameter, and i need help that how will i make a parameter in reports builder 10g.
    I am able to do it by writing a where clause in query but now i want to do it from user parameters. Seek help here.
    Maz

    Here is a list of things to do. Let me know if anything is not clear.
    1) In your main query create a lexical parameter at the very end of you where clause ( dont put and &p_where just &p_where)
    &p_where
    2)Create a user parameter with datatype character and width 200
    ex: P_departments
    3) Create a field on the Paper Parameter Form
    4) Click on that field and go to the List of Values (if you want a lov...) and insert the following
    Ex:
    select 'All',' All Departments' from dual
    union
    select to_char(department),to_char(department)||' - '||department_name
    from departments
    order by 1
    5) Go to Report Triggers > After Parameters and insert the following
    Ex:
    begin
    :p_where := null;
    if :p_departments not like '%All%' then
    :p_where := :p_where ||' and table.department = '||:p_departments;
    end if;
    return (true);
    end;
    This will allow you to select a department or leave it at the default of all departments. It will also allow you to remove the hardcoded statement in your where clause such as
    where department = 'HR'
    Edited by: DOUBLE U on Aug 3, 2011 3:32 PM

  • How to make required parameter dynamically?

    Hello,
    I have 3 parameters for a report:
    1st parameter (mandatory): Run Report has 2 values: By Department, By Country
    2nd parameter: Department
    3rd parameter: Country
    If user selects By Department, then I want Deparment becomes mandatory with asterisk next to it.
    If user selects By Country, then I want Country becomes mandatory with asterisk next to it.
    How can this be achieved?
    thanks
    Lei

    Why not have only one parameter as a dropdown list box with the choice of running by department or by country. The user will only be able to pick one or the other.
    Assuming you call the parameter pSORTBY you can then have your SQL look like this.
    ORDER BY :pSORTBY

  • How to make a parameter mandatory ONLY if a certain radiobutton is clicked

    Hello experts,
    I have 3 radiobuttons. Now I modified it in such a way that if I clicked the 3rd radiobutton which is named pr_edit the parameter p_code will accept input. Now, what I want to modify it again that when I click on the pr_edit radiobutton, the parameter will be mandatory but the problem is this, if I click on other radiobuttons the parameter p_code is still mandatory which is wrong. Anyway, below is my code:
    SELECTION-SCREEN BEGIN OF BLOCK box1 WITH FRAME TITLE text-001.
    PARAMETERS: pr_upld RADIOBUTTON GROUP grp MODIF ID id3
                                              USER-COMMAND ucomm.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(30) text-a11 FOR FIELD p_flnme MODIF ID id3.
    PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:\' MODIF ID id3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(32) text-002 FOR FIELD p_dcode MODIF ID id1.
    PARAMETERS: p_dcode LIKE vbak-kunnr MODIF ID id1,
                p_name1 LIKE kna1-name1 MODIF ID id1.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: pr_list RADIOBUTTON GROUP grp MODIF ID id4,
                pr_add  RADIOBUTTON GROUP grp MODIF ID id2,
                pr_edit RADIOBUTTON GROUP grp MODIF ID id5.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(30) text-a12 FOR FIELD p_code MODIF ID id2.
    *PARAMETERS: p_kunnr LIKE zts0001-kunnr.
    PARAMETERS: p_code LIKE zts0001-cdseq MODIF ID id6.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK box1.
    AT SELECTION-SCREEN OUTPUT.
    IF v_compflag EQ space.
        LOOP AT SCREEN.
          IF screen-group1      = 'ID1'.
            screen-input        = '0'.
            screen-output       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID2'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID3'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID4'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID5'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID6'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF v_compflag NE space.
        LOOP AT SCREEN.
          IF screen-group1      = 'ID1'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID2'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID3'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID4'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID5'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID6'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-name   = 'P_CODE'.
          screen-input   =  '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
      IF pr_list = 'X' OR
         pr_add = 'X'  OR
         pr_upld = 'X'.
        LOOP AT SCREEN.
          IF screen-group1   =  'ID6'.
            screen-input     =  '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF pr_edit  =  'X'.
        LOOP AT SCREEN.
          IF screen-group1   =  'ID6'.
            screen-input     =  '1'.
            screen-required  =  '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    Again, thank you guys!

    Hi,
    As i said earlier put your logic in AT SELECTION-SCREEN.
    <b>Replace this logic :
    IF pr_edit = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ID6'.
    screen-input = '1'.
    screen-required = '1'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDIF.
         with:</b>
    LOOP AT SCREEN.
    IF screen-group1 = 'ID6'.
    IF pr_edit = 'X'.
    screen-input = '1'.
    ELSE.
    screen-input = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Then
    IF p_edit = 'X' and P-code is initial.
    message "Enter the code".
    endif.

  • How to make input parameter with multiple values in function module?

    Dear Experts,
    I want to add BUKRS as import field to a FM, what is the best way of of making it accept multiple enteries.
    Regards,
    Kiran

    hI kiran,
    The simple way is to create a data element & domain with value range where u provide set of fixed values or provide a check table to it.
    Use that data element in a table <ztable>.
    Code:
    Parameters:
          p_burks like <ztable>-dataelement.
    Call Function <function_name>
    exporting
    p_burks = p_burks,

  • I want to make a field grey out in a standard tcode AS02

    Hi Friends,
    Can anyone explain me how to make a field grey out for the standard tcode AS02. I have to make the serial number in that so that no one can change it.
    Let me know the steps, if possible with an example.
    Regards,
    Ramesh.

    Hi Ramesh .,
    in Transaction AS02 which field you want to make Grey out .
    any how i could not find Screen Exit for the Tcode where u can do such type of things .
    if it is with Serial Field You can Validate it with Enhancement : AISA0001 .
    I think SHD0 is for Variant creation for Reporting purpose , But AS02 is an Asset Change Transacttion . i dont think you need to use  SHD0 .
    thanks
    Sreenivas Reddy

  • Make a parameter invisible

    how to make a parameter invisible on a selection screen?

    Some ways to process
    - Use the [NO-DISPLAY|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=no-display&adv=false&sortby=cm_rnd_rankvalue] option of the PARAMETERS statement (deactivate)
    - In the PBO ([AT SELECTION-SCREEN OUTPUT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=atSELECTION-SCREENOUTPUTLOOPATSCREEN&adv=false&sortby=cm_rnd_rankvalue]) hide (SCREEN-INVISIBLE = 1.) or deactivate the parameter (SCREEN-ACTIVE = 0.) in a [LOOP AT SCREEN|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=atSELECTION-SCREENOUTPUTLOOPATSCREEN&adv=false&sortby=cm_rnd_rankvalue] block.
    - Create a [variant|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=reportvarianttransaction&adv=false&sortby=cm_rnd_rankvalue] which hides or protects the parameter and assign it to the transaction.
    Deactivate parameter may only be filled by a calling program, invisible and input field will look like a password field.
    Also make a [little search on sdn @sap.com|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=invisibleparameterselection-screen&adv=false&sortby=cm_rnd_rankvalue]
    Regards

  • HOW TO MAKE THE SAVE BUTTON IN GREY MODE IN QA32 INTIAL SCREEN

    Dear friends,
    How to make the save button , in the tcode QA32  intial screen in GREY MODE.
    As  i don't want the screen variant created by me should not be seen by the user.

    Hi
    There is one option ,You can protect yor varient but not hide it.
    To protect>QA32>Mydefault>Varient Attibute>click on protect varient.
    If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
    I hope this can be one of the solution
    Regards
    Sujit

  • How to make a jsf parameter form with a selectOneChoice and data control

    I want to make a parameter form with a selectOneChoice and store this value in a backing bean, so I can use as a bind variable in query. I already made it happen without data control
    Can someone show how to do it in adf data control. With the wizard it tries put the value
    in a viewobject but I don't have base or destination viewobject. I can change the pagedef
    so it works to fill the selectOneChoice but then I want to store the selected value in a session beab
    here is solution with the application module and request / session bean, I don't
    think it is the right solution
    thanks edwin
    jsf page
    <af:selectOneChoice label="Desk" value="#{selectDesk.desk}"
    id="DeskID"
    binding="#{selectDesk.deskBinding}"
    autoSubmit="true"
    valueChangeListener="#{selectDesk.deskChangeListener}">
    <f:selectItems value="#{selectDesk.deskSelectItems}"/>
    </af:selectOneChoice>
    Selektdesk backing bean
    public SelectDesk(){
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{userInfo}");
    userInfo = (UserInfo) valueBinding.getValue(facesContext);
    public List<SelectItem> getDeskSelectItems() {
    if ( userInfo.getSelectItems() != null ) {
    selectItems = userInfo.getSelectItems();
    return selectItems;
    if ( getBindings() != null ) {
    userInfo.setBindings( getBindings());
    else {
    setBindings(userInfo.getBindings()) ;
    if ( selectItems == null ) {
    selectItems = new ArrayList<SelectItem>();
    DCBindingContainer bc = getBindings();
    SicmaService sicma = (SicmaService)bc.findDataControl("SicmaServiceDataControl").getDataProvider();
    ViewObject desk = sicma.findViewObject("DeskSelectView1");
    desk.executeQuery();
    RowSet rows = desk.getRowSet();
    while (rows.hasNext()) {
    Row a = rows.next();
    String DskId = a.getAttribute(0).toString();
    String DskOms = a.getAttribute(1).toString();
    selectItems.add( new SelectItem(DskId ,DskOms ));
    rows.closeRowSet();
    userInfo.setSelectItems(selectItems);
    return selectItems;
    faces-config.xml
    <managed-bean>
    <managed-bean-name>selectDesk</managed-bean-name>
    <managed-bean-class>org.tennet.sicma.view.backing.SelectDesk</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <property-class>oracle.adf.model.binding.DCBindingContainer</property-class>
    <value>#{bindings}</value>
    </managed-property>
    </managed-bean>

    The SRDemo has an example of a selectOneRadio bound to a parameter being used to pass to an ExecuteWithParams action (to automatically feed a view object's named bind variable. This is in the SRStaffSearch.jspx page.
    Also, if you check out example # 72 from my blog:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#72
    There is another example of using a selectOneListbox to do the same type of thing.
    The steps involved in creating something like this are to:
    (1) Define your named bind variables on your view object
    (2) Drop the "ExecuteWithParams" action in the operations folder of that view object from the Data Control Palette to your page as a "Parameter Form"
    (3) Drop the specific attribute (nested child of the "ExecuteWithParams" action from step (2) as whatever kind of selectOneXXXX control you want
    (4) Delete the extra field on the form you don't want.

  • I have greyed out songs on my ipod and i dont know how to make them come back on my ipod and it wont work from my itunes library to my ipod

    I need to know how to make greyed out some songs turn bold. I have tried from my itunes library to my ipod but it still wont work. Can anyone help?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • How to make Start Date as optional parameter in Crystal reports 2011

    Hi All,
    I have existing Start Date and End Date parameter how to make them as optional parameters.
    Thanks for your help in advance!!.

    Hi Mnnica,
    There is an option 'Optional Prompt' under value options, make that as true.  Do the same for both startdate and enddate then go in Record Selection Formula and write below formula :
    If Not (hasvalue({?Startdate}) then True else {?Startdate} >= {databasedatefield}
    and
    If Not (hasvalue({?Enddate}) then True else {?Enddate} <= {databasedatefield}
    Check below screen capture for Optional Prompt options :
    -Sastry

  • How to make a CheckBox for a report parameter?

    Hi,
    How to make a CheckBox for a report parameter?
    thanx

    design ur parameters forms using forms and call ur report form there

  • How To Make A Public Page Parameter (similar to session)

    Hi, I'm new to Oracle Portal
    I wonder how to make a public parameter that can be accessed from any page (similar to session).
    So the portlets can use the public parameter.
    Case:
    when user logged in, I pass the employee_ID to the session.
    Portal pages, which contains employee portlet, and some other portlet depends on employee_ID.
    So I think, may be there's a way to set the parameter for once, but the value is accessible until the user log off.
    Any suggestion or help?
    Thx before,
    Chris

    Let me explain the problem once again:
    Page 1 Portlet 1 contains employee table
    ID, Name, Address
    When I click the employee ID (using event), it will be pass the value to page parameter EMPID
    And i want this EMPID can be accessed by
    Portlet 2 - Showing sales report
    Portlet 3 - Showing report
    Portlet 4 - Showing chart
    Portlet 5
    and so on
    Portlet 2, 3 4, 5, and so on is using EMPID as the parameter too,
    but these portlets are located in different page
    Portlet 2 is in page 2
    Portlet 3 is in page 3
    Portlet 4 is in page 4
    Portlet 5 is in page 5
    and so on
    First I think about using Package wwpro_api_parameters
    but after read further, this package can get and retrieve only
    I wonder can this (public page parameter) be done by using default Oracle Portal Tools / API, or I should do some java coding, or something else?
    Please help me...
    Thanx before,
    Chris

Maybe you are looking for

  • How can I do a screen dump on my Mac?

    I am trying to print off a list of tracks from iTunes but if I copy and paste into Word it doesn't print in proper order so I'm now trying to do a screen dump but can't remember how to do it.  Can anyone help please?

  • My ipod connects to my laptop and shows up in My Computer but it doesn't show up anywhere in ITunes. HELP

    My ipod connects to my computer, and shows up in My Computer so i can access the photos but not in ITunes so i cant access my music and movies, ive tried trouble shooting and the other suggestions from this site but nothings working. It hasn't always

  • Permission issues between an intel 10.7 and a G5 10.5

    Hi all, I hope you guys could should some light on and issue we are having at my office. I have 2 girls in our ad department.  Angie is on a relatively new Mac Pro running 10.7, and Robin is on a G5 Mac Pro running 10.5.  They are part of our company

  • No load is running from r3 to BI

    HI guru's, In our Developement Bi server no load is running . We have link from r/3 120 to BI and r/3 150 to BI. From both clients no loads are running . When i trigger the loads its turning into red and r/3 job cancled. (SOURCE SYSTEM CONNECTION IS

  • Impleneting Data Access Object(DAO)

    Hi Guys... I have one doubt. needs help from u ppl. Suppose there r 5-6 tables, so its certainly not a good idea to code as much number of Entity Beans. What i have read is, make one Entity Bean n then make others as DAO(Data Access Objects) and map