As of Release 4.6A, there is a new component in the Material document item for goods receipt/issue slip ( )customer exit.
This new component enables you to transfer data on material document items for goods receipt/issue slips even when there is multiple account assignment.
For a detailed description of the customer exit, refer to the relevant documentation.
You can maintain customer exits in the R/3 System by choosing Tools -> ABAP Workbench -> Utilities -> Enhancements -> Project management (transaction code CMOD).