Skip to Content
author's profile photo Former Member
Former Member

Looping around a internal table whose fields are the type string

Hello,

I have an internal table (ITAB) in my smartform - the fields (F1, F2, F3) are type string. I want to print the contents of the table in my document.

I created a LOOP statement and moved at ITAB into a workarea (LS_ITAB).

Inside the loop, I created a text box (text type TEXT ELEMENT) - and displayed the tablefield

&LS_ITAB-F1&

Only the first 255 charactes of F1 is being printed on the smartform. The field F1 had about 1000 charactes though. Please le t me know if anyone came across such a situation, and is this a limitation of smartforms.

Any suggestings would be highly appreciated (and rewarded points 😊 )

Thanks,

Kiran

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 03:06 PM

    by default SAP prints only 255 characters in any form.

    may be u need to do a logic so as that after 255 characters it prints in the next line...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 03:16 PM

    Thanks for the response. I hope the new version of smartforms (or Adobe forms) doesnt have this restriction.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.