Output type SPED trigger inbound delivery after PGI for inter-company STO's outb
Output type SPED trigger inbound delivery after PGI for inter-company STO's outbound delivery
Inter-company purchasing is a very common business scenario in many SAP projects. In project practice, inter-company STO (or cross-company STO) is used to realize this process.
Different projects have different practices:
- In some projects, one-step transfer is adopted, that is, after the issue company post goods issues by VL02N, the receiving company automatically completes the goods receipt posting.
- In some projects, two-step transfer is adopted, that is, the issue company first performs goods issue posting, and then the receiving company performs goods receipt posting separately.
-In some projects, inbound delivery needs to be created on the receiving side. Through system settings, SAP can automatically trigger the inbound delivery document in this scenario after the goods issue posted by the issue company.
I wrote this blog to explain how to use the SAP standard output type SPED, to realize the function of automatically triggering the inbound delivery after the goods issue of outbound delivery is posted.
The main steps are as follows:
1, The output type SPED was defined here:
2, Output type SPED was assigned to output determination procedure V10000.
The requirement of the output type SPED can be 408 or 1. (I tested, those two values are both OK, can trigger the inbound delivery document successfully after goods issue posting for the outbound delivery document.)
Requirement = 408,
See the ABAP code and the comments,
If requirement=1,
See the ABAP code and related comments,
Remember that for the requirement 408/1, the inbound delivery will be triggered AFTER goods issue posting for outbound delivery.
3, The Output Procedure V10000 was assigned delivery type NLCC.
4, Maintain the condition record for output type SPED.
Transaction code:VV21/VV22/VV23
Be careful that the value of the field Partner cannot be empty in this condition record, see above screen.
5,Assign goods receiving point for receiving plant/storage location combination.
We need to assign shipping point for all receiving plant/storage location combination.
6, The definition of purchase order c onfirmation control key.
Here I created a new confirmation control key Z004,
Make sure that the check box GR-Relevant and GR Assignment Key are both selected.
7, Now we can create a inter-company STO document to see the effect.
STO#4500000759. The stock of material 555 will be transferred from plant NMI1 to plant NM03, they belong to different company code.
VL10B to create a outbound delivery for this STO,DN#80000781.
VL02N to pick and post goods issue for this outbound delivery,
Success!
Now let me to check the output record for this outbound delivery using VL03N,
There is output record for output type SPED. See above screen.
Now let us check the STO item details, see the confirmation tab by transaction code ME23N,
Inbound delivery 180000182 was triggered successfully,the batch number picked in outbound delivery also was copied into this inbound delivery,
Remark: there is a pre-condition if output type SPED to trigger inbound delivery document. It is that the inter-company STO should be a two-step transfer. In below configuration,
For the issue plant/receiving plant combination, do NOT select the checkbox ‘One Step’. Otherwise when we conduct PGI for outbound delivery, SAP will pop up error message to say: No goods receipt possible for purchase order ####. When I tested, I have ever meet this error message when PGI by VL02N.
Hope this blog can help you.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29829936/viewspace-2843598/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Output Type SPER Delete Inbound Delivery After We Reverse PGI for STO' outbounddelete
- Delivery Automatic Creation for UB type STO
- SAP MM VL31N 建立的Inbound Delivery和SWP建立的Inbound Delivery的區別
- SAP MM 維護公司間STO報錯-No delivery type defined for supplying plant-
- requirement for output typeUIREM
- SAP 對STO的交貨單執行PGI,報錯 -Fld selectn for mvmt type 643 acct 400020 diff
- SAP MM SPED輸出報錯-No authorization for delivery from shipping point US##-
- 關於Oralce Trigger中before、after的區別
- SAP公司間STO流程裡外向交貨單PGI後自動觸發內向交貨單的實現
- unsupported operand type(s) for +: ‘range‘ and ‘list‘
- 使用after create 建立trigger記錄procedure PL/SQL程式碼變更SQL
- SAP MM 公司間STO裡交貨單PGI之後自動觸發內向交貨單功能的實現
- 使用BAPISDORDER_GETDETAILEDLIST建立S/4HANA的Outbound DeliveryAPIAI
- Price Control V or S in material type
- INBOUND_CONNECT_TIMEOUT與SQLNET.INBOUND_CONNECT_TIMEOUT小結SQL
- The disp+work.exe is stopped after several minutes or stays in yellow status, what’s wrong?
- Python-unsupported operand type(s) for %: 'builtin_function_or_method' and 'int'PythonUIFunction
- [翻譯]The Neophyte's Guide to Scala Part 12: Type ClassesGUIIDE
- javax.net.ssl.SSLException: closing inbound before receiving peer‘s close_notify的解決辦法JavaException
- 為什麼output type condition記錄已經維護,但輸出不能自動建立IDOC
- angular input和outputAngular
- bash : input/output errorError
- Mysql TriggerMySql
- jQuery trigger()jQuery
- ±±oracle trigger±±Oracle
- sql triggerSQL
- jQuery after()jQuery
- 每日英語:China's Red Cross Tries to Rebuild After Self-Inflicted DisasterROSRebuildAST
- 手工RUN:Import Delivery Lines後可能造成WSH_DELIVERY_DETAILS中資料重復ImportAI
- 一段在C4C裡觸發S4HANA outbound Delivery的ABSL程式碼
- SAP HANA Delivery Unit概念簡述
- EWM error 'Delivery is already fully invoiced'Error
- 連線mysql資料庫報:javax.net.ssl.SSLException: closing inbound before receiving peer's close_notifyMySql資料庫JavaException
- HTML <output> 輸出域HTML
- Input/output error [ linux ]ErrorLinux
- oracle query output in excel fileOracleExcel
- Test Oracle triggerOracle
- variable: Type 與 Type variable