天天看點

内向交貨單無法删除一列 cannot delete inbound deliveryLE-SHP-DL-LA - Inbound delivery processing

有個物料,原來沒有批次管理,現在想啟用,要關閉未清業務。 發現有張内向交貨單還是OPEN的,于是想去删除,系統報了VL111錯誤,GM狀态。 再看業務,發現PO的收貨不是按内向交貨單做的而是MIGO直接按PO 收貨的。 看了狀态表VBUK,發現GBSTK是A,但是前台看到交貨單的過賬狀态是VBUK-WBSTK。

先在SDN上找到一個專題

LE-SHP-DL-LA - Inbound delivery processing

那裡面有一段就是說的這種狀況,在那裡面又找到一個SAP NOTE:570991。這個NOTE的辦法就是跑一個專門的程式,把交貨單的狀态删除。

運作程式後,發現VBUK的狀态很多都被清空了,就留了GBSTK為C。在交貨單裡,看到所有狀态都清空了。下圖第一行就是運作後的結果,後面2行做對比。

内向交貨單無法删除一列 cannot delete inbound deliveryLE-SHP-DL-LA - Inbound delivery processing

但是,這個交貨單仍舊無法删除,但是這個交貨單已經不是OPEN業務,物料改批次管理可以順利進行。

======================================================================================= 下面是SDN上找到的解決方案,算是官方給的了。

LE-SHP-DL-LA - Inbound delivery processing

http://wiki.sdn.sap.com/wiki/display/ERPSCM/LE-SHP-DL-LA+-+Inbound+delivery+processing

Inconsistency: Mix up of Both Processes: Customer has created inbound delivery only as shipping notification, but wants post GR for it.

    Make sure (by little correction report) that  LIPS-BWART = '101'  (normally) and LIPS-NOWAB is initial.     Apply correction report for status correction RVDELSTA

Customer has created inbound delivery with own goods movement status, but wants to post (or has posted) with MIGO. Delivery shall be finished in its status (and possibly deleted).

    Apply correction report Z_COMPLETE_INBOUND_DELIVERY.     Please read SAP Note 570991: Correction report for completing open inbound deliveries

内向交貨單無法删除一列 cannot delete inbound deliveryLE-SHP-DL-LA - Inbound delivery processing

VBUK-CLEAR.jpg

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/1605/viewspace-769122/,如需轉載,請注明出處,否則将追究法律責任。

轉載于:http://blog.itpub.net/1605/viewspace-769122/