From my 1st report I am doing
CASE LV_UCOMM.
WHEN '&IC1'.
READ TABLE DISP INDEX SELFIELD-TABINDEX.
CASE SELFIELD-FIELDNAME.
WHEN 'TXZ01'.
WA_PARAMS-SELNAME = 'TK_MATNR'.
WA_PARAMS-KIND = 'S'.
WA_PARAMS-SIGN = 'I'.
WA_PARAMS-OPTION = 'EQ'.
WA_PARAMS-LOW = DISP-MATNR.
APPEND WA_PARAMS TO I_PARAMS.
WA_PARAMS-SELNAME = 'IF_LIFNR'.
WA_PARAMS-KIND = 'S'.
WA_PARAMS-SIGN = 'I'.
WA_PARAMS-OPTION = 'EQ'.
WA_PARAMS-LOW = DISP-LIFNR.
APPEND WA_PARAMS TO I_PARAMS.
CALL FUNCTION 'SUBMIT_REPORT'
EXPORTING
REPORT = 'ZVISRM06IBP0'
SKIP_SELSCREEN = 'X'
TABLES
SELECTION_TABLE = I_PARAMS[]
EXCEPTIONS
JUST_VIA_VARIANT = 1
NO_SUBMIT_AUTH = 2
OTHERS = 3.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endcase.
endcase.
Now what I doing is that, when I run my 1st report then in the output screen the whenever the user clicks on the material name a new screen comes with material purcahse history. Here on this page I want to print the Material No. and the Vendor.
How can i get that value in the second report.