cancel
Showing results for 
Search instead for 
Did you mean: 

Calculation Type for Condition

jignesh_mehta3
Active Contributor
0 Kudos

Dear All,

IN V/06 (Condition Type Definition) there is a feild for Calculation Type. (Where we generally enter A - Percentage, C- Quantity, etc).

Now if I want to define a new Calculation Type or atleast see the ABAP code of existing Calculation Type then how to do it?

I tried using VOFM but it is not available there.

Please let me know...

Thanks,

Jignesh Mehta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mr. Mehta,

As per my understanding, I dont think you can develop the new calculation type because these SAP std. calculation type.

They create it and assign them in a program.

Regards,

MT

jignesh_mehta3
Active Contributor
0 Kudos

Dear MT,

Thanks for your reply.

Even I think I cannot create a new Calculation type.

But atleast can I view the ABAP code of existing Calculation Type?

Thanks,

Jignesh Mehta

Former Member
0 Kudos

Hi Jitin Mehta,

I have given answer for your question "How to create a new 'Calculation type' in the 'Condition type'.

Thinking that you need the answer how to see the ABAP code in the "CalTy" column in the pricing procedure I am giving the answer.

In the Pricing procedure, we are taking about the column "CalTy".

Condition formula for alternative calculation we can write in this code.

Alternative formula written in code replaces the formula in the standard system that determines a condition.

1. You can see the abap code in the calculation type by going to the transaction /nVOFM.

2 Go to Menu --> Formulas -->Select condition Value (Click on that).

3. Select the routine number and ckick on 'Source Text' icon.

You are able to see the code written there.

Regards

Durganath

Former Member
0 Kudos

I do not think there is any particular coding involved for the calculation type. These are the values provided by SAP.

The actual code based on the calculation type applies when creating the condition records. you shud have to explore the programs & Includes that are involved during condition record creation.

Regards

Sai

Answers (1)

Answers (1)

Former Member
0 Kudos

Please follow the following process.

1. This may need the access key. So please take ABAPeru2019s help.

2. Go to transaction u2018SE11u2019 give the table name u2018T685Au2019.

3. Double click on the data element u2018KRECHu2019 of the field u2018KRECHu2019.

4. Again double click on the Domain u2018KRECHu2019.

5. Go to the value range tab.

6. Here in the u2018single valuesu2019 you may give your entry of the u2018Calculat.typeu2019.

7. Else we have to give the entry in the u2018value tableu2019 shown.

This may meet your requirement.

Regards

Durganath