Skip to Content
author's profile photo Former Member
Former Member

disable/enable fields

If we want to disable/enable for a field we use get_i method of a field ....but now i want to disable/enable group of fields

at a time based on some condition....what should do ....wher should write the code for my requirement.....

Edited by: SHIVA RAJ VARMA on Dec 11, 2011 1:18 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2011 at 03:42 PM

    hi shiva ,

    As per my knowledge ,you have to do it individually for each get_i method of each field .

    thanks & regard's

    pradeep .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 04:29 AM

    Hi Shiva,

    You wil have to disable/enable fields individually using GET_I method but if you have all the fields in a view, you can make them read only by using the method of the class CL_CRM_UIU_BP_TOOLS=>revert( ).

    Hope this helps!!

    Prerna

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.