If you want to make a clearing posting with reference to the bill of material and assign it to a cost center, error message KI230 'Do not assign to cost center (not active in CO area & and FYear 0000) is displayed.
Cause and prerequisitesProgram error.
SolutionPlease change Include MM07MFK0:
FORM KONTIERUNGSBLOCK_SEND_PAI.
CHECK AKTYP = H OR AKTYP = K.
...
COBL-BZDAT = MKPF-BUDAT.
COBL-GJAHR = MSEG-GJAHR. <- delete
IF MSEG-GJAHR IS INITIAL. <- new
COBL-GJAHR = MKPF-MJAHR. <- new
ELSE. <- new
COBL-GJAHR = MSEG-GJAHR. <- new
ENDIF. <- new
...
ENDFORM.
No comments:
Post a Comment