dynamically making fields editable or non editable according to ddl value.
I have tried scripting as given below but it is not working. I request you to please tell me whats the problem in this and what needs to be done to achieve this.
if($record.OPTION.DATA.FIELD == "03 - Transfer")
this.access == "open"
this.presence = "invisible"
But this is not working when I check the form on portal.Please let me know what I need to do inorder to achieve this functionality.
I have wrote the similar code in CALCULATE event for each field on the form but the form not working according to requirement.
Please provide me with information how to decide the event in which we should write the script?
Please let me know if this functionality can be achieved by coding in F.M in ABAP?If yes how?
Thanks in Advance.