¡Caminando hacia el éxito!

Aprende en Comunidad

Avalados por :

Como declarar uma tabela interna com estrutura BISEG em ABAP sem usar a linha de cabeçalho

  • Creado 01/03/2024
  • Modificado 01/03/2024
  • 23 Vistas
0
Cargando...

Olá

Tenho uma estrutura BISEG

Preciso declarar uma tabela interna com essa estrutura BISEG + alguns campos adicionais

Fiz da seguinte forma, por favor, indique se está correto


TYPES begin of types ty_itab
                     include type BISEG
                     xxxx type xxx
                     xxxx type xxx
            End of types ty_itab


DATA:
   itat TYPE standard tabel of ty_itab

Nota: Não quero usar a linha de cabeçalho

Pedro Pascal
Se unió el 07/03/2018
Pinterest
Telegram
Linkedin
Whatsapp

4 Respuestas

0
Cargando...

Olá, por favor, revise isso,

TYPES: begin of  ty_itab.
                     INCLUDE STRUCTURE BISEG.
         TYPES: xxxx type xxx,
                     xxxx type xxx,
                     End of  ty_itab.
 
 
DATA:
   itab TYPE standard table of ty_itab.

Saudações

Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019
0
Cargando...

Olá newbie82 c,

Use:-


DATA : begin of itab. "sem linha de cabeçalho
          INCLUDE STRUCTURE BISEG. "cria a mesma estrutura que BISEG
DATA : xxxx type xxx, "outros campos
       xxxx type xxx,
       end of itab.

Isso criará uma tabela interna sem linha de cabeçalho.

Use 'OCURRE 0' após 'begin of itab' se deseja criar uma tabela interna com linha de cabeçalho.

Espero que isso resolva seu problema.

Obrigado e cumprimentos,

Tarun Gambhir

Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019
0
Cargando...

Olá,

TIPOS: INÍCIO DE ty_record.

INCLUIR ESTRUTURA pa0008.

TIPOS: v_pernr TIPO pa0008-pernr,

v_begda(10),

v_endda(10).

TIPOS: FIM DE ty_record.

Utilize desta forma.

Saudações,

Arjun.

Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019
0
Cargando...

Olá, por favor, revise isso:

TYPES: begin of  ty_itab.
                     INCLUDE STRUCTURE BISEG.
         TYPES: xxxx type xxx,
                     xxxx type xxx,
                     End of  ty_itab.
 
 
DATA:
   itab TYPE standard table of ty_itab.

Saudações

Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019

contacto@primeinstitute.com

(+51) 1641 9379
(+57) 1489 6964

© 2024 Copyright. Todos los derechos reservados.

Desarrollado por Prime Institute

¡Hola! Soy Diana, asesora académica de Prime Institute, indícame en que curso estas interesado, saludos!
Hola ¿Puedo ayudarte?