Germany's IT services company SAP is to invest $225 million in its US partner COMMERCE ONE, raising its stake to around 20%.