日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

SAP SD定价技术分析

發布時間:2025/3/20 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SAP SD定价技术分析 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

定價技術一直是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定价技术分析的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。