Application Development 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: 

Va02 long text

Former Member
0 Kudos
234

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.

3 REPLIES 3

Former Member
0 Kudos
85

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

0 Kudos
85

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 .

madhu_vadlamani
Active Contributor
0 Kudos
85

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.