2009 Aug 19 1:27 AM
I need to create a text editor where the old data entered previoulsy by the user should not be editable once he closes the window. He can enter new data but cannot change old data. Is this possible with any of the sap controls?
I think it is possible with two control like text editor in edit mode and another text in display mode only. But this solution is not Aesthetic.
Is there any control in SAP that does the above? I am using R/3 4.7.
Edited by: sas tas on Aug 19, 2009 2:27 AM
Edited by: sas tas on Aug 19, 2009 2:28 AM
I need to create a text editor where the old data entered previoulsy by the user should not be editable once he closes the window. He can enter new data but cannot change old data. Is this possible with any of the sap controls?
I think it is possible with two control like text editor in edit mode and another text in display mode only. But this solution is not Aesthetic.
Is there any control in SAP that does the above? I am using R/3 4.7.
Edited by: sas tas on Aug 19, 2009 2:27 AM
Edited by: sas tas on Aug 19, 2009 2:28 AM
2009 Aug 19 9:18 AM
Hai,
Try with the help of the Method PROTECT_LINES of the Class CL_GUI_TEXTEDIT. You can protect certain lines with this method, still you can be able to edit the lines other than these.
Hope it helps you.
Best Regards,
rama
2009 Sep 02 6:19 PM
I haven't started this part. I was working on other stuff. I will add you the points and comment here when i am done.
thanks for the help
2009 Sep 02 6:32 PM
method SET_READONLY_MODE of cl_gui_textedit will protect everything. Please check [documentation in sap library - textedit control|http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/549e36cf0ecb7de10000009b38f889/frameset.htm]
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |