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 can I save long text in a Ztable

Bema
Active Participant
0 Kudos

Hi ,

I have a ztable in which some of the fields are text fields.

For ex;

field1 char 10

field2 text

field3 char 10

field4 text

field5 text.

How can I create a ztable for long texts.

2 REPLIES 2

Former Member
0 Kudos

Hi!

I don't think you are able to save SAPScript-like texts into a Z-table.

These long texts are stored centrally in the STXH, STXL tables.

You may save their names in your Z-table, and store-read them using the function elements READ_TEXT, SAVE_TEXT.

Or you might try to enter STRING type fields into your Z-table.

Field1 TYPE STRING.

Regards

Tamá

Former Member
0 Kudos

Hi Beena,

You can use the Data Element "EDI_SDATA" which can stores upto 1000 characters.

Regards,

Suresh