I am displaying a report using SALV in CRM.
In the first screen, I have a field partner number with hotspot.
When the user clicks on a particular partner number it should take him to BP transaction and display the partner details.
I have written the following code. Though it is taking me to the BP transaction, it is not displaying the specific data as it is not able to capture the particular BP number.
I have written like this:
*-- create hotspot on Partner Number column
CALL METHOD GR_SALV_TABLE->GET_SELECTIONS
VALUE = GR_SALV_SELECTIONS.
CALL METHOD GR_SALV_SELECTIONS->GET_SELECTED_ROWS
VALUE = T_SALV_T_ROW.
READ TABLE T_SALV_T_ROW INTO ME->L_ROWNUM INDEX 1.
IF SY-SUBRC = 0.
READ TABLE T_FINAL INTO WA_FINAL INDEX ROW.
IF SY-SUBRC EQ 0.
IF WA_FINAL-PARTNER_NO IS NOT INITIAL.
CALL TRANSACTION C_BP AND SKIP FIRST SCREEN.
Please let me know how to do it.