UDEMY3 Flashcards

1
Q

Choose the correct statement related to Database Tables.

There are 2 correct answers.

A
  • They store information in two dimensions.
  • They can have relationships with other tables.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.

A
  • you add the clause REDEFINITION to the component in lcl_sub.
  • You implement the redefined component in lcl_sub
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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.

A
  • DATA lv_source TYPE d.
    to
    DATA lv_target TYPE string.
  • DATA lv_source TYPE c.
    to
    DATA lv_target TYPE string.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

@EndUserText.Label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following is a generic internal table type?

A

INDEX TABLE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Choose the correct case expression.

2 answers are correct.

A
  • 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Data (lv_result) = 1/8.

what will be the data type of lv_result?

A

TYPE I

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following parts of a behavior definition are generated automatically?

2 answers are correct.

A
  • Draft enabling
  • Create, update, and delete operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key?

A

Validation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which system variable holds the current row number when an internal table is processed using the LOOP AT itab… ENDLOOP statement?

A

sy-tabix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following annotations can be mandatory in the definition of a CDS view entity?

A

@Semantics.quantity.unitofMeasure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following are valid sort operations for internal tables?

There are 3 correct answers.

A
  • SORT itab BY field1 field2.
  • SORT itab DESCENDING.
  • SORT itab BY field1 ASCENDING field2 DESCENDING.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following ABAP SQL statements are valid?

There are 2 correct answers.

A
  • 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).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly