Home > ABAP, SD > SAP ERP SD Pricing – Technical Perspective

SAP ERP SD Pricing – Technical Perspective

September 17th, 2009 Leave a comment Go to comments

This post will only focus on the technical perspective of SD pricing. Condition technique has many uses in SAP, the most import part is in pricing. I will post a new blog about how to add custom condition type to pricing procedure.

Program:

SAPMV45A. This is the entry point of sales document process like tcode VA01,VA02 and so on. The two userexit in this program for pricing is:

USEREXIT_PRICING_PREPARE_TKOMK This userexit is used to fill custom field of pricing communication structure in header level.

USEREXIT_PRICING_PREPARE_TKOMP This userexit is used to fill custom field of pricing communication structure in item level.

Pricing Communication Structure:

KOMK Communication Header for Pricing
KOMP Pricing Communication Item
KOMV Pricing Communications-Condition Record

After filling the above two structures, standard program will call an function module named ‘Pricing‘ to determine the price. This function module is contained in function group ‘V61A‘ which contains all pricing related function module in SD.

Pricing Enhancement

Pricing needs to be enhanced in each SAP implementation project. I summaries it in two types:

1. Add new condition type as well as the access sequence. In some case, we even need to add custom field to the pricing communication structure.

2. Add the custom requirement and formula in VOFM and configure it to the pricing procedure.

I will create new posts, If I got an actually business requirement in further.

  1. No comments yet.
  1. No trackbacks yet.