✒️ABAP / La construcción del formulario: control del flujo, direcciones, carpetas y traducciones Por Jaime Gomez Arango

Selector Alummnos / Empresas

CVOSOFT UNITED STATES OF AMERICA | 17 años de ingeniería dedicados a formación profesional de Consultores SAP | +info

ABAP La construcción del formulario: control del flujo, direcciones, carpetas y traducciones

ABAP La construcción del formulario: control del flujo, direcciones, carpetas y traducciones

SmartForms Creation: Flow Control, Addresses, Folders, and Translations

Flow Control

Within the object tree structure visible on the left side of the screen in the Smartforms transaction, several options allow us to control the form processing. They are:

  • ALTERNATIVE: Used for nodes or objects alternately including their successors.
  • To create an alternative, right-click on the corresponding window and select CREATE=>PROCESS LOGIC=>ALTERNATIVE.

  • In the General Properties tab, we'll specify the condition that determines the processing path.

  • Then, within the TRUE and FALSE nodes, we'll create the necessary objects to continue processing.

  • If the condition is true, the system will process the true node or object. Otherwise, it will process the false node.

  • LOOPS: Used to read data from an internal table line by line. Depending on how the successor nodes or objects are related, there is the possibility to process the following data.
  • To create a Loop, right-click on the corresponding window and select CREATE=>PROCESS LOGIC=>LOOP.

  • Similar to tables, in the DATA tab, we'll enter the name of the internal table to iterate along with a structure of the same type as the table.

  • We can also specify conditions for iterating through the table in the WHERE CONDITION window and the sorting of the internal table in the Sorting Criteria window.

  • We'll use the Events tab to define events at the beginning and end of a node (folder, complex paragraph, table, loop), where additional contents are displayed.

  • The Events tab is especially useful for displaying table headers and total lines.

  • In the Calculations tab, we can determine calculations to be performed with the fields of the table we are iterating over.

  • In the Output Conditions tab, we'll specify the style to be used.

  • COMMANDS: A command is used when we want to move to a new page in the form. The page to which we want to jump must exist. We can go to a new page only while displaying the contents of a main window.
  • To create a command, right-click on the main window and select CREATE=>PROCESS LOGIC=>COMMAND.

  • In the General Properties tab, if we check GO TO A NEW PAGE, we'll have to specify the page.

  • OUTPUT CONDITIONS: All objects we create have the Conditions tab. Here, we can suppress processing based on certain conditions. If the condition is true, the system will process the node or object. If the condition is false, the system will ignore the processing of that object or node and all its successors.

Addresses

We can create an address object or node that allows us to use addresses stored in the SAP system's standard table ADRC with a format determined according to the postal rules of the sender's country.

ADRC TABLE - Standard SAP system table that stores addresses (central address management).

To create an address, right-click on a window and select CREATE=>ADDRESS.

Then, we'll complete the following fields that appear in the General Properties tab:

  • Type: Indicates the type of address.
  • Address number: Is the address number of the ADRC address master.
  • Person number: If the address number does not belong to an organization, we can fill in this field.

Additional settings can then be specified in the Additional Address Data frame.

Folders

As a form becomes more extensive, the hierarchy of nodes in the hierarchical structure becomes less clear. To avoid this, related nodes can be combined by adding them to a folder node.

  • To create a folder node, right-click on the node in the tree structure and select create/folder.
  • Then, we'll enter a unique name for the node and a description.
  • To assign other nodes to the folder, we'll use "drag and drop" to include them in the folder node or insert new nodes as successors.

Text translations

All texts displayed in forms, styles, and generally in any ABAP program can be translated into other languages. To perform text translation, we'll use transaction SE63.

TRANSACTION SE63 - We'll use transaction SE63 to translate texts, whether used in SmartForms or in SAP documentation in general.

  • To translate Smartforms, we'll select the menu option Translation => ABAP Objects => OTHER EXPLANATORY TEXTS.
  • In the dialog box that appears on the screen, we'll open the Form and Styles folder and double-click on the SSF SAP Smart form option to translate form texts.
  • If we want to translate style texts, we'll select the STYL Styles option.
  • When a form or text module is created, the primary or source language is the language of creation.
  • In the following screen, we'll enter the following fields:
  • Object name: Here, we'll put the form name.

  • Source language: This is the source or creation language.

  • Target language: This is the language to which we want to translate the form.

  • Finally, we'll press the Process button, write the translation, and save the changes.

Then, if we work in a real work environment where we need to pass the translations we just created to other environments, we'll have to add them to a transport order.

We have two ways to do this:

  • Running the standard program RS_LXE-RECORD-TORDER (program used to generate a transport order to include translations of texts).
  • Adding each translation manually to the transport order using transaction SE10.

 

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 "La construcción del formulario: control del flujo, direcciones, carpetas y traducciones" de la mano de nuestros alumnos.

SAP Senior

elementos avanzados de control de flujo y organización dentro de los formularios Smartforms. Para controlar el procesamiento del formulario, existen opciones específicas en el árbol de objetos. Una de ellas es la "Alternativa", la cual permite definir dos caminos de procesamiento basados en una condición. Se crea haciendo clic derecho en una ventana y seleccionando Crear / Lógica proceso / Alternativa. En sus propiedades generales se establece una condición. Luego, dentro de los nodos TRUE (verdadero) y FALSE (falso) que se generan automáticamente, se insertan los objetos que se procesarán según el resultado de la evaluación de dicha condición. Otra herramienta...

Acceder a esta publicación

Creado y Compartido por: Mara Fadua Romero Hernandez

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

SAP Master


La Construcción del Formulario. Control del Flujo, Direcciones, Carpetas y Traducciones. Control del flujo de procesamiento Se puede manejar el procesamiento de formularios en smartphones mediante alternativas, nodos true/false, bucles (loops) y comandos. Las alternativas permiten definir caminos alternativos en la estructura del árbol de objetos. Los nodos true y false se configuran con una condición que determina qué camino sigue el procesamiento. Los loops se utilizan para leer y procesar datos línea a línea desde tablas internas, permitiendo condiciones de filtrado y ordenamiento. La solapa Eventos ayuda a mostrar encabezados y totales...

Acceder a esta publicación

Creado y Compartido por: Juan Ignacio Romero

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

SAP Master

Introducción: Domina el control de flujo (alternativas, loops, comandos) y elementos avanzados (direcciones, carpetas, traducciones) para crear SmartForms dinámicos, organizados y multilingües. 1. Control de Flujo A. Alternativas (Condicionales) Propósito: Ejecutar nodos basados en condiciones. Creación: Botón derecho → Crear / Lógica proceso / Alternativa. Nodos generados: TRUE y FALSE. Configuración: En Propiedades Generales, definir condición (ej: &V_PAIS& = 'AR'). Agregar objetos dentro de TRUE o FALSE. ...

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



Construcción del formulario en SAP: control del flujo, direcciones, carpetas y traducciones En SAP, los formularios son elementos esenciales para la generación de documentos impresos o digitales como facturas, pedidos, notas de crédito, entre otros. La construcción de estos formularios implica un trabajo coordinado entre áreas funcionales y técnicas, y debe tener en cuenta varios componentes clave que aseguran su correcto funcionamiento en distintos escenarios y países. Entre estos componentes destacan: el control del flujo, el manejo de direcciones, la organización en carpetas o estructuras jerárquicas, y la gestión de traducciones para entornos multilingües.

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 ***

Construcción de Formularios Smartforms (Control de Flujo, Direcciones, Carpetas y Traducciones) 1. Control de Flujo del Formulario Descripción: Estas opciones, visibles en la estructura del árbol de objetos, permiten dirigir el procesamiento y la lógica del formulario. Incluyen alternativas, bucles, comandos y condiciones de salida para un control dinámico. Cómo Acceder a las Opciones: Dentro de la transacción Smartforms, en el árbol de objetos de la izquierda. Alternativa: Descripción: Permite definir rutas de procesamiento condicionales (TRUE/FALSE) para nodos u objetos, basándose en...

Acceder a esta publicación

Creado y Compartido por: Roberto Fluder Ahumada

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

SAP Senior

LA CONSTRUCCION DEL FORMULARIO: control del flujo, direcciones, carpetas y traducciones 1) Control de flujo: Dentro de la estructura del árbol de objetos que vemos a la izquierda de la pantalla en la transacción Smartforms, existen varias opciones que nos permiten controlar el procesamiento del formulario. ellas son: - ALTERNATIVA. Se utiliza para nodos u objetos alternativamente incluyendo los sucesores de este. Para crear una Alternativa hacemos clic en el bóton derecho del mouse encima de la ventana correspondiente y seleccionamos la opción Crear/Lógica proceso / Alternativa.

Acceder a esta publicación

Creado y Compartido por: Luis Enrique Romero Pinto

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

SAP Expert


Cuando se trabaja en un entorno multilenguaje, sera necesario traducir todos los textos asociados al objeto de desarrollo, a todos los lenguajes definidos de manera que cada usuario visualice titulos de transacciones, parametros de entrada, cabeceras de columnas, etc en su idioma correspondiente esta situacion se da muy a menudo en las empresas multinacionales en donde por ejemplo se puede desarrollar un formulario SmartForm para que sea utilizado en todas las filiales de la empresa ubicadas en los distintos paises del mundo luego de desarrollado el formulario los textos del mismo se han traducido mediante la transaccion estandar SE63 a todos los lenguajes que se utilicen en los distintos paises en donde la empresa tiene ubicada sus filiales....

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

El control del flujo Dentro de la estructura del árbol de objetos que vemos a la izquierda de la pantalla en la transacción Smartforms, existen varias opciones que nos permite controlar el procedimiento del formulario. Ellas son: ALTERNATIVA Se utiliza para nodos u objetos alternativamente incluyendo los sucesores de este. Para crear una alternativa hacemos clic en el botón derecho del mouse encima de la ventana correspondiente y seleccionamos la opción Crear / Lógica proceso / Alternativa. A continuación veremos los nodos TRUE y FALSE. en lo solapa Propiedades Generales especificaremos la condición que determinará el camino que tomará el procesamiento. Luego dentro de los...

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

CONTROL DE FLUJO ALTERNATIVA Para crear una alternativa hacemos clic derecho de mouse encima de la ventana correspondiente y seleccionamos la opción Crear/lógica proceso/alternativa. A continuación vemos los nodos TRUE y FALSE En la solapa Propiedades Generales especificamos la condición que determinara el camino que tomara el procesamiento. Luego dentro de lo nodos TRUE y FALSE crearemos los objetos necesarios para continuar con el procesamiento. LOOPS O BUCLES. Para crear un loop hacemos clic en el botón derecho del mouse encima de la ventana correspondiente y seleccionamos la opción Crear/Lógica proceso/Loop. Al igual que en la tablas, en la solapa Datos ingresamos el nombre de la tabla...

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


SmartForms Creation: Flow Control, Addresses, Folders, and Translations Flow Control Within the object tree structure visible on the left side of the screen in the Smartforms transaction, several options allow us to control the form processing. They are: ALTERNATIVE: Used for nodes or objects alternately including their successors. To create an alternative, right-click on the corresponding window and select CREATE=>PROCESS LOGIC=>ALTERNATIVE. In the General Properties tab, we'll specify the condition that determines the processing path. Then, within the TRUE and FALSE nodes, we'll create the necessary objects to continue processing. If the condition is true, the system will process...

Acceder a esta publicación

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

 


 

👌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!