¡Caminando hacia el éxito!

Aprende en Comunidad

Avalados por :

¡Acceso SAP S/4HANA desde $100!

Acceso a SAP

Como obter valores em FIELD-SYMBOLS <fs_data> e adicionar a uma tabela interna em ABAP

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

Tenho o seguinte loop:

    FIELD-SYMBOLS: <fs_data> type any,                   <gt_data> type standard table    LOOP AT <gt_data> ASSIGNING <fs_data>.    ENDLOOP.

Como posso obter os valores

em <fs_data> e adicioná-los a uma tabela interna?

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

3 Respuestas

0
Cargando...
Você pode fazer um dos seguintes: FIELD-SYMBOLS: <LV_ANY> TYPE ANY <LV_MATNR> TYPE MATNR. a) DO. 
        ASSIGN component sy-index of structure <fs_data> to <LV_ANY>. IF SY-SUBRC IS NOT INITIAL. EXIT. ENDIF. ENDDO. b) ASSIGN COMPONENT 'MATERIAL_CODE' of structure <fs_data> to <LV_MATNR>>
Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019
0
Cargando...

"ATRIBUIR COMPONENTE 1 DA ESTRUTURA ..." Pesquise na documentação e fórum de ABAP para obter mais detalhes.

Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019
0
Cargando...
Você pode fazer um dos seguintes. FIELD-SYMBOLS: <LV_ANY> TYPE ANY               <LV_MATNR> TYPE MATNR. a) DO. 
     ASSIGN component sy-index of structure <fs_data> to <LV_ANY>.     IF SY-SUBRC IS NOT INITIAL.       EXIT.     ENDIF.  ENDDO. b) ASSIGN COMPONENT 'MATERIAL_CODE' of structure <fs_data> to <LV_MATNR>>
Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019

contacto@primeconsultor.com

+1 (305) 285-8622

© 2025 Todos los derechos reservados.

Desarrollado por Prime Consultor

¡Hola! Soy Diana, asesora académica de Prime Consultor, indícame en que Academia SAP estás interesado, saludos!
Hola ¿Buscas Academias SAP?