In transaction CRMD_ORDER_BP (Business Partner Cockpit), when the user enters a business partner no and hits enter, he gets a drop down for selecting views. We have to make our own views and add to the dropdown. We are able to do it. When the user selects one of our views he should be able to see data pertaining to the customer enetered by the user. The data has contract number (VBAK-VBELN) contract begin date (VEDA-VBEGDAT), etc . The contract number has to be displayed as a hyper link, and when the user clicks on the contract number it should trigger RFC enabaled function module, which in turn calls transaction VA43 (R/3 Transaction) in another R/3 System..
We have achieved all of the above except for when the user clicks on the contract number (which is displayed as a link) calling transaction VA43. We have achieved the above by copying and modifying the standard SAP class CL_CRM_CCKPT_IO_ADDRESS Method GET_REPORT and Class CL_CRM_CCKPT_IO_PARTNER_COMPL Method BUILD_XML. We do not know where to write code for the click event for calling a function module which will show us the transaction VA43.
Because on click in the standard views, the control goes to a class CL_GUI_HTML_VIEWER. This in turn call other standard classes and methods which display transaction BP.