When cancelling a goods issue for a stock transport scheduling agreement, the described termination occurs in ME_UPDATE_GOODS_RECEIPT.
Cause and prerequisitesThe issued quantity (EKET-WAMNG) in a scheduling agreement was 50 ST below the quantity specified in the corresponding purchase order history record. The reason for this discrepancy is not clear. The scheduling agreement for this specific case was generated in a planning run.
SolutionYou can correct the issued quantity in the scheduling agreement with a report. The report can be as follows:
REPORT TKTEST10.
TABLES: EKET.
SELECT SINGLE * FROM EKET WHERE EBELN EQ '..........' "<- number
AND EBELP EQ '.....' "<- item
AND ETENR EQ '....'. "<- schedule line
IF SY-SUBRC EQ 0.
WRITE: / EKET-EBELN, EKET-EBELP, EKET-ETENR, EKET-WAMNG.
EKET-WAMNG = EKET-WAMNG + 50.
WRITE: / EKET-EBELN, EKET-EBELP, EKET-ETENR, EKET-WAMNG.
UPDATE EKET.
ENDIF.
No comments:
Post a Comment