Excluir boton "back" en status estándar

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • neocloudmx2000
    Junior Member
    • abr
    • 26

    #1

    Excluir boton "back" en status estándar

    Hola a todos.

    Aqui preguntando para ver si alguien sabe por que camino ir.
    Tengo un ALV para el cual se tomó el status estándar excluyendo botones por medio de una tabla del tipo slis_t_extab. Es decir, algo así:

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING
    i_callback_program = l_repid
    is_layout = l_layout
    it_fieldcat = l_fieldcat
    it_sort = gt_sort
    IT_EXCLUDING = gt_exclude[]
    it_events = gt_eventos
    TABLES
    t_outtab = it_seleccion.


    form exclude.
    refresh gt_exclude.
    gt_exclude-fcode = '&INFO'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&GRAPH'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&VEXCEL'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&AQW'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '%SL'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&ABC'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '%PC'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&RNT_PREV'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&ALL'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&SAL'.
    append gt_exclude. clear gt_exclude.
    endform. " EXCLUDE


    Mi duda es: ¿Alguien sabe el fcode para el botón de regresar (el verde con la flecha hacia atrás, o sea, back o f3)? o alguna otra forma para quitar ese botón sin tener que construir todo el estatus desde cero.

    De antemano, muchas gracias.
  • gugutin
    Member
    • jul
    • 71

    #2
    Originalmente publicado por neocloudmx2000
    Hola a todos.

    Aqui preguntando para ver si alguien sabe por que camino ir.
    Tengo un ALV para el cual se tomó el status estándar excluyendo botones por medio de una tabla del tipo slis_t_extab. Es decir, algo así:

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING
    i_callback_program = l_repid
    is_layout = l_layout
    it_fieldcat = l_fieldcat
    it_sort = gt_sort
    IT_EXCLUDING = gt_exclude[]
    it_events = gt_eventos
    TABLES
    t_outtab = it_seleccion.


    form exclude.
    refresh gt_exclude.
    gt_exclude-fcode = '&INFO'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&GRAPH'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&VEXCEL'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&AQW'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '%SL'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&ABC'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '%PC'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&RNT_PREV'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&ALL'.
    append gt_exclude. clear gt_exclude.
    gt_exclude-fcode = '&SAL'.
    append gt_exclude. clear gt_exclude.
    endform. " EXCLUDE


    Mi duda es: ¿Alguien sabe el fcode para el botón de regresar (el verde con la flecha hacia atrás, o sea, back o f3)? o alguna otra forma para quitar ese botón sin tener que construir todo el estatus desde cero.

    De antemano, muchas gracias.
    Hola,

    bueno yo creo si no te he entendido mal debes ir a la Tx SE41 y con el nombre de tu abap ir al status standar y editas la opcion de teclas de funcion y ahi tienes el valor de estos botones, para este caso es habitualmente BACK.

    Comentario

    • DavidXD_XD
      Moderator
      • ago
      • 1255

      #3
      Hola, prueba con este codigo de funcion "&F03", ese es el BACK del REUSE_ALV_GRID_DISPLAY
      David Carballido Córdova

      Comentario

      Trabajando...