10-06-2008 8:23 AM
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
10-06-2008 9:26 AM
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
10-06-2008 9:26 AM
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