2011 Mar 30 7:37 AM
Hi All,
I have a requirement like i need to disable terms of payments long text if long text is available.
I know how to read that long text by using read_text function module but i dont know if text is there how to make the long text filed in non editable mode.Please let me know your views.
Thanks in advance.
2011 Apr 07 10:32 AM
Can any one help me ihow to make text editor non editabel mode if text exist in va02 > header->text tab.
Edited by: Kota on May 13, 2011 3:19 PM
2011 May 13 11:46 AM
hi kota
just check the sub screen n the code were its being created ( text ) and woul be having a method wer its using
SET_READONLY_MODE or SET_TEXT_AS_STREAM .
2011 May 14 4:29 AM
Hi Kota,
This i did for vl02n. I am not sure about va02. Just check this you may get an idea.
1) PERFORM TEXT_CONTROL_EINGABEBEREIT 2) Go to this subroutine and then Program u2013> Enhance 3)Edit ->Enhancement Operations -> Show implicit enhancement Options 4) There is a form text_control_eingaberit.
5) Include name LV70TFT3
ENHANCEMENT 4 ZTEXT_MODIF_BLOCK. "active version
call method gv_text_editor->set_readonly_mode
exporting
readonly_mode = gv_text_editor->true
exceptions
error_cntl_call_method = 1
invalid_parameter = 2
others = 3.
ENDENHANCEMENT.
This i did for vl02n. Check in this for va02.
Regards,
Madhu.