on 03-02-2022 10:03 AM
You have to change the printout program code. Take the program form OPK8 which is assigned against your order type.
Go to se38 and put the program and click change and change the code accordingly to get the pdf preview
Inside the program search for below code
FORM output.
"Spool Declarations
DATA: lv_spid TYPE sfpjoboutput,
wa_spoolid TYPE tsp01-rqident.
"Spool Parameters
fp_outputparams-dest = 'LP01'. - output device
fp_outputparams-REQNEW = abap_true. " 1804
fp_outputparams-reqimm = abap_true. " 1804
fp_outputparams-getpdf = 'X'. (This one is mandatory to get the pdf output)
fp_outputparams-nodialog = 'X'. " 1804
fp_outputparams-nopreview = 'X'. "1804
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI all,
Thanks a lot for the fast reply. When going to print preview I always get the screenshot below:
THe issue I have is that I really just want to display the pdf. We dont have issues with the printing itself 🙂
Our customer goes from the public to the privat cloud. And in the public cloud they have the option below:
But this doesnt seem to be available in the privat cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi wolfostyn
I understand you are already able to display the print in Spool transaction SP01.
For user to print it, he has to invoke the function from CO03 or CO02. After entering CO03-> Header Screen-> select option Functions->Print from the Menu. You will get a pop-up message which you can confirm. After confirming, another pop-up "Print" (the Windows function called from Desktop) will be displayed where you can select a typical PDF printer ("Microsoft Print to PDF", for example) to print out a softcopy.
If your question is - how to change the default printer from the settings, use this guideline "Go to CO02, enter the production order number and hit enter. From the menu, click Order -> Settings -> List Control. In the next dialog, you should clearly see where you can change the printer name, do this and click green check.
Now Click Functions -> Print." (Reference: https://answers.sap.com/answers/1913978/view.html ).
Select LOCL as the "Output Device" to print from local printer (including PDF printer).
Thanks,
Anil Aleti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try CO04 and Print Preview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
6 | |
5 | |
5 | |
4 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.