"Change purchase order" (ME22) or "Change outline agreement" (ME32). If you change an item on the overview screen, then immediately choose the menu option "Header -> Order acknowledgment", enter a number and choose "Copy" (adopt), the error message 06007 ("This function not allowed here") appears.
Cause and prerequisitesThe order acknowledgment dialog box is called up in FCODE_CALL. Then module FCODE is processed. There OK-CODE = SELFCODE is set. The latter is set to AUFB because it was set during LOOP in module CALL_BSTPOS (only if an item was changed). However, the entry with AUFB and control indicator 2 = ' ' does not exist in table T168.
SolutionCf. correction numbers in this note.
Prior to this the error can be rectified as follows:
Program MM06EI0R, MODULE RM06E-LABNR:
CLEAR OK-CODE.
IF SELFCODE = 'AUFB'. "<--- einfügen / insert
CLEAR SELFCODE. "<--- einfügen / insert
ENDIF. "<--- einfügen / insert
CLEAR RM06E-LABNR.
No comments:
Post a Comment