Application Development 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: 

Print settings for ALV report

Former Member
0 Kudos

I have a ALV report output with LINE-SIZE 1023. But when I try to execute the report in background the output row is not coming in one line but in 2 lines. When we run the report in background I gave the printer as 'LOCL' (local) and displayed in spool. In the PRINT SETTINGS I don't see FORMAT for 65 X 1023. Do I need to create one? If yes, how to create it? Or if there is any other way go get all the cloumns in one row of a ALV output.

Thank you.

9 REPLIES 9

Former Member
0 Kudos

Any suggestions please

0 Kudos

You can create a format of type 65*1023 and add to your device type. Also in SPAD Use Setting->Spool System->Other-> Check NO of cols from Format.

0 Kudos

You can check out the OSS 186603. Its very helpful.

Former Member
0 Kudos

Hi,

<b>Change the font on the X_65_255 paper size :-</b>

This tip was taken from the SAP-R3 mailing list, <b>and is by Sheila Tichener</b>.

If you need to use a large line-size to get all your data in I know the sap version of X_65_255 for hp laser jet 4 gives an unnecessarily small font . You can change it in SPAD (or copy to Y_65_255) as follows.

<b>Example:</b>

Choose Device formats, Change
hplj4
x_65_255
Execute
Double click on printer initialisation
Change from:-
 # select Courier 16.67 CPI normal font
 e(s0p16.67h0s0b4099T
to:-
# select arial 24 cpi 15 point normal
e(s0p24h15v0s0b16602T
................
Also bold as follows:-
# select arial 24 cpi 15 point bold
e(s0p24h15v0s3b16602T

Also the error you get when changing a format in the output screen is only a warning and can be overidden by pressing the green tick.

If the sap standard formats don't fit your requirements you can create your own eg Y_65_170 . It seems to be the numbers in the name that somehow triggers which one the abap chooses

Regards

Sudheer

0 Kudos

Sudheer-

How do you create your own format??

THanks

0 Kudos

How do you create your own format??

THanks

0 Kudos

How to create a format of type 65*1023 and add to device type (printer).

Thank you

0 Kudos

Can anyone please suggest how to do it?

Thanks.