SAP Note 300957 - COGI/CORUPROC: Incorrect AFFW records

Component : Goods Movements - Confirmation

Solution : https://service.sap.com/sap/support/notes/300957 (SAP Service marketplace login required)

Summary :
When updating AFFW records related to reversed goods movements in SAP, users may encounter an error where updated records have incorrect material numbers and movement types. This problem arises due to a program error in the CO_FW_GOODS_MOVEMENTS_BY_AFFW function module, specifically from SAP Release 4.6. The error involves incorrect processing of goods movement reversals through the MB_CANCEL_GOODS_MOVEMENT module, which fails to maintain the correct sequence of goods movement data in EMSEG and IMSEG tables. To resolve this, the program must be corrected to reorder these tables per MBLNR_TAB or AFFW, followed by implementing Note 303812.

Key words :
incorrect goods movements/cogi records, additional key words coruproc, inventory management module mb_cancel_goods_movement, module mb_cancel_goods_movement sorts internally, incorrect material number, function module co_fw_goods_movements_by_affw, update affw records, error records created, goods movements reversals, goods movements fail

Related Notes :

313985Cancel confirmation with goods mvts as of Rel. 4.6
306664Not possible to process future change record/error rec.
303812CO13: AFFW records in spite of posted cancellation
300830CORUPROC: No lock for detailed planned changes