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

SAPScript: How to insert a break line from print program

Former Member
0 Likes
2,804

Hi all,

Please let me know which symbols I should insert into the text from the print program so that I would insert a break line in the SAPScript form.

I'm in a hurry. Thanks for all your helps.

Thanks,

Khanh

9 REPLIES 9
Read only

Former Member
0 Likes
1,698

Hi,

try using NEW-LINE.

Regards,

naveen

Read only

Former Member
0 Likes
1,698

Hi,

You can try this way.

Create Standard Text in SO10 with empty line.But give specific paragraph format.

And use this where ever you want to have an empty line.

Thanks & Regards,

Vamsi.

Read only

Former Member
0 Likes
1,698

Thanks all for your quick responds but my requirement is as following:

1. In SapScript form I only have one variable for all data fetched from print program

2. From Print Program I have for e.g. 3 rows as following:

Payment 1

Payment 2

Payment 3

I need to display these 3 rows separately in SAPScript form. What should I add between these texts?

Please suggest. Any help will be appriciated.

THanks,

Khanh

Read only

0 Likes
1,698

In addition, when trying this constant: CL_ABAP_CHAR_UTILITIES=>CR_LF.

It displayed ## instead of a break line.

Thanks,

Khanh

Read only

0 Likes
1,698

Good morning SDNers,

I've tried to search this issue but still can not find the satisfactory solution yet.

Please help me on this with your SAPScript experience.

Nice day everyone!

Thanks,

Khanh

Read only

0 Likes
1,698

HI there.

Maybe i can help you.

But can you please explain the case again to me...

I am currently working with script and maybe i can help you.

The most important please explain the case.

Read only

0 Likes
1,698

Hi mrsaravannan,

In the print program I select the Payment Terms from table BSEG, field ZTERM into an internal table.

From the SAPScript form, I only have a variable for e.g. &lv_ptext& and all the Payment Terms will be appended to this variable.

Because the number of Payment Terms is changed dynamically so I need insert a break line from print program which allows each Payment Term in one row.

For e.g., following is displaying in SAPScript form:

Payment 1

Payment 2

Payment 3

Please suggest me how to do that.

Thanks,

Khanh

Read only

0 Likes
1,698

Hi all,

Not resolved!

Regards,

Khanh

Read only

lars_grabenhorst
Explorer
0 Likes
1,698

Just use "*" as formatting option and use a blank line:

this will render as a standard parapraph

kr,