Hi Julio,
i could solve it using a CO-PA derivation (KEDR). During the order settlement is invoked the exit, then I added code for get the SD data like vkorg, vkgrp, etc when the transaction is KO88 o KO8G. The CO order and SD documents are linked via /dbm/ord_docflow table. In the code for derivation you can fill the copa item with the SD information.
Regards, Yenia