cancel
Showing results for 
Search instead for 
Did you mean: 

Condition formula for alternative calculation type

Former Member
0 Kudos

Hi gurus,

we need to create some condition formulas to be applied in our pricing procedure.

Do you know where to program them in the system and what additional settings are required?

Thanks and best regards,

VL

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Great answer Nagesh,

Thanks and best regards!!!

VL

Former Member
0 Kudos

Hi Victor,

For your query, you can create new alternative calculation or alternative condition base values in T-COde VOFM with the help of an ABAP.

Go to VOFM T-CODE

Then Click on Formulas then condition value or condition base value.

You need to take Acces key from basis team to create a new calculation type for that number should start from 900 to 999.

Tell you Abaper to take the values from internal table XKOMV, XKOMK, KONDI, XKONP there are many internal tables are there, from that you will get respective conditon type values.

In internal table KBETR field contains condition record value & KWERT contains the calculated value.

Read wrt condition tyep and calculate according that and pass the value.

Try this, which will help you in resolving your query.

If satisfied close the thread.

Regards,

Nagesh

former_member217082
Active Contributor
0 Kudos

Hi Victor

If you need to create the condition formula then first you have to go to VOFM and select pricing and as there are standard condition formulas , copy those standard condition formulas and create your own (starting from 901) and include the logic in that new condition formula and then assign it in the pricing procedure

Thanks and Regards

Srinath

Shiva_Ram
Active Contributor
0 Kudos

Use t.code VOFM.

Go to menu Formula -> condition base value or condition value.

Copy one of the SAP standard routine close to your requirement and give a name like 900 and modify the codings to suit your needs.

This has to be developed from development system and you may need developers key to develop the routine.

Then assign the routine in the pricing procedure. After testing you need to move to quality and production system.

Same t.code is also used for developing requirements. Go to menu Requirements -> pricing and develop your own routine. Then you need to assign in the pricing procedure under requirements column per your requirements.

You can also refer the wiki link for details at http://wiki.sdn.sap.com/wiki/display/ERPLO/RoutinesinSD

Regards,