Application Development and Automation 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: 
Read only

Standard text

Former Member
0 Likes
531

Hi,

I am using create_text and save_text function module to store one text as standard text. But there is one constraint which i am facing, is only upto 132 charcters are allowed to store a standard text. But i need to store more than 132 chars. Plz tell me how can i do that? is there any option to do this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
512

Do you mean the table FLINES? If so, you should split your long text into chunks of 132 characters and append it row by row to a table, then pass it to your FM call.

I think there are function modules that will convert a String field to a table of character fields of a given length - if not it would be easy to code it yourself.

Gareth.

Hi,

I am using create_text and save_text function module to store one text as standard text. But there is one constraint which i am facing, is only upto 132 charcters are allowed to store a standard text. But i need to store more than 132 chars. Plz tell me how can i do that? is there any option to do this?

3 REPLIES 3
Read only

Former Member
0 Likes
513

Do you mean the table FLINES? If so, you should split your long text into chunks of 132 characters and append it row by row to a table, then pass it to your FM call.

I think there are function modules that will convert a String field to a table of character fields of a given length - if not it would be easy to code it yourself.

Gareth.

Read only

Former Member
0 Likes
512

Hi,

In the tables parameter you can put in multiple lines

yes in one line you cannot put more than 132 characters but yuo can split the data at 132 characters and put it in other line and append it to he table tdline

eg.


tdformat  tdline

*             sapsapsapsapsapsapsapsapsapsapsapsapsapsapsapsapsaps...132 
*             abapabapabapabapabapabapabapabapabapabapabapabapabap...132
and so on

hope this helps

regards

taher

Read only

Former Member
0 Likes
512

declare the table of type tline and pass that to tables parameter .