cancel
Showing results for 
Search instead for 
Did you mean: 

AltCty and AltCBV

Former Member
0 Kudos

Hi

Need clarification on

AltCty :When is Alternate Calculation Type used , for eg . condition record for condition type exists and also AltCty, so which record/ formula be used .

Same issue with AltCBV : Is this only an alternate base value for condition record / when will it be used

Experts Inputs Please

Regards

Rohit

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

These are basically routines written by the ABAPER We need to explain the logic behind hoe system needs to be calculate please see this with an examples .....

Condition formula for alternative calculation type

Purpose

This is an example of a condition value formula . This type of formula can be used to influence the value shown for the condition in pricing. A condition value formula is assigned to a condition type or value line in the pricing procedure.

Formula '13' computes the applicable surcharge when the order value (before taxes) falls below the predefined minimum order value. This formula was delivered with condition types AMIW (used to define the minimum order value) and AMIZ (used to compute the surcharge if the minimum is not met). Within the pricing procedure, formula '13' should be assigned to condition type AMIZ. In addition, the subtotal 'D' must be assigned to condition type AMIW in the pricing procedure.

Example

A company would like to define minimum order values for their customers. As an example, a minimum order value of 200 USD is defined for Customer A. If Customer A places an order for anything less than 200 USD (before taxes), the system should automatically compute a surcharge equal to the difference and apply it to the order. To accomplish this, the user would configure pre-delivered condition types AMIW and AMIZ in their pricing procedure as defined above and maintain a condition record for AMIW and Customer A equal to 200 USD.

Purpose

This is an example of a condition base value formula . A condition base value formula can be used to influence the basis the system uses when computing a pricing value. A condition base formula is assigned to a condition type in the pricing procedure.

Formula '4' uses the net value plus tax of the sales document line item.

Example

A company regularly applies fixed amount header discounts to a sales order. For example, the user may apply a fixed discount of 500 USD to the header of the sales order. Fixed header conditions are always distributed across the line items in the document. In this case, the company would like to distribute the fixed amount based on the net value plus tax of the line items. To accomplish this, the user would assign condition base value formula '4' to the header discount condition type in the pricing procedure.

Regards,

venkataswamy

Edited by: yanamadala venkataswamy on Jul 28, 2009 1:19 PM

Former Member
0 Kudos

Hi Rohit,

1.Alternative Calculation type :- The value of the condition will not be calculated through the condition technique, rather calculated through a formula.

This formula is written in ABAP codes and saved as a routine. The commonly required requirements are already available in standard.That Routine you can create in T Code VOFM.

If you want to create new one then explain the business requirement to your ABAPer so that he can write the program for your need.

2. Alternative Condition Base Value :-Here if you take any requirement in Condition base value (lets say you have a req. for freight condition which is having Qty. scale & you want system should charge automatically 10 Rs. labour per peice with that therefore you haveto create routine for this cal.) and the value comes after this routine will bethe base value for next level calculation.

I hope i am able to explain you..

Pls. revert if not cleared...

Regards

Deepak

Former Member
0 Kudos

Hi Deepak

So if Condition Record Exists, and also AltCty, then Condition Type will pick information fron AltCty .( Formula)

And in AltCBV also will ignore base value in condition record and pick value from AltCBV.

So if either are mentioned in Pricing Procedure against condition type then condition record and basic value both will be calculated by AltCty and AltCBV respectively.

Can you explain with example

Regards

Rohit

Former Member
0 Kudos

HI Rohit,

See first need to understand first we require Alt. Cod. Base Value or Alt. Cal. Type...

they both are Program to achieve certain objective which is not possible through standard system..

Now when we talk about Alt. Cal. Type lets say you are importing some Mat. from US & now the price of the mat. is in $ & your Assable Value Calculation is 1$ * 45 * 1.01 (1.01 is conversion formula) /Per Mat. so you req. a routine to calculate this value which you maintain in REQ. field in Pricing Procedure.

Now your Octroi on Purchasing (we will use condition type for Octori) this Value come after the multiplication of your accessable value & import duties (here we have 2-3 types of duties which is calculate on Accessable value) and 2.7% so for this value out come canot possible through standatd system thats why we req. a routine here in Alt. Condition base value to achieve that outcome .

And the further calculation will based on that outcome.

Now for Alt. cal. type :- You can say here that for the Total Cost calculation system may not necessary consider all the condition type & there are certain condition type outcome has come with some program which we applied in req. field ,in Alt. CBV ,for exp. Accessible value (we will condition type ) ,Octori ,Total Import duties,etc.

So you have to define the formula for Total Cost Calculation what system has to take & what ignore & for which condition it has to pick the value from whereu2026..Now that formula in the form of program we will apply in the Alt. Cal. Type field.

Mean to say for Total Cost the calculation will based on your req./ prefrences as you guide system to read for the final out come...

I hope this is clear to nowu2026

Revert me if still not clear or ur not able to understand any pointu2026u2026

Regards

Deepak

Former Member
0 Kudos

Alternate calculation type - These formulas are used to influence the condition value that is displayed for a

particular condition type or value line in the pricing procedure.

Condition base value formulas can be used to influence the condition basis to which the pricing

condition rate will be applied.

Hope it would help

Regards,

Devendra