Need Exit for User Specific Product in CRMD_ORDER for Sales
Actuly, I am looking for an Exit/Badi at the time of creating the sales order (Tcode CRMD_ORDER) where I can get the value for customer and Product . My objective is to use these two values and display some message at the time of saving the order.
I will reward point to any good helpful solution.
Edited by: Deepak Gupta on Apr 25, 2008 9:19 AM
Edited by: Deepak Gupta on Apr 25, 2008 11:24 AM
Shalini Chauhan replied
As you rightly said this badi gives you the header guid. Use function module CRM_ORDER_READ and pass that guid. You will be able to retrive the complete information of the transaction/order.
In this function module export parameter ET_PRODUCT_I holds the product details.ET_PARTNER holds the partner details.
Note: The Guid here is a unique identificaiton of the transaction. It is not same as the R/3 order number. Object id or the transaction number in CRM can be compared to the R/3 order number.
Edited by: Shalini Chauhan on Apr 28, 2008 2:02 PM