SAP Certified Development Associate – ABAP with SAP NetWeaver 7.50 — Question 1
Which of the following statements correctly define a data object with the type of data element s_conn_id? (Choose three.)
Answer options
- A. CONSTANTS gc_id TYPE s_conn_id VALUE '0400'.
- B. DATA gv_id TYPE REF TO s_conn_id.
- C. DATA gv_id TYPE s_conn_id.
- D. PARAMETERS pa_id TYPE s_conn_id.
- E. DATA gv_id LIKE s_conn_id.
Correct answer: A, C
Explanation
Options A and C correctly define a data object using the data element s_conn_id, where A declares a constant and C declares a variable. Option B is incorrect because it defines a reference type rather than using the data element directly, while option D is valid but not included in the correct answers, and option E uses 'LIKE' which does not directly define the type as required.