Hi experts,
I am using the BAdi "CRM_IC_INBOX_BADI", method "XABLE_BUTTONS_FOR_SELECTION" to disable certain buttons depending on the main catagory of the row selected from the IC inbox.
The problem I have is I don't know how to use the appropriate classes / methods to obtain what I need. I should also point out were only interested in single selected rows as multiple rows are excluded.
If I place a breakpoint in the method and then select a row in the IC inbox the BAdi is triggered. The BAdi has an import parameter "I_SELECTED_INBOX_ITEMS" which is of type "CL_CRM_BOL_ENTITY_COOL" and when I click on this I can see all the attributes. The attribute I'm interested in here is "ENTITY_LIST" and If I click on ENTITY_LIST another BO reference is shown "->{0:4800*\CLASS=CL_CRM_AUI_ONEORDER} which has the attribute "GV_MAINCATEGORY" which I would like to read in. Can anyone help or offer some sample code?
Thanks in advance,
Chris