cancel
Showing results for 
Search instead for 
Did you mean: 

Display output production order

0 Kudos

Hi all,

I am trying to display the output of my production order. The output has been configured through opk8.
In the spool i am able to display the output, but ideally the end user could also display it from the productionorder (co03).

And idea why I am not able to display it?

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

kraghavanbindhu
Contributor
0 Kudos

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

0 Kudos

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

former_member412
Participant
0 Kudos

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

jduppalapati
Participant
0 Kudos

Please try CO04 and Print Preview