Many areas in SAP SD Training like SAP Copy Controls, SAP Pricing Requirements, SAP Data Transfer Routines use ABAP routines configured and coded in VOFM transaction.
The following routines are available in VOFM transaction.
- Copy Control Routines
- Data Transfer Routines
- Requirements
- SAP Pricing Requirements
- SAP Account Determination Requirements
- SAP Listing and Exclusion Requirements
- etc
- Forumas
- SAP Pricing Formulas
- SAP Pricing Rounding Rules
You can view the routines by selecting the right menu path, selecting the routine number and clicking on the view code button.
For example, if you want to view the Copy Control requirements for orders, select the following menu path,
and selecting the right requirement number ( Please ensure that the routines are marked as “Active” in order to really work.
Select the routine and click on the view button. The system will display the code in SAP ABAP Editor.
*---------------------------------------------------------------------* * FORM - Routine for copying checks *---------------------------------------------------------------------* *---------------------------------------------------------------------* * FORM BEDINGUNG_PRUEFEN_001 * *---------------------------------------------------------------------* * The following work areas are available: * * * * HVBAK - Header which can be produced from the reference * * VBAK - Header of the reference sales document * * VBUK - Header status of the reference sales document * * TVAK - Sales document type * * HVBPA - Partner segment of the sold-to * * VBPA - Partner segment of the sold-to in the reference doc * * * * The messages are stored in table 100 with Message-ID 'V2' * * * * * *---------------------------------------------------------------------* FORM BEDINGUNG_PRUEFEN_001. DATA: BP_DATUM_AUSGABE(10). " Datumsfeld für editierte Ausgabe * Is the reference document complete? IF VBUK-UVALS CN ' C' OR VBUK-UVALL CN ' C'. MESSAGE E021. ENDIF. * Was the reference document fully referenced? IF VBUK-RFGSK = CHARC AND HVBAK-VBTYP NE CHARH AND HVBAK-VBTYP NE CHARI AND HVBAK-VBTYP NE CHARK AND HVBAK-VBTYP NE CHARL. MESSAGE E015. ENDIF. ....
This is especially used to set up break-points that can be used for debugging.
Also, new routines that are created are assigned. If you want to create your own routine ( See SAP ABAP Training related posts for the same ), then you would have to enter an Object Key as shown below.

Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
Question 2 : Which of the following is TRUE ?
- Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001
- Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001
- Output Control Requirement routine 001 is same as Pricing Requirement Routine 001
Question 3 : How do you activate VOFM routines ?
Question 4 : What are the pre-requisites to create custom VOFM routines ?
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?


Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
VOFM->Data Transfer->Deliveries
Question 2 : Which of the following is TRUE ? NONE
A.Order related Copying Requirement routine 001 = Header-Same Customer.
Delivery related Copying Requirement Routine 001 = Header….. therefore FALSE
B.Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001…..FALSE there is no Routine Number for Line item level.
C.Output Control Requirement routine 001 = Delivery Goods Issue posted
Pricing Requirement Routine 001 = Different payer…… therefore FALSE
Question 3 : How do you activate VOFM routines ?
Click on Order entry line/Select Edit/Activate
Question 4 : What are the pre-requisites to create custom VOFM routines ?
To create custom VOFM routines, you will need the object key, Access key and Installation number from the ABAP consultant
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
Custom Routine numbers from 600 to 999
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines.
VOFM->Data Transfer->Deliveries
Question 2 : Which of the following is TRUE ?
1. Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001 = False
2. Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001 = False – I do not see an item level copy requirement 001. The header level 001 routine does not reference the VBAP detail records. Copy requirements routine 301 tests and rejects items that are completed or have reject reason codes.
3. Output Control Requirement routine 001 is same as Pricing Requirement Routine 001. = False The pricing 001 requirements routine test for payer vs. sold to party, the output control 001 requirements routine test to see if goods issue has occurred.
Question 3 : How do you activate VOFM routines ?
Highlight the entry for the routine, click on edit, click on the activate option.
Question 4 : What are the pre-requisites to create custom VOFM routines ?
Clear requirements that define the business need, functional specifications that define the documents and the fields that will be impacted, as well upstream and down stream impacts, knowledge of APAP, and a developer key.
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ? 600-999
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines. VOFM–>Copying requirements–>deliveries
Question 2 : Which of the following is TRUE ?
A.Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001 .False .
B.Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001.False
C.Output Control Requirement routine 001 is same as Pricing Requirement Routine 001 : dont know.plz explain.
Question 3 : How do you activate VOFM routines ?VOFM->Edit->activate
Question 4 : What are the pre-requisites to create custom VOFM routines ?ABAP and access key provided by sap.
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?601-999
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
Answer: VOFM->Copying requiremtns->Deliveries.
Question 2 : Which of the following is TRUE ?
Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001
Answer: False
Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001
Answer: True
Output Control Requirement routine 001 is same as Pricing Requirement Routine 001
Answer: False
Question 3 : How do you activate VOFM routines ?
Answer: Select, click on Edit -> Active
Question 4 : What are the pre-requisites to create custom VOFM routines ?
Answer: ABAP Programming Language
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
Answer: 600-999
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
• VOFM- COPYING REQUIREMENT-DELIVERIES
Question 2 : Which of the following is TRUE ?
1. Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001(FALSE)
2. Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001(TRUE)
3. Output Control Requirement routine 001 is same as Pricing Requirement Routine 001 (FALSE)
4.
Question 3 : How do you activate VOFM routines ?
• VOFM- COPYING REQUIREMENT-ORDER-SELECT THE ROUTINE NUMBER- CHECK MARK ON ACTIVE BOX
• SELECT ROUTING – GOTO EDIT – ACTIVE
Question 4 : What are the pre-requisites to create custom VOFM routines ?
• ACCESS KEY(FROM ABAP)
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
• 600-999 FOR CUSTOM VOFM ROUTINE
Ans1: VOFM-Copying req-Deliveries
Ans2: Only statement 2 is TRUE
Ans3: VOFM->Copying Req->Orders->Cursor on routine Then Edit->Activate
Ans4: Enter new routine number and description in the table, press enter, if you have access rights to create new routines, Enter Access key to begin new routine.
Ans5: standard routines 001-599 user routines 600-999
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines:
SPRO > IMG> Logistics execution> Shipping > Copying Control> Define Copying Requirement >
From the menu Select Copying Requirements > Select Deliveries from the drop down list .
There are two menu items, “Copying Requirements” and “Data Transfer”, from your question, I think you asked for data transfer routine, correct me if I am wrong.
VOFM > data transfer >Deliveries.
Or VOFM > Copying requirements >Deliveries.
Question 2 : Which of the following is TRUE ?
1. Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001
FALSE
2. Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001
TRUE
3. Output Control Requirement routine 001 is same as Pricing Requirement Routine 001
FALSE
Question 3 : How do you activate VOFM routines ?
DON’T KNOW. IF THE QUESTION IS HOW DO WE ACCESS VOFM ROUTINE, THEN, ANSWER WOULD BE, BY DOUBLE CLICKING OR CLICKING VIEW CODE BUTTON WHEN YOU HAVE SELECTED THE DESIRED CODE ROW AFTER EXECUTING VOFM CODE.
Question 4 : What are the pre-requisites to create custom VOFM routines ?
YOU HAVE TO HAVE A ACCESS KEY TO CUSTOMIZE.
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
???
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
Data Transfer->Deliveries
Question 2 : Which of the following is TRUE ?
Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001
FALSE
Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001
TRUE
Output Control Requirement routine 001 is same as Pricing Requirement Routine 001
FALSE
Question 3 : How do you activate VOFM routines ?
Answer: By using Edit->Activate and the Access key to gain access and activate it.
Question 4 : What are the pre-requisites to create custom VOFM routines ?
Answer: Some custom fields that needs to be copied thats not handled by SAP standard routines.
ABAP coding knowledge
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
900-999 (google search)
Hi Sir,
Here are my answers…
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
VOFM->Copying requiremtns->Deliveries.
Question 2 : Which of the following is TRUE ? B
Question 3 : How do you activate VOFM routines ?
By checking the “active” in VOFM->Copying requiremtns->Orders.
Question 4 : What are the pre-requisites to create custom VOFM routines ?
1.Select a number btw range 600-999
2.Enter an access key and create VOFM routine using ABAP editor
3.Activate the VOFM routine by clicking the active check mark.
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
Custom routines Number Ranges: 600-999
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
VOFM->Copying requiremtns->Deliveries.
Question 2 : Which of the following is TRUE ? B
Question 3 : How do you activate VOFM routines ?
By checking the “active” button” in VOFM->Copying requiremtns->Orders.
Question 4 : What are the pre-requisites to create custom VOFM routines ?
Access key and ABAP Editor.
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
600-999.
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
ANS: Logistic Execution>>Shipping>>Copying Control>>Specify Copy Controls for Deliveries.
Question 2 : Which of the following is TRUE ?
A.Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001
B.Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001
C.Output Control Requirement routine 001 is same as Pricing Requirement Routine 001
“B” is true.
Question 3 : How do you activate VOFM routines ?
ANS: In the command window type VOFM>>Edit>>Activate All(A message will pop up”Do you want to activate all routines”).
Question 4 : What are the pre-requisites to create custom VOFM routines ?
1- Sales Order Processing
2- Customer Master Data
3- Material Master Data
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
ANS: 001>599 and 600 > 999
1 . Give the menu path for Delivery level Copy Control Data Transfer Routines
Ans. SPRO–> IMG –> Logistics execution –> Shipping –> Copiyng Control –> Define Copying Requirement –> Select Copying Requirements on the menu path –> Select Deliveries from the drop down list .
3. How do you activate VOFM routines ?
Ans: Click on the “ACTIVE” check box.
4 . What are the pre-requisites to create custom VOFM routines ?
Ans. This is done by ABAP people.
5 . What is the SAP suggested number range for creating custom VOFM routines ?
Ans. 001-599
Not sure about the 2nd question pls explain.
Question 1 : Give the menu path for Delivery level Copy Control Data Transfer Routines
Answer: Option 1 = SPRO— IMG— Logistics Execution— Shipping— Copy Control— Define Copying Requirements— Copy Requirements— Deliveries
Option 2 = VOFM—-Copy Requirements—-Deliveries
Question 2 : Which of the following is TRUE ?
A.Order related Copying Requirement routine 001 is same as Delivery related Copying Requirement Routine 001
Answer: False
B.Order Header Level Copying Requirement Routine 001 is same as Order line item level copying requirement routine 001
Answer: True
C.Output Control Requirement routine 001 is same as Pricing Requirement Routine 001
Answer: False
Question 3 : How do you activate VOFM routines ?
Answer: Select the routine go to the EDIT tab on the menu path select Active from the drop down options
Question 4 : What are the pre-requisites to create custom VOFM routines ?
Anser: ABAP Programming Language
Question 5 : What is the SAP suggested number range for creating custom VOFM routines ?
Answer: From 001-599 for SAP and 600-999 for Customers
Ans 1: Img/LogisticsExecution/Shipping/Deliveries/CopyControl/Define routines for Data
Transfer
Ans 2: “B” is true
Ans 3: Click in the “Check box”
Ans 4: Authorization from Basis and should know ABAP Programming.
Ans 5: No Idea.
1) VOFM>Copying requirements>Deliveries
2) B
3) Check mark the active next to the routine
4) Not sure
5) 600-999
Hi sir
i am not sure about the answers of the questions 2 and 4 can you please explain
1) VOFM->copy requirements->deliveries
2)None
3) VOFM->edit->activate
4)if we want to over right the existing one or when we want use other than the sap standard once
5)1-599 for SAP and 600-999 for customers