SAP 公司間STO場景中外向交貨單過帳後自動觸發內向交貨單功能的實現ui
以下STO,是從公司代碼SZSP轉入CSAS,spa
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
以下圖示的內向交貨單180018660。該內向交貨單是在外向交貨單80016325 發貨過帳的時候自動觸發的,3d
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
如何實現這個功能?blog
1)定義輸出類型(output type)SPEDip
SPRO > Logistic Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Outbound Deliveries > Maintain Output Typesrem
T.Code – V/34io
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
Step 2)將輸出類型SPED分配給輸出肯定策略ast
SPRO > Logistic Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Outbound Deliveries -> Maintain Output Determination Procedureclass
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
這個Requirement =1,意味着外向交貨單過帳的時候出發這個output,相關代碼以下:bfc
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
Step 3)爲輸出類型SPED維護條件記錄
Logistics > Logistics Execution > Master Data > Output > Shipping > Outbound Deliveries > Create
T.Code – VV21/22/23
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
Step 4) 確認控制碼的配置
SPRO > Material Management > Purchasing > Confirmations > Set up confirmation control
Confirmation Control key 在採購訂單的行項目confirmation control tab 裏必須選定好。 Confirmation control key的配置裏確保勾選了'GR-Relevant' 和'GR Assignment' 選項,
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
爲了確保inbound delivery能自動建立,須要在採購信息記錄裏維護好confirmation control key.
Logistics > Materials Management > Purchasing > Master Data > Info Record > Create
T.Code – ME11/12/13
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
Step 5) 爲內向交貨單分配收貨點
SPRO -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Shipping Point and Goods Receiving Point Determination -> Assign Goods Receiving Points for Inbound Deliveries
爲工廠存儲地點組合分配好一個發運點,做爲收貨點來使用。
![SAP 公司間STO外向交貨單過帳後自動觸發內向交貨單功能的實現](http://static.javashuo.com/static/loading.gif)
2019-06-09 寫於蘇州市。