高频常见abap面试题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
abap
1. What is the typical structure of an ABAP program? //ABAP程序的基本结构是什么?
2. What are field symbols and field groups.? Have you used "component idx of structure" clause with field groups?
在ABAP/4 程序中,字段符号是现有字段的占位符。字段符号本身不直接为字段保留空间,而只是指向一个字段(该字段在程序运行前还未可知)。字段符号可以与程序语言C 中的指针概念相比较(即,用内容操作符* 表示的指针)。然而,在ABAP/4 中,从变量的意义上说,与指针不是真正等价的,此处,变量包含内存地址,并且不用内容操作符即可使用。您只能使用字段符号指向的数据对象。
将摘录记录定义为字段组
摘录数据集由一系列记录组成。这些记录可以有不同的结构。所有具有相同结构的记录形成一个记录类型。必须使用FIELD-GROUPS 语句将摘录数据集的每个记录类型定义为字段组。
语法
FIELD-GROUPS .
该语句定义了字段组。字段组将几个字段组合到一个名称下。
字段组不为字段保留存储空间,但它包含现有字段的指针。用记录填充摘录数据集时,这些指针将决定存储记录的内容。
3. What should be the approach for writing a BDC program? //写BDC程序的一般步骤是什么定义一个内表:字段名与字段值,然后把BDC要输入的数据传输到内表中,然后call transaction并传输内表
4. What is a batch input session?
5. What is the alternative to batch input session?
6. A situation: An ABAP program creates a batch input session. We need to submit the program and the batch session in background. How to do it?
7. What is the difference between a pool table and a transparent table and how they are stored at the database level?
8. What are the problems in processing batch input sessions? How is batch input process different from processing on line?
9. What do you define in the domain and data element? //如何定义domain和element?这是内表定义的基本工作
10. What are the different types of data dictionary objects?
11. How many types of tables exists and what are they in data dictionary?
12. What is the step by step process to create a table in data dictionary? //如何在数据字典中创建一个表
se11 ->创建一个表,输入表类型
然后输入表的字段(如果要找不到参考element,要创建element)
在技术设置中进行表的属性设置
货币类型需要输入参考字段如:NETWR 与WAERK
13. Can a transparent table exist in data dictionary but not in the data base physically?
14. What are the domains and data elements?
数据元素都会参考一个domain,domain的内容包括:数据类型、长度、小数位等15. Can you create a table with fields not referring to data elements? //
考察创建element与domain的技术:se11
16. What is the advantage of structures? How do you use them in the ABAP programs?
17. What does an extract statement do in the ABAP program?
18. What is a collect statement? How is it different from append? //collect与append的区别
19. What is open sql vs native sql?
native直接传送SQL到数据库
20. What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
无法进行调试及错误检查
21. What is the meaning of ABAP editor integrated with ABAP data dictionary?
22. What are the events in ABAP language?
23. What is an interactive report? What is the obvious diff of such report compared with classical type reports?
24. What is a drill down report?
25. How do you write a function module in SAP? describe.
如何写一个function:se37
import与export