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

convert_otf - Identify device type

Former Member
0 Likes
481

Hi Experts

I am more of a functional consultant, so please excuse if this is simple thing to find out.

We are calling functional module CONVERT_OTF through a custom program to convert outputs of billing documents into a PDF file.However the PDF file generated has alignment and formatting issues. So we checked further and our ABAP consultant mentioned that the device type 'SCREEN' is used while converting the output into PDF format. This device type does not have any formats attached we we can see through transaction SPAD. So they feel this is the reason for incorrect format / misalignment of PDF output.

So we want to change the device type 'SCREEN' to 'WINSAP' which has all the required formats attached to it.

However our abaper does not not know when the program calls for device type and where to change it. He feels that output device type is called by standard FM CONVERT_OTF and we need to check with SAP on the same.

Therefore we need to know how we can change device type for this requirement.If someone has worked similar query, please help us to resolve this. Any pointers would be highly appreciated.

Regards,

Santosh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
440

Hi Santosh,

If your requirement is to save the preview as PDF of the billing documents, you just need to type PDF! in the command field of the print preview screen and do a f8 then a pop will come up and then you can save or print the preview.

Note : you have to type PDF in Capitals and along with ! (exclamation mark symbol) i.e. PDF! .

Hope this helps.

BR

Dep

Edited by: DeepakNandikanti on Aug 16, 2011 8:57 PM

Hi Santosh,

If your requirement is to save the preview as PDF of the billing documents, you just need to type PDF! in the command field of the print preview screen and do a f8 then a pop will come up and then you can save or print the preview.

Note : you have to type PDF in Capitals and along with ! (exclamation mark symbol) i.e. PDF! .

Hope this helps.

BR

Dep

Edited by: DeepakNandikanti on Aug 16, 2011 8:57 PM

1 REPLY 1
Read only

Former Member
0 Likes
441

Hi Santosh,

If your requirement is to save the preview as PDF of the billing documents, you just need to type PDF! in the command field of the print preview screen and do a f8 then a pop will come up and then you can save or print the preview.

Note : you have to type PDF in Capitals and along with ! (exclamation mark symbol) i.e. PDF! .

Hope this helps.

BR

Dep

Edited by: DeepakNandikanti on Aug 16, 2011 8:57 PM