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

VOFM

Former Member
0 Likes
940

Hi all,

what is VOFM?

is it related to SD or its general for all modules?

How an ABAPer has to deal with VOFM.. please give some real-time scenario..

Thanks,

neo S.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
834

Hi,

this is a mechanism provided by SAP to allow

1.copy of data between successive documents

2. Modify pricing

3. Output control

4. Specify formulas for condition base values

etc etc

as an ABAP cnsultant .. you will have to create these routines & the FC will assign these in the customising

typically you will write some code to pass / modify values of standard structures that are available

Kindly reward points if helpful

Regards,

gaurav

6 REPLIES 6
Read only

Former Member
0 Likes
834

Hi,

VOFM pricing routines, requirement routines are used in SD and MM.

data transfer routines are specific to SD.

Thanks,

Naren

Read only

Former Member
0 Likes
835

Hi,

this is a mechanism provided by SAP to allow

1.copy of data between successive documents

2. Modify pricing

3. Output control

4. Specify formulas for condition base values

etc etc

as an ABAP cnsultant .. you will have to create these routines & the FC will assign these in the customising

typically you will write some code to pass / modify values of standard structures that are available

Kindly reward points if helpful

Regards,

gaurav

Read only

0 Likes
834

sorry i forgot the real time scenarios

Real time scenarios ,

1. Recalculation of MRP

2. Substituting materials

3. Delivery split based on Material Chapter ID's

4. collating invoices based on Customer

5. Changing the condition base value between 2 successive condition types in a pricing procedure

Etc

Regards,

Gaurav

Read only

Former Member
0 Likes
834

Hi neo,

VOFM is a transaction where form routines are created.

like user-exits, form routines are used to do extra functionality. we have different routines like condition routines, data routines etc..

once we define the routines we will assign them to standard flow in VTAA transaction(we have header, data categories here we will assign our routine based on our requirement).

for a real-time scenario say when you are creating a sales order from a contract, and you need to check the contract..say for a contract with order type 'ZTYP' you should not allow creating the sales order then you can do this check with the help of routine..

or when creating a sales order you need to validate few fields say a quantity field less than 10 should not be allowed, or if you need to default some values in the fields you can use these routines.

Regards,

Vidya.

Read only

0 Likes
834

Thanks vidya,

You cleared conceptual idea of vofm.... its like enhancements...

But i guess we can do that thru userexit or Badi...

in which special cases we need VOFM?

what is the difference in between userexit, badi & vofm...

regards,

neo S.

Read only

Former Member
0 Likes
834

i got my answer after reading OSS #: 327220

Thanks you all

neo S.