2005 Nov 09 5:41 PM
Hi friends,
I am new to ABAP Programing. I wanted to know about
What is VOFM?
where & when it is implemented?
& a small sample code to know the actual process which take palce.
Please i am really in need of that,please help me to know the basic stuff about this Transaction VOFM.
Thanks in Advance.
Thanks&Regards
Rinky123
2005 Nov 09 11:51 PM
Rinky,
http://help.sap.com/saphelp_46c/helpdata/en/04/c3dc097a35d111950d0060b03c6b76/frameset.htm
As you can see from the help link, VOFM is particularly useful for sales orders, deliveries, billing documents. You can create custom routines (which need to be configured to your pricing condition types or whatever the case may be). These routines could do a variety of different things, basically act like a user exit. When you save the routine entry in VOFM, it generates a program.
Here is a (highly toned down) sample of the code I did to change the pricing amount under certain business conditions:
(This was done for a sample routine# 910 for Billing. The condition value variable 'xkwert' is being changed which reflects the changed amount back in the billing transaction. The number 910 is what is configurable i.e. its just used as an example here)
form frm_kondi_wert_910.
* This is where you can write your custom code to change xkwert
data: v_itemperc like gkomv-kwert.
check komk-vbtyp ca vbtyp_fakt.
v_itemperc = ( komp-mgame * konv-kwert ) / 20.
xkwert = v_itemperc.
endform.
The above code resided in a program RV64A910 which was generated automatically for the routine. As you can see, the routine number becomes part of the program name.
Let us know if this was useful..
Thanks,
Anand
Hi friends,
I am new to ABAP Programing. I wanted to know about
What is VOFM?
where & when it is implemented?
& a small sample code to know the actual process which take palce.
Please i am really in need of that,please help me to know the basic stuff about this Transaction VOFM.
Thanks in Advance.
Thanks&Regards
Rinky123
2005 Nov 09 5:50 PM
Rinky,
VOFM transaction is used for storing all the routines that we can use in configuration of Sales and distribution module.
SAP supplies all the required routines as per the SAP standard Configuration, but if we need any changes as per the customer business requirements, we can copy these routines and modify them as per the requirements.
After modifying it we can use them in config.
Check the following link for more info.
http://help.sap.com/saphelp_46c/helpdata/en/04/c3dc097a35d111950d0060b03c6b76/frameset.htm
Thanks
Giridhar
2005 Nov 09 6:49 PM
Rinky,
Welcome to SDN!!!!!
VOFM is the transaction used to maintain requirements and Formulas in SD.
Regards,
Kam
2005 Nov 09 11:51 PM
Rinky,
http://help.sap.com/saphelp_46c/helpdata/en/04/c3dc097a35d111950d0060b03c6b76/frameset.htm
As you can see from the help link, VOFM is particularly useful for sales orders, deliveries, billing documents. You can create custom routines (which need to be configured to your pricing condition types or whatever the case may be). These routines could do a variety of different things, basically act like a user exit. When you save the routine entry in VOFM, it generates a program.
Here is a (highly toned down) sample of the code I did to change the pricing amount under certain business conditions:
(This was done for a sample routine# 910 for Billing. The condition value variable 'xkwert' is being changed which reflects the changed amount back in the billing transaction. The number 910 is what is configurable i.e. its just used as an example here)
form frm_kondi_wert_910.
* This is where you can write your custom code to change xkwert
data: v_itemperc like gkomv-kwert.
check komk-vbtyp ca vbtyp_fakt.
v_itemperc = ( komp-mgame * konv-kwert ) / 20.
xkwert = v_itemperc.
endform.
The above code resided in a program RV64A910 which was generated automatically for the routine. As you can see, the routine number becomes part of the program name.
Let us know if this was useful..
Thanks,
Anand
2007 Jun 04 7:03 PM
Hi Anand,
It was very helpful posting on Vofm. I have one problem when i tried to create a custom routine VOFM->DATA TRANSFER-> ORDERS-> when i tried to create a custom routine numbered 910, it is asking for access key , do we need to have access key to create custom routine(i think this is nothing but Modifying VOFM--Just like user-exit)....and also will appreciate if provide steps to configure a routine for orders..
***points wil be rewarded..
Thank you
Ajay
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |