Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This article explains about Requirement Routines and more specifically on what are Output Control routines are and how
they can be assigned in Customizing.
VOFM transaction is a tool that was developed in R/3 to facilitate the definition of both SAP delivered as well as customer
defined routines/ rules used in the system during various business processes.
VOFM is divided into 4 areas:
1.
Copying Requirements
2.
Data Transfer
3.
Requirements
4.
Formulas
Fig 1: Screen shot of VOFM transaction
Creating a New VOFM Requirement Routine :
SAP delivers routines using the name space from 1 to 599. SAP customers can create their
Own VOFM routines using namespace from 600 to 999.
1.
1.
1.
On clicking Output Control, it displays all the Routines under Output Control. Then enter your Routine number to
be created with its short description.
Create a Routine 903 and give its description.
It will ask for access key when we create routine. We can get the required access key
From www.service.sap.com
EDITOR
Fig 3: Access key needs to be provided
1.
2.
1.
Then this routine needs to be assigned in appropriate area in Customizing. Output Control:
Basically Output Control requirements are used to define when a particular Output document
Should be processed. They can be assigned to a condition Type in an Output Procedure or to
an individual access in an access sequence .
The system will only process the entry if the requirement is met.
Using Requirements can eliminate unnecessary Output by specifying exactly under what
Conditions it should be created.
Following common work areas are used when writing code for own Output Control
Requirements:
Sales documents:
KOMKBV1 - Output determination communication area: Header data - Application V1
KOMPBV1 - Output determination communication area: Item data - Application V1
Delivery notes:
KOMKBV2 - Output determination communication area: Header data - Application V2
KOMPBV2 - Output determination communication area: Item data - Application V2
Billing documents:
KOMKBV3 - Output determination communication area: Header data - Application V3
KOMPBV3 - Output determination communication area: Item data - Application V3
Shipping units:
KOMKBV6 - Output determination communication area: Header data - Application V6
Shipments:
KOMKBV7 - Output determination communication area: Header data - Application V7
Consider a case Study: We have a business requirement that will permit generation of Price Offer Output (E.g. from VA11,
VA12 transactions) when some condition is met.
We have a Smartform ZPRICEFORM (For Price Offer Output) and its Output Type is ZPR0.
Now in this case we will go for Output Control Requirements.
Steps:
1.
2.
We will create a routine say 903 in Output control Requirements as mentioned above.
In the Program , we will write code :
SY-SUBRC = 0.
IF (Condition is not met).
SY-SUBRC = 4.
EXIT.
ENDIF.
3.
4.
Condition Technique ->Maintain Output Determination for Sales Documents ->Maintain Output Determination
Procedure
Fig 5: Path in SPRO where routine will be assigned
5.
Fig 6: Procedure
6.
own employees in
sales processing.
Sales and distribution output can be sent both electronically and by mail. Output control which is dependent on various
criteria allows output to be processed and sent subject to certain conditions and restrictions.
Output Determination:
We have assigned the routine as mentioned above in Output Determination in SPRO.
Output Determination Component is used for Output Control .Output Control is used to Exchange Information with internal
and External Partners.
Output Determination Component offers Output Functions for sales, shipping, transportation and billing to help you manage
sales transactions with your customers and within your Company .You can create Sales Activity Output (For example ,
Customer Telephone calls ) and Group Output(For Example freight Lists) . Company Employees can send and Receive
Output. Output is directly linked to corresponding Sales transactions.
TESTING FOR ROUTINE 903:
1.
In Further data , can change the Dispatch Time to Send application (When saving application)
Fig 10: In Further data change dispatch time
4.
Select Output Type and check Processing log. In case Condition was not satisfied in the Routine then no processing