Given the following ABAP code, which exception will be raised on execution?
CONSTANTS c_char TYPE c LENGTH 1 VALUE ' '.
TRY.
result = 2 / c_char.
out->write( |Result: { result }| ).
CATCH cx_sy_zerodivide.
out->write( |Error: Division by zero is not defined| ).
CATCH cx_sy_conversion_no_number.
out->write( |Error: { c_char } is not a number!| ).
CATCH cx_sy_itab_line_not_found.
out->write( |Error: Itab contains less than { 2 / c_char } rows| ).
ENDTRY.
A. cx_sy_zerodivide
B. cx_sy_itab_line_not_found
C. cx_sy_conversion_no_number
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
How can you control data access of a business user?
(Select 3 correct answers)
A. To control the "Read access" via explicit check using AUTHORITY-CHECK.
B. To control the "Read access" implicitly via an Access Control object (define role).
C. To control the "Create, Update, and Delete access" via explicit check using AUTHORITY-CHECK.
D. To control the general access implicitly via an Access Control object (define role).
E. To control the "Create, Update, and Delete access" implicitly via an Access Control object (define role).
正解:B,C,E
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
Which of the following custom code use cases falls under Tier 1 extensibility guidelines?
A. Apply an SAP note with manual corrections, for example a DDIC object from SAP Basis.
B. Create a wrapper class around SAP objects that have not been released yet.
C. Create a custom field on a DB table or CDS view via a released extension include.
D. Implement a user or customer exit, for example SAPMV45A.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
Given the following Core Data Service view entity data definition:
@AccessControl.authorizationCheck: #NOT_REQUIRED
DEFINE VIEW ENTITY demo_cds_param_view_entity
WITH PARAMETERS
p_date : abap.dats
AS SELECT FROM sflight
{
key carrid,
key connid,
key fldate,
price,
seatsmax,
seatsocc
}
WHERE fldate >= $parameters.p_date;
Which of the following ABAP SQL snippets are syntactically correct ways to provide a value for the parameter on line #4?
Note: There are 2 correct answers to this question.
A. SELECT * FROM demo_cds_param_view_entity( p_date = @(
cl_abap_context_info=>get_system_date( ) ) ) ...
B. SELECT * FROM demo_cds_param_view_entity( p_date = :$session.system_date ) ...
C. SELECT * FROM demo_cds_param_view_entity( p_date = '20230101' ) ...
D. SELECT * FROM demo_cds_param_view_entity( p_date = `20230101` ) ...
正解:A,C
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
What are some principles of encapsulation?
(Select 2 correct answers)
A. Attributes can be changed by the client program directly.
B. Attributes can be changed through public class methods.
C. Attributes can only be changed by the class.
D. Attributes cannot be changed.
正解:B,C
解説: (Pass4Test メンバーにのみ表示されます)
質問 6:
When defining a METHOD, which parameter type can only have 1 value?
A. RETURNING
B. CHANGING
C. IMPORTING
D. EXPORTING
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 7:
What can be translated?
(Select 3 correct answers)
A. Text symbol
B. Text literal
C. Message class
D. Data element texts
E. Content of a string variable
正解:A,C,D
解説: (Pass4Test メンバーにのみ表示されます)
質問 8:
You want to join two database tables, T_CARRIER and T_CONNECTIONS, to retrieve all carriers, whether they have corresponding connections or not.
Which statements would achieve this?
Note: There are 2 correct answers to this question.
A. SELECT FROM t_carrier
LEFT OUTER JOIN t_connections
ON ...
B. SELECT FROM t_carrier
INNER JOIN t_connections
ON ...
C. SELECT FROM t_carrier
LEFT INNER JOIN t_connections
ON ...
D. SELECT FROM t_connections
RIGHT OUTER JOIN t_carrier
ON ...
正解:A,D
解説: (Pass4Test メンバーにのみ表示されます)
1048 お客様のコメント





桜井** -
とはいえ付属の過去問題集の自動採点はかなり重宝しますし、しっかり自分で教科書の中身を押さえれば、とても有用なC_ABAPD_2507参考書になります。