Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is the T-Code VOFM used for?

Former Member
0 Likes
7,149

Hi All,

I have to copy logic of two routines into one.Can i do it in VOFM.What naming convention is followed to give name to the copies routine.

Please suggest.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,017

Hi

Hope it will help you.

Reward if help.

VOFM is the transaction where you can maintain Requirement routines, which are assigned through cusomization.

To create a routine you need access key & routine no. starts with "9".for ex. 901,902 etc.

one important thing to note that even if you have some syntax errors inside your routine, it will get activated without errors. So, you need to do Main Program check before activation.

Refer to SAP Note no : 327220,381348,156230.

goto VOFM tcode for wrting the Routines

from menu Requirements-> pricing

You can create the pricing related routines here

Use the Number from 900 only

take the acess key and try to copy the existing routine and change the code to your requirement and keep a break point and see

Activate it before execution

2 REPLIES 2
Read only

Former Member
0 Likes
4,018

Hi

Hope it will help you.

Reward if help.

VOFM is the transaction where you can maintain Requirement routines, which are assigned through cusomization.

To create a routine you need access key & routine no. starts with "9".for ex. 901,902 etc.

one important thing to note that even if you have some syntax errors inside your routine, it will get activated without errors. So, you need to do Main Program check before activation.

Refer to SAP Note no : 327220,381348,156230.

goto VOFM tcode for wrting the Routines

from menu Requirements-> pricing

You can create the pricing related routines here

Use the Number from 900 only

take the acess key and try to copy the existing routine and change the code to your requirement and keep a break point and see

Activate it before execution

Read only

Former Member
0 Likes
4,017

Transaction VOFM 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 routines are ABAP code written in Forms. VOFM provides the user with the

benefit of choosing from one of the standard delivered R/3 routines or writing their own. VOFM is

intended for the implementation team when configuring the system. It is not intended for the end

user.

VOFM is divided up into four main areas. These include copying requirements, data transfer,

requirements, and formulas. This paper will focus on copy requirements that were delivered by SAP

to support the Sales & Distribution (SD) and Logistics Execution (LES) applications. Copying

requirements are routines that check certain requirements as a precondition for the copying process.

For example, a copy requirement can be used to define whether a quotation may be copied into a

standard order, or if text items are transferred during the copying of a delivery into a billing

document. Copy requirements are an easy way to implement company specific business rules into

R/3 that dictate situations that should prevent subsequent document creation

Find below a Useful document for VOFM

http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf

Hope this Helps

VInodh Balakrishnan