2. Objective
• The participants will have an overview of the
following
– Output Determination
– Linking Layout set to Program: SD Module
– Linking Layout set to Program in SD, MM, and FI
Module
Dec-2008 SAPScript - Configuration | 2
3. Configuration - Output Determination
Dec-2008 SAPScript - Configuration | 3
Linking a layout set to the
printing program
Proposing the output type for the
documents
Output time
Output device
Print parameters
4. Configuration - Linking Layout set to
Program: SD Module
Dec-2008 SAPScript - Configuration | 4
SD Menu: SD -> Basic functions ->
Output -> Output determination >
Output Determination using the
condition Technique-> Maintain
Output Determination for Sales
Documents ->Maintain Output Types
-> Select output type and double click
on processing routine folder.
Output type / Medium determines
Printing program
Layout set
Form routine
This screen is used to check, which
programs and the layout sets the
standard system uses to print
standard forms
5. Configuration - Linking Layout set to
Program
Dec-2008 SAPScript - Configuration | 5
internal = X interco = X internal = X
FORM EntryA FORM EntryB FORM EntryC
If internal = X
….
elseif Interco = X
…
elseif internal = X
….
endif
Program Layout set
Open_FormFORM Entry
By using the “FORM Routine” field
you can indicate different “entry
point” to the printing program.
All output type can be associated
with the same program / layout set
combination but to different “FORM
Routines”.
Helps to consolidate logic variation
in one program
6. Configuration - Linking Layout set to
Program: MM Module
Dec-2008 SAPScript - Configuration | 6
Purchasing Menu: MM ->
Purchasing -> Messages -> Forms
(Layout Sets) for Messages ->
Assign Form and Output Program
for Purchase Order
Inventory Management Menu: MM
-> IM -> Output determination ->
Assign Forms and Programs
7. Configuration - Linking Layout set to
Program: FI Module
Dec-2008 SAPScript - Configuration | 7
Finance Menu: FI -> AR & AP ->
Customer (Vendor) accounts -> Line
items -> Correspondence -> Carry out
check or correspondence settings
->Define form names for correspondence
print.
Check Printing Menu: FI -> AR & AP ->
Business transaction -> Outgoing
payments -> Automatic outgoing
payments -> Payment method / Bank
selection for Payment Program -> Set Up
Payment Methods per Company Code for
Payment Transaction -> “Double click on
the Company code” -> “Double click on
‘Form data’ Push button.
10. Summary
• A layout set can be linked to the appropriate
output program through configuration using
transaction SPRO.
• The output type determines the printing
program , layout set and the form routine.
Dec-2008 SAPScript - Configuration | 10
11. Questions
• What is output determination in the context
of layout sets ?
Dec-2008 SAPScript - Configuration | 11
Editor's Notes
Output determination configuration will allow you to
Establish link between the layout set and the printing program
Define the time at which the combination (layout set + printing program) will be executed (Print time)
Define the output device
Define the print parameters
Generally, there are two parts to the output type configuration (Module specific)
Establishing the link between the layout set and the print program
Proposing output type for the documents
Output determination configuration is usually a responsibility of the functional consultant. However, the more you understand how it works, the better you will be equipped to solve output related problems.
Gaining output determination configuration knowledge is not easy because it is often very module specific. It is very different from one module to another, sometimes even very different from one sub module to another within the module.
Part of output determination configuration will allow you to establish the link between the layout set and the print program which extracts the data for the layout set.
The best way to develop a custom layout set is to copy an existing one and modifying it. Therefore, this is a good screen to investigate initially to find out which program and the layout set is being used by the standard system.
For each output type / medium combination, you can define
Print program
Layout set
FORM routine
FORM routine allows you to start the print program from different routines. This gives you the flexibility to use one program instead of using many programs for specific cases.
For example, instead of writing three separate programs to print international invoice, inter-company invoice, and internal invoice, you can write one single program which contains the main logic for all of the three invoices. By starting the program through different “entry” FORM routine, you can set certain flags and later branch into different routines based on the flag.
The advantage of doing it this way is that you will only have one program to maintain. It is highly recommended to create as few programs and layout sets as possible in order to reduce the amount of effort involved in maintaining all the variations.
Gaining output determination configuration knowledge is not easy because it is often very module specific. It is very different from one module to another, sometimes even very different from one sub module to another within one module.