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

Underline problem in SAP Script

Former Member
0 Likes
918

I had one query in SAP Script which you guys could give me some input?

There is a header to be printed before a table and its contents are printed.

Open item list This is how it is showing the print preview.

However when printing, this is being printed as Open item list

The statement in the script that prints the statement is <B><U>&VAL1& &VAL2&</></>

Where B = Bold (B and U are character formats)

U = Underline

Val1 = defined variable which contains u201COpen item list as onu201D

Val2 = date.

Please advice. I have tried various combinations. All of them are perfect in the print preview but printed wrong.

Regards,

Guru

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
809

Hello

I have solved this problem so:

in Windows registry I add into saplpd new key

print_spaces 1.

5 REPLIES 5
Read only

Former Member
0 Likes
809

Hi,

If u able to see correct output in the print preview, But unable to see in the Print means its the problem with Printer , Check once in SPAD, SPAT Tcodes for [printer setting and ask basis people for solution.

Regards

Janardhan

Read only

0 Likes
809

Hi,

There is no problem with the printer setting or font family i am using.

I have checked this.

Regards,

Guru

Read only

0 Likes
809

Hi,

Try like this

Create a CHARACTER format with BOLD and UNDERLINE, and use that.

P1 <C1>&VAL1&&VAL2&</>

where C1 is the new character format.

Regards

Bala Krishna

Read only

Former Member
0 Likes
809

hii

you can use new character format just create it and use it.also check that it is not taking default char format.set attributes of that character as bold and underline.

it should work then.

regards

twinkal

Read only

Former Member
0 Likes
810

Hello

I have solved this problem so:

in Windows registry I add into saplpd new key

print_spaces 1.