2013 Apr 16 1:50 PM
Hi Experts,
i printed a purchase order and this creates a spool number. How to identify spool number to related printed purchase order?
Thanks in advance!!
Thanks & Regards,
Sivaji kankanala.
2013 Apr 16 2:18 PM
Look at FM WFMC_PROTOCOL_LOAD, use NAST record as entry (select with keys 'EF'/purchase order number/'NEU')
Regards,
Raymond
2013 Apr 16 2:23 PM
Hi Raymond,
Thanks for your replay.
But there is no export parameter. How can i get spool request ?
Thanks & Regards,
Sivaji Kankanala.
2013 Apr 16 2:23 PM
Hi,
If you are printing the order in foreground, we cant track the exact spool number for the purchase order. We can track the spool requests generated for an user from the transaction SP01 or through the table TSP01.
If we are printing the order in background (through the output types and send with own transaction), you can get the spool number through the processing log of the output type. You can also get the spool number from the table NAST and CMPF by linking the NAST-CMFPNR to CMPF-NR.
Cheers
~Niranjan
2013 Apr 16 2:27 PM
Hi Niranjan,
I am printing order in foreground. Printing multiple PO's at a time, in that case how can i identified spool number to related printed purchase orders?
Thanks & Regards,
Sivaji Kankanala.
2013 Apr 16 2:46 PM
Hi,
I am not aware of the purchasing process, but if your program is background then sy-spono will contain spool number.
If it is foreground, then as mentioned by Niranjan, transaction SP01 will show spool on your id.
Thanks,
Murtuza
2013 Apr 16 4:15 PM
When you save the PO, the control passes to Message Control, wherein you define what to do with the Purchase order after creation or change. This can be seen using the Transaction NACE, Select 'EF' for PO.
Spool gets generated at this point and can be checked in TSP01.
Try debugging and you will hit it for sure.
Regards,
Manu