Zusammenfassung der Ressource
003 - Tabela Interna /
Work Area
- MEMÓRIA
TEMPORÁRIA
- TABELAS INTERNAS
Anmerkungen:
- DATA : <ITAB> TYPE TABLE OF <DBTABLE> .
- INTO
Anmerkungen:
- INTO TABLE ITAB.
INTO CORRESPONDING FIELDS OF TABLE ITAB.
- OPERAÇÕES
- INSERÇÃO
- APPEND / APPEND LINES OF
Anmerkungen:
- APPEND <WA> TO <ITAB>
APPEND LINES OF <ITAB1> FROM <index no> TO <index no2>
- INSERT / INSERT LINES
Anmerkungen:
- INSERT <WA> INTO <ITAB> INDEX <index><index></index>
INSERT LINES OF <ITAB1> FROM <index no> TO <index no2>
- MODIFY
Anmerkungen:
- MODIFY <ITAB> FROM <WA> INDEX <INDEX NO> TRANSPORTING <FIELD1> <FIELD2>
MODIFY <ITAB> FROM <WA> TRANSPORTING <FIELD1>
<FIELD2> WHERE <CONDITION>
- MODIFICAR
- MODIFY
Anmerkungen:
- MODIFY <ITAB> FROM <WA> INDEX <INDEX NO> [TRANSPORTING <FIELD1> <FIELD2>]
MODIFY FROM TRANSPORTING
WHERE
- ÚTEIS
- SORT
Anmerkungen:
- SORT <ITAB> BY <FIELD1> <FIELD2>...ASCENDING/DESCENDING
- DESCRIBE TABLE
Anmerkungen:
- DESCRIBE TABLE <ITAB> LINES <v_lines>
- MOVE
Anmerkungen:
- <ITAB2[]> = <ITAB1[]>
- COLLECT
Anmerkungen:
- COLLECT <WA> INTO <ITAB>
- SY-TABIX
Anmerkungen:
- Armazena o índice do registro atual
- LEITURA
- READ TABLE ... WITH KEY
Anmerkungen:
- READ TABLE <ITAB> INTO <WA> WITH KEY <FIELD1> = <FIELD1 VALUE> <FIELD1> = <FIELD1 VALUE>
BINARY SEARCH .
- READ TABLE .. INDEX
Anmerkungen:
- READ TABLE <ITAB> INTO <WA> INDEX <index_no>
- PERCORRER
- LOOP...ENDLOOP
Anmerkungen:
- LOOP AT <ITAB> INTO <WA> . ENDLOOP.
LOOP AT <ITAB> INTO <WA> WHERE <FIELDS1> = <VALUE> . ENDLOOP.
LOOP AT <ITAB> INTO <WA> FROM <INDEX1> TO <INDEX2>. ENDLOOP.
- DELETAR
- DELETE
Anmerkungen:
- DELETE <ITAB> INDEX <INDEX NO>.
DELETE <ITAB> WHERE <FIELD1> = <FIELD1 VALUE> <FIELD2> = <FIELD2 VALUE>.
- DELETE ADJACENT DUPLICATES
Anmerkungen:
- DELETE ADJACENT DUPLICATED FROM <ITAB>
DELETE ADJACENT DUPLICATES FROM <ITAB> COMPARING <FIELD1> <FIELD2>
- LIMPAR
- CLEAR
Anmerkungen:
- REFRESH
Anmerkungen:
- FREE
Anmerkungen:
- TIPOS
- STANDARD
Anmerkungen:
- Key / Index.
Append / Insert
Sort
- SORTED
Anmerkungen:
- HASHED
- WORK AREAS
Anmerkungen:
- DATA : <WA> TYPE <DBTABLE> .
- INTO
Anmerkungen:
- INTO WA
INTO CORRESPONDING FIELDS OF WA
- ESTRUTURA
- TYPES
Anmerkungen:
- TYPES : BEGIN OF TY_TABLE,
MATNR TYPE MARA-MATNR,
MTART TYPE MARA-MTART,
MEINS TYPE MARA-MEINS,
END OF TY_TABLE.
- SELECT
- REGISTRO ÚNICO
- SELECT SINGLE
Anmerkungen:
- SELECT SINGLE * FROM DATABASETABLE INTO WA WHERE ALL KEY FIELDS
Obs: quando o campo não é chave, a tabela é ordenada pela "condição do where"
- UP TO 1 ROWS
Anmerkungen:
- SELECT * FROM DATABASETABLE INTO WA UP TO 1 ROWS WHERE ALL KEY FIELDS/SOME FIELDS.
ENDSELECT.
Obs1: quando o campo não é chave, a tabela é ordenada pela "condição do where" no [UP TO 1 ROWS]
Obs2: quando o campo não é chave, a tabela captura os primeiros registros no [UP TO X ROWS]
- INNER JOIN
- TABELAS
TRANSPARENTES
- ~
- ON
- FAE
Anmerkungen:
- Obs: os campos da tabela interna não pode ser considerada no select.
- TABELA INTERNA
- IS NOT INITIAL
- SEM REGISTROS DUPLICADOS
- TABELA TRANSPARENTE
- WHERE