PROMO JULIO en CVOSOFT United States Of America: 💎Calidad, 🔥Bonificaciones, 🥶Precios Congelados y MÁS!

 X 

✒️ABAP El ALV jerárquico y el agrupamiento

ABAP El ALV jerárquico y el agrupamiento

ABAP El ALV jerárquico y el agrupamiento

Grouping in an ALV Report

We can group the records displayed in the ALV so that multiple records with the same value for a particular field are displayed in a grouped manner by that field. To achieve that we should execute the following steps:

  • Declare the internal table TI_SORT of type SLIS_T_SORTINFO_ALV and the structure WA_SORT of type SLIS_SORTINFO_ALV.

DATA: ti_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.

  • Next, within the START-OF-SELECTION event and before calling the function module that executes the ALV, declare the subroutine GROUP_FIELDS as follows:

FORM group_fields.
REFRESH ti_sort.
CLEAR wa_sort.
wa_sort-spos = 1. "sorting order
wa_sort-fieldname = 'USER_STATUS'. "sorting field
APPEND wa_sort TO ti_sort.
ENDFORM.

  • We can group an ALV report by all fields of the table if needed. Simply add the fields to be grouped in the internal table TI_SORT.
  • Now, in the declaration of the function module 'REUSE_ALV_GRID_DISPLAY', complete the EXPORTING IT_SORT parameter with our internal table TI_SORT.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
i_callback_pf_status_set = 'PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = ti_catalogo[]
i_callback_top_of_page = 'TOP_OF_PAGE'
is_layout = wa_layout
it_sort = ti_sort " Sorting instructions
TABLES
t_outtab = ti_users
EXCEPTIONS
program_error = 1
OTHERS = 2.

  • Repeat the same for the 'REUSE_ALV_LIST_DISPLAY' function module for the ALV LIST report.

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = v_repid
it_fieldcat = ti_catalogo[]
is_layout = wa_layout
it_sort = ti_sort " sorting instructions
TABLES
t_outtab = ti_usuarios
EXCEPTIONS
program_error = 1
OTHERS = 2.

It can be observed that when executing the ALV GRID report, grouping is done by USER_STATUS, and the same statement applies to the ALV LIST function.

Conclusion: Graphical Grouping by columns in the ALV report is available for ALV GRID and NOT for ALV LIST.

Hierarchical ALV

Hierarchical ALVs are used with header and detail or position, and there must be a common field. Here is a step by step example of creating a hierarchical ALV. (Company and flight information for each company)

  • Declare internal table TI_HEADER, containing short names (CARRID) and names (CARRNAME) of airlines, and TI_DETAIL with fields related to flights.

DATA: BEGIN OF ti_header OCCURS 0,
carrid LIKE scarr-carrid,
carrname LIKE scarr-carrname,
END OF ti_header.

DATA: BEGIN OF ti_detail OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-price,
price LIKE sflight-price,
currency LIKE sflight-currency,
planetype LIKE sflight-planetype,
END OF ti_detail.

  • Given that we will generate the catalog for the hierarchical ALV automatically, use the OCCURS statement for both internal tables.
  • Next, declare a structure of type SLIS_KEYINFO_ALV.

DATA: wa_keyinfo TYPE slis_keyinfo_alv.

  • In the START-OF-SELECTION event, declare the subroutine LOAD_DATA.
* Load data into internal tables
PERFORM load_data.

  • Inside the LOAD_DATA subroutine, populate the TI_HEADER and TI_DETAIL internal tables with data for the ARG airline.

FORM load_data .

REFRESH: ti_header, ti_detail.

* Header 1
CLEAR ti_header.
ti_header-carrid = 'ARG'.
ti_header-carrname = 'Aerolineas Argentina'.
APPEND ti_header.

* Detail 1
CLEAR ti_detail.
ti_detail-carrid = 'ARG'.
ti_detail-connid = '1010'.
ti_detail-fldate = '20091111'.
ti_detail-price = '380'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A310'.
APPEND ti_detail.

* Detail 2
CLEAR ti_detail.
ti_detail-carrid = 'ARG'.
ti_detail-connid = '1020'.
ti_detail-fldate = '20091011'.
ti_detail-price = '300'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

ENDFORM.

  • In the START-OF-SELECTION event, declare the subroutine CONFIGURE_LAYOUT.

* Configure layout
PERFORM configure_layout.

  • Inside the CONFIGURE_LAYOUT subroutine, configure the layout settings.
*&---------------------------------------------------------------------*
*& Form CONFIGURE_LAYOUT
*&---------------------------------------------------------------------*
FORM configure_layout .
CLEAR wa_layout.
wa_layout-zebra = c_x. " Line striping
wa_layout-window_titlebar = TEXT-001. " Flight Report

ENDFORM. " CONFIGURE_LAYOUT
  • Create the ALV catalog for both tables using the build_auto_catalog subroutine.

* Build catalog
PERFORM build_auto_catalog.

  • Inside this subroutine, execute the function module REUSE_ALV_FIELDCATALOG_MERGE to generate the catalog automatically by combining the fields of both internal tables in the TI_CATALOG internal table.

*&---------------------------------------------------------------------*
*& Form BUILD_AUTO_CATALOG
*&---------------------------------------------------------------------*
FORM build_auto_catalog .

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'TI_HEADER'
i_client_never_display = c_x
i_inclname = sy-repid
CHANGING
ct_fieldcat = ti_catalog[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.

IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'TI_DETAIL'
i_client_never_display = c_x
i_inclname = sy-repid
CHANGING
ct_fieldcat = ti_catalog[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.

IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

ENDFORM. " BUILD_AUTO_CATALOG

Note: In a hierarchical ALV, the TOP-OF-PAGE event cannot be used, preventing the generation of a header with titles and logos as done in GRID or LIST ALVs. Another limitation is the inability to use the data export to Excel due to the format of the header and detail for each record.

E.g

*&---------------------------------------------------------------------*
*& Report ZTEST_ABAP_JEGA_19
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT ztest_abap_jega_19.

* Types
TYPE-POOLS: slis.

* Constants
CONSTANTS: c_x(1) TYPE c VALUE 'X'.

* Internal table for header
DATA: BEGIN OF ti_header OCCURS 0,
carrid LIKE scarr-carrid,
carrname LIKE scarr-carrname,
END OF ti_header.

* Internal table for details
DATA: BEGIN OF ti_detail OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
planetype LIKE sflight-planetype,
END OF ti_detail.

DATA: ti_catalog TYPE slis_t_fieldcat_alv,
wa_catalog TYPE slis_fieldcat_alv,
wa_layout TYPE slis_layout_alv,
wa_keyinfo TYPE slis_keyinfo_alv.

*----------------------------------------------------------------------*
START-OF-SELECTION.
*----------------------------------------------------------------------*

* Load data into internal tables
PERFORM load_data.

* Configure layout
PERFORM configure_layout.

* Build catalog
PERFORM build_auto_catalog.

* Determine Header-Item association
PERFORM determine_association.

* Execute ALV
PERFORM execute_hierarchical_alv.


*&---------------------------------------------------------------------*
*& Form LOAD_DATA
*&---------------------------------------------------------------------*
FORM load_data .

REFRESH: ti_header, ti_detail.

* Header 1
CLEAR ti_header.
ti_header-carrid = 'ARG'.
ti_header-carrname = 'Aerolineas Argentina'.
APPEND ti_header.

* Detail 1
CLEAR ti_detail.
ti_detail-carrid = 'ARG'.
ti_detail-connid = '1010'.
ti_detail-fldate = '20091111'.
ti_detail-price = '380'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A310'.
APPEND ti_detail.

* Detail 2
CLEAR ti_detail.
ti_detail-carrid = 'ARG'.
ti_detail-connid = '1020'.
ti_detail-fldate = '20091011'.
ti_detail-price = '300'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Detail 3
CLEAR ti_detail.
ti_detail-carrid = 'ARG'.
ti_detail-connid = '1080'.
ti_detail-fldate = '20210516'.
ti_detail-price = '1300'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Detail 4
CLEAR ti_detail.
ti_detail-carrid = 'ARG'.
ti_detail-connid = '1090'.
ti_detail-fldate = '20220808'.
ti_detail-price = '1500'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Header 2
CLEAR ti_header.
ti_header-carrid = 'LAN'.
ti_header-carrname = 'Lan Chile'.
APPEND ti_header.

* Detail 1
CLEAR ti_detail.
ti_detail-carrid = 'LAN'.
ti_detail-connid = '1030'.
ti_detail-fldate = '20220603'.
ti_detail-price = '500'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Detail 2
CLEAR ti_detail.
ti_detail-carrid = 'LAN'.
ti_detail-connid = '1040'.
ti_detail-fldate = '20210101'.
ti_detail-price = '600'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Detail 3
CLEAR ti_detail.
ti_detail-carrid = 'LAN'.
ti_detail-connid = '1050'.
ti_detail-fldate = '20211007'.
ti_detail-price = '999'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Detail 4
CLEAR ti_detail.
ti_detail-carrid = 'LAN'.
ti_detail-connid = '1050'.
ti_detail-fldate = '20230215'.
ti_detail-price = '6000'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

* Detail 5
CLEAR ti_detail.
ti_detail-carrid = 'LAN'.
ti_detail-connid = '1060'.
ti_detail-fldate = '20211231'.
ti_detail-price = '1000'.
ti_detail-currency = 'USD'.
ti_detail-planetype = 'A330'.
APPEND ti_detail.

ENDFORM. " LOAD_DATA


*&---------------------------------------------------------------------*
*& Form BUILD_AUTO_CATALOG
*&---------------------------------------------------------------------*
FORM build_auto_catalog .

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'TI_HEADER'
i_client_never_display = c_x
i_inclname = sy-repid
CHANGING
ct_fieldcat = ti_catalog[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.

IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'TI_DETAIL'
i_client_never_display = c_x
i_inclname = sy-repid
CHANGING
ct_fieldcat = ti_catalog[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.

IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

ENDFORM. " BUILD_AUTO_CATALOG

*&---------------------------------------------------------------------*
*& Form DETERMINE_ASSOCIATION
*&---------------------------------------------------------------------*
FORM determine_association .

CLEAR wa_keyinfo.
wa_keyinfo-header01 = 'CARRID'.
wa_keyinfo-item01 = 'CARRID'.

ENDFORM. " DETERMINE_ASSOCIATION


*&---------------------------------------------------------------------*
*& Form EXECUTE_HIERARCHICAL_ALV
*&---------------------------------------------------------------------*
FORM execute_hierarchical_alv .

CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = wa_layout
it_fieldcat = ti_catalog[]
i_tabname_header = 'TI_HEADER'
i_tabname_item = 'TI_DETAIL'
is_keyinfo = wa_keyinfo
TABLES
t_outtab_header = ti_header
t_outtab_item = ti_detail
EXCEPTIONS
program_error = 1
OTHERS = 2.

IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

ENDFORM. " EXECUTE_HIERARCHICAL_ALV

*&---------------------------------------------------------------------*
*& Form CONFIGURE_LAYOUT
*&---------------------------------------------------------------------*
FORM configure_layout .
CLEAR wa_layout.
wa_layout-zebra = c_x. " Line striping
wa_layout-window_titlebar = TEXT-001. " Flight Report

ENDFORM. " CONFIGURE_LAYOUT


 

 

 


Sobre el autor

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

SAP Expert


Jaime Eduardo Gomez Arango

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

✒️Autor de: 149 Publicaciones Académicas

🎓Cursando Actualmente: Consultor en SAP Fiori

🎓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 ALV jerárquico y el agrupamiento" de la mano de nuestros alumnos.

SAP SemiSenior

Resumen Lección: ALV Jerárquico y Agrupamiento Agrupamiento de un ALV Podemos agrupar los registros que mostramos en un ALV. Para ello, declaramos una tabla del tipo SLIS_T_SORTINFO_ALV y una estructura del tipo SLIS_SORTINFO_ALV. ALV Jerárquico Como dijimos anteriormente, los ALV Jerárquicos se utilizan cuando tenemos que mostrar en un reporte, datos de cabecera y de posición. En las declaraciones de las tablas internas de cabecera y posiciones, debe haber como mínimo un campo en común.

Acceder a esta publicación

Creado y Compartido por: Alexander José Tovar Rodríguez

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

SAP Senior

Lección: ALV jerárquico y agrupamiento 1. AGRUPAMIENTO EN UN ALV Los registros que se agrupan en un ALV es cuando se declara una tabla del tipo slis_t_sortinfo_alv y una estructura slis_sortinfo_alv Posteriormente se carga la tabla ti_sort con los registros en el orden en el que se desea agrupar 2. ALV JERÁRQUICO Los ALV jerárquicos son usados cuando se tiene que mostrar en un reporte, datos de cabecera y de posición. En las declaraciones de las tablas internas de cabecera y posición debe haber al menos un campo en común. TIPS: En un reporte ALV de tipo jerárquico no podrá utilizarse el evento top of page, por lo cual no se podrá generar una cabecera con títulos y...

Acceder a esta publicación

Creado y Compartido por: Javier Mirabal

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

SAP Expert


El ALV (List Viewer) jerárquico es una variante del ALV tradicional que permite mostrar datos en una estructura jerárquica, similar a un árbol, en lugar de una simple lista plana. Esto es especialmente útil cuando tienes datos que están relacionados en una jerarquía, como categorías y subcategorías, cuentas y subcuentas, etc. En SAP ABAP, puedes crear reportes ALV jerárquicos para presentar datos de manera más estructurada y fácil de entender. Características del ALV Jerárquico: Estructura de Árbol: El ALV jerárquico presenta los datos en una estructura de árbol, donde los elementos principales pueden tener elementos...

Acceder a esta publicación

Creado y Compartido por: Darling Geraldino

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

SAP Senior

-ALV JERÁRQUICO Y AGRUPAMIENTO. Podemos agrupar los registros de un ALV declarando una tabla SLIS_T_SORTINFO_ALV y una estructura SLIS_SORTINFO_ALV Antes de llamar a la función ALV se carga la TI con los registros e indicando el órden st_sort-spos = 1. "Órden del agrupamiento st_sort-fieldname = 'ESTADO_CIVIL' Completar el parámetro con tabla interna exporting IT_SORT = TI_SORT Al ejecutar el reporte se verá la agrupación por Estado Civil -ALV JERÁRQUICO Se utilizan cuando en un reporte hay datos de cabecera y muchos de posiciones, debe existir al menos uno en común. Se declara una estructura del sig tipo: st_keyinfo TYPE SLIS_KEYINFO_ALV. Se crea el catálogo ALV para...

Acceder a esta publicación

Creado y Compartido por: Armando Mayo Marquez / Disponibilidad Laboral: FullTime + Carta Presentación

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

SAP Senior

1- Agrupamiento en una ALV Podemos agrupar los registros que mostramos en un ALV declarando una tabla del tipo SLIST_T_SORTINFO_ALV y una estrutura del tipo SLIS_SORTINFO_ALV Completar el parámetro exporting IT_SORT con nuestra tabla interna TI_SORT 2- ALV jerárquico Audio Tips 1: en un ALV jerárquico no es posible utilizar el evento TOP SPAGE por lo que no será posible establecer una cabecera con títulos y logos tal como lo vemos hecho en los ALV de tipo Grilla. Otra limitación que presentan los ALV jerárquicos es que en ellos no se puede utilizar el boton de exportación de datos a excel debido a las diferencias que existen engre el formato de la cabecera y el formato de cada registro....

Acceder a esta publicación

Creado y Compartido por: Claudio Marcelo Dario Haikel

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

SAP Senior

ALV Jerárquico y Agrupamiento 1. Agrupamiento en un ALV - Declarar tabla del tipo SLIS_T_SORTINFO_ALV (Tabla de SAP usada para crear tablas internas para agrupamiento de reportes ALV). - Declarar estructura de tipo SLIS_SORTINFO_ALV (Estructura estándar SAP para crear estructuras para agrupamiento de reportes ALV) - Antes de llamar a función del ALV, se carga la tabla con registros en el orden en el que se requiere agrupar. - Completar parámetro IT_SORT de función con tabla interna creada para agrupamiento. 2. ALV Jerárquico - ALV jerárquicos se usan cuando se quiere mostrar en reporte datos de cabecera y de posición - En declaraciones de tablas internas de cabecera y posición...

Acceder a esta publicación

Creado y Compartido por: Darwin Enrique Terraza Berdugo / Disponibilidad Laboral: PartTime

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

SAP Senior

Leccion 8/9: ALV JERÁRQUICO Y AGRUPAMIENTO 1. Agrupamiento de un ALV Para agrupar registros que se muestran en un ALV se declara una tabla del tipo SLIS_T_SORTINFO_ALV y una estructura de tipo SLIS_SORTINFO_ALV Luego cargar la tabla TI_SORT con los registros en el orden que los deseamos agrupar. Debemos completar el parametro exportinf IT_SORT con la tabla interna TI_SORT. Finalmente, se ejecuta el reporte. 2. ALV JERÁRQUICO. Recalcar que estos ALV se utilizan cuando se tiene que mostrar en un reporte datos de cabecera y de posicion. Debemos declarar una estructura del tipo SLIS_KEYINFO_ALV, que será ST_KEYINFO y contendra el campo claque que une a las dos tablas internas. ahora vamos a cargar las tablas...

Acceder a esta publicación

Creado y Compartido por: Ruben Santiago Cuenca Balanza / Disponibilidad Laboral: FullTime + Carta Presentación

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

SAP Senior

El ALV jerárquico y el agrupamiento El agrupamiento en un ALV Podemos agrupar los registros que mostramos en un reporte ALV de modo que varios registros que presentan el mismo valor para un campo en particular, se muestran de forma agrupada por ese campo. Para ello debemos declarar la tabla interna TI_SORT del tipo SLIS_T_SORTINFO_ALV y la estructura WA_SORT del tipo SLIS_SORT INFO_ALV Dentro del evento START-OF-SELECTION y antes de llamar el módulo de funciones que ejecuta el reporte ALV vamos a declarar la subrutina Dentro de la subrutina vamos a cargar la tabla interna con los registros en el orden en el que deseamos agrupar Podemos agrupar un reporte ALV por tantos campos tenga la tabla interna de salida del...

Acceder a esta publicación

Creado y Compartido por: Alejandra Daniela Naranjo Belmonte

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

SAP Master

UNIDAD 5.8 El agrupamiento de un ALV Podemos agrupar registros que se muestran en un ALV para ello se declara un tabla de tipo SLIS_T_SORTINFO_ALV y una estructura del tipo SLIS_SORTINFO_ALV SLIS_T_SORTINFO_ALV : ES LA TABLA ESTANDAR DE SAP QUE SE UTILIZA PARA CREAR TABLAS INTERNAS PARA EL ARUPAMIENTO DE REPORTES ALV. SLIS_SORTINFO_ALV: ES LA ESTRUCTURA DE SAP QUE SE UTILIZA PARA CREAR ESTRUCTURAS PARA AGRUPAMIENTO DE REPORTES. El ALV jerárquico. Debemos declarar una estructura de tipo SLIS_KEYINFO_ALV (es una estructura estándar de sap que s utiliza para la elaboración de reportes ALV jerarquicos).

Acceder a esta publicación

Creado y Compartido por: Tobias Emanuel Mareco Rojas / Disponibilidad Laboral: FullTime

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

SAP Master

El agrupamiento en un ALV Podemos agrupar los registros que mostramos en un reporte ALV. Esta agrupación se puede hacer por tantos campos tenga la tabla interna de salida del ALV El ALV jerárquico Utilizados cuando tenemos que mostrar en un reporte datos de cabecera y de posición En las tablas internas de cabecera y de posición debe haber como mínimo un campo en común entre ambos Dado que vamos a generar el catálogo del ALV jerárquico en forma automática entonces la declaración de ambas tablas internas la realizaremos utilizando la sentencia OCCURS. En lugar de cargar manualmente los registros de ambas tablas internas podríamos realizar un...

Acceder a esta publicación

Creado y Compartido por: David Brito Melado

 


 

👌Genial!, estos fueron los últimos artículos sobre más de 79.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!