Quiz

[WATU 2]

11 Resultados

  1. abap disse:

    17 nao tem resposta correta.

    • Fábio Pagoti disse:

      Por que nao?

      • abap disse:

        APPEND wa TO t_spfli. – impossivel, pois é sorted;

        APPEND wa TO t_spfli INDEX 3. – nao existe complemento INDEX no comando APPEND;

        READ TABLE t_spfli INDEX 3 INTO wa. – … ;

        INSERT wa INTO TABLE t_spfli. – idem a. mas nesse caso só é possivel com o complemento INDEX 3;

        • Fábio Pagoti disse:

          Você está errado quanto ao item D.

          Retirado do help do comando INSERT:

          INSERT itab

          Syntax

          INSERT line_spec INTO itab_position [result].

          Effect

          This statement adds one or more rows line_spec to a position itab_position in an internal table. The position can be specified using the primary table key or a table index. Use result when appending a single row to set a reference to the appended row in the form of a field symbol or a data reference.

          (…)

          Alternative 1

          … TABLE itab

          For sorted tables, each new row is inserted into the sort order of the internal table in accordance with its key values with respect to the primary key. The row numbers in the primary table index of the following rows are increased by one. If the internal table has a non-unique key, duplicate entries are inserted before the existing row.

          Prova:

          TYPES tt_spfli TYPE SORTED TABLE OF spfli WITH UNIQUE KEY carrid connid.

          DATA(t_spfli) = VALUE tt_spfli(
          ( carrid = ‘AA’ connid = ‘0010’ )
          ( carrid = ‘AA’ connid = ‘0064’ )
          ( carrid = ‘LH’ connid = ‘0400’ )
          ( carrid = ‘LH’ connid = ‘0600’ )
          ).

          DATA(wa) = VALUE spfli( carrid = ‘JP’ connid = ‘0500’ ).

          INSERT wa INTO TABLE t_spfli.

          LOOP AT t_spfli ASSIGNING FIELD-SYMBOL().

          WRITE: / -carrid, -connid.

          ENDLOOP.

  2. Miguel disse:

    O QUIZ não está mais no ar?

  3. Fernando Silva disse:

    Tentei fazer o quiz , mas parece que nao esta mais no ar… Tentei me cadastrar no blog e nao consegui.

    • Fábio Pagoti disse:

      Olá Fernando.

      Olá Miguel..

      O link ficou quebrado por conta de uma atualização que fizemos no site… mas já está de volta.

      Não é preciso fazer o cadastro para realizar o quiz.

      Boa sorte!

  4. Jorge ABAP disse:

    Sou burro,errei quase tdo kkkkk n sei como ganho $ com isso rs

  5. Fiz esse Quiz e gostei muito, alguém conhece outros simulados? Quero estudar bastante, e testar os conhecimentos para fazer a certificação Abap. Obrigado!

  1. agosto 11, 2015

    […] Quiz de ABAP […]

Deixe um comentário