Showing posts with label ABAP Data Objects. Show all posts
Showing posts with label ABAP Data Objects. Show all posts

ABAP Certification - SAP NetWeaver Associate



SAP ABAP Certification - Associate Developer


SAP Classical Screens


1.   Which of the following is correct:
A. The screen attributes can be modified in the PROCESS AFTER  INPUT event block.
B. The screen attributes can be modified in the PROCESS SHORE OUTPUT event block .
C. The screen attributes can be modified in the PROCESS BEFORE OUTPUT and
PROCESS AFTER INPUT event blocks.
D. None of the above


Correct answer: B




2.   The static sequence of the default next screen can be established by the value
in the screen attribute next screen."
A. True
B. False

Correct answer: A


 3.            If you enter the value "0" or blank(" ")as the next screen, then the system resumes processing from the point at which the screen was initiated, assuming the next screen attribute is overridden dynamically in the program.
A. True
B. False

Correct answer: A


4.            The next screen attribute can be temporarily overwritten by the set screen statement, that is, SET  SCREEN  200.
A.True
B. False

Correct answer: A


5.            The FIELD statement does not have any effect in the PBO event block, and it should not be used in the PBO event block.
A. True
B. False


Correct answer: A


6.  The FIELD statement with the ON  INPUT addition is used to conditionally call the ABAP dialog module. The ABAP dialog module is called if the value of the screen field is other than the initial value.
A. True
B. False

Correct answer: A


7.            The FIELD statement with the ON   REQUEST addition calls the ASAP dialog module if any value is entered in the screen field.
A. True
B. False

Correct answer: A


8.                            You can call a module for the FIELD statement to validate user entry on the input field. You can validate the entry on the input field and send an error or a warning message from an ABAP dialog module.
A. True
B. False


Correct answer: A


9.   If an error or warning message is sent from the ASAP dialog module for the FIELD statement within the CHAIN and ENDCHAIN  statements  then all of the fields within CHAIN and ENDCHAIN are ready for user input again.

A. True
B.False


Correct answer: A


10.  The user interface consists of the GUI status and GUI title.
A. True
B.False

Correct answer: A



11. A menu bar can have at most 10 menus.
A. True
B.False

Correct answer: B



12.  The application toolbar can have up to _ buttons on the screen.
A. 20
B.30
C.10
D.35
E. None of the above


Correct answer: D



13.  A men u ca n have up to _ men u items on the screen including functions separators and submenus.
A.15
B. 10
C. 15
D. None of t he above

Correct answer: A

ABAP Certification for developer - Associate Certification



SAP ABAP certified associates  - Netweaver


ABAP Unicode 


1.            Unicode checks can be made:
A. I n any system (after Release 6.10) by specifying the program has Unicode checks active
B. By running Transaction UCCHECK
C. Only in a Unicode system or as part of a conversion to a Unicode system
D. Cannot be enforced

Correct answers: A. B



2.            Memory requirements a re identical in a non Unicode system and in a Unicode system.
A. True
B. False

Correct answer: B



3.            A difference between a Unicode and non-Unicode program is:
A. Byte type data objects cannot be assigned to character-type data objects.
B. Byte type da ta objects cannot be compared to character-type data objects.
C. Offset positioning in a Unicode structure is restricted to character data objects.
D. Offset positioning in a Unicode structure is restricted to nat data objects.

Correct answers: All options



4.            Two structures in Unicode programs are only compatible i f all alignment gaps a re identical on all platforms.
A. True
B. False

Correct answer: A



5.            The enhancement category for a database table or structure:
A. Makes a table Unicode compliant
B. Specifies  the types of changes that can be made to the structure
C. Can produce warnings at incompatible points for the structure
D. Can identify where program behavior may change

Correct answers: B, C, D



6.            In a Unicode system when opening a file in TEXT MODE you must specify:
A. The E NCODING addition
B. The byte order
C. The code page

Correct answer: A



7.            In a non-Unicode system when opening a file in TEXT MODE you should specify:
A. The ENCODING addition
B. The byte order
C. The code page


Correct answers: B, C

ABAP Certification Associate Developer - SAP


SAP ABAP Developer Certification - NetWeaver

ABAP Debugging



1.    A Transparent table can include a deep structure.
A. True
B. False

Correct answer: B

2.    ABAP data types can be used for a domain definition.
A. True
B. False

Correct answer: B


3.    Which of the following statements are true?
A. A conversion routine can be assigned to a domain.
B. A conversion routine ca n be assigned to a data element.
C. You define the value range in tl1e data element.
D. You can enter documentation for the data element  in the ABAP Dictionary.

Correct answers: A, D


4.    F1 Help on the screen field displays the data element documentation.
A. True
B. False

Correct answer: A


5.    Which of the following are true statements?
A. The technical attributes of the data clement ca n be defined by a domain, that is, the data type, the field length, and the number of decimal places.
B. You ca n also select predefined  data types to define the data type of the data element.
C. Reference data types can be used to define the data type of the data element.
D. Field labels are defined for the domain .

Correct answers: A, B, C


6.            You can define search helps and parameter lDs for a data element.
A. True
B. False

Correct answer: A



7.            The line type for a table type can contain a flat, nested or deep structure.
A. True
B. False

Correct answer: A


8.            Which of the following are true statements?
A. Table fields ca n be assigned to a data element.
B. Table fields can be assigned to an ASAP Dictionary data type directly.
C. Search helps can be defined for a table field that is assigned  to a pre­defined data type.
D. A reference table and field are required for fields with the data types OUAN
and CURR.

Correct answers: A, B, D


9.            Which of the following is a true statement  regarding search helps?
A. You can use a maintenance view for the search help selection method.
B. You can use a database view for the search help selection method.
C. Help views can also be used for the selection method for search help.
D. You can use transparent  tables for the search help selection method .


Correct answers: B, C, D


10.  Which of the following regarding search helps is a t rue statement?
A. The interface for the search help is defined by the IMP (import) and EXP (export) flag of the search help parameter.
B. The LPos parameter defines the position of the search help parameter in the search hit list.
C. The SPos parameter defines the position of the input field on  the dialog
screen.
D. The text table for the selection method is automatically populated  if the text  table is attached  to  the  database  table  being  used as  the  selection method.

Correct answers: A, B, C, D



11.  Which of the following are true statements?
A. A database view is implemented as an inner join.
B. A maintenance view is implemented as an outer join.
C. A database view is implemented as an outer join.
D. A maintenance view is implemented as a n inner join.

Correct answers: A, B



12.  Which of the following are true statements?
A. The tables  included  in the maintenance  view should  have foreign  key relationships.
B. The tables included in the help view should have a foreign key relationship.
C. Projection views can have more than one table included for the view definition.
D. You cannot use a pooled or cluster table for database view.

Correct answers: A, B. D



13.  You can create projection views for pooled or cluster tables.
A. True
B. False


Correct answer: A


ABAP Certified Associate Developer - SAP


ABAP Certification - Associate Developer

Basic ABAP


1.    ABAP is a programming language that:
A. Executes on all three levels of the three tier architecture
B. Controls the business logic
C. Processes and formats data
D. Interacts with the user
E. Separates program code from language text

Correct answers: B. C.D, E

2.    Which events can exist in all types of programs that actually contain executable statements?
A. LOAD-OF-PROGRAM
B. INITIALIZATION
C. START-OF-SELECTION
D. AT LINE SELECTION
E. AT USER COMMAND
F. AT PF##

Correct answer: A


3.    Dynpros can be placed in which program types?
A. Executables
B. Module pools
C. Function groups
D. Class pools

Correct answers: A, B.C


4.    A change request is part of a task?
A. True
B. False

Correct answer: B


5.    Which statements about ABAP are true?
A. Each statement must begin with a keyword.
B. Each statement must end with a period.
C. ABAP keywords and additions must be in uppercase.

Correct answer: B


6.    A development object can be assigned to only one package.
A. True
B. False

Correct answer: A

7.    A development object can be assigned to only one change request.
A. True
B. False

Correct answer: B

8.    Each ABAP program:
A. Is divided into processing blocks
B. Assigns every executable statement to a processing block regardless of it being in a processing block
C. Only assigns executable statements in a processing block to a processing block
D. Uses event blocks to trigger events i n ABAP
E. Has declarative statements outside of processing blocks which are considered local
F. has declarative statements inside of processing blocks which are considered local
G. Can be tested from the ABAP Work bench by pressing F8

Correct answers: A. B.F


9.    Which modularization units can raise an exception?
A. Function modules
B. Methods
C. Subroutines (FORM routines)

Correct answers: All options


10. Which types of programs or parts of programs can be tested directly from the ABAP Workbench or ABAP Editor'
A. REPORT
B. PROGRAM
C.FUNCTION-POOL
D. FUNCTION MODULE
E.CLASS -POOL
F. METHOO
G. INTERFACE POOL
H. TYPE POOL
I. INCLUDE

Correct answers: A, D, E,F

11.  Which method of passing parameters is preferred for its performance?
A. Pass by reference
B. Pass by value

Correct answer: A

12.  Which modularizations units are global?
A. Function modules
B. Subroutines (FORH routines)
C. Methods within a local class in the program
D. Methods within class pools

Correct answers: A. D

13.  FORM routines (subroutines) can be used in which type of program:
A. Executables
B. Module pools
C. Function groups
D. Class pools
E. Interface pools
F. Subroutine pools
G. Type groups

Correct answers: A, B, C, F


14. You can use the logical expression  IS SUPPLIED for any formal parameter passed to which modularization unit?
A. Subroutine (FORM routine)
B. Function module
c. Static method
D. Instance method

Correct answers: B, C, D

15. A selection screen ca n only be defined in an executable program.
A. True
B. False

Correct answer: B

16. Subroutines provide which types of parameters?
A. Input
B. Output
C. Input/output (changing)
D. Return values
E. Exceptions

Correct answers: C, E


17. Function modules provide which types of parameters?
A. Input
B. Output
C. Inputt/output (changing)
D. Return values
E. Exceptions

Correct answers: A, B, C, E


18. Methods  provide which types of parameters?
A. Input
B. Output
C. Input/output (changing)
D. Return values
E. Exceptions

Correct answers: All options


19. It is not possible to test a function module if another function module of the same function group contains a syntax error.
A. True
B. False

Correct answer: A


20.  Each button  on a Dynpro  (screen) requires  the assignment  of a function code. This function code:

A. Is used to define global variables that receive a value when the button is clicked
B. Can be used to identify when the button is clicked by looking for the function code in the screen's OK_CODE field
C. Prevent the function code from be assigned to a menu item

Correct answer: B

21. Which message types behave the same regardless of the context  in which they are called?
A. A
B.E
C. I
D. S
E.W
F.X


Correct answers: A, F

ABAP Certification - SAP Questions and Answers


ABAP Certification - Developer Associate Certification

SQL Statements



1.   Update tasks are the only method of making changes to the database.

A. True
B. False
Correct answer: B


2.   Which statement is true?
A. A database LUW must be placed within an SAP LUW.
B. A SAP LUW must be placed within a database LUW.

Correct answer: B

3.  Which actions release a data base lock?
A. COMMIT  WORK
B.ROLLBACK WORK
C. The display of an SAP screen
D. The display of a dialog message type E
E. The display of a dialog message type A
F. ENOUEUE_<lock_object>
G.DEQUEUE_<Iock_object>
H. A call to a function module
I.A CALL TRANSACTION
J. A SUBMIT
K. An /n in the command field

Correct answers: A, B. C. D, E. I. J, K

4.   Which actions release a lock object (with a default value for _SCOPE)?
A. COMMIT  WORK
B.ROLLBACK WORK
C. The display of an SAP screen
D. The display of a dialog message type E
E. The display of a dialog message type A
F.  ENOUEUE_<lock_object>
G. DEOUEUE_<lock_object>
H. A call to a function module
I. A CALL TRANSACTION
J. A SUBMIT
K. An “/n” in the command field

Correct answers: A, B, E. G,  K


5.    How can you implement a table join other than the using the JOIN statement? (Fill in the blank.)

Correct answer: A database view

6.    The data buffered on each application server is:
A. Always the same
B. Never the same
C. Depends on the users

Correct answer: C


7.    The target structure of a SELECT statement requires the field names to match the columns selected and to be in the same left-justified order.

A. True
B. False

Correct answer: B

8.    When is an ENDSELECT not required for a select? 
A. When the FROM is a view
B. When you specify a join of tables
C. When you do a SELECT SINGLE
D. When you specify into a table
E. When you specify appending a table

Correct answer: C. D.E

9.    The database always uses the primary key when the WHERE clause contains any of the key fields.
A. True
B. False

Correct answer: B


10.  Open SQL does not allow you to specify a secondary index during a SELECT.
A. True
B. False

Correct answer:A


11.   You should  always  buffer  data base  tables  that  contain  fewer  than  100 records.
A. True
B. False

Correct answer: B

12. Buffering data can speed up access to data up to 100 times when compared to reading it from the database.
A. True
B. False

Correct answer: A


13. All Open SQL commands allow processing on multiple rows.
A. True
B. False

Correct answer: A


14. The _WAIT  para meter of a lock object waits for the lock to be successful.
A. True
B. False

Correct answer: B

15. Is recommended  to place the COMMIT  WORK in the update Task.
A. True
B. False

Correct answer: B

16. It is possible to PERFORM  <subroutine> ON COMMIT in an update TASk.
A. True
B. False

Correct answer: A


17.  The correct steps  for using a lock object is:
A. Read the data, set the lock, change the data. release the lock
B. Set the lock, read the data, change the data, release the lock
C. Set the lock, read the data, release the lock, change the da ta

Correct answer: B


18. Local update tasks are quicker because they stay within the same work process.
A. True
B. False

Correct answer: B

19. V1 update tasks are always non-restartable, whereas V2 update tasks are always restartable.
A. True
B. False

Correct answer: B


ABAP Certification - Internal Tables


Certified Development Associate ABAP

Internal Tables - ABAP



1.   How many kinds of internal table are supported in the ASAP language?
A. 2
B. 3
C. 1
Correct answer: B



2.    Which of the following statements are true? There can be more than one
true statement.
A. Standard tables can be accessed by index.
B. Standard tables cannot be accessed by index.
C. A sorted table is always accessed by a unique key.
D. Hashed tables are always accessed by index.
E. Hashed tables are accessed by a unique key.
Correct answers: A, E


3. The OCCURS statement is required to define an internal table with a header line.
A. True
B. False

Correct answer: B


4.   You can use the APPEND statement to fill a sorted internal table.
A. True
B. False

Correct answer: B

5. You cannot use the INSERT statement to insert lines into a standard internal table.
A. True
B. False

Correct answer: B


6. You can use a table with a header line for object-oriented  programming.
A. True
B. False
Correct answer: 8


7. An internal table line type with a deep or nested structure ca n be defined for internal tables with a header line.
A. True
B. False
Correct answer: B


8. Internal tables can not have a deep or nested structure in their line type.
A. True
B. False
Correct answer: B


9. The READ statement with the addition BINARY  SEARCH for a sorted  internal table is better  for performance.
A. True
B. False
Correct answer: B


10. The READ statement with the BINARY SEARCH addition cannot be used for a sorted internal table.
A. True
B. False
Correct answer: B


11. The BINARY SEARCH addition ca n not be used with the READ statement for the
HASHED table.
A. T rue
B. False
Correct answer: A

12.   Which of the following is a true statement:
A. A sorted table ca n have unique or a non-unique key.
B. A standard table should always have unique key.
C. A hashed table should always have unique table key.

Correct answers: A, C


13. You can empty the body of the internal table ITAB with a header line using the CLEAR   ITAB statement.
A. True
B. False

Correct answer: B


14. You can modify an internal table by using the UPDATE statement..
A. True
B. False

Correct answer: 8


15. Internal tables can also be modified after executing the READ statement with the addition ASSIGNING.
A. True
B. False

Correct answer: A


16. You cannot use a SORT statement for a sorted internal table.
A. True
B. False

Correct answer: A



ABAP Certification Associate Developer - 

ABAP Data types and Data Objects


1.            Data types store data and occupy memory.
A. True
B. False

Correct answer: B


2.            A data object is concretely defined by means of data type and occupies memory. It contains data with which ABAP programs work at runtime.
A. True
B. False

Correct answer: A


3.            The predefined data types are defined locally in the ABAP program.
A. True
B. False

Correct answer: B


4.            The default length of the type C data type is:
A.1
B. 10
C.  1-65535

Correct answer: A


5.                            If data objects of type I are being used to store the result of a calculation, the decimals will be truncated.
A. True
B. False

Correct answer: B



6. The default length of the type P data type is:
A. 8
B. 1
C. 1-16

Correct answer: A


7. A variable-length structure is called:
A. Nested structure
B. Deep structure
C. Flat structure

Correct answer: B


8.            Local data objects can be defined using ABAP Dictionary types.
A. True
B. False

Correct answer: A


9.            Global data types defined in SAP systems arc:
A. Data defined in the program  that is visible to the all the routines/statements within the ABAP program
B. ASAP Dictionary types
C. Date types defined in the program using A8AP Dictionary types

Correct answer: B


10. Which of the following are incorrect statements:
A. TYPES : carrid_ty LIKE spfli-s_carr_id .
B.TYPES: we r k s TYPE C LENGTH 4 .
C. TYPES: date_ty TYPE LENGTH 10 .
D. TYPES: Str TYPE STRING   LENGTH 20 .

Correct answers: C. D


11. What is the result of the following arithmetic operation.
DATA:  int TYPE  I.
int = 5*13/10 .
A.1
B.2
C. 1.5
D.0

Correct answer: D


12.   What is the result of the following arithmetic operation?

DATA  :
Int  TYPE  I,
int = -5/10 .
A. 1
B. . 5
C. 0

Correct answer: A