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.
Questions
What is the operator to specify the continuation of line
- -
- &&
- &
- _&
Data: itab type table of but000. (BP number is a primary key)
- In the itab you can store more than one same BP number
- The internal table also treats the primary key in the same way.
- All the above
- None of the above
WRITE: / 'This is John' 's bicycle'.
- This is John''s bicycle
- This is John's bicycle
- Error
- 1 or 2
How to initialilze a variable irrespective of the data type
- Use statement CLEAR
- Var = 0.
- initialize var.
- VALUE is INITIAL
how many size categories are available in tables?
- 0 to 3
- 0 to 5
- 0 to 2
- 0 to 4
What is Pretty Printer Job
- Indent your program
- Send your program to printer
- Print Preview
- All the above
ITS means
- Internet Transformation Server
- Interchange Transaction Server
- Internet Transaction server
- International Transaction Server
If "Fixed point arithmetic " is set as true, then the period in which data type will be affected
- P
- F
- D
- I
Concatenation function is possible only for
- Strings
- Characters
- Date
- All the above
LOOP AT ITAB INTO LINE. ENDLOOP.
- a. LINE will hold the first record.
- b. Error
- c. LINE will hold the last record.
- d. LINE is empty.
data: a, b, c. c = 20. a = b = c. write a, b, c. What is the output for the above program?
- 20 20 20
- 0 0 20
- 0 20 20
- * * *
data: name type string value 'abap,abap.abap.abap,,abap'. Data: itab type table of string. Split name with ',' into table itab.
- abap abap.abap.abap abap
- abap abap.abap.abap abap abap
- abap abap.abap.abap abap
- abap abap. abap. Abap
what is the operator used for Select Options
- LT & GT
- GT & LT
- GE & LE
- LE & GE
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?
- SOURCE
- TARGET
- Antony
- Error
DATA: ULTIMO TYPE D. ULTIMO = SY-DATUM. ULTIMO+6(2) = '01'. ULTIMO = ULTIMO - 1. write: ultimo.
- 1 year lesser than current date
- 1 month lesser than current date
- 1 day lesser than current date
- 1 year, 1 month, 1day lesser than current date
What is the use of SIGN field in select options
- For telling the record is Included
- For telling the record is updated
- For telling the value is positive
- For telling the value is negative
What is the use of "RANGES" - a declarative keyword
- Used for Internal table declaration
- Used for Select-options declaration
- Used for Select-options without Selection screen
- Used for parameters without input screen