003 - Tabela Interna / Work Area

Beschreibung

Tabela Interna e Work Area
Alexandre Cheung
Mindmap von Alexandre Cheung, aktualisiert more than 1 year ago
Alexandre Cheung
Erstellt von Alexandre Cheung vor mehr als 8 Jahre
12
0

Zusammenfassung der Ressource

003 - Tabela Interna / Work Area
  1. MEMÓRIA TEMPORÁRIA
    1. TABELAS INTERNAS

      Anmerkungen:

      • DATA : <ITAB> TYPE TABLE OF <DBTABLE> .
      1. INTO

        Anmerkungen:

        • INTO TABLE ITAB. INTO CORRESPONDING FIELDS OF TABLE ITAB.
        1. OPERAÇÕES
          1. INSERÇÃO
            1. APPEND / APPEND LINES OF

              Anmerkungen:

              • APPEND <WA> TO <ITAB> APPEND LINES OF <ITAB1> FROM <index no> TO <index no2>
              1. INSERT / INSERT LINES

                Anmerkungen:

                • INSERT <WA> INTO <ITAB> INDEX <index><index></index> INSERT LINES OF <ITAB1> FROM <index no> TO <index no2>
                1. MODIFY

                  Anmerkungen:

                  • MODIFY <ITAB> FROM <WA> INDEX <INDEX NO> TRANSPORTING <FIELD1> <FIELD2> MODIFY <ITAB> FROM <WA> TRANSPORTING <FIELD1> <FIELD2> WHERE <CONDITION>
                2. MODIFICAR
                  1. MODIFY

                    Anmerkungen:

                    • MODIFY <ITAB> FROM <WA> INDEX <INDEX NO> [TRANSPORTING <FIELD1> <FIELD2>] MODIFY FROM TRANSPORTING WHERE
                  2. ÚTEIS
                    1. SORT

                      Anmerkungen:

                      • SORT <ITAB> BY <FIELD1> <FIELD2>...ASCENDING/DESCENDING
                      1. DESCRIBE TABLE

                        Anmerkungen:

                        • DESCRIBE TABLE <ITAB> LINES <v_lines>
                        1. MOVE

                          Anmerkungen:

                          • <ITAB2[]> = <ITAB1[]>
                          1. COLLECT

                            Anmerkungen:

                            • COLLECT <WA> INTO <ITAB>
                            1. SY-TABIX

                              Anmerkungen:

                              • Armazena o índice do registro atual
                            2. LEITURA
                              1. READ TABLE ... WITH KEY

                                Anmerkungen:

                                • READ TABLE <ITAB> INTO <WA> WITH KEY <FIELD1> = <FIELD1 VALUE> <FIELD1> = <FIELD1 VALUE> BINARY SEARCH .
                                1. READ TABLE .. INDEX

                                  Anmerkungen:

                                  • READ TABLE <ITAB> INTO <WA> INDEX <index_no>
                                2. PERCORRER
                                  1. 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.
                                  2. DELETAR
                                    1. DELETE

                                      Anmerkungen:

                                      • DELETE <ITAB> INDEX <INDEX NO>. DELETE <ITAB> WHERE <FIELD1> = <FIELD1 VALUE>  <FIELD2> = <FIELD2 VALUE>.
                                      1. DELETE ADJACENT DUPLICATES

                                        Anmerkungen:

                                        • DELETE ADJACENT DUPLICATED FROM <ITAB> DELETE ADJACENT DUPLICATES FROM <ITAB> COMPARING <FIELD1> <FIELD2>
                                      2. LIMPAR
                                        1. CLEAR

                                          Anmerkungen:

                                          • CLEAR <WA>
                                          1. REFRESH

                                            Anmerkungen:

                                            • REFRESH <ITAB>
                                            1. FREE

                                              Anmerkungen:

                                              • FREE <WA>
                                          2. TIPOS
                                            1. STANDARD

                                              Anmerkungen:

                                              • Key / Index. Append / Insert Sort
                                              1. SORTED

                                                Anmerkungen:

                                                • Key / Index. Insert
                                                1. HASHED
                                              2. WORK AREAS

                                                Anmerkungen:

                                                • DATA : <WA> TYPE <DBTABLE> .
                                                1. INTO

                                                  Anmerkungen:

                                                  • INTO WA INTO CORRESPONDING FIELDS OF WA
                                                2. ESTRUTURA
                                                  1. TYPES

                                                    Anmerkungen:

                                                    • TYPES : BEGIN OF TY_TABLE, MATNR TYPE MARA-MATNR, MTART TYPE MARA-MTART, MEINS TYPE MARA-MEINS, END OF TY_TABLE.
                                                3. SELECT
                                                  1. REGISTRO ÚNICO
                                                    1. 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"
                                                      1. 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]
                                                      2. INNER JOIN
                                                        1. TABELAS TRANSPARENTES
                                                          1. ~
                                                            1. ON
                                                            2. FAE

                                                              Anmerkungen:

                                                              • Obs: os campos da tabela interna não pode ser considerada no select.
                                                              1. TABELA INTERNA
                                                                1. IS NOT INITIAL
                                                                  1. SEM REGISTROS DUPLICADOS
                                                                  2. TABELA TRANSPARENTE
                                                                    1. WHERE
                                                                  Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                                  ähnlicher Inhalt

                                                                  SAP Activate Project Manager - Associate
                                                                  Marcelo Terhoch
                                                                  Seriais Área Vermelha
                                                                  Robson Gonzaga
                                                                  SAP Simulado
                                                                  andersonsiuta
                                                                  Urlaub und Reisen
                                                                  JohannesK
                                                                  Sowjetische Expansion & Eindämmungspolitik der USA
                                                                  Laura Overhoff
                                                                  HTML Quiz - Grundlagen
                                                                  Alexander T
                                                                  FOST 1 - Erkenntnisgewinnung und Datenerhebung in der Psychologie
                                                                  Kathy H
                                                                  Vetie - Biochemie
                                                                  Fioras Hu
                                                                  Grundzüge Soziologischer Theorien - Rudolf Richter 2017 - Version 2
                                                                  Markus Gio
                                                                  Vetie Viro 2014
                                                                  Annika G
                                                                  MS-1.3 Foliensatz 6-7
                                                                  Markus Voßmann