2009 Feb 25 11:57 AM
hi all,
in my alv block display i am displaying four blocks.
in first block in one column it is displaying delivery numbers. now my requirement is when we click on delivery number it has to go to delivery display transaction i.e vl03.
if any one has done this scenario do let me know.
2009 Feb 25 12:01 PM
Hi Kumar,
Try using follwoing code. I have used it in normal ALV Grid display.
sav_index = rs_selfield-tabindex.
READ TABLE gi_orders_shipped_final INTO gwa_orders_shipped_final INDEX sav_index.
CASE r_ucomm.
WHEN '&IC1'.
For user click on Sales order to Display VA03 Screen if order shipped report
IF p_os = 'X'.
IF rs_selfield-sel_tab_field = 'GI_ORDERS_SHIPPED_FINAL-VBELN' OR rs_selfield-sel_tab_field = '1-vbeln'.
SET PARAMETER ID 'AUN' FIELD gwa_orders_shipped_final-vbeln.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN .
ENDIF.
ENDCASE.
Regards,
Anil
2009 Feb 25 12:01 PM
Hi Kumar,
Try using follwoing code. I have used it in normal ALV Grid display.
sav_index = rs_selfield-tabindex.
READ TABLE gi_orders_shipped_final INTO gwa_orders_shipped_final INDEX sav_index.
CASE r_ucomm.
WHEN '&IC1'.
For user click on Sales order to Display VA03 Screen if order shipped report
IF p_os = 'X'.
IF rs_selfield-sel_tab_field = 'GI_ORDERS_SHIPPED_FINAL-VBELN' OR rs_selfield-sel_tab_field = '1-vbeln'.
SET PARAMETER ID 'AUN' FIELD gwa_orders_shipped_final-vbeln.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN .
ENDIF.
ENDCASE.
Regards,
Anil