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

Sales Order getting printed without spool

Sarathgarre
Explorer
0 Likes
2,425

Hello All,

We have encountered a issue where in a sales order is printed out from a printer without generating a spool. I would like to know how did our system generated a print from printer without a spool. We do not have any special configuration to skip spool to print documents.

The reason to investigate this is we have a mandate to print our sales orders only once. If a sales order is printed and if a spool is not generated our system assumes that document is not printed and it prints again.

Any help/idea is appreciated.

Regards,

Sarath.

Hello All,

We have encountered a issue where in a sales order is printed out from a printer without generating a spool. I would like to know how did our system generated a print from printer without a spool. We do not have any special configuration to skip spool to print documents.

The reason to investigate this is we have a mandate to print our sales orders only once. If a sales order is printed and if a spool is not generated our system assumes that document is not printed and it prints again.

Any help/idea is appreciated.

Regards,

Sarath.

11 REPLIES 11
Read only

Former Member
0 Likes
2,172

Hi Sarath,

Are you certain it printed without generating a spool?  Could it have printed using a spool request with the attribute 'Delete after printing' set?

Regards,

Nick

Read only

0 Likes
2,172

Hi Nick,

Thanks for reply and question.

Yes the document was printed without spool. There are multiple sales orders printed along with this sales order for which spool is not generated. Spool requests for all other sales orders were created without any issue. But for only one sales order the spool is missing. This is happening in our system once in a while but not frequent. And also it happens to only for one or two documents when printed 50-60 sales orders. For all the rest orders spool is created and SO is printed.

We do not have any setting to delete spool after printing.

Regards,
Sarath.

Read only

0 Likes
2,172

Hi Sarath,

And the numbering of these spool requests is contiguous?  There are no gaps in the spool numbers?

Regards,

Nick

Read only

0 Likes
2,172

Hi Nick,

Yes the spool request numbers are in sequence for that batch of sales orders printed at that time and no number is missing.

Regards,

Sarath.

Read only

SimoneMilesi
Active Contributor
0 Likes
2,172

The spool is surely created, otherwise the print doesn't work.

It's almost sure you setted the flag "Delete spool after printing" for this you cannot find it.

Read only

0 Likes
2,172

Hi Simone,

If I am not wrong, if a print request is processed NAST table gets updated with status '1' if it is successfully printed. But in our case the NAST table entry is present with status '0' even after printing the document. So this makes it clear that spool has never been successfully created or processed and deleted.

Regards,
Sarath.

Read only

0 Likes
2,172

Maybe you got a previous message re-printed? i'm guessing without knowing the real situation...

Read only

0 Likes
2,172

Hi Simone,

On further investigation upon your statement regarding no printing without a spool, I could I identify the situation is not same all the time. I found a scenario where in a Spool is created for a sales order and it is processed successfully and document printed but there is no update to NAST able.

Regards,
Sarath.

Read only

0 Likes
2,172

Mmm.. it sounds so strange to me!

i hope you understand that with so few and different information it's pretty hard giving you THE answer.

Read only

0 Likes
2,172

That sounds much more plausible. Next question is: are there any custom programs involved (likely culprits) and finding out why the status update does not take place or fails.

cheers

Jānis

Read only

Private_Member_7726
Active Contributor
0 Likes
2,172

Out of curiosity - how is the linkage between spool and sales order established and implemented technically?

I don't understand why are you proceeding from the assumption that spool was not created. As the other posters pointed out, the other possibility - spool was created but was deleted some time after printing, is much more likely.

It is IMO very unwise to base any kind of business logic on information that is by definition meant to be transient and can simply be deleted without any trace - like SAP spool system database is. Normally there is even system job in SAP system to automatically reorganize (delete) spool requests. If I'm not mistaken, the default spool retention period was 8 days.

cheers

Jānis