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: 

how to update long text into ztable

Former Member
0 Kudos

hi all,

How to update long text into ztable

How i have to update it .

CALL METHOD text_editor->get_text_as_r3table

IMPORTING

table = text_lines.

CALL METHOD popup->free( ).

LOOP AT text_lines INTO wa.

gv_text = wa-line .

CONCATENATE gv_text1 gv_text INTO gv_text1 SEPARATED BY space.

ENDLOOP.

gs_edi-len = 4000.

gs_edi-zstr = gv_text1.

gv_id = es_row_no-row_id.

MODIFY gt_edi FROM gs_edi INDEX gv_id

TRANSPORTING zstr len.

MODIFY zpf_text FROM TABLE gt_edi.

COMMIT WORK.

But this is allowing only 255 characters to update.

will anybody let me know how to update into table.

Regards,

Madhavi

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Try to do it from se16n tcode.. after u enter the tcode and display the table u need to update.. give &sap_edit in the command box and execute it.. you will get the table in edit mode and update it from there.

Regards,

Vishwa

1 REPLY 1

Former Member
0 Kudos

Hi

Try to do it from se16n tcode.. after u enter the tcode and display the table u need to update.. give &sap_edit in the command box and execute it.. you will get the table in edit mode and update it from there.

Regards,

Vishwa