on 10-21-2015 4:50 PM
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?
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
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, are printing informations in output type properly set? Try as well to print with report RSNAST00 application V1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
Also refer sap note 960611 - FAQ: Output control in Sales and Distribution. You might some clues.
Regards,
Mayur.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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.
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.
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?
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?
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.