cancel
Showing results for 
Search instead for 
Did you mean: 

Field output length problem

Former Member
0 Kudos

Hi, experts

I have a big problem that I need to solve on Smartforms, I've declared a var on Global Settings like this: <i>TXTP TYPE TEXT1000</i>.

On code line I have two var where I concatenate values on TXTP, problem is when form is printed, only show 258 char and text is longer 350 char.

Var Declarations:

<i>DATA: Var1(500) TYPE C.

DATA: Var2(500) TYPE C.</i>

Any helpfull information I will appreciate it, it's really urgent.

Regards,

mgg

Points Rewarded

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

U need to use several variables and split the text.

Max

Former Member
0 Kudos

Thanks Max

if I declared TXTP on general setting like text1000 and I fill it throw a LOOP how can I split the text on several variables? thanks.

Regards

mgg

Former Member
0 Kudos

Hi

Do varaiables like

data: str1(250), str2(250), str3(250),str4(250).

str1 = txtp+0(250)

str2 = txtp+251(250)

str3 = txtp +501(250)

str4 = txtp+751(250).

write the Str1,str2,str3,str4 fields in the script.

Reward points for useful Answers

Regards

Anji

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks to all, specially to Anji.

Regards

mgg