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

Regarding Long Text

former_member532868
Participant
0 Likes
620

Hi Experts

I am getting longtext through function module.Entire Long Text is there in internal table.

Long Text total Length is 1500 characters.

How can i pass into single variyable entire longtext.I would like to print in SmartForm

Please send the detaild code based on above query.

Regards

Hari

Hi Experts

I am getting longtext through function module.Entire Long Text is there in internal table.

Long Text total Length is 1500 characters.

How can i pass into single variyable entire longtext.I would like to print in SmartForm

Please send the detaild code based on above query.

Regards

Hari

3 REPLIES 3
Read only

Former Member
0 Likes
547

Try using a STRING variable.

And while printing in smartform, break it up using some logic.

OR

Pass the internal table as it is.

Print the same in smartform by looping thru the internal table.

Thanks

Balaji

Read only

Former Member
0 Likes
547

Hi

Declare one variable of same type as in FM and pass the same to output ot the smartform using the text element

regards

Shiva

Read only

Former Member
0 Likes
547

hi,

Declare the variable with type STRING. A STRING type can take very large data. Also ensure that the variable you are using in the smartform is also of type STRING.

Thanks,

Anil