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: 

DDIC problem

Former Member
0 Kudos
91

I am using one Customize table where 3 string fields are allready there. I need to add some more fields into that table which may contain another two string fields. But in one table more than three string fields are not alowed. What could be the best solution to resolve this problem?

3 REPLIES 3

valter_oliveira
Active Contributor
0 Kudos
38

Hello.

I had the same problem. There is no way to have mora than 3 fields in a table.

The solution (in my case) was to store 3 strings into one string field, separated by a "separator".

Like this:


CONCATENATE str1 "<string end>" str2 "<string end>" str3   INTO wa-string1.
CONCATENATE str4 "<string end>" str5 "<string end>" str6   INTO wa-string2.
CONCATENATE str7 "<string end>" str8 "<string end>" str9   INTO wa-string3.
INSERT ztable from wa.

Best regards.

Valter Oliveira.

Former Member
0 Kudos
38

See if u can add bigger length fields like CHAR100

Former Member
0 Kudos
38

hi,

Make use of concatenate statement to achieve the same ..

Regards,

Santosh