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: 

Need help on routine VOFM

Former Member
0 Kudos

Hi all,

Need to create a routine for formula to bring the net value remaining amount in VOFM.

In service agreement there is a Fee for early contract Termination.

The calculation is based on the total net value of the contract’s duration.

The formula should find the contract’s total net value.

Here condition type will calculate the approriate charge for cancellation based on the results of the formula.

The total net value of contract may be stored in a table related to the billing plan.

Thanks

MM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

you can use the routine to make changes to the pricing by copying the routine and modifying it to suit your need. the steps are as follows:

1. The sd consultant will find the routine to be modified.

1.2 The routine is accessed with transaction- vofm.

1.3 Goto REQUIREMENTS- PRICING.

2. The routine description is " item with pricing" and routine number is 2.

3. The routine name is "LV61A002" .

4. The routine is copied and renamed.

5. The new routine description is " item with pricing " and routine number is 984.

6. The name is "RV61A984".

7. To edit RV61A984, An access key is generated- 2******************7

7.1 Position cursor on the code to add lines- press "insert".

7.2 A comment is issued and braces.

7.3 with the braces step 8.

8. The code is developed.

9. save.

10. check syntax- it throws some exceptions not related to code- on definitions.

11. activate.

12. Goto- Program- Generate.

13. Make sure the correct routines are assigned in the T-code v/08 (Conditions: Procedure for A V) and T-Code V/12 ( Account Determination: Create Table)

Thanks.

1 REPLY 1

Former Member
0 Kudos

hi

you can use the routine to make changes to the pricing by copying the routine and modifying it to suit your need. the steps are as follows:

1. The sd consultant will find the routine to be modified.

1.2 The routine is accessed with transaction- vofm.

1.3 Goto REQUIREMENTS- PRICING.

2. The routine description is " item with pricing" and routine number is 2.

3. The routine name is "LV61A002" .

4. The routine is copied and renamed.

5. The new routine description is " item with pricing " and routine number is 984.

6. The name is "RV61A984".

7. To edit RV61A984, An access key is generated- 2******************7

7.1 Position cursor on the code to add lines- press "insert".

7.2 A comment is issued and braces.

7.3 with the braces step 8.

8. The code is developed.

9. save.

10. check syntax- it throws some exceptions not related to code- on definitions.

11. activate.

12. Goto- Program- Generate.

13. Make sure the correct routines are assigned in the T-code v/08 (Conditions: Procedure for A V) and T-Code V/12 ( Account Determination: Create Table)

Thanks.