Hi ! I am calling a transaction(Standard Report - ME1P) from within my report. Now, as soon as the user clicks on the Material Name in the Calling Report ALV screen the next screen from ME1P should come for the respective material and the vendor.
Using the code in the calling program:-
CASE LV_UCOMM. WHEN '&IC1'. READ TABLE DISP INDEX SELFIELD-TABINDEX. IF SY-SUBRC = 0. CASE SELFIELD-FIELDNAME. WHEN 'TXZ01'. SET PARAMETER ID 'LIF' FIELD DISP-LIFNR. SET PARAMETER ID 'MAT' FIELD DISP-MATNR. CALL TRANSACTION 'ME1P' AND SKIP FIRST SCREEN. ENDCASE. ENDIF. ENDCASE.
Now, how can I pass the correct material and vendor number to Transaction ME1P ?