关于SD单据的状态
在SD中常常會瀏覽單據流,如下圖:
圖中的SD的單據狀態信息主要存儲在下面的兩個表中
VBUK(銷售憑證 : 抬頭狀態和管理數據)
VBUP (銷售憑證 : 項目狀態)
訂單和出庫單都會將狀態信息分抬頭和明細存儲在以上兩個數據表中。但發票則例外,他只是將抬頭狀態數據存儲在VBUK(銷售憑證 : 抬頭狀態和管理數據),發票沒有明細狀態信息,發票的狀態信息來自VBRK-RFBSK。
這些狀態的描述是存儲在TVBST表中,系統會根據狀態的表名、字段名和當前的值讀取狀態的描述,如下下圖(本例示根據VBRK-RFBSK讀取的描述):
?
?相關系統程序:
RVDELSTA 重新確定交貨中的狀態
SDSPESTA - update document flow for sd docs
?
相關配置
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.
相關notes:
Note 428856 - Accounting document is not displayed in the document flow
Note 128947 - Correction of SD document indexes with RVV05IVB
特別注意的是對于啟用了IS-U,系統將使用VBRK-fkk_docstat來替代VBRK-RFBSK。如果出現billing的狀態顯示為空,請參照下面的notes解決。
Note 971052 - IS-U billing request: Statistics update SD
總結
- 上一篇: TCODE找相應的BAPI(主要是找到包
- 下一篇: 实例:ABAP权限对象设计与权限检查的实