ABAP考题和答案

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

一、选择题(每题2分,多选题选择不全得1分,选择有错误项不得分)
1 of 25 What is the value of result after the following code is executed
DATA: result TYPE I.
result = 5 / 10.
result = 2
result = 1
result = .5
result = 0
2 of 25 Which use of the FORM statement works successfully when passing IT to FORM
Types: Begin of line,
...
End of Line.
Types IT_LINE Type Standard table of line.
Data IT TYPE IT_LINE.
Perform FORMA using IT
FORM FORMA Using P_IT type IT_LINE
FORM FORMA Using P_IT like IT_LINE
FORM FORMA Using P_IT like LINE
FORM FORMA Using P_IT like LINE
3 of 25 What is the effect of the Move-corresponding between 2 fields strings in the following
code
Data: begin of fs1,
Field1 type c value ‘1’,
Field2 type n value ‘2’,
Field3 type I value 3,
end of fs1.
Data: begin of fs2,
Field3 type c,
Field4 type n,
Field5 type I,
end of fs2.
Move-Corresponding fs1 to fs2
fs2-field3 = 3
All fields of fs1 are moved to fs2
fs2-field3 = 1
fs2-field5 = 3
4 of 25
What Function is used to display the ALV Grid Control
REUSE_ALV_LIST_DISPLAY
ALV_TABLE_CREATE
REUSE_ALV_GRID_DISPLAY
ALV_GRID_DISPLAY
5 of 25 Identify the one field that is not always displayed in the debugger
SY-DBCNT
SY-SUBRC
SY-LISEL
SY-TABIX
What is true about the syntax of ABAP
6 of 25
Multiple statements are not allowed in a single line
Comments begin with a single quotation sign
Statements must fit on one line
Words must always be separated by at least one space
7 of 25 What does the following statement mean write ‘Hello’(001)
Write 'Hello'(001)
Add the variable 'Hello' to message 001
Write out 'Hello' and the contents of text element 001
This is not a valid statement
If Text Element 001 is not in your login language, then 'Hello' is displayed
8 of 25 Identify the internal table types
(More than one answer is correct)
Standard
Indented
Sorted
Hashed
Key
9 of 25 Refer to the following code. What is the value of Field1 and Field2
SPLIT 'SAPDOMAIN' AT 'DO' INTO FIELD1 FIELD2.
Field1 contains 'SAP', Field2 contains 'MAIN'
Field1 contains 'DO', Field2 contains 'DOMAIN'
Field1 contains 'SAPDO', Field2 contains 'MAIN'
What is the development class for local objects
10 of 25
Z00
Blank
Local
11 of 25
Where are local data types defined
ABAP Workbench
Dictionary
In ABAP Programs
12 of 25
What program type can be executed directly
Function Group
Include
Class
Which addition to the Parameters statement is not valid
13 of 25
Default
Like
Value
What is the ALV Grid Control
14 of 25
It is a generic tool for displaying lists in screens
It is a link control tool to Query and Quickviewer
It is a data collection tool
15 of 25
Identify the valid statement
Constants: C1(4) type D.
Constants: C1(4) type C value 'ABCD'.
Constants: C1(4) type C like itab-booking.
16 of 25 Which statements allow you to define data in your ABAP program
(More than one answer is correct)
Data
Parameters
Tables
Selection-Screen
Class
17 of 25 If you want the debugger to stop when the value of ‘Fielda’changes. Which option
would you set in the debugger
WatchPoint
Overview
Fields
Object
18 of 25 What is the result of the following date calculation? Assume current date is 20001220
Data: Today(8) type C.
Today = sy-datum.
Today = 10.
10001220
20011210
20001220
10
19 of 25 In what case are optional parameters allowed in the passing of parameters
Forms
Both
Functions
Neither
20 of 25
ANSI SQL
ISO 900 SQL
OPEN SQL
Native SQL
21 of 25
Sorted
Keyed
Hashed
Standard
22 of 25
10 Report rpgm1
20 data: fielda type c value ‘A’,
30 fieldb type c value ‘B’.
40 write: / fielda,
50 new-page.
60 write: / fieldb
70 top-of-page.
80 write: / 'This is the title'.
80, 40, 50, 80, 60
40, 80, 50, 80, 60
40, 50, 60, 70, 80
23 of 25
REPORT ZPGM NO STANDARD PAGE HEADING.
DO 8 TIMES.
WRITE / ' '.
ENDDO.
SKIP.
WRITE 'AAAA'.
2
9
10
1
What can be assigned directly to a data element
24 of 25
check table
built-in type
domain
table field
table type
Identify the basic objects of the data Dictionary.
25 of 25
Domains
Data Elements
Tables
Data Models
Documentation
二、简答题
1、写出四个ABAP的事件(5分)
2、写出10个你知道的Tcode,并用一句话写出其功能(5分)
3、试描述透明表、数据元素、域、数据类型之间的关系(10分)
4、创建一个透明表和一个结构各分什么步骤?(10分)
5、列出三种内表的名称,每个的适用范围。

写出10个关于操作内表的关键字(20分)。

相关文档
最新文档