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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding checks in MM through VOFM transaction.

Former Member
0 Kudos

HI,

I have a requirment to add new checks in MM through VOFM transaction. by following the menu 'VOFM->Requirments->pricing.

now how to add new entries in this table. if i add a new routine it ask for modification key for generated program.

Can i add my checks here. or edit the old ones.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

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.

Ex.

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.

refer the below link

https://forums.sdn.sap.com/click.jspa?searchID=3604222&messageID=994791

<b>Reward points</b>

Regards

3 REPLIES 3

Former Member
0 Kudos

Yes you can edit the existing routine.

select the row corresponding to the routine number you want to edit. Then click on the the ICON source_text. you'll be taken into the source code of the copy routine. then you can edit it(provided you have the access).

Reward points if helpful

Former Member
0 Kudos

Hi,

What Agarwal saying is correct.

If you have the access press insert modification button on application tool bar and it will allow you to write the code. write down your formula and acitvate.

Reward points if useful,

Aleem.

Former Member
0 Kudos

Hi,

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.

Ex.

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.

refer the below link

https://forums.sdn.sap.com/click.jspa?searchID=3604222&messageID=994791

<b>Reward points</b>

Regards