Cambiar el status en una SELECTION-SCREEN

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • aldape
    Senior Member
    • dic
    • 204

    #1

    Cambiar el status en una SELECTION-SCREEN

    como puedo agregar un boton a una selection screen en la barra de herramientas??

    es posible hacer eso??

    saludos!!
  • DavidXD_XD
    Moderator
    • ago
    • 1255

    #2
    Claro ... dale una mirada a este post ....



    Aver si sirve pal caso
    David Carballido Córdova

    Comentario

    • aldape
      Senior Member
      • dic
      • 204

      #3
      Jejeje, gracias hermano... fue algo impulsiva la pregunta...


      Saludos!

      Comentario

      • aldape
        Senior Member
        • dic
        • 204

        #4
        Este es el codigo que funciono para mi.. espero que a alguien le sirva

        Donde tuve que crear el status '10'
        Y zprograma es el nombre de mi programa,
        FIND y BACK son los codigos que utilice en el status.

        saludos

        at selection-screen output.
        if sy-dynnr = '0111'.
        data itab type table of sy-ucomm.
        call function 'RS_SET_SELSCREEN_STATUS'
        exporting
        p_status = '10'
        p_program = 'ZPROGRAMA'
        tables
        p_exclude = itab.
        endif.


        at selection-screen.
        case sy-ucomm.
        when 'BACK'.
        sy-subrc = 4.
        leave to screen 0.
        when 'FIND'.
        sy-subrc = 0.
        leave to SCREEN 0.
        endcase.

        Comentario

        Trabajando...