Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Certification Q's

Former Member
0 Likes
2,946

Hi Experts,

Can you please provide me with the correct answers for the following Q's

34. What is output by the following code?

DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab.

itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab.

itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab.

LOOP AT itab.

SY-TABIX = 2.

WRITE itab-letter.

EXIT.

ENDLOOP.

A: A

B: A B C D

C: B

😧 B C D

35. To select all database entries for a certain WHERE clause into an internal table in one step, use

A: SELECT_INTO TABLE itab_

B: SELECT_INTO itab_

C: SELECT_APPENDING itab

😧 SELECT_itab_

36. After a successful SELECT statement, what does SY-SUBRC equal?

A: 0

B: 4

C: 8

😧 Null

37. This selection screen syntax forces the user to input a value:

A: REQUIRED-ENTRY

B: OBLIGATORY

C: DEFAULT

😧 SELECTION-SCREEN EXCLUDE

38. If the following code results in a syntax error, the remedy is:

DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1

WITH HEADER LINE.

itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab.

itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab.

SORT itab.

LOOP AT itab.

write: /1 itab-field1, itab-field2.

ENDLOOP.

A: There is no syntax error here

B: Remove the SORT statement

C: Change INSERT to APPEND

😧 Add a WHERE clause to the loop

39. If this code results in an error, the remedy is:

SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3.

WRITE: /1 tab1-fld1, tab1-fld2.

ENDSELECT.

A: Add a SY-SUBRC check.

B: Change the WHERE clause to use fld1 or fld2.

C: Remove the /1 from the WRITE statement.

😧 Add INTO (tab1-fld1, tab1-fld2).

40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number.

A: True

B: False

41. To allow the user to enter values on the screen for a list field, use:

A: OPEN LINE.

B: SET CURSOR FIELD.

C: WRITE fld AS INPUT FIELD.

😧 FORMAT INPUT ON.

42. Before a function module may be tested, it must first be:

A: Linked

B: Authorized

C: Released

😧 Active

43. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data declaration for the field?

A: PBO module include program

B: TOP include program

C: PAI module include program

😧 Subroutine include program

44. If a table contains many duplicate values for a field, minimize the number of records returned by using this SELECT statement addition.

A: MIN

B: ORDER BY

C: DISTINCT

😧 DELETE

45. The system internal table used for dynamic screen modification is named:

A: ITAB

B: SCREEN

C: MODTAB

😧 SMOD

46. Within the source code of a function module, errors are handled via the keyword:

A: EXCEPTION

B: RAISE

C: STOP

😧 ABEND

47. Which system field contains the contents of a selected line?

A: SY-CUCOL

B: SY-LILLI

C: SY-CUROW

😧 SY-LISEL

48. The following statement writes what type of data object?

WRITE: /1 'Total Amount:'.

A: Text literal

B: Text variable

C: In-code comment

😧 Text integer

49. For the code below, second_field is of what data type?

DATA: first_field type P, second_field like first_field.

A: P

B: C

C: N

😧 D

50. Which of the following describes the internal representation of a type D data object?

A: DDMMYYYY

B: YYYYDDMM

C: MMDDYYYY

😧 YYYYMMDD

51. A BDC program is used for all of the following except:

A: Downloading data to a local file

B: Data interfaces between SAP and external systems

C: Initial data transfer

😧 Entering a large amount of data

52. In regard to PERFORM, which of the following is NOT a true statement?

A: May be used within a subroutine.

B: Requires actual parameters.

C: Recursive calls are allowed in ABAP.

😧 Can call a subroutine in another program.

53. What is the transaction code for the ABAP Editor?

A: SE11

B: SE38

C: SE36

😧 SE16

54. In regard to HIDE, which of the following is NOT a true statement?

A: Saves the contents of variables in relation to a list line's row number.

B: The hidden variables must be output on a list line.

C: The HIDE area is retrieved when using the READ LINE statement.

😧 The HIDE area is retrieved when an interactive event is triggered.

55. Database locks are sufficient in a multi-user environment.

A: True

B: False

56. The complete technical definition of a table field is determined by the field's:

A: Domain

B: Field name

C: Data type

😧 Data element

57. In regard to LEAVE, which of the following is NOT a true statement?

A: May be used to return immediately to a calling program.

B: May be used to stop the current loop pass and get the next.

C: May be used to start a new transaction.

😧 May be used to go to the next screen.

1 ACCEPTED SOLUTION
Read only

meikandan_krishnan2
Participant
0 Likes
1,103

34. What is output by the following code?

DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab.

itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab.

itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab.

LOOP AT itab.

SY-TABIX = 2.

WRITE itab-letter.

EXIT.

ENDLOOP.

<b>A: A</b>

B: A B C D

C: B

😧 B C D

35. To select all database entries for a certain WHERE clause into an internal table in one step, use

<b>A: SELECT_INTO TABLE itab_</b>

B: SELECT_INTO itab_

C: SELECT_APPENDING itab

😧 SELECT_itab_

36. After a successful SELECT statement, what does SY-SUBRC equal?

<b>A: 0</b>

B: 4

C: 8

😧 Null

37. This selection screen syntax forces the user to input a value:

A: REQUIRED-ENTRY

<b>B: OBLIGATORY</b>

C: DEFAULT

😧 SELECTION-SCREEN EXCLUDE

38. If the following code results in a syntax error, the remedy is:

DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1

WITH HEADER LINE.

itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab.

itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab.

SORT itab.

LOOP AT itab.

write: /1 itab-field1, itab-field2.

ENDLOOP.

A: There is no syntax error here

<b>B: Remove the SORT statement</b>

C: Change INSERT to APPEND

😧 Add a WHERE clause to the loop

39. If this code results in an error, the remedy is:

SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3.

WRITE: /1 tab1-fld1, tab1-fld2.

ENDSELECT.

A: Add a SY-SUBRC check.

B: Change the WHERE clause to use fld1 or fld2.

C: Remove the /1 from the WRITE statement.

<b>D: Add INTO (tab1-fld1, tab1-fld2).</b>

40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number.

A: True

<b>B: False</b>

41. To allow the user to enter values on the screen for a list field, use:

A: OPEN LINE.

B: SET CURSOR FIELD.

C: WRITE fld AS INPUT FIELD.

<b>D: FORMAT INPUT ON.</b>

42. Before a function module may be tested, it must first be:

A: Linked

B: Authorized

C: Released

<b>D: Active</b>

43. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data declaration for the field?

A: PBO module include program

<b>B: TOP include program</b>

C: PAI module include program

😧 Subroutine include program

44. If a table contains many duplicate values for a field, minimize the number of records returned by using this SELECT statement addition.

A: MIN

B: ORDER BY

<b>C: DISTINCT</b>

😧 DELETE

45. The system internal table used for dynamic screen modification is named:

A: ITAB

<b>B: SCREEN</b>

C: MODTAB

😧 SMOD

46. Within the source code of a function module, errors are handled via the keyword:

A: EXCEPTION

<b>B: RAISE</b>

C: STOP

😧 ABEND

47. Which system field contains the contents of a selected line?

A: SY-CUCOL

B: SY-LILLI

C: SY-CUROW

<b>D: SY-LISEL</b>

48. The following statement writes what type of data object?

WRITE: /1 'Total Amount:'.

<b>A: Text literal</b>

B: Text variable

C: In-code comment

😧 Text integer

49. For the code below, second_field is of what data type?

DATA: first_field type P, second_field like first_field.

<b>A: P</b>

B: C

C: N

😧 D

50. Which of the following describes the internal representation of a type D data object?

A: DDMMYYYY

B: YYYYDDMM

C: MMDDYYYY

<b>D: YYYYMMDD</b>

51. A BDC program is used for all of the following except:

<b>A: Downloading data to a local file</b>

B: Data interfaces between SAP and external systems

C: Initial data transfer

😧 Entering a large amount of data

52. In regard to PERFORM, which of the following is NOT a true statement?

A: May be used within a subroutine.

B: Requires actual parameters.

<b>C: Recursive calls are allowed in ABAP.</b>

😧 Can call a subroutine in another program.

53. What is the transaction code for the ABAP Editor?

A: SE11

<b>B: SE38</b>

C: SE36

😧 SE16

54. In regard to HIDE, which of the following is NOT a true statement?

A: Saves the contents of variables in relation to a list line's row number.

<b>B: The hidden variables must be output on a list line.</b>

C: The HIDE area is retrieved when using the READ LINE statement.

😧 The HIDE area is retrieved when an interactive event is triggered.

55. Database locks are sufficient in a multi-user environment.

<b>A: True</b>

B: False

56. The complete technical definition of a table field is determined by the field's:

<b>A: Domain</b>

B: Field name

C: Data type

😧 Data element

57. In regard to LEAVE, which of the following is NOT a true statement?

A: May be used to return immediately to a calling program.

<b>B: May be used to stop the current loop pass and get the next.</b>

C: May be used to start a new transaction.

😧 May be used to go to the next screen.

Hi Experts,

Can you please provide me with the correct answers for the following Q's

34. What is output by the following code?

DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab.

itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab.

itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab.

LOOP AT itab.

SY-TABIX = 2.

WRITE itab-letter.

EXIT.

ENDLOOP.

A: A

B: A B C D

C: B

😧 B C D

35. To select all database entries for a certain WHERE clause into an internal table in one step, use

A: SELECT_INTO TABLE itab_

B: SELECT_INTO itab_

C: SELECT_APPENDING itab

😧 SELECT_itab_

36. After a successful SELECT statement, what does SY-SUBRC equal?

A: 0

B: 4

C: 8

😧 Null

37. This selection screen syntax forces the user to input a value:

A: REQUIRED-ENTRY

B: OBLIGATORY

C: DEFAULT

😧 SELECTION-SCREEN EXCLUDE

38. If the following code results in a syntax error, the remedy is:

DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1

WITH HEADER LINE.

itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab.

itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab.

SORT itab.

LOOP AT itab.

write: /1 itab-field1, itab-field2.

ENDLOOP.

A: There is no syntax error here

B: Remove the SORT statement

C: Change INSERT to APPEND

😧 Add a WHERE clause to the loop

39. If this code results in an error, the remedy is:

SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3.

WRITE: /1 tab1-fld1, tab1-fld2.

ENDSELECT.

A: Add a SY-SUBRC check.

B: Change the WHERE clause to use fld1 or fld2.

C: Remove the /1 from the WRITE statement.

😧 Add INTO (tab1-fld1, tab1-fld2).

40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number.

A: True

B: False

41. To allow the user to enter values on the screen for a list field, use:

A: OPEN LINE.

B: SET CURSOR FIELD.

C: WRITE fld AS INPUT FIELD.

😧 FORMAT INPUT ON.

42. Before a function module may be tested, it must first be:

A: Linked

B: Authorized

C: Released

😧 Active

43. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data declaration for the field?

A: PBO module include program

B: TOP include program

C: PAI module include program

😧 Subroutine include program

44. If a table contains many duplicate values for a field, minimize the number of records returned by using this SELECT statement addition.

A: MIN

B: ORDER BY

C: DISTINCT

😧 DELETE

45. The system internal table used for dynamic screen modification is named:

A: ITAB

B: SCREEN

C: MODTAB

😧 SMOD

46. Within the source code of a function module, errors are handled via the keyword:

A: EXCEPTION

B: RAISE

C: STOP

😧 ABEND

47. Which system field contains the contents of a selected line?

A: SY-CUCOL

B: SY-LILLI

C: SY-CUROW

😧 SY-LISEL

48. The following statement writes what type of data object?

WRITE: /1 'Total Amount:'.

A: Text literal

B: Text variable

C: In-code comment

😧 Text integer

49. For the code below, second_field is of what data type?

DATA: first_field type P, second_field like first_field.

A: P

B: C

C: N

😧 D

50. Which of the following describes the internal representation of a type D data object?

A: DDMMYYYY

B: YYYYDDMM

C: MMDDYYYY

😧 YYYYMMDD

51. A BDC program is used for all of the following except:

A: Downloading data to a local file

B: Data interfaces between SAP and external systems

C: Initial data transfer

😧 Entering a large amount of data

52. In regard to PERFORM, which of the following is NOT a true statement?

A: May be used within a subroutine.

B: Requires actual parameters.

C: Recursive calls are allowed in ABAP.

😧 Can call a subroutine in another program.

53. What is the transaction code for the ABAP Editor?

A: SE11

B: SE38

C: SE36

😧 SE16

54. In regard to HIDE, which of the following is NOT a true statement?

A: Saves the contents of variables in relation to a list line's row number.

B: The hidden variables must be output on a list line.

C: The HIDE area is retrieved when using the READ LINE statement.

😧 The HIDE area is retrieved when an interactive event is triggered.

55. Database locks are sufficient in a multi-user environment.

A: True

B: False

56. The complete technical definition of a table field is determined by the field's:

A: Domain

B: Field name

C: Data type

😧 Data element

57. In regard to LEAVE, which of the following is NOT a true statement?

A: May be used to return immediately to a calling program.

B: May be used to stop the current loop pass and get the next.

C: May be used to start a new transaction.

😧 May be used to go to the next screen.

1 REPLY 1
Read only

meikandan_krishnan2
Participant
0 Likes
1,104

34. What is output by the following code?

DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab.

itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab.

itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab.

LOOP AT itab.

SY-TABIX = 2.

WRITE itab-letter.

EXIT.

ENDLOOP.

<b>A: A</b>

B: A B C D

C: B

😧 B C D

35. To select all database entries for a certain WHERE clause into an internal table in one step, use

<b>A: SELECT_INTO TABLE itab_</b>

B: SELECT_INTO itab_

C: SELECT_APPENDING itab

😧 SELECT_itab_

36. After a successful SELECT statement, what does SY-SUBRC equal?

<b>A: 0</b>

B: 4

C: 8

😧 Null

37. This selection screen syntax forces the user to input a value:

A: REQUIRED-ENTRY

<b>B: OBLIGATORY</b>

C: DEFAULT

😧 SELECTION-SCREEN EXCLUDE

38. If the following code results in a syntax error, the remedy is:

DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1

WITH HEADER LINE.

itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab.

itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab.

SORT itab.

LOOP AT itab.

write: /1 itab-field1, itab-field2.

ENDLOOP.

A: There is no syntax error here

<b>B: Remove the SORT statement</b>

C: Change INSERT to APPEND

😧 Add a WHERE clause to the loop

39. If this code results in an error, the remedy is:

SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3.

WRITE: /1 tab1-fld1, tab1-fld2.

ENDSELECT.

A: Add a SY-SUBRC check.

B: Change the WHERE clause to use fld1 or fld2.

C: Remove the /1 from the WRITE statement.

<b>D: Add INTO (tab1-fld1, tab1-fld2).</b>

40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number.

A: True

<b>B: False</b>

41. To allow the user to enter values on the screen for a list field, use:

A: OPEN LINE.

B: SET CURSOR FIELD.

C: WRITE fld AS INPUT FIELD.

<b>D: FORMAT INPUT ON.</b>

42. Before a function module may be tested, it must first be:

A: Linked

B: Authorized

C: Released

<b>D: Active</b>

43. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data declaration for the field?

A: PBO module include program

<b>B: TOP include program</b>

C: PAI module include program

😧 Subroutine include program

44. If a table contains many duplicate values for a field, minimize the number of records returned by using this SELECT statement addition.

A: MIN

B: ORDER BY

<b>C: DISTINCT</b>

😧 DELETE

45. The system internal table used for dynamic screen modification is named:

A: ITAB

<b>B: SCREEN</b>

C: MODTAB

😧 SMOD

46. Within the source code of a function module, errors are handled via the keyword:

A: EXCEPTION

<b>B: RAISE</b>

C: STOP

😧 ABEND

47. Which system field contains the contents of a selected line?

A: SY-CUCOL

B: SY-LILLI

C: SY-CUROW

<b>D: SY-LISEL</b>

48. The following statement writes what type of data object?

WRITE: /1 'Total Amount:'.

<b>A: Text literal</b>

B: Text variable

C: In-code comment

😧 Text integer

49. For the code below, second_field is of what data type?

DATA: first_field type P, second_field like first_field.

<b>A: P</b>

B: C

C: N

😧 D

50. Which of the following describes the internal representation of a type D data object?

A: DDMMYYYY

B: YYYYDDMM

C: MMDDYYYY

<b>D: YYYYMMDD</b>

51. A BDC program is used for all of the following except:

<b>A: Downloading data to a local file</b>

B: Data interfaces between SAP and external systems

C: Initial data transfer

😧 Entering a large amount of data

52. In regard to PERFORM, which of the following is NOT a true statement?

A: May be used within a subroutine.

B: Requires actual parameters.

<b>C: Recursive calls are allowed in ABAP.</b>

😧 Can call a subroutine in another program.

53. What is the transaction code for the ABAP Editor?

A: SE11

<b>B: SE38</b>

C: SE36

😧 SE16

54. In regard to HIDE, which of the following is NOT a true statement?

A: Saves the contents of variables in relation to a list line's row number.

<b>B: The hidden variables must be output on a list line.</b>

C: The HIDE area is retrieved when using the READ LINE statement.

😧 The HIDE area is retrieved when an interactive event is triggered.

55. Database locks are sufficient in a multi-user environment.

<b>A: True</b>

B: False

56. The complete technical definition of a table field is determined by the field's:

<b>A: Domain</b>

B: Field name

C: Data type

😧 Data element

57. In regard to LEAVE, which of the following is NOT a true statement?

A: May be used to return immediately to a calling program.

<b>B: May be used to stop the current loop pass and get the next.</b>

C: May be used to start a new transaction.

😧 May be used to go to the next screen.