Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CUSTOM CONTROL

0 Likes
1,485

Hi all.

I have implemented a custom control in order to have a multiple line input option. In Pa30, i try creating a record and save it. when i go to display mode, the custom control field is still in display mode and hence i can still edit it. Which method of the class cl_gui_textedit should i call to keep it in display mode? Or is there any other way to keep it in display mode?

5 REPLIES 5
Read only

former_member751463
Participant
0 Likes
1,428

Hi,

You can make the screen field output only based on Tcode.

Thanks,

Aditya.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,428

You may search the forum/SAP Web site with your favorite Web search engine. I see many answers for search below. Based on the results, if it still doesn't solve, you may anyway refine your query/provide more information.

cl_gui_textedit display mode site:sap.com
Read only

0 Likes
1,428

the method get_readonly_mode is protected. how to access it?

Read only

FredericGirod
Active Contributor
0 Likes
1,428

you should not, but protected could be accessed if you are a friend. search for CLASS LOCAL FRIEND

Read only

0 Likes
1,428

Hi misbaseemath,

You call 'set_readonly_mode' method based on the event you pass value 0 or 1.