cancel
Showing results for 
Search instead for 
Did you mean: 

Spool Issue with program SD70AV1A

Former Member
0 Kudos

Hi,

I am trying to mass print all sales inquiries into a spool. I am getting a message "All selected output successfully processed" but there is no spool. There is a similar T-code for billing VF31 which is working fine and I've compared the output conditions of sales inquiry document with the billing and everything is same.

What might be the issue?

Accepted Solutions (0)

Answers (5)

Answers (5)

michael_kozlowski
Active Contributor
0 Kudos

to force an new spool request for smart form try this:

DATA: gs_params1 TYPE ssfcompop.

  gs_params1-tdnewid    = 'X'.          "New Spool Request (Print Parameters)

  CALL FUNCTION lv_fm_name

    EXPORTING

      output_options       = gs_params1 

...

michael_kozlowski
Active Contributor
0 Kudos

Hi, are printing informations in output type properly set? Try as well to print with report RSNAST00 application V1.

Former Member
0 Kudos

I tried RSNAST00 as well it said output processed but there was no spool.

michael_kozlowski
Active Contributor
0 Kudos

Maybe print data has been appended to an existing spool-request?

Former Member
0 Kudos

Hi Jeff,

Also refer sap note 960611 - FAQ: Output control in Sales and Distribution. You might some clues.


Regards,

Mayur.

Former Member
0 Kudos

Hi Jeff,

When printing in SAP there is a spool request that is generated before an output request is created which sends the data to printer. Can you check in SP01 if any spool request was generated at the time when the print was given.

Regards,

Mayur.

Former Member
0 Kudos

No spool request is getting generated that's the problem. I checked in SP01, SU3 and NACE.

VeselinaPeykova
Active Contributor
0 Kudos

What are the settings for print immediately and release output for the output condition records?

In case the for the output type printing depends on your parameters, user check also your settings in SU3.

Former Member
0 Kudos

Both 'Print Immediately' and 'Release after output' are unchecked in both (sales and billing) condition records. In SU3, parameters section is blank.

VeselinaPeykova
Active Contributor
0 Kudos

What are the settings for the output type in NACE in the print tab?

Do you get a spool created when you print from VA03?

Does the document get printed at all?

If it prints, then check the smartform output settings and the print program, check also for user exit that changes the print parameters.

If it does not print and no spool generated on the same printer from other applications - check with the administrators.

If you get spools and printouts from VA03, but not from the program, check the print program logic if it is a z* development.

Former Member
0 Kudos

The setting in NACE for print tab is 1. Sales Organization.

In VA13, there is a 'Header Output Preview' button which shows the inquiry in a PDF format and there I have the option to either save inquiry or print inquiry like normal PDF.

I checked SMARTFORMS output settings as well. In the output section, it has 'standard output' and other two fields (Output Mode and Device) blank.

I got the print from VA13 but no spool was generated.

VeselinaPeykova
Active Contributor
0 Kudos

If you do not get a spool from VA13, but it prints, this means that the spool request is deleted after processing. This depends on:

user_settings considered or not ('X' or ' ')

output_options -> SSFCOMPOP.

You may decide to ask a developer for assistance or you can try by yourself -  display the print program for the smartform and check what is passed as print parameters. Place a breakpoint (probably you will find a perform with a name like set_print_param) and check how the structure is filled.

Former Member
0 Kudos

The developer changed the print program now and the spool is now getting generated. However, it's generating 1 page per print instead of all the documents in 1 spool.

Checked NACE and SU01 and print immediately flag is unchecked.

VeselinaPeykova
Active Contributor
0 Kudos

Your developer does not know how to append to spool for a smartform, so the functional consultant has to do this research for him?

There are not so many places to search for a suitable approach - SSFCTRLOP, which can be found in SMARTFORMS transaction in form interface import parameters seems a good place to start.

SSFCTRLOP-NO_OPEN and SSFCTRLOP-NO_CLOSE usage is very well explained in the official SAP help documentation, so even if your developer has never worked with smartforms before, he could at least try to read the basics.

Former Member
0 Kudos

The developer did something in the smartform program due to which we are now getting multiple documents into a single spool but still the spool is generating randomly. For ex: If I try to print 10 documents at once, 3 different spools are generated one with 7 documents, other with 2 and last with one document. All the orders were created same. The developer says that's the standard functionality and can't be fixed. Have you experienced anything similar?

VeselinaPeykova
Active Contributor
0 Kudos

Not really... I was lucky to work on smartforms with very experienced developers, so I only had to provide them with the logic for deriving the data (tables, FM), additional checks in the print program, fonts/codepage details, but they always handled the pure technical part for smartform definition and spool processing without my assistance.

Did your developer explain to you why and how these separate spool requests are generated - assuming that you print all documents on the same printer and use the same smartform?

Are multiple spool requests for orders printout a serious problem for your business scenario and if yes - why? I would not normally expect the printouts of all orders for the day in a productive environment to be in the same spool request, but this was never raised as a problem by the clients.

I am a bit sceptical about 'randomness' in SAP printing - there must be a reason behind this behaviour. Have you asked your BASIS colleagues as well?