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: 

VOFM

Former Member
0 Kudos

Hi,

I need to add the SAP OSS Note 497245 .

But I am unable to add the include in the VOFM.

Can someone tell me how to do that?

Thanks,

Sneha.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I am able to create the Include 900 in VOFM.

I have just one more question.How is this routine called by the standard program.Or where is this Routine triggered??

8 REPLIES 8

Former Member
0 Kudos

Hi Sneha,

you didn't wrote why it didn't work. The way would be to start transaction VOFM. Click on data transfer -> Billing documents. Enter 900 as routine number -> click on Source text (F5) and copy the coding from OSS note.

Just let me know if you need another information.

Regards

Nicola

Former Member
0 Kudos

Its not allowing me to give the include name in the VOFM transaction.

0 Kudos

I don't get where you want to enter the include name? The include is created by SAP it's RV60C and the no. of the formula 900.

Or do you get the message 'Enter the the key for the object R3TR PROG RV60C900'? In this case you'll have to ask your basis department to register the object in OSS.

Regards

Nicola

Former Member
0 Kudos

Exactly Nicolas.Its askimg me for the access key for the formula creation.

I guess i need to contact our basis people

Thanks for the help.

It was invaluable.

0 Kudos

Hi,

VOFM transaction manages many user exits. When a VOFM exit is created, two access keys are required. One for the include in which the code will be, and one of the function group in which it sits

Ask your Basis

For VOFM routine you require an access key...Even if the routine is 621 (RV45B621)...I believe you cannot ignore this if you are creating a new VOFM routine

u need to have the Access key from ur Basis Admin ,

u need to inform ur sups as where u r doing the copy controls for the business scenario

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

Former Member
0 Kudos

creating new routines in VOFM works like changing SAP standard code and needs a key to do so.

Send the message screenshot to the BASIS team and they will generate the key for you

Former Member
0 Kudos

I am able to create the Include 900 in VOFM.

I have just one more question.How is this routine called by the standard program.Or where is this Routine triggered??

0 Kudos

Hi Sneha,

I hope that my english will be good enough to explain it:

In customizing (transaction VTFL) you can maintain copying Control For Billing Documents.If you click i.e. on Delivery document to billing document, choose a delivery and factura type (i.e. F2 and LF). Doubleclick on it, click on item, choose an item category i.e. ALEN, doubleclick on it and then you'll see a field called Data VBRK/VBRP. There you can choose your routine 900.

The routine itself is triggered by program SAPFV60C.

Sorry if it sounds confusing!

Have fun

Nicola