Output Determination (SD-BF-OC) : Release 4.6C
Output Determination (SD-BF-OC) : Release 4.6C
Release 4.6C
HELP.SDBFOC
SAP AG
Copyright
No part of this brochure may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft , WINDOWS , NT , EXCEL , Word and SQL Server are registered trademarks of Microsoft Corporation. IBM , DB2 , OS/2 , DB2/6000 , Parallel Sysplex , MVS/ESA , RS/6000 , AIX , S/390 , AS/400 , OS/390 , and OS/400 are registered trademarks of IBM Corporation. ORACLE is a registered trademark of ORACLE Corporation, California, USA. INFORMIX -OnLine for SAP and Informix Dynamic Server Informix Software Incorporated.
TM
UNIX , X/Open , OSF/1 , and Motif are registered trademarks of The Open Group. HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C , World Wide Web Consortium, Laboratory for Computer Science NE43-358, Massachusetts Institute of Technology, 545 Technology Square, Cambridge, MA 02139. JAVA is a registered trademark of Sun Microsystems, Inc. , 901 San Antonio Road, Palo Alto, CA 94303 USA. JAVASCRIPT is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, SAP Logo, mySAP.com, mySAP.com Marketplace, mySAP.com Workplace, mySAP.com Business Scenarios, mySAP.com Application Hosting, WebFlow, R/2, R/3, RIVA, ABAP, SAP Business Workflow, SAP EarlyWatch, SAP ArchiveLink, BAPI, SAPPHIRE, Management Cockpit, SEM, are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other products mentioned are trademarks or registered trademarks of their respective companies.
April 2001
SAP AG
Icons
Icon Meaning Caution Example Note Recommendation Syntax Tip
April 2001
SAP AG
Contents
Output Determination (SD-BF-OC) ............................................................................... 5
Output Type (SD) ..........................................................................................................................................6 Processing Condition Records for SD Output ..........................................................................................7 Creating Condition Records for SD Output...............................................................................................8 Output Determination Analysis (SD) ..........................................................................................................9 Output Processing .....................................................................................................................................10 Selecting a Worklist for Output.................................................................................................................11 Processing Output in Worklists ...............................................................................................................13 Processing Output in Sales and Distribution Documents .....................................................................15 Output from Billing Documents ................................................................................................................17 Transmission Media (SD) ..........................................................................................................................18 Printing Output (SD)...................................................................................................................................19 Printing Output Manually for a Sales Document.....................................................................................21 Sending Electronic Mails Internally..........................................................................................................22 Entering Electronic Mails Manually in SD Documents...........................................................................23 Processing Internal Mails in SD................................................................................................................24 Optical Archiving in Sales and Distribution ............................................................................................25
April 2001
SAP AG
Integration
The output determination component is used for output control. Output control is used to exchange information with internal and external partners. Output control includes the following functions, described in the cross-application (CA) - Output Control documentation: Output Determination [Ext.] Output Processing [Ext.]
Features
The system can automatically propose output for a sales and distribution document. You can change this output in the sales and distribution document. The system uses the condition technique to determine output. For more information on the condition technique, see Conditions and Pricing [Ext.]. See also: For further information on output, refer to the following documentation: Application Basis-Services Cross-Application Components Documentation SAP Internet Mail Gateway [Ext.] SAP Communication: Configuration (BC-SRV) [Ext.] CA Output Control [Ext.] BC - SAP Business Workflow [Ext.] SD Sales and Distribution: Workflow-Scenarios [Ext.] For information on Customizing settings and examples, refer to Output Control Customizing in Sales and Distribution (SD) [Ext.] in the CA - Output Control documentation.
April 2001
SAP AG
April 2001
SAP AG
Procedure
To access the individual functions, choose Logistics Sales and distribution Master data. The table below contains an example that shows you how to process sales and distribution output for a sales document. You use the same procedure for other types of sales and distribution output. Function Creating condition records for sales and distribution output Menu path Output Sales document Create What you should know See Creating Condition Records for SD Output [Page 8]
Changing condition records Output Sales document for sales and distribution Change output Displaying condition records Output Sales document for sales and distribution Display output
April 2001
SAP AG
Procedure
1. Enter an output type. 2. Choose Edit Key combination. 3. Select the key combination for which condition records are to be created. 4. Choose Enter. 5. Enter the appropriate key for each condition record, according to the key combination you selected. Make entries for each condition record in the following fields: Function Partner Transmission medium Time Language
6. For transmission medium 1 (Print output) or 7 (SAPoffice = internal mail), you can maintain the communication data. To do this, choose Communication. 7. Save the condition records.
April 2001
SAP AG
Features
Output determination analysis provides you with the following information: Whether the system proposed the output from a condition record or from the customer master record Which output documents were found using output determination and which were not Which accesses resulted in finding valid condition records, and the results Which key combinations (combinations of fields) the system used in the accesses
Call
1. Change the corresponding sales and distribution document, for example a sales document: a) Sales Screen [Ext.] b) Sales document Change 2. Extras Output Header or Item 3. Goto Determin. analysis
The determination analysis task only works if you change the sales and distribution document (it does not work in display mode).
April 2001
SAP AG
Output Processing
Use
Output processing issues the output documents (for example, by printing them or sending them via EDI).
Prerequisites
Output must previously exist in the sales and distribution documents. For further information, refer to Message Determination [Ext.] in the CA - Message Control documentation.
Features
You can process output by: Selecting a worklist for output [Page 11] If required, you can edit output before it is processed.
You can process output online or in the background. Selecting a worklist using report RSNAST00 This is useful if you need to process output over several applications and periods of time. Processing directly from SD documents [Page 15]
If you choose background processing, you can start several reports simultaneously. For example, after creating the billing documents, you can run two reports concurrently: See also: For more information on report RSNAST00, see Subsequent Processing [Ext.] For more information on output processing in general, refer to Message Processing [Ext.] in the cross-application documentation CA - Message Control. To print the billing documents To transmit the billing documents to Financial Accounting
10
April 2001
SAP AG
Shipping screen [Ext.] Outbound delivery Delivery output Creating loading output Pack/load Loading output Creating shipping unit output Pack/load Shp. unit output Shipment Creating shipment output Transportation screen [Ext.] Output Shipment
You can print shipment output and other output for documents that refer to a shipment (such as billing documents or deliveries). To do this, select the corresponding field and enter the processing data in the relevant sections.
Sales and Distribution in general Using background processing Tools ABAP Reports used for output begin Workbench, ABAP Editor with SD70A. Report RSNAST00 Run report RSNAST00. Tools ABAP Workbench, ABAP Editor 1. Enter the output type, the transmission medium, and, if required, further selection parameters.
If you wish to have a worklist displayed for output that was not processed successfully, enter 3 in the Processing mode field. The system displays all types of output with errors, and you can then process them once again. 2. If you want to display the worklist first and/or make changes, select Program Execute. If you want to process the output as a background job, select Program Execute in background. In this case, you cannot make any changes.
April 2001
11
Output Determination (SD-BF-OC) Selecting a Worklist for Output 3. If you want to edit output, select the corresponding output.
SAP AG
For more information on processing output, refer to Processing Output in Worklists [Page 13]. 4. Choose Edit Process. The system creates and processes the selected output. 5. If you wish to have a log generated after processing the output, choose Goto Log.
12
April 2001
SAP AG
Procedure
Select the corresponding output and perform the required function: Function Changing the printing parameters Menu path Edit Printer default What you should know You use this function if you want to specify the same printing parameters for several output documents. For all selected output documents, the system copies the printing parameters from the Printer default screen, if the Transmission medium field has value 1 (Print output). Issuing output (printing, faxing, and so on) Edit Process After output is processed, it is highlighted as follows: Changing details Goto Communication green (processed successfully) red (processed with errors)
You use this function if you want to specify individual printing parameters for each output document. You can only change the parameters for the transmission media Print and Telefax. For all other transmission media, the parameters are in displaymode only.
Generating a screen display Goto Print preview The system displays the first output document selected. For all output documents that were generated by print editing using SAPscript (for example, delivery note and packing list) you can generate a screen display of the output. Displaying the processing log Goto Log The system creates a log for each output document.
April 2001
13
SAP AG
14
April 2001
SAP AG
If you have selected several output documents, you can continue to the next document by choosing Goto Next detail screen.
Procedure
Function Repeating output Menu path Select the output document and choose Repeat output What you should know You can send output documents more than once. This can be useful if, for example, there are technical or other problems when you print an output document the first time. The system copies the selected output document. You can then edit and send this document. Changing and re-sending output documents Select the output document and choose Change output If you have changed a document, you can change and re-send the output document based on the document. The system copies the selected output document. You can then edit and send this document. The system marks the output document as changed in the Change column.
April 2001
15
Output Determination (SD-BF-OC) Processing Output in Sales and Distribution Documents Changing the printing parameters Select the output document and choose Communication method
SAP AG
The output document must be selected for printing. The Transmission medium field must have a value of 1 (Print output) or 2 (Fax). Example: dispatch time Here you can also see the processing date and the processing status.
Changing transmission data Select the output document and choose Further data Performing an output determination analysis
Goto Determin. analysis For a description of this feature, refer to Output Determination Analysis in Sales and Distribution [Page 9]. The system displays all accesses. To see each access, choose Goto Details to display the fields used in the access.
16
April 2001
SAP AG
Prerequisites
Before you can produce output for a specific billing document, that output must have been determined previously in the billing document, either: Automatically with output determination Manually
To check whether an output type is available in a billing document, choose Goto Header Output when changing or displaying the document.
Features
When you call up this report and enter the selection criteria, you receive a list of the billing documents with output to be issued. Select the output that you would like to issue and choose Edit Process. See also: For more information on worklists, refer to Selecting a Worklist for Output [Page 11]. For more information on output control and determination, refer to Message Control [Ext.] and Message Determination [Ext.] in the Cross Application - Message Control documentation. For further information on print control, see the BC - R/3 Printing Guide. [Ext.] For more information on billing documents, see Billing documents [Ext.].
April 2001
17
SAP AG
18
April 2001
SAP AG
Prerequisites
The following prerequisites must be met: An output type for printing must be available in the sales document. The output can be: Determined automatically by the system using message determination [Ext.] in the sales document For further information, refer to Message Determination (SD) [Ext.] in the CA Message Control documentation. Entered manually in the sales document If an output exists in the output determination procedure, you can enter it manually in the sales document. For further information, refer to Message Determination Procedure [Ext.] in the CAMessage Control documentation. To enter an output manually (or to display an existing output), choose Extras Output Header or Item Edit on the overview screen of the sales document. The Transmission medium field, for the output you want to print, must have a value of 1 (Print output) or 2 (Fax). For further information about proposing output, refer to Message Default and Message Processing [Ext.] in the CA - Output Control documentation. The traffic light should be yellow in the Status column. If the traffic light is red, you can reprint the output by selecting the output and choosing Repeat output. For further information, refer to Message Status Records [Ext.] in the CA - Message Control documentation.
Features
You can print output as follows: Using the worklist (online) Using the worklist (background job). Printing output manually [Page 21]
See also: For more information on worklists, refer to Selecting a Worklist for Output [Page 11].
April 2001
19
SAP AG
20
April 2001
SAP AG
If you display the output on the screen, the system displays the current document data. This means that you can enter a new text relevant for the output and see the result on the screen before you save it.
Prerequisites
The general prerequisites that are described in Printing Output (SD) [Page 19] also apply here. In the output screen in the sales document, you must also enter number 3 (immediate) in the Time column for the output you want to print.
Procedure
The following procedure illustrates how to print output, using a sales document as an example. 1. On the sales screen [Ext.], choose Sales document Change or Display. 2. Enter a document number and choose Sales document Issue output to.
You can also choose Extras Output Header or Item Print Preview on the overview screen of the sales document. You can only print a changed sales document once you have saved the data. This prevents you from sending data in a printout to the customer before it has been saved in the system. 3. In the Issue Output dialog box, select the output that you wish to print. 4. Choose: Printer to print the output Screen to display the output on the screen
April 2001
21
SAP AG
Features
The procedure for processing electronic mails is described in the section on Processing Internal Mails [Page 24] in SD. You can make the automatic proposal procedure dependent on certain requirements. For example, you can specify that an electronic mail should only be sent if the value of a sales order exceeds 1,000 USD. For further information, refer to Message Determination: Processing Condition Component Hierarchies [Ext.] in the CA - Message Control documentation. You can also manually enter mails in sales and distribution documents [Page 23]. If you are responsible for the original document, you can decide whether an electronic mail should be sent. If so, you can enter output information in the document header. See also: Formatting SAPoffice Messages [Ext.] in the CA - Message Control documentation.
22
April 2001
SAP AG
3. Choose Further data to enter the timing data for the electronic mail. 4. Choose Communication method to maintain the communication data for the electronic mail: Mark either the Functional or Standard field (for mail that is not confidential) or the Confidential field. Enter the transaction code with which the recipient can process the sales order. For example, enter VA02 to change a sales order or VA03 to display a sales order. If you want to write a text to go along with the mail, choose Edit Editor to reach the SAPscript Editor.
5. Choose Back to return to the output screen. The system sends the electronic mail at the time you have specified in the timing data.
April 2001
23
SAP AG
You can process an electronic mail without displaying the document by choosing Edit Process after marking the relevant mail.
24
April 2001
SAP AG
April 2001
25