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

defining variable with length in SCRIPT

Former Member
0 Likes
738

Hi,

I have a requirement in which i have to get some text from the driver program to the script.

i am doing this by using PERFORM, but when i pass this text to the variable in script, i am getting only some part of the text not total, i.e, the text is getting truncated.

i think the variable in script is not holding that many characters, can we define a variable in script with the length.

or can some one tell the various extensions of DEFINE statement in SCRIPT.

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
660

From Saphelp: "The value assigned can have a maximal length of 60 characters."

This means, if you need longer text, than you have to define several text variables in the Script and fill accordingly with data in the PERFORM.

4 REPLIES 4
Read only

Former Member
0 Likes
660

Hello,

Try to increase your window size.

I think whole text is coming , but there will be no enough space to display.

Regards,

anuja Dhondge

Read only

0 Likes
660

Thanx Anuja

But i chked in debugging mode , there i found that the variable is not holding complete text.

Read only

0 Likes
660

Hi,

It can hold Max 60 CHAR.....if its more than that then it will get truncated.

Regards,

Neha

Read only

JozsefSzikszai
Active Contributor
0 Likes
661

From Saphelp: "The value assigned can have a maximal length of 60 characters."

This means, if you need longer text, than you have to define several text variables in the Script and fill accordingly with data in the PERFORM.