关于SD单据的状态
在SD中常常會(huì)瀏覽單據(jù)流,如下圖:
圖中的SD的單據(jù)狀態(tài)信息主要存儲(chǔ)在下面的兩個(gè)表中
VBUK(銷售憑證 : 抬頭狀態(tài)和管理數(shù)據(jù))
VBUP (銷售憑證 : 項(xiàng)目狀態(tài))
訂單和出庫單都會(huì)將狀態(tài)信息分抬頭和明細(xì)存儲(chǔ)在以上兩個(gè)數(shù)據(jù)表中。但發(fā)票則例外,他只是將抬頭狀態(tài)數(shù)據(jù)存儲(chǔ)在VBUK(銷售憑證 : 抬頭狀態(tài)和管理數(shù)據(jù)),發(fā)票沒有明細(xì)狀態(tài)信息,發(fā)票的狀態(tài)信息來自VBRK-RFBSK。
這些狀態(tài)的描述是存儲(chǔ)在TVBST表中,系統(tǒng)會(huì)根據(jù)狀態(tài)的表名、字段名和當(dāng)前的值讀取狀態(tài)的描述,如下下圖(本例示根據(jù)VBRK-RFBSK讀取的描述):
?
?相關(guān)系統(tǒng)程序:
RVDELSTA 重新確定交貨中的狀態(tài)
SDSPESTA - update document flow for sd docs
?
相關(guān)配置
check for order-delivery-billing / delivery-billing copy controls and tick update document flow there , i reckon this should work out .
According to your requirement is its an order related billing goto VTFA or if its delivery related then goto VTFL and check whether the update document flow if ticked and check out after that.
相關(guān)notes:
Note 428856 - Accounting document is not displayed in the document flow
Note 128947 - Correction of SD document indexes with RVV05IVB
特別注意的是對(duì)于啟用了IS-U,系統(tǒng)將使用VBRK-fkk_docstat來替代VBRK-RFBSK。如果出現(xiàn)billing的狀態(tài)顯示為空,請參照下面的notes解決。
Note 971052 - IS-U billing request: Statistics update SD
總結(jié)
- 上一篇: TCODE找相應的BAPI(主要是找到包
- 下一篇: 实例:ABAP权限对象设计与权限检查的实