Save Form Output in PDF format without code
By Shweta Chavan, Hitachi Consulting
Introduction
Auto convert SAP spool output to PDF file. When you print to this PDF output type, it will prompt you to enter the file name of your PDF file to be stored into your local harddisk. First you have to add a printer using Windows - Start - Settings - Printers - Generic / Text Only - Port. Save Form Output in PDF format without code. Go to SE38 and run program RSTXPDFT4. Give Spool request number and path to save file. (If you don’t give path here, automatically save as pop up will come; you can select file path and given file name.). Jan 07, 2014 Converting Print spool output in to a PDF in SAP. Step 5:- Go to sm37 and you can see the batch job running. Note down the spool number from the batch job. Step 6:- Run the Second program( using se38) – RSTXPDFT5 and enter the Second spool number(the one got in background job) in the selection screen and execute. May 15, 2013 ABAP Development Common ABAP dumps. Output from SAP to a PDF file format. In order for this configuration to work, you need to set up a 'Print to File' printer in the Windows print manager of your Frontend PC as follows: 'Settings' - 'Printer' - 'Add Printer' On the window that appears, click on 'Next' button. Select 'Local Printer'. Steps to be followed to convert ALV to PDF. Develop an ALV report. Create custom GUI status. Submit the ALV report in background, store output in spool and generate PDF. Step1: Develop an ALV report. REPORT ZSAPNALV2PDFMARA. TYPE-POOLS SLIS. The default SAP output device is the print queue to which your SAP documents will print unless otherwise specified. To set your default SAP output device, using SAPgui: Follow the menu path System User Profile Own Data. Select the Defaults tab. In the Spool Control section, locate the Output Device field. Sep 23, 2013.SUBMIT TO GET THE SPOOL NUMBER SUBMIT zcreatepdfabaplist WITH SELECTION-TABLE irsparams TO SAP-SPOOL SPOOL PARAMETERS lparams WITHOUT SPOOL DYNPRO AND RETURN. SELECT THE RECENTLY CREATED SPOOL SELECT MAX( rqident ) INTO wspoolnr FROM tsp01 WHERE rqclient = sy-mandt AND rqowner = sy-uname.
Many times when we develop any output form (Smartform or SAPScripts) we need to save/download its output. In some cases like sometimes developer has to send the output to functional/user for testing or sometimes we need it for version comparison. To save form output normally we take print screen of output and save it in word document. But what if you know the trick to convert it into pdf format without code?
Many of us might know this trick to convert the form output into pdf. This article will let the new users know how they can convert the output to PDF format and save them on their desktop without any code. It’s always good & easy to maintain pdf files for output.
How to Do it?
1.Whenever you see pop-up for print, select print option button.
Be sure you uncheck the print immediately option. If you won’t un-tick it then it will print the page. We need to create spool
Fill parameters like Spool request name, Suffix 1, Suffix 2; this will create spool request with given names.
For some cases we directly get print screen like below. Uncheck the Print immediately button & check New Spool Request field. Also fill values for spool request name.
2.For case scenario 1 in above, Save the values and come back to print screen. Now print the output by clicking on or button.
3.Now go to SP02 to check the spool request. Note down the spool no.
4.Go to SE38 and run program RSTXPDFT4.
Give Spool request number and path to save file. (If you don’t give path here, automatically save as pop up will come; you can select file path and given file name.)
5.You can see file will get created with given name at given path.
Skip to end of metadataGo to start of metadataPurpose
This wiki page will discussion about one of the basic function for output in SAP Sales and Distribution knows as Output Determination.
Overview
Outputs are an essential media of communication with various business partners & internal partner within the organization during or for sales processing. These output can be either be taken as print on paper or generated PDF files or sent by mails/electronically. You can even restrict or allow the trigger of these output.
Output determination using condition technique majorly defines 3 functions:
1. Automatic determination of output in respective object.
2. Processing of output based on some events.
3. Respective parameter/medium for print.
So, output types are assigned to
- Partner functions,
- Transmission media and
- Dispatch time.
You need to co-ordinate with ABAPers for output processing program and form.
Output determination is carried out through condition technique in Sales and Distribution.
Application | Keys Area |
---|---|
V1 | Sales |
V2 | Shipping |
V3 | Billing |
V6 | Handling Units |
V7 | Transport |
Types of Output
- Print Output,
- Fax,
- Telex,
- EDI (Electronic Data Interchange)
Output Determination
Sap Convert Report Output To Pdf
Output is determined using condition technique.
Output can be determined from customer master, but it is recommended that Output in sales document through output determination procedure(Condition technique). Output can be determined separately for Sales Document: Header and Sales Document: Item level.
Unlike any other determination procedure getting determined through condition technique. The output determination also involves,
- Condition Table
- Access Sequence
- Condition Types
- Output Determination Procedure
- Output Determination Procedure Assignment
1.) Condition Table
TCode | V/57 |
---|---|
SPRO Path | IMG - SD - Basic Function - Output Control |
You have to define combination of fields for which you want condition records in condition tables of output. Provided existing standard condition tables does not meet your requirement. In case of new condition table enter name of condition table, the number of table must be starting from 900. Select the fields for table from allowed fields and generate new condition table.
Sap Po Output To Pdf
2.) Access Sequence
SPRO Path | IMG - SD - Basic Function - Output Control |
---|
You have to define new access sequence by copying existing one and change to your requirement, provided standard access sequence does not meet you requirement. It is search strategy which system uses to find out condition records stored in condition tables for condition types. Unlike pricing, all output type has access sequence. Therefore, you maintain output condition record for all output types.
3.) Output Types
TCode | V/30 |
---|---|
SPRO Path | IMG - SD - Basic function - Output control |
You have to define new Output types by copying existing one and change to your requirement, provided standard output type does not meet you requirement.
- Languages of Output
- Print Program: print specification
- SAP Script: layout
- Partners (to whom you need to send output)
You need to mention Partner function wise Output type.
3.1.) Assign Output types of Partner Function
SPRO Path | IMG - SD - Basic Function - Output Control |
---|
Here you assign Output types to desired Partner function like SP/SH/PY etc.. Generally that would be the intent recipient of that output type.
4.) Maintain Output Determination Procedure
SPRO Path | IMG - SD - Basic function - Output control |
---|
You have to define new Output determination procedure by copying existing one and change to your requirement, provided standard output determination procedure does not meet you requirement.
5.) Assign Output Determination Procedure
TCode | V/43 |
---|---|
TCode | V/69 |
SPRO Path | IMG - SD - Basic Function - Output control |
You need to assign output determination procedure to Sales document. You may assign as per your requirement Header level and item level.
Similar steps could be followed for output determination for Sales activities and Billing documents
Define Communication Strategy
SPRO Path | IMG - SD - Basic Function - Output Control - Determine Communication Strategy |
---|
You need to create communication strategy, system should search for communication methods in case of transmission medium 5.
Output Determination Level & Assignment in Sales
Output Determination - Level | Assign to |
---|---|
Output Determination - Sales Document: Header | assigned to Sales Document Type |
Output Determination - Sales Document: Item | assigned to Sales Document Item Category |
Output Determination - Delivery Document: Header | assigned to Delivery Type |
Output Determination - Delivery Document: Item | assigned to Delivery Item Category |
Output Determination - Billing Document: Header | assigned to Billing Type |
Output Determination - Billing Document: Item | assigned to Billing Type |
Some Standard Output Types
Output Type relevant Sales Document | Standard Output Type |
---|---|
Transfer Order | WMTA |
Packing | PL00 |
Sales Orders | BA00 |
Cash Sales | RD03 |
Sales Invoice | RD00 |
Delivery Note | LD00 |
Condition Record
Without or in absence proper condition record maintenance, the desired output type will not determine in relevant sales document type. Therefore condition record is crucial in Automatic determination of output type.
TCode | Condition Record Maintenance for |
---|---|
VV11 / VV12 / VV13 | Sales Document relevant Output Type |
VV21 / VV22 / VV23 | Delivery Document relevant Output Type |
VV31 / VV32 / VV33 | Billing Document relevant Output Type |
Related SAP Notes
SAP Note | Desc. |
---|---|
960611 | FAQ: Output control in Sales and |