To get details of a Sales Order | Use of CRM_ORDER_READ
My requirement is to call a custom function module while saving a Sales Order. I am calling this function from a badi implementation of ORDER_SAVE. Now I have to get all the details of the Order I've created. I tried FM CRM_ORDER_READ, but i am finding difficulty in identifying the parameters (output parameters of crm_order_read) which is required for me. (I am new to sap and sap-crm, so please point out if i am wrong in any concepts).
I need to get following parameters from the Sales Order.
Trading Contract Type
Trading Contract Status
Exchange Rate Type
Order Price Unit
Trading Contract Item Category
Can you point out which structures(o/p of crm_order_read) have these values?
Thanks in advance.:)