19.2.11

SAP Note 22647 - MB22: A: Program error at EXIT FROM LOOP no active

Symptom:

When you try to change a reservation that was generated automatically during an MRP run (storage location MRP that generates a stock transfer reservation), a message is issued:

A : Program error at EXIT FROM LOOP: No loop active
Message ID = 00, Message number = 043

The error occurs when the reservation item > 1 was configured in customizing of MRP and the quantity is changed on the collective processing screen.

Cause and prerequisites

Program error

Solution
Workaround:
===========
Please branch to the detail screen of the reservation item and change the quantity from there.

Advance correction:
===================

Change include program MM07RFZ0 as indicated below:

FORM ZEILE_SETZEN.
...
IF PCODE IS INITIAL.
IF FCAUSW-XNEUP NE SPACE.
A-ZEILE = M-ZEILE.
RESB-RSPOS = M-ZEILE + 1.
ELSE.
IF NOT RM07M-RSPOS IS INITIAL.
IF RM07M-RSPOS > MAXIMAL.
A-ZEILE = 1.
ELSE.
A-ZEILE = RM07M-RSPOS.
ENDIF.
ELSE.
IF NOT FUSS-RSPOS IS INITIAL.
A-ZEILE = FUSS-RSPOS. <- delete
A-ZEILE = FUSS-RSPOS - INDEX_B. <- insert
ELSE.
IF FCAUSW-XLIST NE SPACE.
IF AUFSETZEN_1 IS INITIAL.
...
ENDFORM.

No comments:

Post a Comment