0% found this document useful (0 votes)
93 views6 pages

Q Ans

The document contains questions about e-learning topics related to ABAP and Unicode systems. It asks about the benefits of moving from a non-Unicode to a Unicode system, how to modify an OPEN DATASET statement to run a program on a Unicode system, why a line of code accessing a structure field does not work as expected on a Unicode system, how to control output characteristics using the SAP ALV grid control field catalog, and how to respond to the DOUBLE_CLICK event of the CL_GUI_ALV_GRID class.

Uploaded by

amaya100100
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views6 pages

Q Ans

The document contains questions about e-learning topics related to ABAP and Unicode systems. It asks about the benefits of moving from a non-Unicode to a Unicode system, how to modify an OPEN DATASET statement to run a program on a Unicode system, why a line of code accessing a structure field does not work as expected on a Unicode system, how to control output characteristics using the SAP ALV grid control field catalog, and how to respond to the DOUBLE_CLICK event of the CL_GUI_ALV_GRID class.

Uploaded by

amaya100100
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 6

* TOPICS

: E-Learning *

1) You are an ABAP consultant and your customer asks you to list the benefits of
moving from a Non-Unicode to a Unicode system. There is more than one correct
answer to this question. (2)
a) A Unicode System Can Support Users of Different Cultures.
b) A Unicode system automatically translates between different cultures.
c) A Unicode system needs less database storage space.
d) Transfer Of Character Data Between Two Unicode Systems From Different
Cultures Is Easier Than Between Non-Unicode Systems.
e) In Unicode systems characters are always stored using UTF-8 encoding.

2) You review an ABAP program that needs to be migrated to a Unicode system.


The program opens a data set to read a text file into an internal table. How do
you need to modify the OPEN DATASET statement so that your program will run on
a Unicode system? Please choose the correct answer.
A) Add The Extension In Binary Mode.
B) Add The Extension In Text Mode.
C) Add The Extension In Unicode Mode.
D) Use Opent Textfile Instead Of Open Dataset.
E) Use Open Unicode Instead Of Open Dataset.

3) You Review An ABAP Program That Needs To Be Migrated To A Unicode System.


Within The Program, The Two Data Objects City And Member Are Declared In The
Following Way:
DATA City (20) TYPE C.
DATA: BEGIN OF Member,
First name (20) TYPE C,
Age TYPE I,
City (20) TYPE C,
END OF Member.
The Program Contains the Following Line: City = Member+44(20). Why Does This Line Not
Work As Expected? Please Choose The Correct Answer.
a) Because the syntax is incorrect.
b) Because the fragment view of member contains non-character data.

c) Because You Can Not Read Beyond Non-Character Data Within A Structure
Using The Offset Notation.
d) Because an integer has 8 bytes.

4) Which of the following can you Control Using the Field Catalog of a Sap Alv Grid
Control? There Is More Than One Correct Answer To This Question. (3)
A) Set The Output Characteristics Of A Column, Such As The Column Position Or
Width.
B) Influence The Format Properties Of Column Contents, Such As The Number Of
Decimal Places Or The Alignment Of The Content Of A Cell.
C) Output The List In A Striped Pattern.
D) Specify The Colors Of The List Rows.
E) Hide The List Columns.

5) In global class CL_GUI_ALV_GRID that is delivered by SAP, the DOUBLE_CLICK


event is defined, which is triggered when a cell in the list is double-clicked. You
have written a program in which data is displayed in a list using class
CL_GUI_ALV_GRID. What do you have to do in your program to respond to the
event? There is more than one correct answer to this question. (3)
A) Create Your Own Handler Class.
B) Write A Handling Method For The Event.
C) Capture The Event With The Catch Statement.
D) Register On The Event Using The Set Handler Statement.

6) You want the system to output a list in the program using the SAP ALV grid
control. In which order do you have to carry out the following steps in the
program to achieve this? Please choose the correct answer.
a) CREATE CUSTOM CONTAINER AREA,
CL_GUI_CUSTOM_CONTAINER..
CL_GUI_ALV_GRID,
SET_TABLE_FOR _FIRST_DISPALY.
b) CL_GUI_CUSTOM_CONTAINER..
CL_GUI_ALV_GRID,
CREATE CUSTOM CONTAINER AREA,
SET_TABLE_FOR _FIRST_DISPALY.

c) SET_TABLE_FOR _FIRST_DISPALY.
CL_GUI_CUSTOM_CONTAINER..
CL_GUI_ALV_GRID,
CREATE CUSTOM CONTAINER AREA
d) CL_GUI_ALV_GRID,
CL_GUI_CUSTOM_CONTAINER..
SET_TABLE_FOR _FIRST_DISPALY.
CREATE CUSTOM CONTAINER AREA,

7) You like to create a list with the global class CL_GUI_ALV_GRID. In this class the
event DOUBLE_CLICK is defined, in that way that if a user makes a double click
with his mouse on the list, the event would be raised. In your case every time the
user makes a double click on the list a popup should appear which shows the
number of the line on which has been double clicked. What do you have to do
therefore? There is more than one correct answer to this question (2)
A) Define A Local Class In Which The Event DOUBLE_CLICK Is Redefined And Raised.
B) Write a Handler method for the event DOUBLE_CLICK of the class
CL_GUI_ALV_GRID, Which calls the popup.
C) Catch The Event DOUBLE_CLICK With The CATCH Statement Under Which The Popup Call
Is Implemented.
D) Register for the event DOUBLE_CLICK by using the statement SET HANDLER.

8) In the following, Sap provides two ways to add tables and structures to fields?
There is more than one correct answer (2)

a) Append structure
b) Customizing include
c) Append include
d) Customizing Structure

9) In the following, while updating database you can update? Please choose
the correct answer.
a) Only single records
b) Only several records
c) Both single and several records
d) None of the above

10) When a program is called, you cannot pass data through? Please choose
the correct answer.

a) Call interface
b) Sap memory
c) Abap memory
d) Internal table

11) What is the result of a list output in a non-unicode system, and what is the
result in a Unicode system?
DATA field (5) TYPE c VALUE ABCDE. Write field +1(4)?
Please choose the correct answer.
a) ABCD
b) BCDE
c) ABCDE
d) CDEAB

12) For which of the following predefined data types should you use the original
variants of the standard string processing statement or the optional IN CHAR
MODE addition?
Please choose the correct answer.
a) D,X,N,String
b) C,X,N,String
c) D,C,T,N,String
d) D,T,Xsring

13) Identify the only method found in class CL_GUI_CUSTOM_CONTAINER? Please


choose the correct answer.
a) Destructor
b) Class
c) Constructor

d) Refresh

14) What is the effect of translate statement on the string andaman for the
character a to c. Please choose the correct answer.
a) cndaman
b) cndcmcn
c) cndcman
d) cndamcn

15) What is the concept underlying the sap-luw? Please choose the correct
answer.
a) All principle
b) All and nothing principle
c) All or nothing principle
d) None of the above

16) In the following, which is the complete data type? Please choose the correct
answer.
a) I, f, d, t
b) I, f, d, t, string, xstring
c) P, n, x

d) C, I, p

17) In which dictionary can you create a global structure? Please choose the
correct answer.
a) In the data dictionary
b) In the abap dictionary
c) In the sap dictionary
d) None of the above

18) For which of the following predefined data types should you use the
new compare operators BYTE-CO, BYTE-CA for compares? Please choose the
correct answer.

a) String, c
b) X, string
c) X, XString
d) C, N

19) In the following which method can be used to pass the list data, the
field catalog, and other additional information to the representative
instance? Please choose the correct answer.
a) set_table_first_display
b) set_table_for_first_display
c) set_first_table_for_display
d) get_table_for_first_display

20) For an event handler method to react to a triggered event, you


must define at runtime the trigger to which it should react. Which of
the following statement links a list of handler methods with the event
triggers? Please choose the correct answer.
a) Get handler
b) Set handler
c) Event handler
d) All are wrong

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy