cancel
Showing results for 
Search instead for 
Did you mean: 

ReadOnly property for MDM Standard components

Former Member
0 Kudos

Hi,

I am using Standard MDM Webdypro component for Item details.

I am able to change the readonly property for text fields by using..


wdThis.ItemDetailComp.setFieldProperty("FLD_CODE", FieldLayoutProperty.READ_ONLY, true);

but this line of code it working for date fields, fields with lookup popup, integer fields.

Please let me know how to make date fields, fields with lookup popup, integer fields read only through coding.,

Akshay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

READ_ONLY is for text fields ..

i dont remember exactly but theres some other property for the date/LU/integer fields

like disable / inactive something like that

put a dot after FieldLayoutProperty and see what all u have

thanks

-Adrivit

Former Member
0 Kudos

Hi Adrivit,

I tried that.. i can only see READ_ONLY, VISIBLE and REQUIRED..

- Akshay

Former Member
0 Kudos

setFieldProperty method is the only such available in item details ...

check this ...

http://help.sap.com/saphelp_nwmdm71/helpdata/en/4c/031f9ac2130da0e10000000a42189e/content.htm

strange why its not happening for the other field types !

thanks

-Adrivit