UDEMY Flashcards

1
Q

@AccessControl.authorizationCheck: #NOT_REQUIRED

DEFINE VIEW ENTITY demo_flight_info_join AS

SELECT FROM scarr AS a
LEFT OUTER JOIN scounter AS b
LEFT OUTER JOIN sairport AS c
ON c.id = b.airport
ON a.carrid = b.carrid
{
a.carrid AS carrier_id,
c.id AS airport_id,
b.countnum AS counter_number
}

choose correct answer

A

scounter will be joined to sairport first and the result will be joined with scarr.

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

To enhance the existing UI for an SAP Fiori app, Which extensibility type does SAP recommend you use?

A

Key user

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

Which of the following string functions are predicate functions?

There are 2 correct answers.

A
  • matches()
  • contains_any_of()
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is true for using the expression itab_1 = corresponding #( itab_2 )? There are 2 correct answers.

A
  • Fields with the same name and the same type will be copied from itab_2 to itab_1.
  • itab_1 and itab_2 must have at least one field name in common.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of using a field symbol for internal table row access?

There are 2 are answers.

A
  • Using a field symbol is faster than using a work area.
  • A MODIFY statement to write changed contents back to the table is not required.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which patterns raise an exception?

There are 3 correct answers.

A
  • DATA: lv_target TYPE p DECIMALS 2.
    CONSTANTS: lc_con TYPE i VALUE 3.

lv_target = EXACT (2 / lc_con).

  • DATA: lv_target TYPE d.
    CONSTANTS: lc_date TYPE d VALUE ‘20331233’.

lv_target = EXACT ( lc_date).

  • DATA: lv_target TYPE c LENGTH 5.
    CONSTANTS: lc_con TYPE string VALUE “0123456789ABCDEF”.

lv_target = EXACT ( lc_con + 5 (6) ).

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

What are some characteristics of secondary keys for internal tables?

There are 3 correct answers.

A
  • Multiple secondary keys are allowed for any kind of internal table.
  • Sorted secondary keys do NOT have to be unique.
  • Secondary keys must be chosen explicitly when you actually read from an internal table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following results in faster access to internal tables?

There are 3 correct answers.

A
  • In a sorted internal table, specifying the primary key partially from the left without gaps.
  • In a hashed internal table, specifying the primary key completely.
  • In a sorted internal table, specifying the primary key completely.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

DATA lo_sup TYPE REF TO cl_sup.
DATA lo_sub TYPE REF TO cl_sub.

lo_sub = NEW #( ).
lo_sup = lo_sub.

Here cl_sup is a superclass of cl_sub, when accessing the subclass instance through lo_sup, what can you do?

There are 2 correct answers.

A
  • Call inherited public redefined methods.
  • Access the inherited public components.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

IF <cond>.</cond>

RAISE EXCEPTION TYPE zexptn

EXPORTING
param_1 = value_1
param_2 = value_2
previous = value_3

ENDIF>

A
  • The code creates an exception object and raises an exception.
  • zexptn is a dictionary structure, and param1 and param2 are same structure.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

INTERFACE intf_1.
METHODS m1.
ENDINTERFACE.

CLASS cls_1 DEFINITION.
INTERFACES intf_1
ENDCLASS.

CLASS cls_2 DEFINITION.
DATA: lo_intf TYPE REF TO intf_1.
ENDCLASS.

There are 3 correct answers.

A
  • Class cls_2 uses the interface.
  • In class cls_2, the interface method is named lo_intf->m1
  • Class cls_1 implements the interface.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly