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 Standard Text Printing - Format Problem

Former Member
0 Likes
703

Heros,

I wanted to print one standard text(Basic Text of Process order) in sapscript.I am using the INCLUDE command instead of Read_text FM , so that I can keep the Paragraphs of that text intact.But I am falling short of two requirements of my client.

1. He has highlighted Some words of the text and underlined some of the text. He wants that character format intact in spascript.How can I do that?

2. The script initaly was using Read_Text and was storing the value in a variable wa_line and was printing in script as

<b>[LI ] DESCRIPTION: &wa_line&</b>

so it was printing like

DESCRIPTION: fasfoihfaishfiahfiafhfihfahfiashfiahfahfiafiasfihahfisahfafasi

But now I am using INCLUDE command as follows

<b>[LI] DESCRIPTION:

[: /] INCLUDE OBJECT BLAH BLAH</b>

So it is printing like

<b>DESCRIPTION:

fasfoihf

aishfiahfiafhfihfa

hfiashfiahfa

hfiafiasfihahfisahfafasi</b>

I want to get them in same line.

I mean

<b>DESCRIPTION: fasfoihf

aishfiahfiafhfihfa

hfiashfiahfa

hfiafiasfihahfisahfafasi</b>

Is that possible?

<b>Reward Point Guranteed.</b>

4 REPLIES 4
Read only

Former Member
0 Likes
633

one thing u can do . include discription also in standered text

in include text write that way.

discription: aaaaaaaaaa

u can do formating as u want in so10

Read only

0 Likes
633

No I can not do that. As customer creats the query and we can not tell all the user to Append 'Description' in beginning of the standard text.

Read only

Former Member
0 Likes
633

Hi

1. You should assign your sapscript as module to check the standard text or define the same set of paragraph and chararcter of module SYSTEM (it's used to drive standard text by default),

2. I don't think because the first line of standard text starts with new paragraph.

Max

Read only

Former Member
0 Likes
633

Hi Anid,

When you are creating your standard text the default value in the tag column is *. If you change this value to = (Extended line) the display of standard text will start in the same line as the previous value (in your case it will display the standard text in the same line as DESCRIPTION:).

Hope this solves your problem!

Regards,

Saurabh