7.13 |
ALV 输出后双击某条数据调用其它T-CODE |
|
|
|
有VBELN为例: |
|
|
|
*&———————————————————————* |
|
*& Form user_command |
|
*&———————————————————————* |
|
* text |
|
*———————————————————————-* |
|
* –>R_UCOMM text |
|
* –>RS_SELFIELD text |
|
*———————————————————————-* |
|
form user_command using r_ucomm like sy-ucomm |
|
rs_selfield type slis_selfield. |
|
case r_ucomm. |
|
case rs_selfield-fieldname. |
|
when ‘VBELN’. |
|
set parameter id ‘AUN’ field rs_selfield-value. |
|
call transaction ‘VA03’ and skip first screen. |
|
|
|
|
|
when ‘KUNNR’. |
|
call transaction ‘VD03’ and skip first screen. |
|
endcase. |
|
|
|
endcase. |
|
clear: r_ucomm. |
|
|
|
endform. “user_command |