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.
Similar Messages
-
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,
JayaramCreate a view and in the maintain status ,make it read only so that the fields will be on read only mode .
Girish -
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 ADVANCEHi,
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 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
MaheshHi 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 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
patilHi 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 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,
SmritiHi ,
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 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.GHi 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 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,
AgrawalVAgrawal
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 muchHi,
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 can I pass field value betwen view in ICWC?
Hi experts,
I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
Hope can get some advices and helps here.
I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view to the BupaCreate view when I click on the 'create' button.
I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
Really appreciate for any help.
Edited by: mervyn tay on Apr 7, 2009 11:42 AMsolved by myself...
code in the CREATE_ACCOUNT method.
ev_entity->set_property( iv_attr_name = 'ZZICNO'
iv_value = lv_icnum1 ). -
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 AMHi,
You can make fields non-editable at runtime using this code:
field.access = "readOnly"
Hope this helps.
Amit -
How to make a field manadatory to a folder in a form?
Hi,
I'm working on a custom form.
I've 3 folders in that form, I need to make some fields to default values to a particular folder.
How do I do this?
Work around
========
Made the field to default, how ever these fields are showing default values for all the 3 folders.
I need to set the default values only to one particular folder.
Any suggestions on this would appreciate.
Thanks in advance.
--SanthoshWhat do you mean by folders?
Blocks?
Tabs?
Records?
It's not a forms term. -
How to make a field mandatory in billing
How to make a field mandatory in billing document,if m right with the help of incomplition log but how.....
plz reply the full configuration.Hi Mohan,
We normally create a billing document with reference any other document say Order or delivery.
so, all the necessary information in the invoice will be taken from preceeding doucments. Thats way in the order level we check for incompletion log. If any important data is missing in the order level then the succeding documents will not be created.
Thats way in the billing documents all the necessary information will come automatically either from preceeding documents or from master data.
Still you want to make any field mandatory, you can do these by modifieing Billing documents user exists,you can make which ever the fields are mandatory and to be checked before saving. so when you are going to save the invoice, it will check if these fields are maintained or not.
Hope this is clear.
Reward if helpful.
Thanks,
Praveen -
How to make a field required in OAFramework
How to make a field required in OAFramework at runtime?? Please explain in detail if possible.
Thanks
KumarGet the handle of the bean using the following Code
<BeanType> bean = <BeanType>webBean.findIndexedChildRecursive("<Id of bean>");
if(bean!=null && <condition>)
bean.setRequired(true);
}
Maybe you are looking for
-
Error while restoring 10.2.0.3 backup on 10.2.0.5
Hello, I'm trying to restoring a production(10.2.0.3) backup on QA (10.2.0.5 which is a new host). I getting RMAN-06172 error. Please help I performed the following steps RMAN> set dbid 19357374 executing command: SET DBID RMAN> startup nomount start
-
Updating iPod nano 2nd 8GB SW: error message UNKNOWN ERROR (-23)
Any idea? I can synchronize the iPod on my WinXP machine but I get this error message when trying to reset or update the iPod after getting the message, that an new software version is avalaible. Many thanks.
-
BPM Process triggered externally
I have created a BPM process and I am able to test it from NWA -> Process repository. But When I am testing from WS Navigator then I am getting an error like-> Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Ser
-
Upgrading to Superdrive?
I have the 2004 model ibook G4 14" that came with a cd-burning/dvd-rom drive. I would like to upgrade to a dvd-burning drive. Should I get an external drive (USB or firewire) or is there any way to replace my current internal drive with a superdrive
-
My dvd player is not working the disc spins but the program will not open ?