✒️ABAP / El diseño de los menús Por Jaime Gomez Arango

Selector Alummnos / Empresas

ABAP El diseño de los menús

ABAP El diseño de los menús

GUI STATUS

The GUI Status is an independent component of ABAP programs, providing users with a wide range of functionalities on the program screen. It comprises the Menu Bar for navigation, Standard Toolbar with essential buttons, Application Toolbar/Button Bar for transaction-specific actions, and Function Keys for keyboard shortcuts.

  • Menu Bar: The basic tool for navigating through different screens of a system transaction. It includes transaction-specific functionalities and fixed options for all transactions, namely System and Help.
  • Standard Toolbar: Of particular interest, as it contains essential buttons for common actions such as save, search, enter, print, etc. This toolbar is always present in any SAP screen, and certain icons may be enabled or disabled based on the transaction.
  • Application Toolbar or Button Bar: The functionalities displayed here depend solely on the executed transaction, offering basic options for controlling the current application: create, modify, display, delete, copy, etc.
  • Function Keys: Keyboard shortcuts to access various system functionalities.

Steps for Creating a GUI Status:

  • Access the standard transaction SE80.
  • Enter the program name and press enter.
  • Once the program is created, Right-click on it and select Create / GUI Status.
  • In the next window, enter the GUI Status name and a description. Leave the "Status type" as "Normal Screen" and click the continue button.
  • On the right side of the screen, you'll find the components of the GUI Status.
  • Expand the list in the "Application Toolbar", and in the first blank item, input the corresponding function code for the button. Press enter.
  • A dialog box will appear, indicating no text assigned to that function; press the continue button to create a new one.
  • In teh following dialog box, complete the details for the new button:
    • Function Code: Used to name the button.

    • Function Text: Corresponds to the text displayed to the right of the button icon.

    • Icon Name: The icon displayed within the button, chosen from a variety accessible by pressing F4.

    • Info Text: The help name of the button, visible when the mouse pointer is left still over the button for a few seconds.

  • Press continue, and in the next dialog, assign a ShortCut to the button, having the same effect as clicking the button with the mouse pointer.
  • With the created button, you'll see the first item in the Button Bar.

GUI STATUS - CREATING PUSHBUTTONS

To create buttons, we'll access the list on the pushbutton bar.

  • Here, we'll create a button whose function is to clear the DNI input field, with the visible text on the screen being "Delete DNI." In the first blank item, we enter the function code for button execution, which will be "DELETE_DNI," and press enter.
  • Next, we'll see a dialogue window indicating that there's no text assigned to that function, and we can choose between creating static or dynamic text, for which we'll need to use a previously declared variable in the program.
  • After pressing continue, we'll see another window where we fill in the details for the new button.
    • Function Text: Used to give a name to the button.

    • Icon Name: The icon displayed on the button on the screen. This can be chosen from a variety of icons by pressing F4.

    • Info Text: The button's help name. This will be displayed when we hover the mouse pointer over the button for a few seconds.

  • Then, we press continue again and in the next dialogue window, we'll assign a function key to the button, which will have the same effect as clicking the button with the mouse pointer.
  • A transaction can have many different statuses. It won't be necessary to redefine all status objects, as many objects defined in one status can be used in others. For example, it's possible to create a menu bar to be used throughout the transaction.
  • Finally, with the button created, we'll see the first item.
  • Here, we press enter on the code DELETE_DNI and fill in the Icon Text field in the following window, which will be the text displayed within the button on the output screen.


GUI STATUS - CREATING FUNCTION KEYS
We're going to create function keys that allow navigation in the GUI Status of dynpro 0100.

  • To do this, we'll access the list in the function keys, type the code RW in the corresponding text box for the BACK key, and double-click on it.

  • Then, we'll see the following dialogue window which we'll complete with the values as follows:

  • In Function Type, we'll enter the function type of the key, which for this case will be 'E Exit command.'

  • We'll do the same for the EXIT and Cancel function keys, entering the function codes EN and EX and configuring the function type as 'E.'


GUI STATUS - CREATING MENUBARS

To create a menu, we enter the name of each dropdown in the available space. Up to six menus can be included in the menu bar. In addition to user menus, the system will automatically add System and Help.

Each menu can have up to 15 entries, each of which can be another cascading menu or another function.

To open a menu or submenu, we double-click on the name. Each entry consists of a function code and a function text or menu text. Pressing F4 will show a list of functions we can use.

Up to 4 levels of submenus can be added. For functions, simply indicate the function code for the function text to appear automatically if the code already exists. We can define the attributes of a new function by double-clicking on the defined function.

For a cascading menu, it's not necessary to indicate the code, and we can develop the submenu options by double-clicking.

Using the standard transaction SE41, GUI Status can be copied from one ABAP program to another.

SAP implements function keys to allow quick access to commonly used system functions by the user. The function keys we refer to are those found at the top of our keyboard, namely, keys F1 to F12, which simply allow us to access certain functions of our interface without needing to specifically reach for them with a mouse movement. To create function keys, we only need to define them in the menu painter by assigning them a function code. SAP reserves the following function keys that cannot be changed by the user: F1 for help, F3 to go back, F4 for possible entries or matchcode, and F12 to cancel.

GUI TITLES

GUI Titles in ABAP programs provide a structured and user-friendly interface, enhancing clarity and organization. Here are the steps to create titles for a Z program using SE80:

  • In SE80, right-click on the program name.
  • Select "Create" / "GUI Titles".
  • In the subsequent dialog, assign a title code and description.
  • Click Titles (all) to view all created titles.
  • Activate titles by clicking on the Titles button.

CREATING THE TRANSACTION ASSOCIATED WITH THE DIALOG PROGRAM

To do this, we proceed by accessing transaction SE93 (for creating associated transactions) or alternatively through transaction SE80.

  • In SE80, we position the mouse over the program and select the option to CREATE/TRANSACTION.

  • In transaction SE93:

    • Enter a name for the transaction and a description.

    • Select the option DIALOG TRANSACTION, and proceed.

    • Then, enter the name of the dialog program in the PROGRAM field and the number of the dynpro being executed in the DYNPRO NUMBER field.

    • Finally, save the transaction.


 

Escanear / Compartir

 

 


Sobre el autor

Publicación académica de Jaime Eduardo Gomez Arango, en su ámbito de estudios para la Carrera Consultor ABAP Nivel Avanzado.

SAP Expert


Jaime Eduardo Gomez Arango

Profesión: Ingeniero de Sistemas y Computación - España - Legajo: SW34C

✒️Autor de: 149 Publicaciones Académicas

🎓Egresado de los módulos:

Disponibilidad Laboral: FullTime

Presentación:

Ingeniero de sistemas y computación con 8 años de experiencia el desarrollo frontend & backend (react/node) y en cloud (aws), actualmente desarrollando habilidades en sap btp, ui5, abap y fiori.

Certificación Académica de Jaime Gomez

✒️+Comunidad Académica CVOSOFT

Continúe aprendiendo sobre el tema "El diseño de los menús" de la mano de nuestros alumnos.

SAP Expert


1. Definición y Herramientas El Status GUI es el objeto que proporciona al usuario un rango de funciones (botones, menús, teclas rápidas) en la pantalla. Para su diseño, utilizamos la herramienta Menu Painter, a la cual podemos acceder desde la transacción SE41 o, siguiendo las mejores prácticas, a través del Navegador de Objetos (SE80) haciendo clic derecho sobre el programa y seleccionando Crear / Status GUI. 2. Componentes del Status GUI Un Status GUI robusto está integrado por cuatro elementos clave: • Barra de menús: Contiene listas desplegables (hasta 6 menús propios, además de los estándar Sistema y Ayuda). • Barra de herramientas estándar:...

Acceder a esta publicación

Creado y Compartido por: Gabriel José Luces González

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master


El diseño de los menus. Explicación y componentes del status GUI El status guí es un componente independiente en ABAP que otorga diversas funciones al usuario en la pantalla de los programas. Está compuesto por barras de menú, barra de herramienta estándar, barra de herramienta de aplicaciones y configuración de teclas de función. Se utiliza el menú Painter para crearlo. Ejemplo de creación para la pantalla 0100 de un programa de diálogo. Proceso: se accede a SE80, clic derecho sobre el programa y seleccionar "crear status guí". Se ingresan nombre y descripción, seleccionando...

Acceder a esta publicación

Creado y Compartido por: Juan Ignacio Romero

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master

Introducción Los Status GUI, títulos y transacciones son componentes clave para programas de diálogo en SAP ABAP. Permiten crear interfaces interactivas y profesionales, facilitando la navegación y ejecución de funciones. 1. Creación de un Status GUI Propósito: Definir barras de menús, botones y teclas de función para una dynpro. Pasos: Acceso a SE80: Botón derecho sobre el programa → Crear / Status GUI. Configuración básica: Nombre: Número de la dynpro (ej: 0100). Descripción: Finalidad del Status GUI. Tipo:...

Acceder a esta publicación

Creado y Compartido por: Oscar Aravena Muller / Disponibilidad Laboral: FullTime

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert



El diseño de pantallas en SAP es un componente clave dentro de la experiencia del usuario (UX) en este sistema de gestión empresarial. SAP, al ser un software robusto y modular, requiere interfaces que faciliten la interacción entre los usuarios y las funciones empresariales que se ejecutan en los distintos módulos, como FI (Finanzas), MM (Gestión de Materiales), SD (Ventas y Distribución), entre otros. El diseño de pantallas no solo debe cumplir con requerimientos técnicos y funcionales, sino también debe ofrecer claridad, usabilidad y eficiencia en la ejecución de tareas. Históricamente, las pantallas en SAP han estado basadas en SAP GUI (Graphical User Interface),...

Acceder a esta publicación

Creado y Compartido por: David Ibarra / Disponibilidad Laboral: FullTime + Carta Presentación

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

UNIDAD 2: LA PROGRAMACIÓN DE DIÁLOGO - LECCION 3º - La lección "El diseño de los menús" se enfoca en enseñar a crear los Status GUI, los títulos y las transacciones asociadas a un Programa de Diálogo. Puntos clave: ¿Qué es un Status GUI? Un Status GUI (Graphical User Interface) es un componente independiente de un programa ABAP diseñado para ofrecer al usuario una amplia gama de funciones en la pantalla. Está compuesto por: · Barras de menú. · Barras de herramientas estándar. · Barras de herramientas de aplicaciones. · Configuración...

Acceder a esta publicación

Creado y Compartido por: Roberto Fluder Ahumada

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert


Una transaccion puede tener muchos status diferentes no sera necesario redefinir todos los objetos de los status ya que muchos objetos definidos en un status podran ser utilizados en otros por ejemplo es posible crear una barra de menus igual para ser utilizada en toda la transaccion. El sistema SAP implementa teclas de funcion para permitir el acceso rapido a funciones del sistema comunmente usadas por el usuario las teclas de funcion a las que nos referimos no son mas a las que se encuentran en la parte superior de nuestro teclado, es decir, desde la tecla F1 a la F12 y nos permiten simplemente el acceso a ciertas funciones de nuestra interfaz sin la necesidad de acudir expresamente a ellas con un movimiento del mouse. Para la creacion de...

Acceder a esta publicación

Creado y Compartido por: Jose Medina / Disponibilidad Laboral: FullTime + Carta Presentación

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Senior

La creación de un Status GUI: es un componente independiente de un programa ABAP, que se utiliza para proporcionar al usuario un amplio rango de funciones en la pantalla de los programas. Un Status GUI está compuesto por: Barra de menú Barra de herramientas estándar Barra de herramientas de aplicaciones Y la configuración de las teclas de función Para crear los Status GUI utilizamos el Menú Painter. Vamos a crear un Status GUI para la dynpro 0100 del programa de diálogo ZPRUEBA_DIALOGO. Para ello, accedemos a la transacción SE80, sobre el nombre del programa hacemos clic en el botón derecho del mouse y seleccionamos la opción crear / Status GUI....

Acceder a esta publicación

Creado y Compartido por: Javier Miguel Angel Barcelo / Disponibilidad Laboral: PartTime

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master

CREACION DE UN STATUS GUI Es un componente independiente de un programa ABAP, que se utiliza para proporcionarle al usuario un amplio rango de funciones en la pantalla de los programas. Está compuesto por: • Barras de menu • Barras de herramientas estándar • Barras de herramientas de aplicaciones • y la configuración de las teclas de función Para crear los status GUI utilizamos el Menu Painter. Para crearlo accedemos a las transaccion SE80, sobre el nombre del programa hacemos clic en el botón derecho del mouse y seleccionamos la opción Crear/status GUI. En la siguiente ventana de diálogo ingresamos el nombre del status GUI, una descripción, dejamos el radiobutton...

Acceder a esta publicación

Creado y Compartido por: Gerardo Jose Campos Tovar / Disponibilidad Laboral: FullTime + Carta Presentación

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert


GUI STATUS The GUI Status is an independent component of ABAP programs, providing users with a wide range of functionalities on the program screen. It comprises the Menu Bar for navigation, Standard Toolbar with essential buttons, Application Toolbar/Button Bar for transaction-specific actions, and Function Keys for keyboard shortcuts. Menu Bar: The basic tool for navigating through different screens of a system transaction. It includes transaction-specific functionalities and fixed options for all transactions, namely System and Help. Standard Toolbar: Of particular interest, as it contains essential buttons for common actions such as save, search, enter, print, etc. This toolbar is always present in any SAP screen, and certain icons...

Acceder a esta publicación

Creado y Compartido por: Jaime Eduardo Gomez Arango / Disponibilidad Laboral: FullTime + Carta Presentación

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert


El diseño de los menús 1 - La creacion de un staus GUI- Componente independiente que proporciona al user un rango amplio de funciones en las pantallas. Status Gui compuesto por: Screen Painter. - barra de menu. - barra de herramienta estandar - barra de herramienta de aplicaciones. - configuracion de teclas de funcion. Para crear los Status GUI: - Se80, click derecho sobre el programa, crear, Status gui. - nombre programa , status (nro dympro), texto breve, tipo de status. - Se visulizan los compronentes del status gui (barra de menu, barra pulsadores, teclas funcion). 1.1 - La creacion de Pulsadores: - desplegar la lista de la barra de pulsadores. - En el primer crear boton y asignar la funcion...

Acceder a esta publicación

Creado y Compartido por: Pablo Adrian Oggero

 


 

👌Genial!, estos fueron los últimos artículos sobre más de 99.000 publicaciones académicas abiertas, libres y gratuitas compartidas con la comunidad, para acceder a ellas le dejamos el enlace a CVOPEN ACADEMY.

🔎Buscador de Publicaciones:

 


 

No sea Juan... Solo podrá llegar alto si realiza su formación con los mejores!