cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to make a field Editable/Non-Editable

Former Member
0 Kudos

Hi Experts,

I have a requrement where I need a CRM FM to check/un-check a check box and to make a field Editable/Non-Editable..??

Please help me by providing a Standard CRM FM.

Any pointers will prove really helpful.

With Best Regards,

kanika

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Can u tell me whether u want to do it on GUI or UI?

Cheers,

Hem

Former Member
0 Kudos

hi hem,

i want to implement in UI but the code will be in SAP-GUI..

With Best regards,

kanika

Former Member
0 Kudos

hi kanika,

u can do it in UI also.

For static changes :

change the configuration of that view and call that configration on runtime.

For Dynamic changes:

Goto Get I method of that field and write this code

rv_disable = 'TRUE'.(non-editable)

For any query tell em.

Cheers,

Hemlata

Former Member
0 Kudos

Hi Hemlata and Kanika,

This thread was very helpful to me in making a field editable or no editable.In my case i name a field as editable and changing its value, but the problem i am facing is,it again picks the previous/original value.

Though I have changed it manually and also from F4,but still the value remains the same. Can it be possible for u to suggest me something..

Thanks,

Saurabh

Former Member
0 Kudos

HI

In case u want to make the field editable or non editable by checking the check box

1.read the check box atribute value from the context node and according to that make rv_disbaled equal to TRUE or FALSE.

2.If u want to do it from back end

if it is marketing applications

go for crm_mktpl_ol_Asg and method set_attributes method and there u can make the particular field editabel or non editable.

if u r not clear with the answer pls give the component and view name in which u want to do it.so that i can suggest u the badi name or FM