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: 

PDF Landscape Format

Former Member
0 Kudos

Friends,

I have a program which writes a report. Since this is scheduled in the background, a spool is created. I am converting this spool into a PDF (function module CONVERT_ABAPSPOOLJOB_2_PDF) and sending this PDF as a mail attachment (function module SO_DOCUMENT_SEND_API1). The PDF which I am getting is in portrait format.

Can I get a PDF which is in Landscape format?

I tried customising function module CONVERT_ABAPSPOOLJOB_2_PDF and changing the standard layout from 'X_65_80' to 'X_90_120' but the PDF output is still portrait.

Please suggest a solution.

Warm Regards,

Sagar Satalkar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check the Device type and the Page format attached to this device type from SPAD settings, try attaching the Landscape page format to the device type and check,

Hope this helps,

Rgds,

4 REPLIES 4

Former Member
0 Kudos

Hi,

Check the Device type and the Page format attached to this device type from SPAD settings, try attaching the Landscape page format to the device type and check,

Hope this helps,

Rgds,

Former Member
0 Kudos

hai Mr.Sagar,

if it's possible means can u send me your code..to my personal ID (for this code)

sapabap_2006@yahoo.co.in

(for smartform and abap editor program samrt styles)

thanks,

sn

Former Member
0 Kudos

Try X_65_255.

Regards,

Sidney

0 Kudos

Hi,

where did you set this layout?

Regards,

Markus