定价技术一直是SAP引以为豪的一个设计。设计也很复杂。
基础的IMG设定有(定价表/访问顺序/定价类型/定价过程)等;
SAP的定价逻辑如下:

1) 定价程序
FunctionPool: SAPLV61A
Function Name: Pricing

2) 变量说明
XKOMV 记录系统定价结果(Item Level)
TKOMV 记录系统定价结果(Doc. Level)
KOMT1 定价过程
KOMT2 访问顺序
KOMK 定价关键字(表头)
KOMP 定价关键字(行)

3) 程序处理逻辑
A) 整理 KOMK / KOMP 的值 (SAP提供接口做增强,SO/DN/BILLING)
SO:
Program: MV45AFZZ
User Exit: userexit_pricing_prepare_tkomk / userexit_pricing_prepare_tkomp
DN:
BADI: LE_SHP_PRICING
Method: CHANGE_INPUT_HEADER_AND_ITEMS
BILLING:
Program: RV60AFZZ
User Exit: USEREXIT_PRICING_PREPARE_TKOMK / USEREXIT_PRICING_PREPARE_TKOMP

B) 抓取定价IMG的相关设定
Program: LV61AA12
FORM: KONDITIONSVORSTEP
* --> KOMK header communication structure *
* <-- KOMT1 table of pricing procedure *
* <-- KOMT2 table of condition access sequences *

C) 根据定价设定,整理定价过程结果内表
Program: LV61AA67 
FORM: XKOMV_AUFBAUEN_AUS_KOMT1

* Build XKOMV from KOMT1 derived from T683S *

* --> KOMK header communication structure *
* --> KOMP item communication structure *
* --> KOMT1 pricing procedure *
* --> KOMT2 accesses *
* <-- XKOMV internal table of conditions *

定价过程中的"需求"将在这里被处理. 如果检查通过的话,改定价类型将会被记录在XKOMV里面.
价格主档的数据也会在这里被处理,

D) 根据TKOMV整理XKOMV定价过程结果内表
Program: LV61AA58
FORM: XKOMV_AUFBAUEN_AUS_TKOMV

* Build XKOMV from TKOMV *

* --> KOMT1 pricing procedure *
* --> TKOMV complete table of conditions *
* <-- XKOMV internal table of conditions *

E) 定价过程内表的计算(处理Formula,subtotal,base value ...)
Program: LV61AA55
FORM: XKOMV_BEWERTEN

* Calculate on internal table of conditions *

* --> PREISFINDUNGSART pricing type *
* --> KOMK header communication structure *
* <-> KOMP item communication structure *
* <-> XKOMV internal table of conditions *
* <-> GKOMV table of group conditions pricing type F only *
* --> GKOMZ table of group cond indeces pricing type F only *

小计/计算类型/基础类型 在这里被处理. 可参考 SAP NOTES: 900089,有详细描述处理逻辑.

F) 根据表T684的记录,执行定价排斥
Program: LV61AA56
FORM: XKOMV_AUSSCHLUSS
可参考 SAP NOTES: 836243

G) 将XKOMV的结果整理到TKOMV
Program: LV61AA42
FORM: XKOMV_UEBERTRAGEN_NACH_TKOMV

* Transfer XKOMV to TKOMV *

* --> XKOMV table document conditions *
* <-- TKOMV table all document conditions *

4) 有关定价的一些SAP NOTES.
1165078 Authorization check for conditions or subtotals
1007110 How is the KWERT determined in a subtotal?
836243 How condition exclusion works in R/3
791944 How is the KBETR determined in a subtotal?
485740 Conditions with fixed amount in copy activities
201830 Calculation of the net price of an item
154529 Pricing in the delivery
130417 Pricing preparation in billing document (user exit)
92090 Exclusion indicator KZNEP
67958 Mode of operation of the condition exclusion
41490 Condition exclusion (KZNEP)
24832 Pricing rules / TVCPF
18173 Minimum order value
900089 Pricing: Processing steps FORM XKOMV_BEWERTEN
363212 'Pricing analysis' mode of operation

转载:http://www.fuhesap.com/sap/296.html

SAP SD定价技术分析相关推荐

  1. SAP SD 条件技术

    SD中用得最多的是条件技术,可以以定价为例简单地说明一下. 比如以下定价过程: 含税价PR00   1170 税金:      170 净价        1000 上面的含税价.税金都是条件类型,它 ...

  2. SAP SD 定价过程

    16.3.2.     定价过程 16.3.2.1.           条件技术七要素 16.3.2.2.           条件表V/03.V/04.V/05 16.3.2.3.         ...

  3. SAP SD 定价过程的16个字段的作用说明

    定价过程的16个字段的作用说明 Define Pricing Procedure Select the pricing procedure which is the standard and copy ...

  4. SAP SD 基础知识之定价中的条件技术(Condition Technique in Pricing)

    SAP SD 基础知识之定价中的条件技术(Condition Technique in Pricing) 一,定价程序Pricing Procedure 所有定价中允许的条件类型都包含在定价程序中: ...

  5. SAP 销售与分销模块定价完全实施手册(SAP SD Pricing Handbook)

    久违的新书上线,这块在国内的甚少,值得关注! SAP蓝宝书,资深SAP高级顾问倾力打造,深入解析SAP技术中的皇冠--SD定价功能的权威著作,本书专注于销售与分销模块的定价功能效果,配以案例实例,帮您 ...

  6. 「SAP技术」SAP SD微观研究之根据销售订单查询到该订单发货的批次

    「SAP技术」SAP SD微观研究之根据销售订单查询到该订单发货的批次 事务代码VL06O, 点击'List Outbound Deliveries',进入如下界面, 输入相关查询参数,执行, 点击' ...

  7. SAP SD基础知识之免费订单

    SAP SD基础知识之免费订单 一,业务场景 由于推广需求,本公司会向客户免费提供一些样品.不向客户收取费用,也就不需要出具发票,但由于不是收入而是消耗,故需要将支付物料的费用记录到指定的成本中心. ...

  8. SAP SD基础知识之免费货物(Free Goods)

    SAP SD基础知识之免费货物(Free Goods) 在一些产业领域,例如零售,化工行业,消费品行业,通常会以免费物品的形式提供折扣. 免费物品可以是订货数量中的一部分,不包含在invoice中,叫 ...

  9. SAP SD基础知识之税(Taxes)

    SAP SD基础知识之税(Taxes) 一,税确定的标准 我们可以在sales organization level分配一个rule(blank,A,B),以判定Order和billing docum ...

最新文章

  1. windows 中 Eclipse 打开当前文件所在文件夹
  2. java6 disable ssl2.0_SpringBoot2.0如何启用https协议
  3. linux中复制字符串出错,C语言实现字符串的复制的两种方法
  4. ContestHunter暑假欢乐赛 SRM 03
  5. python一个函数可以有参数也可以没有参数_Python:有和没有关键字参数的lambda函数行为?...
  6. php 拼音搜索,通过拼音模糊搜索汉字的功能实现
  7. ipython安装报错无效_pip,IPython安装(Python2.7版本)windows环境和Linux环境
  8. 温度及pH敏感性聚乙烯醇/羧甲基壳聚糖水凝胶/金银花多糖/薄荷多糖/O-羧甲基壳聚糖水凝胶
  9. 北航2022软件工程第一次作业——阅读、思考、调研、实践
  10. JQuery EasyUI 教程
  11. 宽度优先搜索算法-BreadthFirstSearch(BFS)
  12. 有关积分的不等式证明
  13. “北斗一号”卫星导航定位系统与GPS的区别
  14. 嵌入式系统,嵌入式系统定义和使用,嵌入式系统和桌面通用系统的区别,嵌入式系统结构组成,嵌入式软件组成
  15. Unity 基于LineRenderer组件实现连线功能
  16. 【19考研】计算机/软件等专业调剂信息集合!【完结版】
  17. connect的中文意思是什么_connect是什么意思?
  18. css实现文字无缝横向滚动
  19. java程序员 待遇_现在的java程序员薪资待遇怎么样?
  20. 如何构建有效的绩效管理(四)

热门文章

  1. 分分钟收入上万 她做到了网红最难的粉丝沉淀
  2. PMCAFF微课堂 (已结束)| 京东平台产品负责人:如何打造一个支撑3200万日订单量的平台型产品
  3. python基础--4 元祖
  4. 最大团问题-分支界限法
  5. sed在替换的时候,使用变量中的值?如何在sed实现变量的替换?获取到变量中的值?...
  6. Popupwindowdemo
  7. 与众不同 windows phone (22) - Device(设备)之摄像头(硬件快门, 自动对焦, 实时修改捕获视频)...
  8. segment fault
  9. nagios用NsClient自定义windows监控
  10. Android中进度条控件使用