Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

ABAP MOCK TEST1

1. If fixed point arithmetic is not set, what is the expected output of lv_p.
Data: lv_p TYPE P LENGTH 4 DECIMALS 4,
lv_a TYPE I,
lv_b TYPE I.

lv_a = 9.
lv_b = 2.

lv_p = lv_a / lv_b.

a) 4.5000
b) 5.0000
c) 0.0005
d) 0.0045

2. Which are not the characteristics of data type int8

a) Can have decimals


b) Can be stored in random memory address
c) Has a length of 10
d) Default value ‘00000000’
e) None of these

3. Which of the following have a default length of 1


a) I
b) F
c) C
d) N
e) X
f) P

4. DATA: lv_string  TYPE string,
      lv_string1 TYPE string.

CONCATENATE 'text ' 'text' INTO lv_string SEPARATED BY ''.

CONCATENATE `text ` `text` INTO lv_string1.

WRITE: lv_string.
NEW-LINE.
WRITE: lv_string1.
a) text text ( one space between words)
text text ( one space between words)

b) texttext ( no space between words)


texttext ( no space between words)

c) text text ( two space between words)


text text ( one space between words)

d) texttext (no space between words)


text text ( one space between words)

5. Which are valid incomplete ABAP data type declaration

a) DATA: var1 TYPE C.


b) DATA: var2 TYPE N(3).
c) DATA: var3 TYPE P LENGTH 3 DECIMALS 2.
d) DATA: var4 TYPE I.
e) DATA: var5 TYPE D LENGTH 6.
f) DATA: var6 TYPE T.
g) DATA: var7 TYPE X.

6. The Table expression could be based on which of the following?


a) Index read
b) read using a free key
c) read using a table key
d) None of the above

7. Valid functions on standard internal table

a) UPDATE
b) INSERT
c) MODIFY
d) DELETE
e) SORT
f) LOOP
g) READ

8. Which of the following declarations are valid?


9. For control-level processing to work properly, these rules must be followed ?

a) The internal table should not be sorted in the sequence of the component of the line
type.
b) The internal table cannot be modified within the LOOP statement.
c) The conditional selection of the internal table lines should not be specified for the
LOOP statement; we cannot use the WHERE addition to the LOOP statement.
d) All the above
e) None of the above.

10. The COLLECT statement works only with internal tables that have a flat structure.
a) True
b) False

11. Which are true regarding update modules?

a) Asynchronous updates allow the dialog program and update program to run separately.
b) Asynchronous update is triggered by the statement COMMIT WORK AND WAIT.
c) While waiting for the synchronous update to complete, the dialog program is in a rolled-
out state
d) To have the update modules executed locally, you must use the statement SET UPDATE
TASK LOCAL before you write the requests
e) Local update tasks are quicker because they stay within the same work process.

12. SQL expressions can be used when accessing transparent and cluster tables.
a) True
b) False

13. Which of the following statements acts as a array fetch?


a) SELECT SINGLE
b) INTO TABLE
c) APPENDING TABLE
d) All the above
e) None of the above.

14. The client field, which you do not normally specify because the _____________automatically
supplies your current client. ( not CLIENT- SPECIFIED )
a) Database interface
b) Database interpreter
c) Database optimizer
d) None of the above, we give explicitly
15. SUBSTRING ('1234567890',4,2)
a) 2345
b) 3456
c) 45
d) 56

16. We cannot attach search helps to components of this type.


a) STRING
b) RAW STRING
c) DATS
d) NUMC
e) CHAR

17. Represent DEC 15, 2 in P.


a) P(8) DECIMALS 2
b) P(7) DECIMALS 2
c) P(15) DECIMALS 2
d) P(13) DECIMALS 2

18. Can we enhance standard domains with custom fixed value?


a) True
b) False

19. The _______________is used if this data element is used to describe fields in a BAPI structure
for a BAPI definition.
a) Default Component Name
b) Parameter ID
c) Name
d) Field label
e) Parameters

20. Access mode for table type.


a) Standard
b) Sorted
c) Hashed
d) Index
e) Not specified
21. Packages are project related
a) A program always belongs to one project but it can at different times belong to
different projects and packages
b) Change requests serve as a way to distinguish between repository objects in a
logical/functional way
c) A single change request can contain multiple packages
22. Constructor event in a program is
a) Initialization
b) load-of-program
c) start-of-selection

23. Modularization helps in


a) for transparency of the program
b) to avoid implementing the entire source code again on each occasion
c) to make the code become more function oriented
d) to improve performance
e) for easy syntax check

24. All work process have the same structure:


a) True
b) False

25. Select the true statements

a)all importing parameters cannot be optional


b) all exporting parameters cannot be optional
c)All importing and exporting parameters are optional
d) Atleast one importing parameter and one exporting parameter should be there

26. Select the true statements

a) Every non-declarative statement of an ABAP program has/is to be part of a processing


block
b) Processing blocks/modularization units cannot be separated or nested
c) Modularization units do not use the data objects of the calling program directly
d) Subroutines don’t use import and export parameters

27. Select the true statements


a) An instance is an administrative unit that combines SAP system components that provide
one or more services. Now choose the right answers:
b) requires Atleast on dialog work process
c) it runs on one physical server but there can be multiple instances on one physical server
d) each instance has one buffer area for its own
e) always has exactly one dispatcher

28. The difference between SAP basis and SAP netweaver is that the platform has become a web
server
a) True
b) False
29. The dispatcher handles communication with external systems to establish a link between the
user logged on and the work process
a) True
b) False

30. We can fetch the access key for a user/developer for the first time from
a) DEVACCESS
b) DVACCESS
c) ACCESSDEV
d) Not possible

31. Types of workbench tasks


a) development/correction tasks and repair tasks
b) development and repair/correction tasks
c) development and correction tasks

32. Switching from New debugger to Classic debugger while running in kernel of the application
server will cause the runtime error:
a) RPERF_ILLEGAL_COMMAND
b) RPERF_ILLEGAL_STATEMENT
c) RPERF_ILLEGAL_REQUEST
d) RSPF_ILLEGAL_COMMAND

33. One of the reason we cannot use non-exclusive mode in debugging is because we cannot use
select as it involves commit and inconsistent datasets can occur in the database
a) True
b) False

34. How many predefined desktops are there in debugging


a) 12
b) 11
c) 8
d) 3
e) 4

35. Two system variables found at the right of the program information while debugging are
a) sy-tabix
b) sy-index
c) sy-count
d) sy-subrc

You might also like