UDEMY3 Flashcards
Choose the correct statement related to Database Tables.
There are 2 correct answers.
- They store information in two dimensions.
- They can have relationships with other tables.
In a subclass lcl_sub, you want to redefine a component of a superclass lcl_sup. How do you achieve this?
There are 2 correct answers.
- you add the clause REDEFINITION to the component in lcl_sub.
- You implement the redefined component in lcl_sub
For the assignment,
lv_target = lv_source.
which of the following data declarations will always work without truncation or rounding?
There are 2 correct answers.
- DATA lv_source TYPE d.
to
DATA lv_target TYPE string. - DATA lv_source TYPE c.
to
DATA lv_target TYPE string.
Choose the correct annotation.
You want to provide a short description of the data definition for developers that will be attached to the database CDS view.
@EndUserText.Label
Which of the following is a generic internal table type?
INDEX TABLE
Choose the correct case expression.
2 answers are correct.
- CASE
WHEN smoker = ‘X’ AND custtype = ‘B’ THEN loccuram + 100
WHEN smoker = ‘X’ AND custtype = ‘P’ THEN loccuram + 200
ELSE loccuram
END AS inc_smoker_charge
- CASE smoker
WHEN ‘X’ THEN loccuram + 100
ELSE loccuram
END AS inc_smoker_charge
Data (lv_result) = 1/8.
what will be the data type of lv_result?
TYPE I
Which of the following parts of a behavior definition are generated automatically?
2 answers are correct.
- Draft enabling
- Create, update, and delete operations
What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key?
Validation
Which system variable holds the current row number when an internal table is processed using the LOOP AT itab… ENDLOOP statement?
sy-tabix
Which of the following annotations can be mandatory in the definition of a CDS view entity?
@Semantics.quantity.unitofMeasure
Which of the following are valid sort operations for internal tables?
There are 3 correct answers.
- SORT itab BY field1 field2.
- SORT itab DESCENDING.
- SORT itab BY field1 ASCENDING field2 DESCENDING.
Which of the following ABAP SQL statements are valid?
There are 2 correct answers.
- SELECT FROM sbook FIELDS carrid, connid, MAX( LOCCURAM ) AS dist_max, MIN( LUGGWEIGHT ) AS dist_min GROUP BY carrid, connid INTO TABLE @DATA(lt_tab).
- SELECT FROM sbook FIELDS MAX( LOCCURAM ) AS dist_max, MIN( LUGGWEIGHT ) AS dist_min INTO TABLE @DATA(lt_tab).