How to make some fields of table as non editable through SM30

Hi,
I craeted a custom table and maintained thriugh sm30. 2 fields should be read only. Can any one help me un that
Regards,
Jayaram

Create  a view   and in  the maintain status   ,make it read only so that  the  fields  will be  on  read only mode  .
Girish

Similar Messages

  • How to make some fields of a view non editable

    Hi experts,
    I need to make some fields like system user, system time and system date of a view non editable and after saving values for all other editable fields, the system should fill the values for the non editable fields as well.
    Kindly help in this regard.

    I am assuming that you created a maintenance view for your table. Under view fields there is a column called 'Maintenance Attribute for view field' (one character field with 'P' in the column. Set that column value to 'H' for the fields that you want to hide.
    You then have to go to SE54, give your maintenance view name, in the menu, 'Environment-->Events' create an event 01 with your own code to fill in those hidden fields. Look with key words 'Table Events' in this forum and you will get a lot of examples.

  • Portal Forms - How to make a Field with DEFAULT value NON-EDITABLE by Users

    I HAVE A FORM WITH A DATE FIELD ON IT WITH DEFAULT VALUE.
    THIS IS A TABLE-FIELD.
    I WANT THE FIELD TO BE DISPLAYED ON THE FORM BUT NOT TO ALLOW
    USERS TO EDIT/CHANGE IT.
    HOW CAN I DO THIS?
    TKS IN ADVANCE

    Hi,
    see Re: sequencing problem-Forms
    Regards Michael

  • How to make some fields in ALV tree editable

    Hello All,
    Can any one tell me how to make some fields in ALV tree editable.
    If possible please post some code.
    Regards,
    Lisa.

    Hi Lisa,
    I want to make 3 fields in the ALV tree editable and update the saved values in ztable.
    I tried making the wa_fieldcat-edit = 'X' But in vain.
    Also i made the layout fields  wa_layout-edit = 'X'  and wa_layout-edit_mode = 'X'.
    But still the alv tree field appears as display.
    As you have mentioned in the post as answered, So please guide me to make the field editable.
    I am using oops method.
    Please provide me code if any.
    Thanks & Regards,
    Mozila

  • How to make some fields disable mode in BAPI?

    Dear sir,
    I want to know in Bapi, In Import parameters of output display screen as we are entering values i want to make some fields disable mode (as in report program, in output screen, suppose 2 entry fields are der so i need only one and another one in disable mode)how to do in BAPI?  please explain with example by taking 2 or 3 predefined tables? and in Bapi how to do ranges programs.. please explain with example? is it posiible in bapi to display the output in ALV_GRID method?
    regards
    patil

    Hi Rachu Patil,
    I think there is no posibility to disable fields in import parameter of bapi but you can select optional check box to make the field as an optional field in import parameter. Like wise you cant set range. If you want to set range than declare two variable for low and high.
    Regards,
    Harish

  • How to make some fields mandatory for a custom screen we have added

    Hi All,
    Please let me know how can I make some fields mandatory through coding in PBO for only some fields of a screen.
    Say if I have 4 fields in my screen(module pool not selection screen) i want to make mandatory 2 fields based on some conditions how to do this? I tried using screen-group but this will make mandatory all the fields of that screen mandatory.
    I want only specific fields based on condition in run time.
    Regards
    Mahesh

    Hi Mahesh,
             Try this ..
      Assign the same group to those fields , say GRP
           in  PAI
             IF <CONDITION>
                Loop at screen.
                   if screen-group1 = 'GRP'.
                      screen-required = '1'.
                      modify screen.
                   endif.
                 endloop.
              ENDIF.

  • HOW TO MAKE THE FIELDS ON TABLE CONTROL SCREEN FIXED!!

    Dear all,
    Can you please tell me as to how to make the fields on the table control screen fixed (not respond to the scroll bar) i.e. simillar to MC88 screen , the first two fields are fixed and don't respond to the scroll.
    Please Help!!!!
    Vj

    Hi
    In TC, goto attributes and set 'Fixed columns' as 2. This will fix the first 2 columns.
    Regards
    Navneet

  • How to make the fields of table clickable?

    Hi Experts,
    I have created one RFC based WD program. We are displaying data in a table. Now I have to make some of the fields of table clickable.
    When the user will click on some of the fields, another RFC should be called.
    How I can do so?
    Regards,
    Gary

    hi
    when you try to select the attributes of the table that has to be  populated
    you may have  to right click on the rootuicontainer and select apply template and select table
    and select the attributes from the node that has to be populated in the table and click next
      and you can find the attributes name and textview which is by default that would be shown inthe table
      instead you can  change the textview and select from the dropdown select the linktoaction and linktourl
      and or you can go other way as add a new column to the table and select buttons to the table .
      and for each each row and on click of the button you can call the RFC .
    Thanks

  • How to make some fields mandatory based on radio button selected

    Hi,
    As per requirement i have two radio buttons in my screen.
    1.update
    2.Display.
    When the user clicks update then certain fields of selection screen should be made mandatory.
    And if the user cliks the Display Radio Button then certain fields should be made mandatory.
    How to code for it.
    Thanks and Regards,
    Smriti

    Hi ,
    use this code ,
    now according to your requirement you make changes to your parameters.
    parameters: r1 as radiobutton group g1, " this id you update button
                r2 as radiobutton group g1.         " this is for display
    PARAMETERS: TEST1(10) MODIF ID SC1, " assume these are the fields as parameters.
    TEST2(10) MODIF ID SC2,
    TEST3(10) MODIF ID SC1,
    TEST4(10) MODIF ID SC2.
    AT SELECTION-SCREEN OUTPUT.
    if g1 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    elseif g2 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Please let me know if you still need any help.
    Thanks and regards,
    Rajeshwar

  • How to make Parameter field not mandatory while running CFL through SAP B1

    Hi Experts.......
    I have a small doubt if anybody can help me.......
    I have created a simple report for testing purpose by taking table OITM and it is diplayng CFL symbol in B1 scressn when I import. Upto this it is working fine and showing correct input.
    Now I made some changes according to my logic is that When I select any value in condition parameter say any Item Group it shows me output for that particular ItemGroup. And when I select nothing in Parameter then it is displaying all data from all the group and this si what I want. But when I import the same CR in SAP and running same report it is not allwoing me to paas Null value so that I can get all the data as output.
    This is giving right result if I dirctly run CR by refreshinh Parameter but same thing I run from SAP and put the parameter field blank it is giving me error that Parameter (ItemGroup) is mandatory
    Can anybody assist me how to solve this?
    Thanks & Regards,
    Rahul Moundekar

    Hi
    I had the same issue.  As noted by Julie SAP published a workaround.
    See my original thread post below.  Go straight to the last entry.
    Crystal in B1 8.8 - optional parameters not working
    The problem is that when called from B1 the hasvalue command always returns true, hence the checking for nulls and spaces etc. as well.
    You keep the parameter definition as Optional.
    This works find for character fields, both single select and ranges, and I have gotten around it for numerics etc by using a SQL formula to cast these to character fields in the data being queried.
    I have yet to be motivated enough to see how to code around this for multi valued fields.
    Hope this helps.
    Rob

  • How to Alter any table to make some fields Composite Primary Key

    I need to Alter Table to make some fields Composite Primary Key.
    Is it possible to do this ?
    Please give any example.
    Regards,
    AgrawalV

    Agrawal
    If you are looking for an example to create a composite primary key, here you are.
    sql> Alter Table myTable add constraint pk_myTable primary key(col1, col2, ...coln) ;
    where
    pk_myTable is the name of the primary key constraint,
    myTable is the name of the table that you want to create a constraint on and
    col1...coln are the column names in the table <myTable)

  • How to make Required Fields in WDA  Dynamic Table

    Hello all,
    I have a WDA Dynamic Table and want to make some fields as mandatory fields.
    can you please show me how to do this?
    thank you very much

    Hi,
    Write the below code:
    DATA: lr_table          type ref to cl_wd_table,
          lr_table_column    type ref to  cl_wd_table_column,
          lr_input            type ref to cl_wd_input_field.
       lr_table ?= view->get_element( id = 'TABLE' ). " TABLE id ID of Table UI
    * Get column
       lr_table_column ?= lr_table->get_grouped_column( id = 'TABLE_COL' ). TABLE_COL is the ID of table Column
    *Get Cell Editor
       lr_input ?= lr_table_column->get_table_cell_editor( ).
    *Set Required
       lr_input->set_state( cl_wd_input_field=>e_state-required ).
    hope this helps u,
    Regards,
    Kiran

  • How to make a field Mandatory in a Table view?

    How to make a field Mandatory in a Table view?
    The requirement is, the user should not be able to append a new Row, unless and untill he enteres the data in the column SOLD-TO. Now how do i acheive making this field madatory. Normally in Edit form view, we can go in customizing and flag Mandatory, for table view we don't have this option.
    Please can anyone of you guide me in this approach?
    Jagadish.G

    Hi Jagadish,
    have a look in this thread, part of the code you can use in eh_insert method or logic to write enable/disable insert button.
    Re: Assignment Block Mandatory
    regards
    Ismail
    Edited by: Ismail Shaik on Oct 21, 2009 11:36 AM

  • How to make a field in adobe form noneditable

    how to make a field in adobe form noneditable. like info keys..
    when this form is sent through worflow the receiver shudnt be able make changes to the field value...(I have a form, which has fields prefilled(like pernr employee name) but these fields are in editable able..(i want only some fields to be uneditable not all)
    Edited by: kumar gaurav on Apr 11, 2008 8:04 AM

    Hi,
    You can make fields non-editable at runtime using this code:
    field.access = "readOnly"
    Hope this helps.
    Amit

  • How to make a field profit center mandatory in sales order?

    Dear GURUS,
    Please help in getting answer for following question.
    How to make a field profit center mandatory in sales order?
    With Regards
    Sandeep D.

    Hi,
    There are 2 ways to make profit center mandatory
    1.Transaction Variant
    2.Incompletion procedure
    1.Transaction Variant
    Step 1:Goto Tcode shd0 and input transaction as va01 and give name of transaction variant as ( example. zva01 ) and click on create or F5
    Step 2.Then it takes you to sales order screen.Just click on enter untill you see profit center field.
    Step 3.check the box required against profit center.
    Step 4.click on save ( under a package name or as local object ) and exit
    Step 5.Assign transaction variant to your sales order type through tcode v0v8.
    2.Incompletion Procedure
    You can add the field  table-vbap,field- prctr,status-04,check-warning to your existing incompletion procedure Tcode- ova2 assigned to your order type in tcode vov8  and check the box - incomplete messeges for your order type through tcode vov8.
    If incompletion procedure is not assigned to your order type than you have to create a new incompletion procedure and assign it to order type.

Maybe you are looking for

  • FaceTime Problem

    Hi, I have an iPhone 4S and I recently updated its software from 5.0.1 to 7.0.2, update was successful but I can't find Facetime anywhere on the device. I have seen an older phones versions with Facetime working on it. Please advice how to get faceti

  • Issue copying only Non-Empty element via XSLT Transformation

    Below transformation is copying even empty tag :( ...... I want only those tag with value copied. <xsl:template match="/"> <ns56:ValidateProductForReactivationResponse> <xsl:if test="$ValidateProductForReactivationResponse.payload/ns56:ValidateProduc

  • Issue with new EWS Java 1.2 license and ambiguity

    If this isn't the proper place for this thread, then please let me know where it should go. I noticed that EWS Java 1.2 has been marked with an Apache 2.0 license. Let me just say this... FINALLY! If ever there was a project that needed it, it's EWS

  • IChat suddenly fails

    I can connect to a video conference but only for a few minutes, then my airport signal fails, and obviously my video conference fails too. although im not entirely sure that airport goes out 1st or if the conference fails 1st and causes the airport t

  • Display ipad on computer screen

    I would like to display my ipad screen on my Promethean board through my school desktop computer.  I do not want my device jailbroken.  What is the safest and easiest way to accomplish this?