2011 Aug 16 6:59 PM
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
2011 Aug 16 7:56 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
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
2011 Aug 16 7:56 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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |