Error M8782 occurs when you simulate or post an invoice.
Cause and prerequisitesReference to a purchase order assigned to an account. The account assignment numerator (EKKN-ZEKKN) is '00'. Why the account assignment numerator is set to '00' is not clear.
SolutionCorrect the account assignment numerator in the purchase order. You can use the following report to do this. You can enter the purchase order number in the report.
REPORT TKEKKN01.
TABLES: EKKN, *EKKN.
SELECT-OPTIONS: S_EBELN FOR EKKN-EBELN.
SELECT * FROM EKKN WHERE EBELN IN S_EBELN
AND ZEKKN EQ '00'.
MOVE EKKN TO *EKKN.
EKKN-ZEKKN = '01'.
INSERT EKKN.
IF SY-SUBRC EQ 0.
MOVE *EKKN TO EKKN.
DELETE EKKN.
WRITE: / EKKN-EBELN, EKKN-EBELP, EKKN-ZEKKN.
ENDIF.
ENDSELECT.
No comments:
Post a Comment