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

VOFM Routines

Former Member
0 Kudos

Hi Gurus,

In VOFM routines ( Copy Requirements, Data Transfer, requirements, Formulae), how to find what data/tables available in a particular routine.

In the other words, if we want to modify these routines or when we add new routines, how to know what data/structure available in a particular routine,to implemet the changes.

Please reply as early as possible......




Former Member
0 Kudos

The routines are in program SAPLV61A, and so you can check the top include LV61ATOP to see what global vars there are (komk, xkomv, konp, etc).

0 Kudos


Thank you for your reply...

But all the routines are not available in SAPLV61A,...

I think there is some standard method to know what are the common structures available for a particular routine.

So is there any other way.....

Former Member
0 Kudos


The procedure to create the new VOFM.

1. Go to VOFM transaction

2. Page down until you find a new spot on the page to put in the VOFM number and description.

3. Put in the VOFM number and the description of the VOFM.

4. Now the VERY IMPORTANT part of the process. Double click on the VOFM description not the VOFM number to create this as a Development/Correction and not as a repair. If you double click on the number then this copies some existing code and prompts you for a repair.

5. Activate and generate the VOFM routine. Note: Configuration must be setup by the OM team for this step.

for example Go to the routine number that needs to be copied.

Put your cursor on the routine number field that needs to be copied.

Overwrite that number with your new routine number and hit enter.

The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.


You have to copy routine 104 to 904

Routine number Description Active

104 Bill.bus.item data X

Put your cursor on 104 and then change it to 904 and hit enter.

904 will be created as a copy of 104 and you can make your changes in 904.

Don't forget to activate it after you are done.

<b>Reward points</b>


0 Kudos

Hi Kiran,

Thank you for your reply....

I am okay with the procedure to create a new routine..

In any way can we know how to identify what data is available to a particular routine other than going in debugging mode.....i.e. any standard procedure we can follow.....

In other words, if a developer asked to modify or create a routine, how he/she knows what data is available at that point of time and also whether a particular data is available in that routine or not........

<b>Reward points are sure for useful answers....</b>