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

a question about sapscript on auto wrap

Former Member
0 Likes
880

Hello, everybody.

Today, I meet a problem about sapscript.

I list it as following, hope can get reply from you.

I'm developing a form using SAP script(not using smartform, it's due to the customer's requirement)

and the trouble is when I write a long text to screen, it is too long more than the page size. So can I set a maxlength for it, make it auto wrap, if it exceed the max length, make it written begin from next line.

Is it possible? And if not a long text, but a unline, is it possible too?

In brief, how to realize the auto wrap in sapscript?

Any suggestion and reply is welcome.

thank you very much

Hello, everybody.

Today, I meet a problem about sapscript.

I list it as following, hope can get reply from you.

I'm developing a form using SAP script(not using smartform, it's due to the customer's requirement)

and the trouble is when I write a long text to screen, it is too long more than the page size. So can I set a maxlength for it, make it auto wrap, if it exceed the max length, make it written begin from next line.

Is it possible? And if not a long text, but a unline, is it possible too?

In brief, how to realize the auto wrap in sapscript?

Any suggestion and reply is welcome.

thank you very much

3 REPLIES 3
Read only

Former Member
0 Likes
713

Hello,

You can do this. But needs some coding. You can use FM RKD_WORD_WRAP to wrap texts. But the text looks wrapped if you use monospaced characters.

Hope this helps you.

Best Regards, Murugesh AS

Read only

Former Member
0 Likes
713

thanks a lot, the RKD_WORD_WRAP is a interesting one.

But can I realize it at a configure way, e.g. though configuring the paragraph, font

Read only

Former Member
0 Likes
713

Is there any way exists to realize it in a configure way.

Though configure the form format, make the long text show auto wrap on the form.

Hope any suggestion

Thanks a lot