I need to implement a BADI to send data to an OLE2 control or an ActiveX custom control whenever the user saves an order using transaction CIC0. I found ORDER_SAVE and the method CHECK_BEFORE_SAVE. This is going to be my first BADI and was wondering how to get all the order's data, such as materials requested, quantity, BP, contacts and things like that.
A friend of mine told me that I could use the Function CRM_ACTIVITY_H_READ_OW but I can't seem to find position data in the returned structure (such as Material, Quantity, etc).
Is there any documentation that I could read to learn where and how to find the data I need?
I will greatly appreciate your help.
Thanks in advance.