ABAP Programming Fundamentals

Test your knowledge of SAP ABAP programming language including data types, internal tables, select options, string manipulation, and SAP-specific features like ITS and Pretty Printer.

17 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the operator to specify the continuation of line

  1. -
  2. &&
  3. &
  4. _&
Question 2 Multiple Choice (Single Answer)

Data: itab type table of but000. (BP number is a primary key)

  1. In the itab you can store more than one same BP number
  2. The internal table also treats the primary key in the same way.
  3. All the above
  4. None of the above
Question 3 Multiple Choice (Single Answer)

WRITE: / 'This is John' 's bicycle'.

  1. This is John''s bicycle
  2. This is John's bicycle
  3. Error
  4. 1 or 2
Question 4 Multiple Choice (Single Answer)

How to initialilze a variable irrespective of the data type

  1. Use statement CLEAR
  2. Var = 0.
  3. initialize var.
  4. VALUE is INITIAL
Question 5 Multiple Choice (Single Answer)

how many size categories are available in tables?

  1. 0 to 3
  2. 0 to 5
  3. 0 to 2
  4. 0 to 4
Question 6 Multiple Choice (Single Answer)

What is Pretty Printer Job

  1. Indent your program
  2. Send your program to printer
  3. Print Preview
  4. All the above
Question 7 Multiple Choice (Single Answer)

ITS means

  1. Internet Transformation Server
  2. Interchange Transaction Server
  3. Internet Transaction server
  4. International Transaction Server
Question 8 Multiple Choice (Single Answer)

If "Fixed point arithmetic " is set as true, then the period in which data type will be affected

  1. P
  2. F
  3. D
  4. I
Question 9 Multiple Choice (Single Answer)

Concatenation function is possible only for

  1. Strings
  2. Characters
  3. Date
  4. All the above
Question 10 Multiple Choice (Single Answer)

LOOP AT ITAB INTO LINE. ENDLOOP.

  1. a. LINE will hold the first record.
  2. b. Error
  3. c. LINE will hold the last record.
  4. d. LINE is empty.
Question 11 Multiple Choice (Single Answer)

data: a, b, c. c = 20. a = b = c. write a, b, c. What is the output for the above program?

  1. 20 20 20
  2. 0 0 20
  3. 0 20 20
  4. * * *
Question 12 Multiple Choice (Single Answer)

data: name type string value 'abap,abap.abap.abap,,abap'. Data: itab type table of string. Split name with ',' into table itab.

  1. abap abap.abap.abap abap
  2. abap abap.abap.abap abap abap
  3. abap abap.abap.abap abap
  4. abap abap. abap. Abap
Question 13 Multiple Choice (Single Answer)

what is the operator used for Select Options

  1. LT & GT
  2. GT & LT
  3. GE & LE
  4. LE & GE
Question 14 Multiple Choice (Single Answer)

DATA: NAME(10) VALUE 'SOURCE', SOURCE(10) VALUE 'Antony', TARGET(10). WRITE (NAME) TO TARGET. WRITE: TARGET. What is the output for the above program?

  1. SOURCE
  2. TARGET
  3. Antony
  4. Error
Question 15 Multiple Choice (Single Answer)

DATA: ULTIMO TYPE D. ULTIMO = SY-DATUM. ULTIMO+6(2) = '01'. ULTIMO = ULTIMO - 1. write: ultimo.

  1. 1 year lesser than current date
  2. 1 month lesser than current date
  3. 1 day lesser than current date
  4. 1 year, 1 month, 1day lesser than current date
Question 16 Multiple Choice (Single Answer)

What is the use of SIGN field in select options

  1. For telling the record is Included
  2. For telling the record is updated
  3. For telling the value is positive
  4. For telling the value is negative
Question 17 Multiple Choice (Single Answer)

What is the use of "RANGES" - a declarative keyword

  1. Used for Internal table declaration
  2. Used for Select-options declaration
  3. Used for Select-options without Selection screen
  4. Used for parameters without input screen