Con estos dos eventos deberia ser suficiente: BOTONES es un status donde está definidos tus iconos y codigos de función.
initialization.
set pf-status 'BOTONES'.
parameters p_vbeln type vbak-vbeln.
at selection-screen.
case sy-ucomm.
when 'BACK'.
leave to screen 0.
when 'VISUALIZA'.
when 'AUTORIZA'.
endcase.
|