SAP ABAP Programming Quiz

SmittenTennessine avatar
SmittenTennessine
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is a characteristic of internal tables in ABAP?

They can have any number of key fields

What system variable contains the implicit loop counter in an ABAP program?

sy-tabix

What is a characteristic of secondary keys for internal tables?

Hashed secondary keys do not have to be unique

Which object can be used to organize the display of fields in an ABAP application?

Metadata extension

Which statement can be used to change the contents of a row of data in an internal table?

Modify table

What is a generic internal table type?

INDEX TABLE

In which products must you use the ABAP Cloud Development Model?

SAP BTP, ABAP environment

What are valid case distinctions in ABAP SQL code?

Image 3

What is the purpose of the DO….ENDDO statement in an ABAP program?

To process a loop with an implicit loop counter

What is the purpose of a secondary key in an internal table?

To provide an alternate way to access data

Study Notes

Authority-Check

  • Verifies whether a user is authorized for '/DMO/TRVL' with specific field values.
  • If the user is authorized for 'CNTRY' = 'DE' and 'ACTVT' = '03', the return code is 0.

RESTful Application Programming

  • A projection view contains only the fields required for a particular app.
  • A wrapper can be created for 'ZF1', but it must be released for cloud development to be called.

Software Components

  • Objects in ABAP Cloud software components follow the ABAP Cloud development model.
  • Objects in ABAP Classic software components can be of any type.
  • Objects in ABAP Cloud software components have unrestricted access to objects in the same software component.
  • Objects in ABAP Classic software components have unrestricted access to ABAP Cloud-based development objects.

Core Data Services

  • Features of Core Data Services include:
    • Delegation
    • Annotations

Database Table Conversion

  • Renaming a field in a structure that is included in the table definition causes an indirect change to a database table requiring a table conversion.
  • Deleting a field from a structure that is included in the table definition causes an indirect change to a database table requiring a table conversion.

Data Source

  • To expose a field "connid" in the element list, the statement ._spfli.connid, can be used.

Nested Join

  • The join is evaluated from the top to the bottom in the order of the on conditions:
      1. b is joined with c.
      1. a is joined with b.

Code Statements

  • #EC_NEEDED is not checked by the syntax checker.
  • ##NEEDED is checked by the syntax checker.

Table Characteristics

  • Image tables can have relationships to other tables.
  • Image tables can have any number of key fields.

Loop Processing

  • The system variable sy-tabix contains the implicit loop counter when processing a loop with the statement DO….ENDDO.

Secondary Keys

  • Characteristics of secondary keys for internal tables include:
    • Multiple secondary keys are allowed for any kind of internal table.
    • Hashed secondary keys do not have to be unique.
    • Secondary keys must be chosen explicitly when reading from an internal table.

RESTful Application Programming Object

  • A metadata extension can be used to organize the display of fields in an app.

Internal Table

  • The statement Modify table can be used to change the contents of a row of data in an internal table.
  • The type INDEX TABLE is a generic internal table type.

ABAP Cloud Development Model

  • This model must be used in products such as SAP S/4HANA Cloud, private edition, and SAP BTP, ABAP environment.
  • In ABAP Cloud, objects have unrestricted access to objects in the same software component.

Test your knowledge of SAP ABAP programming concepts, including authority checks, RESTful APIs, and views.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

ABAP CDS and SAP List Viewer Quiz
5 questions
ABAP Programming Language
5 questions
SAP Cloud Platform ABAP Environment Essentials
30 questions
Use Quizgecko on...
Browser
Browser