abap面试题
大连埃森哲对日sap开发面试问题
大连埃森哲对日sap开发面试问题1.自我介绍我是谁,我来自哪里,我的专业。
第一段实习,我在X咨询公司为X公司提供……的IT运维与车体评审VR系统的实施。
第二段是企业联合毕设实习,X公司,项目组是提供智能制造解决方案和工业视觉设备的X博士团队。
我负责在与X公司中标中参与了业务沟通会议记录,业务流程和蓝图设计的编制。
目前我自学SAP HANA和abap的开发,如数据字典,报表应用;对项目流程,如业务现状流程图和蓝图设计;项目管理知识,如敏捷,MT有所学习2.在实际工作中,项目出现的问题你是如何解决的?/在实际工作中,你觉得困难的事情?(英文),一次英文回答,一次中文回答。
我两次都是第一个回答问题的人。
第二次的时候,我都已经起了个头,面试官突然说这个问题要用英文回答。
我当时措不及防,只能胡言乱语。
但是我在面试之前根据往年的问题也准备了一份类似的英文回答,仅作为参考。
)在实际工作场景中,会发生技术和业务两类问题。
根据我的实习经验,请允许我从业务问题阐述。
首先,我会将对出现的问题进行调研,一方面从业务对象方面考察,是在哪个业务流程中出现了问题,业务对象需要如何针对性地解决问题。
一方面考虑我自身出现的问题,是不是我的问题导致了这个问题的发生,我需要什么方面的知识解决这个问题。
然后,作为一个职场新人我应该向我的直属manager询问他的看法,征求他的意见。
同时,一个人的能力往往是有限的,我会和我的同事一起坐下来喝杯咖啡,头脑风暴问题的解决方案。
最后,如果需要跟我们的boss汇报问题的解决进度,我会准备充足的资料和文档归纳总结,慎重的提交给BOSS书写格式正确的报告。
而在我的实际工作中,我们慕尼黑的boss希望更多的云服务,而我们公司在与供应商接洽中商议了该产品的云服务。
我们综合的考虑了该云服务的案例和安全性不够,中止了云服务的议案。
这个问题我们需要合理的告知我们的boss。
这次的项目变更让我觉得是项目遇到的一个困难。
ABAP面试大全
目录1. 报表知识 (6)1.1基础知识 (6)1.1.1报表事件,有哪些? (6)1.1.2报表选择画面 (7)1.2ALV报表 (8)1.2.1ALV报表实现的流程 (8)1.2.2显示ALV常用的两个FM (8)1.2.3如何设置ALV中的热键 (8)1.2.4ALV显示中的小计 (8)1.2.5FM ALV 和 OO ALV的比较 (8)1.3WRITE LIST (8)2. 数据库知识 (9)2.1基础知识 (9)2.1.1 ABAP数据字典有哪些对象或元素? (9)2.1.2 据库提交确认和数据库回滚取消语句 (9)2.1.3 什么是LUW (9)2.1.4简述modify 、insert、update对数据库表做操作时的影响 (9)2.1.5 要描述域、数据元素、表字段之间的关系 (9)2.1.6数据字典有几种缓冲方式,适用范围? (9)2.2ABAP和数据库 (10)2.2.1 ABAP 数据表的主索引是什么?索引的好处与坏处?与建索引的注意事项! (10)2.2.2 ABAP透明表有哪几种数据类(data class)?对数据的存储有什么影响? (10)2.2.3 SAP中有几种表,他们的区别是什么? (10)2.2.4什么是簇表(cluster table)?举出知道的簇表。
(10)2.2.5找数据库表,有哪些常用的方法。
(10)2.2.6如何建立数据库锁对象,激活锁对象产生的Function Module的名字为什么,在何处查看锁表的情况? (10)2.2.7更新 FM 分为 V1 和 V2,那么首先会执行哪一种更新类型呢?每种类型又是以哪种模式(异步、同步或本地)执行的呢? (11)2.2.7使用OPEN SQL注意原则 (11)2.3与表相关 (11)2.3.1 MM模块有哪些常用表格 (11)2.3.2 HR模块知识:HR里面存储HR主数据主要用到了哪些表? (11)2.3.3 HR模块知识:HR程序在开发中常用的两个逻辑数据库是什么?分别对其进行描述 12 2.3.4 HR模块知识:HR模块里面,如何修改HR的信息类型,具体如何实现 (12)2.3.5财务模块:财务模块开发中常用的表有哪些,简单举例说明: (12)2.3.6PM 常用的TABLE (12)2.3.6inner join 与 left-outer join的区别? (13)3. 权限相关 (14)3.1什么是权限对象(Authorization Objects)?在 ABAP 程序中使用哪条语句进行授权检查? (14)3.2与权限对象有关的事务代码有哪些? (14)4. DIALOG (15)4.1DIALOG 中的几个事件 (15)4.2何在TABLE CONTROL中实现选中一行或多行的效果 (15)4.3DIALOG 开发的常用几个控件是什么? (15)5. BDC (16)5.1BDC录屏的事务代码 (16)5.2BDC与BAPI之间的区别 (16)5.3BDC录屏的注意事项 (16)5.4谈谈BDC的运行模式和更新模式 (16)6. 增强 (17)6.1什么叫增强?有哪些方式进行增强? (17)6.1.1 User EXIT (17)6.1.2 Customer exit (17)6.1.3 BADI (17)6.1.4 Enhancement Spot (17)6.2如何建立增强? (17)6.3与增强相关的事务代码有哪些 (18)6.4如何进行数据库表字段的增强?Append和Include的方式有何区别? (18)7. SMARTFORMS (19)7.1谈谈SmartForm中,Template和Table表格的区别 (19)7.2SMART FORM如何实现公司LOG打印,其步骤是什么? (19)7.3smartform 中如何控制段落、单个字符输出格式? (19)8. RFC和BAPI (20)8.1 RFC (20)8.1.1什么是RFC,有哪些通信模式? (20)8.1.2 RFC中涉及到常用的事务代码有哪些? (20)8.1.3根据调用方式的不同,RFC接口提供了什么样的服务? (20)8.1.4RFC接口的具体功能包括哪些? (20)8.1.5在通过CALL FUNCTION语句进行远程功能调用的基本模式有哪些 (20)8.1.6怎么创建一个支持远程调用的RFC (21)8.1.7怎么调用一个SAP标准RFC (21)8.1.8怎样建立RFC程序?RFC程序传递的参数都是传递值还是引用?如何建立函数组? 21 8.1.9怎么来维护这个DESTINATION(远程目标) (21)8.2 BAPI (21)8.2.1什么是BAPI?你使用过哪些BAPI实现什么功能? (21)8.2.2什么是业务对象类型?它包含哪些主件? (21)8.2.3如何创建一个BAPI? (22)8.2.4编写BAPI的注意事项有哪些? (22)8.2.5谈谈与BAPI相关的事务代码。
sapabap面试题目及答案(3篇)
第1篇一、基础知识1. 请简述SAP ABAP开发环境的组成。
答案:SAP ABAP开发环境主要包括以下组成部分:(1)SAP GUI:用于与SAP系统交互的图形用户界面。
(2)SAP SE38/SE80:用于编写、调试和测试ABAP代码的编辑器。
(3)SAP SScr:用于开发SAP Screen Painter屏幕画家的工具。
(4)SAP ADT:用于开发SAP Advanced Business Application Programming技术的工具。
(5)SAP NetWeaver:SAP的集成平台,提供各种开发、运行和管理工具。
2. 请解释SAP ABAP中的数据类型。
答案:SAP ABAP中的数据类型分为以下几类:(1)基本数据类型:包括整型(INTEGER)、浮点型(FLOAT)、字符型(CHAR)、日期型(DATETIME)等。
(2)结构化数据类型:包括结构(STRUCTURE)、表(TABLE)、内表(INTERNAL TABLE)等。
(3)用户定义数据类型:包括类(CLASS)、接口(INTERFACE)等。
3. 请简述SAP ABAP中的模块化编程。
答案:SAP ABAP中的模块化编程是指将程序划分为多个模块,每个模块负责特定的功能。
模块化编程的优点如下:(1)提高代码的可读性和可维护性。
(2)方便代码的重用。
(3)便于调试和测试。
4. 请解释SAP ABAP中的异常处理。
答案:SAP ABAP中的异常处理是指程序在运行过程中遇到错误时,能够及时捕获并处理这些错误。
异常处理的基本步骤如下:(1)声明异常:在程序中声明可能发生的异常。
(2)抛出异常:当程序遇到错误时,抛出异常。
(3)捕获异常:在程序中捕获并处理异常。
二、高级应用1. 请解释SAP ABAP中的内表(Internal Table)。
答案:SAP ABAP中的内表是一种临时存储数据的结构,类似于C语言中的数组。
ABAP面试问题和答案
Ans: User exit is for single implementation and it is
modulepassbyValue or passbyreference?
proceduralapproach while BADIs are for multiple implementation and
第1页共3页
本文格式为 Word 版,下载可任意编辑,页眉双击删除即可。
14. List the events in ABAp/4 Language?
to transport the request number throughSCC1.Sap script is stroed
Ans: The events in ABAp/4 are load of
Ans: always pass by Value.
objectoriented approach.
RFC is Remote Function call so it can’t access the values
Multiple implementation means Reusability… because we use
withpass by reference.
OOpsConcepts for BADI.
16. Buffering concept usage?
24. Control break events in ABAp:-
Ans: There are three type of buffer
1. AT-FIRST: This is used when we want to execute the
in side the client depended table as aTEXT.so sapscripts are client
abap 常用面试问题
abap 常用面试问题
1. ABAP是什么?它是用于开发SAP应用程序的编程语言。
2. ABAP程序的结构是怎样的?它由于一系列的模块组成,包括数据定义、逻辑处理和用户界面。
3. 请解释一下ABAP的数据字典。
数据字典是ABAP中的一个核心组成部分,它用于定义和管理数据库表、视图和数据类型。
4. 什么是内表?内表是ABAP中的一种数据对象,类似于程序中的一个数组,用于存储和处理数据。
5. ABAP的优势是什么?ABAP具有强大的数据处理功能,可以与SAP系统紧密集成,并且具有良好的性能。
6. 如何在ABAP中调用函数?可以使用CALL FUNCTION语句来调用函数模块。
7. 如何使用ABAP来处理异常情况?可以使用TRY...CATCH...ENDTRY语句块来捕获和处理异常。
8. 什么是ABAP Objects?ABAP Objects是ABAP的一个面向对象编程框架,可以创建和管理面向对象的程序。
9. 如何处理ABAP的调试?可以使用ABAP调试器来逐步调试ABAP程序,查看变量的值和程序的执行流程。
10. 请解释一下ABAP的事务处理。
事务处理是ABAP中的一种机制,用于在SAP系统中执行一系列相关的操作,保证数据的一致性。
ABAP 100 道面试题
ABAP 100 道面试题text:1. What is the typical structure of an ABAP/4 program?HEADER,BODY,FOOTER.2. What are field symbols and field groups.?Have you used "component idx of structure"clause with field groups?Field symbols:-Field groups :-3. What should be theapproach for writing a BDC program?STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal tableCALLED "CONVERSION".STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED "SAP DATA TRANSFER".STEP 3:DEPENDING UPON THE BDC TYPE i)call transaction(Write the program explicity)ii) create sessions (sessions arecreated and processed.if success data will transfer).4. What is a batch input session?BATCH INPUTSESSION is an intermediate step between internal table and database table.Data along with the action is stored insession ie data for screen fields, to which screen it is passed,program name behind it, and how next screen is processed.5. What is the alternative to batch input session?Call transaction.6. A situation: AnABAP program creates a batch input session.We need to submit the program and the batch session in back ground.How to do it?Please go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING)8. What are the problems in processing batch input sessions?How is batch inputprocess different from processing online?PROBLEMS:-i) If the user forgets to opt for keep sessionthen the session will be automatically removed from the session queue(log remains). However if session is processed we maydelete it manually.ii)if session processing fails data will not be transferred to SAP database table.10.What are the different types of data dictionary objects?tables, structures, views, domains, data elements,lock objects, Matchcode objects.11. How many types of tables exists and what are they in data dictionary?4 types of tablesi)Transparent tables - Exists with the same structure both in dictionary as well as indatabase exactly with the same data and fields. Both Opensql and Nativesql can be used.ii)Pool tables & iii)Cluster tables -These are logical tables that are arranged as records of transparent tables.one cannot use native sqlon these tables(only opensql).They are not managable directly using database system tools.iv)Internal tables- .12. What is the step by step process to create a table in data dictionary?step 1: creatingdomains(data type,field length,range).step 2: creating data elements(properties and type for a tablefield).step 3: creating tables(SE11).13. Can a transparent table exist in data dictionary but notin the data base physically?No. Transporent tables do exist with the same structure, both in the dictionary aswell as in database, exactly with the same data and the fields.14. What are the domains and data elements?DOMAINS : FORMAL DEFINITION OF THE DATA TYPES.THEY SET ATTRIBUTES SUCH AS DATA TYPE,LENGTH,RANGE.DATA ELEMENT : A FIELD IN R/3 SYSTEM IS A DATA ELEMENT.15. Can you create a table with fields notreferring to data elements?YES. eg:- ITAB LIKE SPFLI.here we are referening to a data object(SPFLI) not dataelement.16. What is the advantage of structures? How do you use them in the ABAP programs?The mostimportant advantage of the structures is that they have global existence (i.e.; these could be used by any other programwithout creating it again).17. What does an extract statement do in the ABAP program?Onceyou have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements:EXTRACT .When the first EXTRACT statement occurs in a program, thesystem creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the newextract record is added to the datasetEXTRACT HEADER.When you extract the data, the record is filled withthe current values of the corresponding fields.As soon as the system has processed the first EXTRACT statement for afield group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs.By processing EXTRACT statements several times using differentfield groups, you fill the extract dataset with records of different length and structure. Since you can modify field groupsdynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need notdetermine the structure at the beginning of the program.18. What is a collect statement? How is it differentfrom append?If an entry with the same key already exists, the COLLECT statement does not append a new line,but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry.19. What is open sql vs native sql?ANS:-20. What does an EXEC SQL stmt do in ABAP?What is the disadvantage of using it?21. What is the meaning of ABAP/4 editor integrated with ABAP/4 datadictionary?22. What are the events in ABAP/4 language?Initialization, At selection-screen,Start-of-selection,end-of-selection,top-of-page,end-of-page, At line-selection,At user-command,At PF,Get,At New,AtLAST,AT END, AT FIRST.23. What is an interactive report?What is the obvious diff of such reportcompared with classical type reports?An Interactive report is a dynamic drill down report that produces thelist on users choice.diff:-a) THE LIST PRODUCED BY CLASSICAL REPORT DOESN'T allow user to interact with thesystemthe list produced by interactive report allows the user to interact with the system.b) ONCE ACLASSICAL REPORT EXECUTED USER LOOSES CONTROL.IR USER HAS CONTROL.c) IN CLASSICAL REPORT DRILLING IS NOT POSSIBLE.ININTERACTIVE DRILLING IS POSSIBLE.24. What is a drill down report?Its an Interactive report wherein the user can get more relavent data by selecting explicitly.25. How do you write a function module in SAP?Describe.Creating function module:-∙called program - se37-creating funcgrp,funcmodule byassigning attributes,importing,exporting,tables,exceptions.∙calling program - SE38-in pgm click pattern and writefunction name- provide export,import,tables,exception values.26. What are the exceptions in functionmodule?COMMUNICATION_FAILURESYSTEM_FAILURE27. What is a function group?GROUP OF ALL RELATED FUNCTIONS.28. How are the date and time field values stored in SAP?DD.MM.YYYY. HH:MM:SS30. Name a few data dictionary objects?TABLES,VIEWS,STRUCTURES,LOCK OBJECTS,MATCHCODE OBJECTS.31. What happens when a table is activatedin DD?It is available for any insertion,modification and updation of records by any user.32. Whatis a check table and what is a value table?Check table will be at field level checking.Value tablewill be at domain level checking ex: scarr table is check table for carrid.33. What are match codes? describe?It is a similar to table index that gives list of possible values for either primary keys or non-primary keys.34. What transactions do you use for data analysis?35. What is table maintenance generator?36. What are ranges? What are number ranges?max,min values provided in selection screens.37. What are select options and how are they different from parameters?select options provideranges where as parameters do not.SELECT-OPTIONS declares an internal table which is automatically filled with valuesor rangesof values entered by the end user. For each SELECT-OPTIONS , the system creates a selection table. SELECT-OPTIONS FOR .A selection table is an internal table with fields SIGN, OPTION, LOW andHIGH.The type of LOW and HIGH is the same as that of .The SIGN field can take the following values: IInclusive (should apply) E Exclusive (should not apply)The OPTION field can take the following values: EQ Equal GTGreater than NE Not equal BT Between LE Lessthan or equal NB Not between LT Less than CP Contains pattern GE Greaterthan or equal NP No pattern.Select Options vs ParametersPARAMETERS allow users to enter a singlevalue into an internal field within a report.SELECT-OPTIONS allow users to fill an internal table with a range ofvalues.For each PARAMETERS or SELECT-OPTIONS statement you should define text elements by choosingGoto - Textelements - Selection texts - Change.Eg:- Parameters name(30).when the user executes the ABAP/4 program,aninput field for 'name' will appear on the selection screen.You can change the comments on the left side of the input fieldsby using text elements as described in Selection Texts.38. How do you validate the selection criteria of areport?And how do you display initial values in a selection screen?validate :- by using match codeobjects.display :- Parameters default 'xxx'.select-options for spfli-carrid.39. What are selection texts?40. What is CTS and what do you know about it?The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAPWorkbench and in Customizing, and then transport the changes between the SAP Systems and clients in your system landscape.This documentation provides you with an overview of how to manage changes with the CTS and essential information onsetting up your system and client landscape and deciding on a transport strategy. Read and follow this documentation whenplanning your development project.For practical information on working with the Change and Transport System, seeChange and Transport Organizer and Transport Management System.41. When a program is created and need to betransported to prodn does selection texts always go with it? if not how do you make sure? Can you change the CTS entries? Howdo you do it?42. What is the client concept in SAP? What is the meaning of client independent?43. Are programs client dependent?Yes.Group of users can access these programs with aclient no.44. Name a few system global variables you can use in ABAP programs?SY-SUBRC,SY-DBCNT,SY-LILLI,SY-DATUM,SY-UZEIT,SY-UCOMM,SY-TABIX.....SY-LILLI IS ABSOLUTE NO OF LINES FROM WHICH THE EVENT WASTRIGGERED.45. What are internal tables? How do you get the number of lines in an internal table?How touse a specific number occurs statement?i)It is a standard data type object which exists only during theruntime of the program.They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.ii)using SY-DBCNT.iii)The number of memoryallocations the system need to allocate for the next record population.46. How do you take care of performanceissues in your ABAP programs?Performance of ABAPs can be improved by minimizing the amount of data to betransferred.The data set must be transferred through the network to the applications, so reducing the amount OF time and also reduces the network traffic.Some measures that can be taken are:- Use views defined in the ABAP/4DDIC (also has the advantage of better reusability).- Use field list (SELECT clause) rather than SELECT *.-Range tables should be avoided (IN operator)- Avoid nested SELECTS.i)system toolsii)field symbols andfield groups.ans:-Field Symbols : Field symbols are placeholders for existing fields. A Field Symbol does notphysically reserve space for a field,but points to a field which is not known until runtime of the program. eg:-FIELD-SYMBOL [].Field groups : A field group combines several fields under one name.At runtime,the INSERTcommand is used to define which data fields are assigned to which field group.There should always be a HEADER fieldgroup that defines how the extracted data will be sorted,the data is sorted by the fields grouped under the HEADER fieldgroup.47. What are datasets?The sequential files(ON APPLICATION SERVER) are called datasets. Theyare used for file handling in SAP.48. How to find the return code of a statement in ABAP programs?Using function modules.49. What are interface/conversion programs in SAP?CONVERSION: LEGACY SYSTEM TO FLAT FILE.INTERFACE : FLAT FILE TO SAP SYSTEM.50. Have you used SAP suppliedprograms to load master data?51. What are the techniques involved in using SAP supplied programs? Do youprefer to write your own programs to load master data? Why?52. What are logical databases? What are theadvantages/disadvantages of logical databases?To read data from a database tables we use logical database. Alogical database provides read-only access to a group of related tables to an ABAP/4 program.advantagesThe programmer need not worry about the primary key for each table.Because Logical database knows how the differenttables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.i)An easy-to-use standard user interface.ii)check functions which check that user input is complete,correct,and plausible.iii)meaningful data selection.iv)central authorization checks for database accesses.v)good read accessperformance while retaining the hierarchical data view determined by the application logic. disadvantagesi)If you donot specify a logical database in the program attributes,the GET events never occur.ii)There is noENDGET command,so the code block associated with an event ends with the next eventstatement (such as another GET oran END-OF-SELECTION).53. What specific statements do you using when writing a drill down report?AT LINE-SELECTION,AT USER-COMMAND,AT PF.54. What are different tools to report data in SAP? Whatall have you used?55. What are the advantages and disadvantages of ABAP/4 query tool?56. What are the functional areas? User groups? and how does ABAP/4 query work in relation tothese?57. Is a logical database a requirement/must to write an ABAP/4 query?59. What are Changeheader/detail tables? Have you used them?60. What do you do when the system crashes in the middle of a BDCbatch session?we will look into the error log file (SM35).61. What do you do with errors in BDCbatch sessions?We look into the list of incorrect session and process it again. To correct incorrect sessionwe analyize the session to determine which screen and value produced the error.For small errors in data we correct theminteractively otherwisemodify batch input program that has generated the session or many times even thedatafile.62. How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs?go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING)63.Is it possible to run host command from SAP environment? How do you run?64. What kind of financialperiods exist in SAP? What is the relavent table for that?65. Does SAP handle multiple currencies? Multiplelanguages?Yes.66. What is a currency factoring technique?67. How do youdocument ABAP/4 programs? Do you use program documentation menu option?68. What is SAPscript and layoutset?The tool which is used to create layout set is called SAPscript. Layout set is a design document.69. What are the ABAP/4 commands that link to a layout set?Control commands,system commands,70. What is output determination?71. What are IDOCs?IDOCs are intermediatedocuments to hold the messages as a container.72. What are screen painter? menu painter? Gui status?dynpro - flow logic + screens.menu painter -GUI Status - It is subset of the interface elements(title bar,menu bar,standard tool bar,push buttons) used for a certain screen.The status comprises those elementsthat are currently needed by the transaction.73. What is screen flow logic? What are the sections in it? ExplainPAI and PBO.The control statements that control the screen flow.PBO - This event is triggered beforethe screen is displayed.PAI - This event is responsible for processing of screen after the user enters the data and clicks the pushbutton.74. Overall how do you write transaction programs in SAP?Create program-SE93-create transcode-Run it from command field.75. Does SAP has a GUI screen painter or not? If yes whatoperating systems is it available on? What is the other type of screen painter called? 76. What are steploops? How do you program pagedown pageup in step loops?step loops are repeated blocks of field in a screen.77. Is ABAP a GUI language?Yes.ABAP IS AN EVENT DRIVEN LANGUAGE.78. Normallyhow many and what files get created when a transaction program is written?What is the XXXXXTOP program?ABAP/4 program.DYNPRO79. What are the include programs?When the samesequence of statements in several programs are to be written repeadly they are coded in include programs (External programs)and are included in ABAP/4 programs.80. Can you call a subroutine of one program from another program?Yes- only external subroutines Using 'SUBMIT' statement.81. What are user exits? What is involved in writingthem? What precations are needed?82. What are RFCs? How do you write RFCs on SAP side?83.What are the general naming conventions of ABAP programs?Should start with Y or Z.84. How do youfind if a logical database exists for your program requrements?SLDB-F4.85. How do you find thetables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?Transcode is entered in command field to open the table.Utilities-Table contents-display.86. How do you find the menu path for a given transaction in SAP?87. What are the differentmodules of SAP?FI,CO,SD,MM,PP,HR.89. How do you get help in ABAP?HELP-SAP LIBRARY,bypressing F1 on a keyword.90. What are different ABAP/4 editors? What are the differences?91.What are the different elements in layout sets?PAGES,Page windows,Header,Paragraph,Character String,Windows.92. Can you use if then else, perform ..etc statements in sap script?yes.93. Whattype of variables normally used in sap script to output data?94. How do you number pages in sapscript layoutoutputs?95. What takes most time in SAP script programming?LAYOUT DESIGN AND LOGOINSERTION.96. How do you use tab sets in layout sets?97. How do you backup sapscript layoutsets? Can you download and upload? How?98. What are presentation and application servers in SAP?The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentationcomponents, the database, and also with each other, using the message server.99. In an ABAP/4 program how do youaccess data that exists on a presentation server vs on an application server?i)using loop statements.ii)flat100. What are different data types in ABAP/4?Elementary -predefined C,D,F,I,N,P,T,X.userdefined TYPES.ex: see in intel book page no 35/65Structured -predefined TABLES.userdefined Field Strings and internal tables.101. What is difference between session method and Call Transaction?102. Setting up a BDCprogram where you find information from?103. What has to be done to the packed fields before submitting to aBDC session.fields converted into character type.104. What is the structure of a BDCsessions.BDCDATA (standard structure).105. What are the fields in a BDC_Tab Table.program,dynpro,dynbegin,fnam,fval.106. What do you define in the domain and data element.Technical details like107. What is the difference between a pool table and a transparent table andhow they are stored at the database level.ii)Pool tables is a logical representation of transparent tables.Hence no existence at database level. Where as transparent tables are physical tables and exist at database level. 108. What is cardinality?For cardinality one out of two (domain or data element) should be thesame for Ztest1 and Ztest2 tables. M:NCardinality specifies the number of dependent(Target) and independent (source)entities which can be in a relationship.。
abap dialog的面试题
abap dialog的面试题
ABAP(Advanced Business Application Programming)是SAP系统的编程语言。
在SAP的面试中,可能会涉及到ABAP的Dialog模块,下面是一些可能的面试题:
1. 什么是Dialog模块?它在SAP中起什么作用?
2. 描述一下Dialog的基本结构和工作原理。
3. 如何创建和配置一个Dialog?
4. 如何在Dialog中定义屏幕?
5. 如何使用动态屏幕来显示和收集数据?
6. 如何在Dialog中定义数据对象?
7. 如何在Dialog中处理用户输入?
8. 如何在Dialog中实现屏幕间的跳转?
9. 如何使用条件逻辑来控制屏幕的显示和行为?
10. 如何在Dialog中定义事件和事件处理程序?
11. 如何使用标准屏幕来创建自定义屏幕?
12. 如何调试和测试Dialog?
13. 在开发Dialog时,有哪些常见的性能问题和优化方法?
14. 如何确保Dialog的安全性和可靠性?
15. 在SAP系统中,有哪些常见的Dialog使用场景?
以上是一些可能的面试题,当然具体的面试题目会根据具体的面试官和面试要求有所不同。
在准备面试时,建议参考SAP的相关文档和教程,了解Dialog模块的基本概念和用法,并熟悉常见的使用场景和最佳实践。
ABAP面试问题及答案
ABAP面试问题及答案问题一:锁对象(Lock Object)和 FM(Function Module)激活锁定对象时,产生的 FM 的名字是什么?答案:首先要在 ABAp 字典中创建锁对象,然后才能在 ABAp 程序中设锁。
创建锁对象时,系统会自动生成两个 FM 来进行锁管理。
用于设锁的 FM 为:ENQUEUE_<锁对象名>。
它用于在锁表(Lock Table)中生成一个锁项(Lock Entry)。
若设锁不成功的话,就会在 Return 中反映出来。
用于释放锁的 FM 为:DEQUEUE_<锁对象名>。
它用于从锁表中删除一个锁项。
在 ABAp 程序中,只需使用 \"CALL FUNCITION ...\" 语句就可以调用它们。
这两个锁 FM 是在 SAp 系统的一个特殊工作进程中执行的,专门进行锁管理。
它运行在一个单独的服务器上,而该服务器专门用于维护整个 SAp 系统的主锁表(Central Locak Table)。
有两种锁类型:共享锁――只读锁,一个用户正在读数据时,阻止其他用户更改该数据。
独占锁――可写锁,一个用户正在修改数据时,阻止其他用户更改该数据。
问题二:更新方面的 FM 更新 FM 分为 V1 和 V2,那么首先会执行哪一种更新类型呢?每种类型又是以哪种模式(异步、同步或本地)执行的呢?答案:V1 更新类型比 V2 更新类型的优先级高,因此,V1 比 V2 行执行。
V1 的执行模式可以为异步、同步或本地;V2 只能为异步执行。
问题三:ABAp 内存(ABAp Memory)交换在使用 ABAp 内存的程序间进行数据交换时用到的两个语句是什么?答案:EXpORT to MEMORY ID <id> 用于将数据复制到 ABAp 内存,IMpORT from MEMORY ID <id> 用于将数据从 ABAp 内存复制到程序中。
SAP abap笔试面试题目
SAP abap笔试面试题目问题:SAP abap笔试面试题目回答:一选择题(共40题,未特殊注明则均为单选)1,下面的语句中,哪一个语句编译会报错(假设XXX 和结构sflight都已经定义). (c)A)write at 12 XXX.B)data type type sflight.C)sflight-price = a+b.D)write sy-vline.2.在ABAP/4的开发工作中,哪一个TCODE是直接进入就可以创建程序,函数组以及程序内部各种元素的. (a )A) SE80 B) SE11 C) SE93 D)SE163.直接进入就可以查询表的结构是哪个TCODE. (b )A) SE80 B) SE11 C) SE93 D)SE164. 很多表当中都有一个字段,叫做MANDT, 为第一个主键,这个字段的用处是.(b )A)区分后台数据库的类型B)区分表中记录属于哪个客户端(client)C)区分表的数据量大小D)SAP系统保留字段5.下面的定义语句中,哪一个语句定义出来的结果是一个内表. (d)A)DATA zsflight TYPE sflight.B)DATA: COLS LIKE LINE OF TC-COLS.C)TABLES SFLIGHT.D)DATA: zsflight TYPE TABLE OF sflight.6.ABAP中三种基本的数据对象是. (a )A)内表结构基本数据对象B)内表程序语句C)字符数字日期D)语句程序表7.语句loop at itab into wa. 的准确意思是. (d )A)把wa中的值进行循环,每一次循环都写回内表B)求出迷宫itab的出口放在wa里C)对内表itab的数值列进行累加放入wa中D)对内表itab进行循环,把循环中每一行的结果写入结构wa 中8.程序中执行了这么一段代码DATA it_sflight type sflight with header line.Loop at it_sflight.it_sflight-carrid = AA .Modify it_sflight.Endloop.该段语法中出现了四次it_sflight,其中后三次分别代表的是内表还是结构. (b )A)内表内表内表B)内表结构内表C)内表结构结构D)内表内表结构9.在设计报表程序时,选择的程序类型应该是.(a )A)可执行程序B)模块池程序C)包含程序D)函数组程序10.在报表程序的屏幕筛选条件里,SELECT-OPTIONS定义出来的元素是.(a)A)内表B)结构C)基本数据对象D)指针型字段11.在报表程序的屏幕事件里,有一个事件叫做AT LINE-SELECTION.参见如下代码:WRITE / ‘ABAP’.AT LINE-SELECTION.WRITE /‘TEST’.那么,以下哪种情况会发生.(b )A)先显示出一行ABAP,当用户双击一次时,屏幕上在原来ABAP那行下面换行一次显示出一行新的TESTB)先显示出一行ABAP,当用户双击一次时,屏幕上每次只显示出一行的TEST取代原先的屏幕C)先显示出一行ABAP,当用户双击一次时,屏幕上永远只显示出一行TEST(放在原来ABAP那行下面)D)先显示出一行ABAP,当用户第一次双击时,产生一个新屏幕,显示一行TEST,然后每次双击都在其下换行显示一行新的TEST12.选择事件的执行顺序正确的一组.(a )A)INITIALIZATION / START-OF-SELECTION / TOP-OF-PAGE / AT LINE-SELECTIONB)INITIALIZATION / TOP-OF-PAGE / START-OF-SELECTION / AT LINE-SELECTIONC)START-OF-SELECTION/ INITIALIZATION / TOP-OF-PAG / AT LINE-SELECTIOND)INITIALIZATION / TOP-OF-PAGE / AT LINE-SELECTION /START-OF-SELECTION13.在层级报表的开发里,下面哪个条件不是必需的.(d)A)对内表先按层级字段排序B)对内表和结构定义时层级字段必须排在前面C)层级字段不能出现在at 和end at 语句之外D)层级字段必须存在14.在明细报表的开发中,双击一行转向明细报表的取数依据是.(c )A)你双击那行的主键字段B)你双击的那个字段本身C)你双击那行在循环中预先hide的字段D)你双击那行在循环中预先已经write出来的字段15.在交互式报表的设计中,假如想在明细报表里加入任意字段的排序功能,请选择正确的选项(多选).(ad )A)要先用get cursor field XXX.取得字段B)对内表排序时该字段要用括号括起来C)在排序时要把该字段加上一个数字以去除前面的结构名称(如果是用结构-字段定义的话)D)排序后显示完要把sy-lsind = 0,以防止产生多余的list16.在屏幕编程的设计中,下面共有四个主要步骤:a 设计屏幕的格式(有哪些字段,放在什么位置)b 设计屏幕的整体属性c 设计屏幕上字段的属性d 编写屏幕的流逻辑( flow logic )请选择通常请况下正确的顺序. (c )A)a b c dB)c d b aC)b a c dD)d b a c17. 如果屏幕A 的下一个屏幕仍然是A , 那么当执行程序时,对于屏幕的主要事件,下面哪种顺序是正确的. (d )A)A 的PAI A 的PBO A 的PAI A 的PBOB)A 的PBO A 的PAI A 的PAI A 的PBOC)A 的PAI A 的PAI A 的PBO A 的PBOD)A 的PBO A 的PAI A 的PBO A 的PAI18.屏幕编程中一个屏幕所使用的工具栏应如何设计. (a )A) 先设计一个Gui Status,再在程序中绑定B) 先设计一个Gui Titles,再在程序中绑定C) 在程序中用Add button 语法添加D)在屏幕设计格式的界面上添加工具栏及其按钮19. 以下四种系统变量,各是什么含意. (d )SY-UCOMM SY-DATUM SY-SUBRC SY-TABIXA)用户触发的屏幕上的功能码当前日期当前时间循环次数B)当前日期当前时间循环次数用户触发的屏幕上的功能码C)用户触发的屏幕上的功能码循环次数语句执行结果返回值当前日期D)用户触发的屏幕上的功能码当前日期语句执行结果返回值循环次数20.一个程序的子屏幕编程是如何实现的. (c)A)子屏幕区域外加屏幕(属性设置为正常屏幕)B)自定义控件外加屏幕(属性设置为正常屏幕)C)子屏幕区域外加屏幕(属性设置为子屏幕)D)自定义控件外加屏幕(属性设置为子屏幕)21.对于表格控件和内表的绑定的做法,下面哪种说法是正确的. (a )A)PBO时同步循环内表和表格控件把内表的值写入表格控件,PAI时用同样的循环把表格控件的值写回内表B)PBO时同步循环内表和表格控件把表格控件的值写入内表,PAI时用同样的循环把内表的值写回表格控件C)在定义内表时定义与之绑定的表格控件,PBO和PAI事件要各循环内表一次D)在制作表格控件时定义与之绑定的内表,PBO和PAI事件要各循环表格控件一次22.如果要把表格控件某列的属性动态的改变成不可输入,下面哪种做法是可行的. (B )A)在PAI事件中修改table的general attribute值B)在PBO事件中修改table的general attribute值C)在PAI事件中取得table的COLS属性,利用它本身是个内表的特点循环找到该列修改之,修改完后写回COLS内表D)在PAI事件中取得table的COLS属性,利用它本身是个结构的特点找到其中表示该列的字段修改23.要对表格控件增加一个可由用户写入信息的列,下面哪种方式是可行的(多选).(ad )A)在设计屏幕上点击dictionary / program fields window 按钮,输入字典表或者程序中定义的元素,把它拖到表格控件中B)在设计屏幕上修改table的attributes,增加一列C)在设计屏幕中的表格控件里拖入一个text field(文本字段)D)在设计屏幕中的表格控件里拖入一个input/output field(输入/输出字段)24.在编写ALV GRID CONTROL时,应遵循以下哪种顺序. (a )A)在屏幕上建区域,创建区域对象,创建ALVGRID对象,调用ALVGRID的set_table_for_first_display方法B)在屏幕上建区域,创建ALVGRID对象,创建区域对象,调用ALVGRID的set_table_for_first_display方法C)调用ALVGRID的set_table_for_first_display方法,在屏幕上建区域,创建ALVGRID对象,创建区域对象D)创建区域对象,调用ALVGRID的set_table_for_first_display 方法,在屏幕上建区域,创建ALVGRID对象,25.自己制作一个搜索帮助,引用的表是SBOOKINGS,Dialog Type是Dialog with value restriction,里面customid和name这两个字段的IMP属性打勾,customid,name,carrid,connid这四个字段的EXP属性打勾,四个字段都设定了LPOS和SPOS,这个搜索帮助的输出效果是. (d )A)先输出两个栏位的筛选屏幕,再按照筛选结果输出两个栏位的表格信息让用户选择,选择结果影响到四个栏位B)先输出两个栏位的表格信息让用户选择,选择结果影响到四个栏位C)先输出四个栏位的表格信息让用户选择,选择结果影响到两个栏位D)先输出四个栏位的筛选屏幕,再按照筛选结果输出四个栏位的表格信息让用户选择,选择结果影响到两个栏位26.ABAP的OPEN SQL的取数语句是否可以实现数据库无关性,其原因是什么. (c )A)不可以,数据库的SQL格式不同B)可以,因为它的名字叫做OPEN SQLC)可以,因为中间有一层DB Interface做转换D)不可以,各种数据库的版本不同27.对ABAP的OPEN SQL语句的两个返回系统变量,描述正确的是. (b )A)Sy-dbcnt表示执行结果是否正确,sy-subrc表示执行影响到的数据条数B)Sy-dbcnt表示执行影响到的数据条数,sy-subrc表示执行结果是否正确C)Sy-dbamt表示执行结果是否正确,sy-sudnc表示执行影响到的数据条数D)Sy-dbamt表示执行影响到的数据条数,sy-sudnc表示执行结果是否正确28.一个表TA有三个字段,其中第一个字段是主键,目前有一条记录是1 /‘first’/ 19,结构wa_result是和表相同类型的,当前值是2 / ‘second’/ 20 .执行OPEN SQL语句:modify TA from wa_result.执行后对系统的影响为. (b )A)没有任何影响B)TA有两条记录1 / ‘first’/ 19 和2 / ‘second’/ 20C)TA有一条记录2 / ‘second’/ 20D)系统出错退出,对表没有任何影响29.SAP对锁的主要实现手段是. (a )A)在SE11里加锁对象,然后在程序中调用锁对象生成的函数B)在数据库里加锁,在程序中声明C)由数据库自动进行,SAP不用处理D)在程序中通过SQL语句实现30.有一程序,起始画面里有一个用户可以输入字段为A ,如果想在程序进入的时候自动设置成上次退出时的值,可以采用的方法是. (b )A)在退出时使用GET PARAMETER ID XXX FIELD A.在进入时使用SET PARAMETER ID XXX FIELD A.B)在退出时使用SET PARAMETER ID XXX FIELD A.在进入时使用GET PARAMETER ID XXX FIELD A.C)不管是退出还是进入时,都执行语句GET PARAMETER ID XXX FIELD A.D)不管是退出还是进入时,都执行语句SET PARAMETER ID XXX FIELD A.31.SAP的SMARTFORM和ABAP PROGRAM的对应关系是. (c )A)一个SMARTFORM对应多个程序B)一个程序对应多个SMARTFORMC)一个SMARTFORM对应多个程序,一个程序也可以对应多个SMARTFORMD)一个SMARTFORM对应一个程序32.设计SMARTFORM显示一个表格,如果第一页是一种格式,后面几页是一种格式,如何设计. (d )A)第一页指向第二页,第二页指向空B)第一页指向自己,第二页指向第一页C)第一页指向第二页,第二页指向第一页D)第一页指向第二页,第二页指向自己33.如果想设计SMARTFORM中大家公用的文本,应该使用什么技术. (C )A)SMART TEXTB)SMART STYLEC)SAP SCRIPTD)TEXT MODULE34.下面对于SMARTFORM中TABLE和TEMPLATE的描述,正确的是. (d )A)TEMPLATE用来设计表格模版,TABLE用来设计表格实体B)TEMPLATE用来设计表格样式,TABLE用来设计表格实体C)TEMPLATE用来设计静态表格,TABLE用来设计表格实体D)TEMPLATE用来设计静态表格,TABLE用来设计动态表格35.SMARTFORM中TABLE的排序事件的触发场合是. (d )A)循环到排序字段第一次开始时触发开始事件,循环到排序字段结束时触发结束事件B)循环到排序字段第一次开始时触发开始事件,循环到表格结束时触发结束事件C)当表格开始时触发开始事件,表格结束时触发结束事件D)循环到排序字段第一次开始时触发开始事件,然后触发结束事件,然后开始正式循环该排序字段剩余记录36.在SMARTFORM中显示一个表格,其中有一个栏位为wa_sflight-price,现在里面有三行数据,其值依次分别是10,30,50 ,现在在表格设计的时候在Global Definition中定义一个变量G_TOL,在表格的Main Area中加入一个真假节点,节点的条件为WA_SFLIGHT-PRICE > 10 .然后,在真节点下加一个程序行,内容为G_TOL = wa_sflight-price + 10.假节点下加一个程序行,内容为G_TOL = wa_sflight-price + 20.最后在表格的Footer下加一个表行(在表格最后显示),下加一个文本节点显示这个字段G_TOL,它显示的值应该是. (a )A)60B)70C)140D)15037.SAP提供的修改系统标准功能的方案里,哪几种是不需要修改系统标准程序就可以实现的. (c )A)Customer Develepment ,Enhancement,ModificationB)Customer Develepment ,Customizing,ModificationC)Customer Develepment ,Customizing,EnhancementD)Enhancement,Modification,Customizing38.对于客户定制需求的解决方案,应该遵循哪一种顺序进行为宜. (c )A)先判断能否配置;再判断系统有无类似功能,有的话先判断能否修改标准程序,再判断能否进行Enhancement;最后考虑自己开发B)先判断系统有无类似功能,有的话先判断能否修改标准程序,再判断能否进行Enhancement;然后判断能否配置;最后考虑自己开发C)先判断能否配置;再判断系统有无类似功能,有的话先判断能否进行Enhancement,再判断能否修改标准程序;最后考虑自己开发D)先判断系统有无类似功能,有的话先判断能否进行Enhancement,再判断能否修改标准程序;然后判断能否配置;最后考虑自己开发39.自己定义一个增强项目,加入系统的增强,并在其中激活增强的TCODE应该是. (b )A)SMODB)CMODC)SE84D)SE8040.在SAP系统标准增强功能里,主要包含了以下哪组功能. (a )A)Table Enhancement/Screen Exit/Menu Exit/Function module ExitB)Table Enhancement/Structure Exit/Menu Exit/Event ExitC)Menu Exit/Function module Exit/Field Exit/BAPI ExitD)Structure Exit/Menu Exit/Table Enhancement/Screen Exit二问答题(共13题,)1.什么是授权对象?在ABAP 程序中使用哪条语句进行授权检查?答案:授权对象由一组字段组成,这些字段中的值将被用于进行授权检查。
abap+测试题+答案
1.At each new event,the system resets all FORMA T options to their default values.A TrueB False (A)2. Y ou can use__________ keyword to scroll to any column or page in the list.a. PAGESCROLLb. SCROLLc. SCROLLCOLUMNd. LISTSCROLL (b)3.In a list , the upper-left corner of the header’s first line contains:A. The program titleB. The page numberC. The system dateD. Nothing ( c)4.It is recommended that you use Native SQL to read data from a logical database to maintain portability from one RDBMS to another.A . true b .false ( B)5. If you address subordinate nodes in the hierarchy, the selection screen criteria for only that subordinate node appears.A . trueB False ( false)6. Checks such as Authorization checks are usually performed during the event Process Before Output(PBO).A TrueB . False (B)7. If there is a _________________ statement within the END-OF-SELECTION processing block, program processing ends and the list buffer is displayed.A . REGECTB. CHECKC. STOPD EXIT (C)8.Open SQL enables portability between different RDBMS system.A TrueB False (A)9. Join conditions are limited to key fields.A TrueB False (B)10. Y ou can create structured lists using control-level processingA. True B False (A)11. When implementing control-level processing ,the A T FIRST and A T LAST statements functions as first time and last time switches and execute only once.A TrueB False (A)12. Loops over extract datasets can be nested.A . TrueB False (b)13. internal tables rely on the compiler to determine the combinations of group levels and cumulating field control level totals require.A trueB false (A)14. Which of the following options is suitable for printing interactive lists?A. Printing from the selection screen.B. Printing from within the programC Printing after the list is generatedD. Printing in the backgroundB15.The user should delete all detail lists whose list level is greater than the current list levelA trueB false (B)16 . Y ou can create object at any point in the program to generate and link objectsA trueB false (b)17. Which of the following are the standard functions offered by SAP Grid Control?A Sorting by any columnB. Generate objectsC. Adding number columnsD Link objectsE Fixed lead columns( A C E )18.when you create a screen, you must:a. Design the screen layout in the layout editor.b. Set the general screen attributes on the attribute screen.c. Write the flow logic in the flow logic editor.d. Set the field attributes in the field list.Select the correct order:A a, b, c, dB c, d, b, aC b, a, d, cD d, b, a, c19. To allow you to set the attributes of all screen elements, the ScreenPainter contains an element list with four views.A TRUEB FALSE b20. To interrupt processing of the current screen and branch to a new screen, or sequence of screens, you use the following statement:A CALL SCREEN <nnnn>B SET SCREEN <nnnn>C LEAVE SCREEND LEAVE TO SCREEN <nnnn>A21 The function keys that contain proposals, which comply with the SAP system's ergonomic standards are:A ReservedB RecommendedC FreelyD All of the aboveB22. The content of the Icontext attribute appear in the status bar of the screen when the user chooses the function.A TRUE b FALSE b23.ou can initialize the command field only at PAI.TrueFalseB24. If your text consists of more than one word, use the following character as separators:A UnderscoreB CommaC Question markD Spacea25.The group box text cannot be changed dynamically.TrueFalse26. The subscreen call must occur before the function module call.TrueFalseB27. To program a tabstrip control to scroll locally at the frontend, you must call all subscreens from the flow logic.TrueFalse28. The following attributes contain information about the properties of the entire table control, such as the number of fixed columns:A ColumnB GeneralC SpecialD Row29. In order to display the current screen, include the ABAP statementSUPRESS DIALOG in a PBO module.TrueFalse30 For which of the following predefined data types should you use theoriginal variants of the standard string processing statements or the optional addition IN CHARACTER MODE?A DB CC XD TE NF STRINGG XSTRINGAnswer: A, B, D, E, F31 . Which of the following statements are correct?A Sorted tables can only contain non-unique keys.B Standard tables can only contain non-unique keys.C Sorted and hashed tables are index tables.D Standard tables are index tables.E The standard key is the key of a standard table.F The standard key always contains all components of the rowtype.Answer: B, D32 . Generic types are type definitions that are missing certaininformation. These missing type attributes are inherited from an actual parameter at runtime if you use the generic type for typing interface parameters.TrueFalseAnswer: False33 . Which of the following statements are correct?A Only key access works with hashed tables.B Key access means that the search clause may only appear inthe key fields of the internal table.C Index access allows access using the row number.D Single-record key access using READ TABLE can return severaldata records if you are using standard tables, because thenthe key is always non-unique.E The SORT statement can sort standard tables.F If you use INSERT ... INTO TABLE to insert a data record intoa sorted table with a unique key, this will only work if theinternal table contains no other data record with the samecombination of values for the key components. Otherwise, theSY-SUBRC return value will be set to a number other than 0. Answer: A, C, E, F34. SAP recommends using internal tables without header lines to makethe syntax easier to read. This is particularly helpful with nested internal tables.TrueFalseAnswer: True35.Which of the following statements are correct?A As far as possible, when you use key access, the runtimesystem always chooses the fastest possible variant,depending on the table kind.B Hashed tables should not be used if you need to make manychanges when you are accessing data.C You can save lots of runtime by using field symbols andreferences, especially with nested internal tables.D Binary searching is possible for standard tables.E The fastest form of access in loop processing is usuallythrough the row number.Answer: A, B, C, E36. The object-oriented programming model was developed considerably later than the procedural one. It offers more possibilities to solve problems that previously could not be solved with purely procedural programming languages.TrueFalseAnswer: False37. If you copy a subclass reference to a reference variable that is typed on the superclass (narrowing cast), which components can you access with this reference variable?A Redefined components of the superclassB Newly defined components of the subclassC Inherited components of the superclassD Redefined components of the subclassAnswer: A, C38. If a reference variable that is typed on an interface contains an instance reference of a class that implements this interface and you copy this to a reference variable that is typed on the class (widening cast), which of the following components can you access with this reference variable?A The components of the interfaceB The components from the class that are not defined on theinterfaceC All components of the classD The components of the interface for which alias names havebeen definedAnswer: A, B, C, D39 .If you copy an instance reference of a class, which implements an interface, to a reference variable that is typed on the interface (narrowing cast), what components can you access using this reference variable?A The components of the interfaceB The components of the class that are not defined in theinterfaceC All components of the classD The components of the interface for which alias names havebeen definedAnswer: A40. For a user to be able to execute an object-oriented program, you always need to supply a module pool program or a function group program. Otherwise, there is nowhere for the CREATE OBJECT statement to create the instance.TrueFalseAnswer: False41.Which of the following statements are correct?A A non-abstract class can contain abstract methods.B An abstract class contains no implementations.C An abstract method contains no implementations.D Final classes cannot be superclasses within a classhierarchy.E A final method must be redefined.F Final classes can contain non-final methods.G A friend of a class is also a friend of its subclasses.H The subclasses of a class's friend are also the class'sfriend.I The visibility of an instance constructor can be limited.J A private instance constructor (instantiation only by theclass itself) can be defined in the private section. Answer: C, D, H, I42.The new exception concept replaces the old one. Thus, all old source code sections must be rewritten. As of SAP Web AS 6.20, function modules from the SAP standard system automatically raise object-oriented exceptions.TrueFalseAnswer: False43.The new exception classes can only be defined globally. This ensures central maintenance and reuse.TrueFalseAnswer: False44 . The pushbuttons screen area gives a short introduction of the QuickViewer with links to the online documentation.TrueFalseAnswer: False45. List fields once placed in trash can, can be retrieved.TrueFalseAnswer: True46. You can access all the events of an executable ABAP program associated with a query.TrueFalseAnswer: False47. The SELECT-OPTIONS statement generates an internal table with a standard structure. The fields of this table are:A SignB OptionC HighD IntervalAnswer: A, B, C48 . You can delete an InfoSet whenever you want.TrueFalseAnswer: False49.What are the two options available for menu enhancements?A Customer exitsB Menu entriesC Business add-insD Standard MenuAnswer: A, C50.Screen exits are a type of customer exit.TrueFalseAnswer: True51. From SAP Web Application Server 6.20 onwards, Business Add-Ins cannot contain screen exits.TrueFalseAnswer: False52.Customizing includes cannot be inserted into more than one table.TrueFalseAnswer: False53. Identify the step that is not followed for creating an SAP enhancement project.A Create an enhancement project and then choose the SAPenhancements that you want to use.B Analyze the program source code or the screen source code.C Edit your individual components using the project managementfunction and document the entire enhancement project.D Activate the enhancement project. This activates all theproject’s compon ent partsAnswer: B54.When an event is triggered in a process interface, only one external process can replace the process in the standard program.TrueFalseAnswer: True55.What are the requirements for new enhancement techniques?A ReusableB All enhancement typesC Administration levelD Customer exitsE Implemented using the latest technologyAnswer: A, B, C, E56.You can create function codes only for single use BAdIs, which must not be filter-dependent.TrueFalseAnswer: True57.To include function codes in a BAdI definition, you enter the program name, function code, and a short description on the relevant tab page.TrueFalseAnswer: True58. To provide a screen enhancement using a BAdI, you need to first generate the BAdI class.TrueFalseAnswer: True59.The implementing program gets the data from the Add-In class by calling the appropriate interface method.TrueFalseAnswer: True60.You can modify the ABAP Dictionary objects that belong to the core of your system.TrueFalseAnswer: False61.When you define a Business Add-In, the system generates a Business Add-In class.TrueFalseAnswer: True62. Using data elements, structures and table types, you can create complex user-defined type.TrueFalseAnswer: True63.Foreign key definitions are imparted from include to the including table.TrueFalseAnswer: True64. The records of a buffered table are read directly from the local buffer of the application server.TrueFalseAnswer: True1.65. Select the statement that is NOT correct.A The object lists created by the Repository Information Systemare entirely integrated in the ABAP Workbench.B The Where-used list for Repository objects cannot be calledfrom the information system.C The information system enables you to search for objects bytheir attributes.D You can search for all objects by the development class, shortdescription or author, and date of last change.Answer: B66.Correct access by ABAP programs to a database table is only possible if the runtime object of the table is consistent with the structure of the table in the database.TrueFalseAnswer: True67.Even if a table has no data, it is retained in the database.TrueFalseAnswer: False68.During conversion, the tables are locked to prevent further structural changes from being made before the conversion is completed correctly.TrueFalseAnswer: True69 . Maintenance views may be used as the selection method for searchhelps.TrueFalseAnswer: False70. Which feature of SAPscript enables it to run on all front-endapplications supported by SAP?A Multilingual capabilityB High performance when printing large quantitiesC Uniform corporate design in documentsD Word processing scalabilityE SAP R/3 Enterprise transport and translation connectionsF Platform independenceAnswer: F71. Main windows cannot have different heights and cannot be positioneddifferently on pages where they appear.TrueFalse72.Which sub-objects allow you to structure pages in SAPscript?A Page layoutB Paragraph formatsC Character formatsD WindowsAnswer: A, B, C73. Which operations are performed using control commands?A Including text in a documentB Assigning values to text symbolsC Starting or suppressing a page breakD Resetting outline paragraphsE Evaluating conditionsAnswer: A, B, C, D, E74. Which command is used to print text elements in form windows?A CONTROL_FORMB DELETE_FORMC MODIFY_FORMD WRITE_FORMAnswer: D75. The function module OPEN_FORM initializes form printing in a printprogram. Before using START_FORM in a print program for the first time, you must call OPEN_FORM.TrueFalseAnswer: True76. SAP does not simultaneously support SAPscript forms and SAP Smartforms. As a result, you need to migrate SAPscript forms to SAP Smart forms.TrueFalseAnswer: False77. Packages have the same attributes as development classes, but alsopossess additional options suitable to modeling techniques.TrueFalseAnswer: True78. A form page can be used only once in a document.TrueFalseAnswer: False79. Which of the following options specifies that the text of the secondnode begins in a new line and the two text nodes are completely independent of each other?A New LineB New ParagraphC Append DirectlyD Include TextAnswer: B80. Identify the parameters of a generated function module or a forminterface.A ImportB ExportC Global DataD TablesAnswer: A, B, D。
abap常用面试问题
abap常用面试问题
1. ABAP是什么?它的作用是什么?
2. ABAP和其他编程语言有什么区别?
3. ABAP的数据类型有哪些?
4. 什么是数据字典?它在ABAP中的作用是什么?
5. 请解释一下ABAP包是什么?
6. ABAP中的内表和表格有什么区别?
7. 什么是ABAP程序的事物码?
8. 如何在ABAP中处理异常?
9. ABAP中如何处理用户输入和输出?
10. 请解释一下ABAP中的MODIFY语句的作用。
11. 如何调试ABAP程序?
12. ABAP数据字典中的数据元素和域有什么区别?
13. 请解释一下ABAP中的链表技术。
14. 如何在ABAP中进行数据转换?
15. ABAP中有哪些常用的函数模块?
16. 如何在ABAP中读取和写入文件?
17. ABAP中如何处理日期和时间?
18. 什么是内核扩展和BADI?
19. 如何使用SAP智能搜索(SAP Intelligent Search)?
20. 如何通过结构化数据分析(Structural Data Analysis)来调试ABAP程序?。
ABAP顾问面试精选题
大家好我是朗泽教育就业顾问Judy,近期不少ABAP学员和我咨询面试的事情,在进行技术面试时,一些学员仍然会有问题,我今天总结了一些常见的大家认为比较难的问题。
1、什么是RFC,有哪些通信模式?
2、根据调用方式不同,RFC接口提供了什么样的服务?
3、如何创建一个BAPI?
4、RFC和BAPI的区别是什么?
5、初始化内表有几种方式?
6、在一个程序中如何调用其他事务代码?
7、如何在程序间传送数据?
8、如何优化ABAP程序?
9、如何建立一个外部数据库的连接?
10、SAP包括哪些传输技术?
以上就是我今天想为大家分享的有关ABAP顾问面试的问题总结,希望对大家面试能够有帮助,更多有关SAP顾问面试题都在朗泽主页分享。
sap技术面试题
sap技术面试题在进行SAP技术面试前,准备充分是非常重要的。
以下是一些常见的SAP技术面试题,通过了解这些问题及其答案,可以帮助您更好地应对和准备面试。
问题1:请简要介绍一下SAP系统及其组成部分。
答:SAP(Systems, Applications and Products in Data Processing)是企业级应用软件的领先提供商。
SAP系统由若干组件组成,其中最常见的组件包括SAP ERP(企业资源计划)、SAP BW(商务智能)、SAP CRM(客户关系管理)等。
问题2:请解释一下SAP ECC系统是什么?它有哪些模块?答:SAP ECC(Enterprise Central Component)是SAP ERP系统的核心组件,它包含了企业的主要功能和流程。
SAP ECC系统主要由以下模块组成:1. 采购管理(MM):处理采购订单、供应商管理等。
2. 销售与分销(SD):处理销售订单、客户管理等。
3. 财务会计(FI):处理财务报表、总账记账等。
4. 控制管理(CO):处理成本控制、利润中心等。
5. 人力资源管理(HR):处理员工管理、薪资核算等。
问题3:什么是SAP HANA?它有何优点?答:SAP HANA(High-Performance Analytic Appliance)是SAP开发的内存数据库和应用平台。
它具有以下优点:1. 性能提升:SAP HANA通过将数据加载到内存中,大大加快了数据查询和分析的速度。
2. 实时分析:SAP HANA可以实现实时数据分析,使企业能够更快地做出决策。
3. 数据集成:SAP HANA支持多种数据源的集成,可以方便地从不同系统中提取和整合数据。
4. 简化IT架构:SAP HANA可以将不同系统的功能整合到一个平台上,减少了企业的IT复杂性。
问题4:在SAP系统中,什么是SAP ABAP?它的作用是什么?答:SAP ABAP(Advanced Business Application Programming)是SAP系统的一种编程语言,用于开发、定制和扩展SAP应用程序。
后端开发工程师面试题及答案
后端开发工程师面试题及答案在当今数字化时代,后端开发工程师在构建高效、稳定和可扩展的Web 应用程序中发挥着至关重要的作用。
为了筛选出优秀的后端开发工程师,面试环节中的问题设计至关重要。
以下是一些常见的后端开发工程师面试题及答案:一、数据库相关1、什么是数据库索引?为什么要使用索引?答案:数据库索引是一种数据库结构,用于加快数据的检索和排序操作。
它类似于书籍的目录,可以帮助数据库快速定位到所需的数据,而不必扫描整个数据表。
使用索引的主要原因是提高查询性能,减少数据检索的时间。
2、解释一下数据库的事务及其特性(ACID)。
答案:事务是一个不可分割的工作单元,要么全部成功执行,要么全部回滚。
ACID 特性分别是:原子性(Atomicity),事务中的所有操作要么全部完成,要么全部不完成;一致性(Consistency),事务执行前后,数据库的完整性约束没有被破坏;隔离性(Isolation),多个事务并发执行时,它们之间相互隔离,互不干扰;持久性(Durability),一旦事务成功提交,其对数据库的更改是永久性的。
3、如何优化数据库查询性能?答案:可以通过创建合适的索引、避免全表扫描、优化 SQL 语句的结构、分表分库、合理使用存储过程等方式来优化数据库查询性能。
例如,在查询中尽量避免使用`LIKE '%value%'`这样的通配符在字符串开头,因为这通常无法使用索引。
二、编程语言相关(以 Python 为例)1、解释 Python 中的装饰器,并给出一个简单的示例。
答案:装饰器是 Python 中的一种高级特性,它可以在不修改被装饰函数源代码的情况下,为函数添加额外的功能。
例如:```pythondef my_decorator(func):def wrapper(args, kwargs):print("Before function execution")result = func(args, kwargs)print("After function execution")return resultreturn wrapper@my_decoratordef my_function():print("Inside the function")my_function()```2、谈谈 Python 的内存管理机制。
SAP面试考题集锦
作业之间的关系 (relationship)共 有几种,并说明是哪几 种? SAP包含哪几种网络活 动类型? 对于项目成本的余额 结是如何进行的? 激活预算控制的事物 代码是什么?
取消激活预算控制的 事物代码是什么? 操作过程中发现没有 权限,可以使用什么 事务代码发现缺少的 权限对象代码? 客户化开发过程中, 作为业务顾问要了解 客户的需求,将客户 需求编写为功能说明 书,在编写功能说明 书的过程中,要用到 系统中的透明表,请 问PS常用的透明表有 哪些?列举几个? 查询项目上已发生的 项目成本,可以通过 哪个事物代码进行查 采购合同在ERP系统上 的表现形式是什么? 确认工程服务进度款 的事物代码是什么? 用来进行角色配置的 事物代码是什么? 进行数据批量导入的 常用工具有哪些? 查询采购申请和采购 订单的事物代码分别 是什么? 使拥有该角色的用户 能够设置对应用户状 态进行操作,在角色 中增加用户状态参数 文件中所对应的什么 配置?(或WBS状态参 数文件可通过什么来 控制用户对用户状态 为了保证服务确认不 产生财务凭证,必须 勾选科目分配类别对 应的哪个选项? 单独审批采购申请的 事务代码? 批量审批采购申请的 事物代码? PS模块中最重要的几 个参数文件是指哪几 个? 服务主数据维护的事 务代码是? 查看透明表结构及数 据的事务代码有哪
使用ME23N,输入该项目订单编号,在“项目 细节”的“采购订单历史”标签页下可以查 看得到,该订单是否已做收货或服务确认、 发票预制等相关信息。
为结算规则定义一般策略:1、使用WBS要素 结算规则定义的一般 的结算规则 2、使用项目定义的结算规则 3 策略? 、使用默认规则自动生成结算规则 4、对 WBS元素生成结算规则 5、手工维护结算规则 项目管理涉及发展策划部、基建部、农电工 作部、生技部、科信部、机关工作部、财务 项目管理(PS)实施 与资产部、审计部、招投标中心及工区等部 涉及的部门和功能? 门,可以实现工程项目的概算管理和控制、 进度管理、合同管理、项目结算和决算等诸 PS模块主要数据有未清项目、项目采购申请 、服务供应商、WBS模板和网络模板,模板是 项目管理(PS)需要 项目标准化管理的载体,项目实施过程中需 收集的数据有哪些, 要根据不同项目类型整理典型的项目模板, 在系统上线后,需要根据实际工作对模板进 谁负责? 行及时调整。数据收集需要基建部、生技部 、科信部和机关工作部等各类项目负责部门
招聘软件面试题库及答案
招聘软件面试题库及答案一、选择题1. 在软件开发中,哪种设计模式通常用于创建一个对象的多个独立部分,然后按需将它们组合成一个整体?A. 单例模式B. 工厂模式C. 装饰器模式D. 适配器模式答案:C2. 下列哪个不是数据库事务的四大特性?A. 原子性B. 一致性C. 持久性D. 可扩展性答案:D二、填空题3. 在Java中,______关键字用于定义一个方法,该方法不能被任何子类重写。
答案:final4. 在HTML中,用于定义文档类型声明的标签是______。
答案:<!DOCTYPE>三、简答题5. 请简述什么是RESTful API,并列举其主要特点。
答案:RESTful API是一种基于HTTP协议的网络服务接口设计原则,它通过HTTP方法(如GET、POST、PUT、DELETE等)来实现资源的创建、检索、更新和删除。
其主要特点包括:- 无状态:每个请求从客户端到服务器必须包含所有必要的信息,服务器不会存储任何请求之间的状态信息。
- 可缓存:响应可以被标记为可缓存或不可缓存。
- 统一接口:使用统一的接口简化了客户端和服务器之间的交互。
- 可分层:允许使用分层的系统来处理请求。
- 按需编码:服务器可以根据请求的资源动态生成内容。
- 可超媒体驱动:客户端和服务器之间的交互是超媒体驱动的,即通过超链接来发现资源。
四、编程题6. 编写一个Python函数,实现计算一个列表中所有数字的平均值。
示例代码:```pythondef calculate_average(numbers):if not numbers:return 0return sum(numbers) / len(numbers)```五、案例分析题7. 假设你正在开发一个在线购物平台的后端服务。
请描述如何处理以下场景:- 用户登录认证- 商品库存管理- 订单处理流程答案:用户登录认证通常使用JWT(JSON Web Tokens)来实现,确保用户身份验证和授权。
SAP内部ABAP英文面试试题
1. Repository objects are not client-specific.Determine whether this statement is true or false.□ True□ Falseects can be included in SAP packages.2. Customer obj2. Customer objects can be included in SAP packages.Determine whether this statement is true or false.□ True□ False3. You must create a new application program for each language used in the system. Determine whether this statement is true or false.□ True□ False4. When is the transport of development objects for a development request triggered?Choose the correct answer(s).□ A When an object is saved.□ B When an object is saved□ C When a task is released□ D When a request is released5. Using Dictionary types (descriptive elements), variables can be defined in the program.Determine whether this statement is true or false.□ True□ False6. What are the facts about data elements and domains?Choose the correct answer(s).□ A Data elements contain technical and semantic information.□ B Data elements always refer to domains.□ C Data elements typically refer to domains.□ D Data elements must not be used for defining a variable.7. Database tables are always created, with their content, in the ABAP Dictionary. Determine whether this statement is true or false.□ True□ False8. What is defined with the statement "DATA myvar TYPE dbtab." if dbtabis a transparent table?Choose the correct answer(s).□ A A copy of the database table dbtab□ B A table variable with the same structure as the database table dbtab□ C A table variable with the same content as the database table dbtab□ D A structure variable with the same structure as a dbtab row9. By which elements of the ABAP Dictionary can you set the type for a structure variable within the program?Choose the correct answer(s).□ A Dataelement□ B Domain□ C Structure□ D Transparent table10. What is an internal table?Choose the correct answer(s).□ A Database table□ B Exceltable□ C V ariable in an ABAP program□ D Table that is embedded in another table11. What is a table type?Choose the correct answer(s).□ A An internal table□ B Description of an internal table□ C Description of a database table□ D The specification "STANDARD"/"SORTED"/"HASHED" for aninternal table12. SBOOK is a database table.Which syntax variant do you use to create an internal table with the samestructure as SBOOK?Choose the correct answer(s).□ A DATA itab TYPE sbook.□ B DATA itab TYPE TABLE OF sbook.□ C DATA itab TYPE LINE OF sbook.□ D DATA itab LIKE sbook.13. Which statement retrieves a single record from an internal table?Choose the correct answer(s).□ A SELECT ... ENDSELECT□ B SELECT SINGLE□ C READ TABLE□ D GET□ E FETCH14. In which system field do you find the number of the records read using SELECT? Choose the correct answer(s).□ A SY-SUBRC□ B SY-TABIX□ C SY-DBCNT□ D SY-INDEX15. Which of the following statements concerning authorization checks are correct? Choose the correct answer(s).□ A In the SELECT statement, the corresponding authorization check isalready integrated.□ B The SELECT statement functions without any problem, even if theuser does not have the appropriate authorization for the read process.□ C To protect data from unwanted access, an authorization check mustbe implemented in the program.□ D An authorization check must always be implemented in the program.16. Which of the following statements concerning authorization and authorization checks are correct?Choose the correct answer(s).□ A An authorization object has fields and field values.□ B An authorization is a real characteristic of an authorization object -that is, an authorization object with field values.□ C There are authorization objects in the user master record.□ D Thereareauthorizations in the user master record.17. Which of the following statements concerning runtime analysis are correct? Choose the correct answer(s).□ A The runtime analysis also finds syntax errors in your programs.□ B The runtime analysis also finds semantic errors in your programs.□ C To get a detailed evaluation or the runtime analysis, you should createa variant with the setting "No Aggregation" and specifiy it duringexecution of the runtime analysis.□ D When you are evaluating the results, you should always considerthe measurement environment - that is, the network/system load atthe time of measurement, the data volume, and possibly existingtable buffers18. Which of the following statements on the Code Inspector are true?Choose the correct answer(s).□ A When a Code Inspector check is carried out, a check variant mustalways be specified.□ B To define the level of detail for a check, you can create an appropriatecheck variant and specify it for the inspection.□ C The execution of a Code Inspector check through the (context) menuof the Object Navigator uses a standard check variant.□ D Check variants, object sets, and inspections can be defined usingtransaction SCI.19. Which aspects are taken into consideration by the Code Inspector when a program is examined?Choose the correct answer(s).□ A Syntax check□ B Typical semantic errors (for example, AUTHORITY-CHECKstatement without subsequent SY-SUBRC check)□ C Performance (for example, nested SELECT statements)□ D Security (for example, cross-client data accesses)□ E Formatting of the source code (for example, indenting of the programlines within loops)20. What purpose does the subroutine technique serve?□ A For performance improvement□ B For a better overview of program layout□ C To encapsulate a function that is required many times within aprogram for multiple use□ D To implement the central maintainability of a function within aprogram□ E To make a function available across the system21. What purpose should the passing of parameters to subroutines serve?Choose the correct answer(s).□ A Mainly for passing user inputs to the subroutine□ B For performance improvement□ C For achieving more flexibility in the subroutine□ D For achieving more stability in the subroutine22. Which of the following statements concerning subroutines are correct?Choose the correct answer(s).□ A When a subroutine is called, variables or literals are to be passed asactual parameters to the corresponding formal parameters.□ B When a subroutine is called, it is important to watch out for the samenames of formal parameters and actual parameters.□ C The passing method for formal parameter is defined in the subroutine definition.□ D There are two different passing methods for formal parameters.□ E USING parameters without the V ALUE addition are call-by-reference parameters.□ F Large internal tables should be passed to the subroutine through a call-by-value parameter.23. Which of the following statements regarding event processing blocks are correct? Choose the correct answer(s).□ A If a program does not have any explicit event processing blocks, allthe statements implicitly belong to the AT-SELECTION-SCREENblock.□ B The sequence of event processing blocks in the program does nothave any effect on the program flow.□ C Event processing blocks can be nested within each other.□ D Event processing blocks must be explicitly closed in each case.24. Using which syntax do you issue a text symbol named abc on the list?Choose the correct answer(s).□ A WRITE abc.□ B WRITE 'abc'.□ C WRITE 'text-abc'.□ D WRITE text-abc.25. Which of the following statements regarding text elements of a program are correct?□ A Text symbols as well as list and column headings belong to the text elements.□ B Text elements are stored in the respective program.□ C Not all text elements can be translated.□ D Text elements of a program must be activated for use.□ E By maintaining the list heading, you can also change the shortdescription of the program.26. Which of the following statements concerning selection texts are correct? Choose the correct answer(s).□ A No selection texts can be maintained for select options.□ B Just like list headings can be maintained directly on the list, so toocan selection texts be maintained directly on the selection screen.□ C Selection texts cannot be translated.□ D Selection texts belong to the text elements of a program, just like text symbols and list headings, and therefore they can also be translated.27. Which of the following statements concerning selection screens are correct? Choose the correct answer(s).□ A All the input fields of a selection screen have an F1 help available.□ B All the input fields of a selection screen have an F4 help available.□ C Typically, authorization checks are executed at the event ATSELECTION-SCREEN.□ D A user message of type E triggers the display of the messagetext with program cancelation if it is transmitted at the event ATSELECTION-SCREEN.□ E Variants are filled-in selection screens of a program and are storedwith the program concerned.28. Which of the following statements concerning the dynpro are correct? Choose the correct answer(s).□ A The static subsequent screen of a dynpro cannot be overridden dynamically.□ B A screen has a flow control setup, in addition to the attributes, layout,and element list.□ C You will find ABAP statements in the flow control of a screen.□ D In the dynpro flow control, you will find references to modules thatare contained in the program and include ABAP statements.□ E The automatic data transport between internal program variables anddynpro fields takes place only with fields of the same name.29. Which of the following statements concerning function modules are correct? Choose the correct answer(s).□ A When you call a function module, all the import, export, andCHANGING parameters have to be filled with data.□ B Whenever a function module is called, all exceptions should becaught and handled. Otherwise, a runtime error occurs whenever anexception that is not caught is triggered by the function module.□ C When a function module is called, the IMPORT parameters arepassed with the IMPORT addition and the EXPORT parameters arepassed with the EXPORT addition.□ D When a function module is called, the IMPORT parameters arepassed with the EXPORT addition and the EXPORT parameters arepassed with the IMPORT addition.30. Which of the following statements concerning classes/methods are correct? Choose the correct answer(s).□ A In the SAP standard version, classes that contain useful functions are already available.□ B You can search for classes using the standard search tools "RepositoryInfo System" and "SAP Application Hierarchy".□ C You can use a standard class to control the SAP Grid Control (ALV).□ D To call up other EnjoySAP controls (for example, tree control), youmust define your own specific classes.。
SAP ABAP试题
一选择题(共40题,每题2分,未特殊注明则均为单选)1,下面的语句中,哪一个语句编译会报错(假设XXX和结构sflight都已经定义).(C)A)write at 12 XXX.B)data type type sflight.C)sflight-price = a+b.D)write sy-vline.2.在ABAP/4的开发工作中,哪一个TCODE是直接进入就可以创建程序,函数组以及程序内部各种元素的.(A)A) SE80 B) SE11 C) SE93 D)SE163.直接进入就可以查询表的结构是哪个TCODE. ( B )A) SE80 B) SE11 C) SE93 D)SE164.很多表当中都有一个字段,叫做MANDT,为第一个主键,这个字段的用处是.(B)A)区分后台数据库的类型B)区分表中记录属于哪个客户端(client)C)区分表的数据量大小D)SAP系统保留字段5.下面的定义语句中,哪一个语句定义出来的结果是一个内表.(D)A)DATA zsflight TYPE sflight.结构B)DATA:COLS LIKE LINE OF TC-COLS.C)TABLES SFLIGHT.D)DATA:zsflight TYPE TABLE OF sflight.6.ABAP中三种基本的数据对象是.(A)A)内表结构基本数据对象B)内表程序语句C)字符数字日期D)语句程序表7.语句loop at itab into wa.的准确意思是.(D)A)把wa中的值进行循环,每一次循环都写回内表B)求出迷宫itab的出口放在wa里C)对内表itab的数值列进行累加放入wa中D)对内表itab进行循环,把循环中每一行的结果写入结构wa中8.程序中执行了这么一段代码DATA it_sflight type sflight with header line.Loop at it_sflight.it_sflight-carrid = 'AA'.Modify it_sflight.Endloop.该段语法中出现了四次it_sflight,其中后三次分别代表的是内表还是结构.(B)A)内表内表B)内表结构内表C)内表结构D)内表结构9.在设计报表程序时,选择的程序类型应该是.(A)A)可执行程序B)模块池程序C)包含程序D)函数组程序10."在报表程序的屏幕筛选条件里,SELECT-OPTIONS定义出来的元素是.(A)A)内表B)结构C)基本数据对象D)指针型字段11."在报表程序的屏幕事件里,有一个事件叫做ATLINE-SELECTION.参见如下代码:WRITE / ‘ABAP’.AT LINE-SELECTION.WRITE /‘TEST’.那么,以下哪种情况会发生.(B)A)先显示出一行ABAP,当用户双击一次时,屏幕上在原来ABAP那行下面换行一次显示出一行新的TESTB)先显示出一行ABAP,当用户双击一次时,屏幕上每次只显示出一行的TEST取代原先的屏幕C)先显示出一行ABAP,当用户双击一次时,屏幕上永远只显示出一行TEST(放在原来ABAP那行下面)D)先显示出一行ABAP,当用户第一次双击时,产生一个新屏幕,显示一行TEST,然后每次双击都在其下换行显示一行新的TEST12."选择事件的执行顺序正确的一组.(B)A)INITIALIZATION/START-OF-SELECTION/TOP-OF-PAGE/ATLINE-SELECTIONB)INITIALIZATION/TOP-OF-PAGE/START-OF-SELECTION/ATLINE-SELECTIONC)START-OF-SELECTION/ INITIALIZATION / TOP-OF-PAG / AT LINE-SELECTIOND)INITIALIZATION/TOP-OF-PAGE/ATLINE-SELECTION/START-OF-SELECTION13."在层级报表的开发里,下面哪个条件不是必需的.()CA)对内表先按层级字段排序B)对内表和结构定义时层级字段必须排在前面C)层级字段不能出现在at和end at语句之外D)层级字段必须存在14."在明细报表的开发中,双击一行转向明细报表的取数依据是.(C)A)你双击那行的主键字段B)你双击的那个字段本身C)你双击那行在循环中预先hide的字段D)你双击那行在循环中预先已经write出来的字段15."在交互式报表的设计中,假如想在明细报表里加入任意字段的排序功能,请选择正确的选项(多选).()A)要先用get cursor field XXX.取得字段B)对内表排序时该字段要用括号括起来C)在排序时要把该字段加上一个数字以去除前面的结构名称(如果是用结构-字段定义的话)D)排序后显示完要把sy-lsind = 0,以防止产生多余的list16."在屏幕编程的设计中,下面共有四个主要步骤:a设计屏幕的格式(有哪些字段,放在什么位置)b设计屏幕的整体属性c设计屏幕上字段的属性d编写屏幕的流逻辑( flow logic )请选择通常请况下正确的顺序. ( C )A)a b c dB)c d b aC)b a c dD)d b a c17."如果屏幕A的下一个屏幕仍然是A ,那么当执行程序时,对于屏幕的主要事件,下面哪种顺序是正确的.(D)A)A的PAI ? A的PBO ? A的PAI ? A的PBOB)A的PBO ? A的PAI ? A的PAI ? A的PBOC)A的PAI ? A的PAI ? A的PBO ? A的PBOD)A的PBO ? A的PAI ? A的PBO ? A的PAI18."屏幕编程中一个屏幕所使用的工具栏应如何设计.(A)A)先设计一个Gui Status,再在程序中绑定B)先设计一个Gui Titles,再在程序中绑定C)在程序中用Add button语法添加D)在屏幕设计格式的界面上添加工具栏及其按钮19."以下四种系统变量,各是什么含意.(D)SY-UCOMM SY-DATUM SY-SUBRC SY-TABIXA)用户触发的屏幕上的功能码当前日期当前时间循环次数B)当前日期当前时间循环次数用户触发的屏幕上的功能码C)用户触发的屏幕上的功能码循环次数语句执行结果返回值当前日期D)用户触发的屏幕上的功能码当前日期语句执行结果返回值循环次数20."一个程序的子屏幕编程是如何实现的.(C)A)子屏幕区域外加屏幕(属性设置为正常屏幕)B)自定义控件外加屏幕(属性设置为正常屏幕)C)子屏幕区域外加屏幕(属性设置为子屏幕)D)自定义控件外加屏幕(属性设置为子屏幕)21."对于表格控件和内表的绑定的做法,下面哪种说法是正确的.(A)A)PBO 时同步循环内表和表格控件把内表的值写入表格控件,PAI时用同样的循环把表格控件的值写回内表B)PBO时同步循环内表和表格控件把表格控件的值写入内表,PAI时用同样的循环把内表的值写回表格控件C)在定义内表时定义与之绑定的表格控件,PBO和PAI事件要各循环内表一次D)在制作表格控件时定义与之绑定的内表,PBO和PAI事件要各循环表格控件一次22."如果要把表格控件某列的属性动态的改变成不可输入,下面哪种做法是可行的.(B)A)在PAI事件中修改table的general attribute值B)在PBO事件中修改table的general attribute值C)在PAI事件中取得table的COLS属性,利用它本身是个内表的特点循环找到该列修改之,修改完后写回COLS内表D)在PAI事件中取得table的COLS属性,利用它本身是个结构的特点找到其中表示该列的字段修改23."要对表格控件增加一个可由用户写入信息的列,下面哪种方式是可行的(多选).()A)在设计屏幕上点击dictionary / program fields window按钮,输入字典表或者程序中定义的元素,把它拖到表格控件中B)在设计屏幕上修改table的attributes,增加一列C)在设计屏幕中的表格控件里拖入一个text field(文本字段)D)在设计屏幕中的表格控件里拖入一个input/output field(输入/输出字段)24."在编写ALV GRID CONTROL时,应遵循以下哪种顺序.(A)A)在屏幕上建区域,创建区域对象,创建ALVGRID对象,调用ALVGRID的set_table_for_first_display方法B)在屏幕上建区域,创建ALVGRID对象,创建区域对象,调用ALVGRID的set_table_for_first_display方法C)调用ALVGRID的set_table_for_first_display方法,在屏幕上建区域,创建ALVGRID对象,创建区域对象D)创建区域对象,调用ALVGRID的set_table_for_first_display方法,在屏幕上建区域,创建ALVGRID对象,25."自己制作一个搜索帮助,引用的表是SBOOKINGS,DialogType是Dialogwithvalue restriction,里面customid和name这两个字段的IMP属性打勾,customid,name,carrid,connid这四个字段的EXP属性打勾,四个字段都设定了LPOS和SPOS,这个搜索帮助的输出效果是.()A)先输出两个栏位的筛选屏幕,再按照筛选结果输出两个栏位的表格信息让用户选择,选择结果影响到四个栏位B)先输出两个栏位的表格信息让用户选择,选择结果影响到四个栏位C)先输出四个栏位的表格信息让用户选择,选择结果影响到两个栏位D)先输出四个栏位的筛选屏幕,再按照筛选结果输出四个栏位的表格信息让用户选择,选择结果影响到两个栏位26."ABAP的OPEN SQL的取数语句是否可以实现数据库无关性,其原因是什么.(C)A)不可以,数据库的SQL格式不同B)可以,因为它的名字叫做OPEN SQLC)可以,因为中间有一层DB Interface做转换D)不可以,各种数据库的版本不同228."一个表TA有三个字段,其中第一个字段是主键,目前有一条记录是1/‘first’/19,结构wa_result是和表相同类型的,当前值是2/‘second’/ 20 .执行OPEN SQL语句:modify TA from wa_result.执行后对系统的影响为.(B)A)没有任何影响B)TA有两条记录1 / ‘first’/ 19 和2 / ‘second’ / 20C)TA有一条记录2 / ‘second’ / 20D)系统出错退出,对表没有任何影响29."SAP对锁的主要实现手段是.()A)在SE11里加锁对象,然后在程序中调用锁对象生成的函数B)在数据库里加锁,在程序中声明C)由数据库自动进行,SAP不用处理D)在程序中通过SQL语句实现**30."有一程序,起始画面里有一个用户可以输入字段为A,如果想在程序进入的时候自动设置成上次退出时的值,可以采用的方法是.(B)A)在退出时使用GET PARAMETER ID 'XXX' FIELDA.在进入时使用SET PARAMETER ID 'XXX' FIELDA.B)在退出时使用SET PARAMETER ID 'XXX' FIELDA.在进入时使用GET PARAMETER ID 'XXX' FIELDA.C)不管是退出还是进入时,都执行语句GET PARAMETER ID 'XXX' FIELDA.D)不管是退出还是进入时,都执行语句SET PARAMETER ID 'XXX' FIELDA.31."SAP的SMARTFORM和ABAP PROGRAM的对应关系是.(C)A)一个SMARTFORM对应多个程序B)一个程序对应多个SMARTFORMC)一个SMARTFORM对应多个程序,一个程序也可以对应多个SMARTFORMD)一个SMARTFORM对应一个程序32."设计SMARTFORM显示一个表格,如果第一页是一种格式,后面几页是一种格式,如何设计.()A)第一页指向第二页,第二页指向空B)第一页指向自己,第二页指向第一页C)第一页指向第二页,第二页指向第一页D)第一页指向第二页,第二页指向自己33."如果想设计SMARTFORM中大家公用的文本,应该使用什么技术.()A)SMART TEXTB)SMART STYLEC)SAP SCRIPTD)TEXT MODULE34."下面对于SMARTFORM中TABLE和TEMPLATE的描述,正确的是.(A)A)TEMPLATE用来设计表格模版,TABLE用来设计表格实体B)TEMPLATE用来设计表格样式,TABLE用来设计表格实体C)TEMPLATE用来设计静态表格,TABLE用来设计表格实体D)TEMPLATE用来设计静态表格,TABLE用来设计动态表格35."SMARTFORM中TABLE的排序事件的触发场合是.()A)循环到排序字段第一次开始时触发开始事件,循环到排序字段结束时触发结束事件B)循环到排序字段第一次开始时触发开始事件,循环到表格结束时触发结束事件C)当表格开始时触发开始事件,表格结束时触发结束事件D)循环到排序字段第一次开始时触发开始事件,然后触发结束事件,然后开始正式循环该排序字段剩余记录36."在SMARTFORM中显示一个表格,其中有一个栏位为wa_sflight-price,现在里面有三行数据,其值依次分别是10,30,50,现在在表格设计的时候在GlobalDefinition中定义一个变量G_TOL,在表格的Main Area中加入一个真假节点,节点的条件为WA_SFLIGHT-PRICE > 10 .然后,在真节点下加一个程序行,内容为G_TOL = wa_sflight-price +10."假节点下加一个程序行,内容为G_TOL =wa_sflight-price+20."最后在表格的Footer下加一个表行(在表格最后显示),下加一个文本节点显示这个字段G_TOL,它显示的值应该是.()A)60B)70C)140D)15037."SAP提供的修改系统标准功能的方案里,哪几种是不需要修改系统标准程序就可以实现的.(C)A)Customer Develepment,Enhancement,ModificationB)Customer Develepment,Customizing,ModificationC)Customer Develepment,Customizing,EnhancementD)Enhancement,Modification,Customizing38."对于客户定制需求的解决方案,应该遵循哪一种顺序进行为宜.(C)A)先判断能否配置;再判断系统有无类似功能,有的话先判断能否修改标准程序,再判断能否进行Enhancement;最后考虑自己开发B)先判断系统有无类似功能,有的话先判断能否修改标准程序,再判断能否进行Enhancement;然后判断能否配置;最后考虑自己开发C)先判断能否配置;再判断系统有无类似功能,有的话先判断能否进行Enhancement,再判断能否修改标准程序;最后考虑自己开发D)先判断系统有无类似功能,有的话先判断能否进行Enhancement,再判断能否修改标准程序;然后判断能否配置;最后考虑自己开发39."自己定义一个增强项目,加入系统的增强,并在其中激活增强的TCODE 应该是.(B)A)SMODB)CMODC)SE84D)SE8040."在SAP系统标准增强功能里,主要包含了以下哪组功能.(A)A)Table Enhancement/Screen Exit/Menu Exit/Function module ExitB)Table Enhancement/Structure Exit/Menu Exit/Event ExitC)Menu Exit/Function module Exit/Field Exit/BAPI ExitD)Structure Exit/Menu Exit/Table Enhancement/Screen Exit。
ABAP面试及答案Interview+Questions
面试问题集1.数据效率?尽量使用Select(max,min,sum,avg)和select single,for all enteris,二分法,append和collect loop里不能套select;避免使用select distinct,代替先sort,再delete;①抽取数据时,避免使用SELECT *, 尽量使用SELECT A B INTO TABLE ITAB这样的语句。
②不要使用SELECT...ENDSELECT语句。
③尽量避免在LOOP中访问数据库。
可以在之前先把数据取到内表,在LOOP中用READ TABLE WITHKEY ... BINARY SEARCH.进行读取对应的数据。
④用SORT代替ORDER BY。
⑤使用二分查找法。
READ TABLE的之前使用SORT TABLE BY对内表进行排序, 然后使用READ TABLEWITH KEY ...BINARY SEARCH.⑥避免使用SELECT DISTINCT语句。
在抽取数据到内表后用DELETE ADJACENT DUPLICATES语句来消除重复行。
⑦尽量多指定WHERE语句条件。
⑧在WHERE语句指定查询条件时,在同等条件下把包含等号的查询条件放到前边。
2.什么时候使用For all entries命令及其使用时的注意事项?当需要在LOOP中使用查询语句时,一般使用For all entries。
注意事项:①IN条件所在的内表不能为空(如为空将取出全部的数据);②数据库字段与内表中的关联比较字段必须具有相同的类型和长度,且不能在比较中使用操作符LIKE、BETWEEN和IN,同时不能使用ORDER BY子句。
③为避免删除并不重复的纪录,在定义内表时应尽可能多的指定关键字。
3.如何设置ALV的鼠标双击事件。
如何设置ALV的页眉和页脚?ALV的鼠标双击事件:构造LS_LAYOUT的F2CODE属性设置为”&ETA”即可。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
ABAP试题(请高手给答案,十万火急!)1,下面的语句中,哪一个语句编译会报错(假设XXX 和结构sflight都已经定义). (c )A)write at 12 XXX.B)data type type sflight.C)sflight-price = a+b.D)write sy-vline.2.在ABAP/4的开发工作中,哪一个TCODE是直接进入就可以创建程序,函数组以及程序内部各种元素的. (a)A) SE80 B) SE11 C) SE93 D)SE163.直接进入就可以查询表的结构是哪个TCODE. ( b)A) SE80 B) SE11 C) SE93 D)SE164. 很多表当中都有一个字段,叫做MANDT, 为第一个主键,这个字段的用处是.(b )A)区分后台数据库的类型B)区分表中记录属于哪个客户端(client)C)区分表的数据量大小D)SAP系统保留字段5.下面的定义语句中,哪一个语句定义出来的结果是一个内表. (d)A)DATA zsflight TYPE sflight.B)DATA: COLS LIKE LINE OF TC-COLS.C)TABLES SFLIGHT.D)DATA: zsflight TYPE TABLE OF sflight.6.ABAP中三种基本的数据对象是. (a)A)内表结构基本数据对象B)内表程序语句C)字符数字日期D)语句程序表7.语句loop at itab into wa. 的准确意思是. (d)A)把wa中的值进行循环,每一次循环都写回内表B)求出迷宫itab的出口放在wa里C)对内表itab的数值列进行累加放入wa中D)对内表itab进行循环,把循环中每一行的结果写入结构wa中8.程序中执行了这么一段代码DATA it_sflight type sflight with header line.Loop at it_sflight.it_sflight-carrid = 'AA'.Modify it_sflight.Endloop.该段语法中出现了四次it_sflight,其中后三次分别代表的是内表还是结构. (b )A)内表内表内表B)内表结构内表C)内表结构结构D)内表内表结构9.在设计报表程序时,选择的程序类型应该是.(a )A)可执行程序B)模块池程序C)包含程序D)函数组程序10.在报表程序的屏幕筛选条件里,SELECT-OPTIONS定义出来的元素是.(a)A)内表B)结构C)基本数据对象D)指针型字段11.在报表程序的屏幕事件里,有一个事件叫做AT LINE-SELECTION.参见如下代码:WRITE / ‘ABAP’.AT LINE-SELECTION.WRITE /‘TEST’.那么,以下哪种情况会发生.(b )A)先显示出一行ABAP,当用户双击一次时,屏幕上在原来ABAP那行下面换行一次显示出一行新的TESTB)先显示出一行ABAP,当用户双击一次时,屏幕上每次只显示出一行的TEST 取代原先的屏幕C)先显示出一行ABAP,当用户双击一次时,屏幕上永远只显示出一行TEST (放在原来ABAP那行下面)D)先显示出一行ABAP,当用户第一次双击时,产生一个新屏幕,显示一行TEST,然后每次双击都在其下换行显示一行新的TEST12.选择事件的执行顺序正确的一组.(a )A)INITIALIZATION / START-OF-SELECTION / TOP-OF-PAGE / AT LINE-SELECTIONB)INITIALIZATION / TOP-OF-PAGE / START-OF-SELECTION / AT LINE-SELECTIONC)START-OF-SELECTION/ INITIALIZATION / TOP-OF-PAG / AT LINE-SELECTIOND)INITIALIZATION / TOP-OF-PAGE / AT LINE-SELECTION / START-OF-SELECTION13.在层级报表的开发里,下面哪个条件不是必需的.(d)A)对内表先按层级字段排序B)对内表和结构定义时层级字段必须排在前面C)层级字段不能出现在at 和end at 语句之外D)层级字段必须存在14.在明细报表的开发中,双击一行转向明细报表的取数依据是.(c)A)你双击那行的主键字段B)你双击的那个字段本身C)你双击那行在循环中预先hide的字段D)你双击那行在循环中预先已经write出来的字段15.在交互式报表的设计中,假如想在明细报表里加入任意字段的排序功能,请选择正确的选项(多选).()A)要先用get cursor field XXX.取得字段B)对内表排序时该字段要用括号括起来C)在排序时要把该字段加上一个数字以去除前面的结构名称(如果是用结构-字段定义的话)D)排序后显示完要把sy-lsind = 0,以防止产生多余的list16.在屏幕编程的设计中,下面共有四个主要步骤:a 设计屏幕的格式(有哪些字段,放在什么位置)b 设计屏幕的整体属性c 设计屏幕上字段的属性d 编写屏幕的流逻辑( flow logic )请选择通常请况下正确的顺序. ( c)A)a b c dB)c d b aC)b a c dD)d b a c17. 如果屏幕A 的下一个屏幕仍然是A , 那么当执行程序时,对于屏幕的主要事件,下面哪种顺序是正确的. (d)A 的◊ A 的PAI ◊ A 的PBO ◊A)A 的PAI PBOA 的PBO◊ A 的PAI ◊ A 的PAI ◊B)A 的PBOA 的PBO◊ A 的PAI ◊C)A 的PAI A 的PBO◊A 的PAI18.屏幕编程中一个屏幕所使用的工具栏应如何设计.a (◊A 的PBO ◊A 的PAI ◊D)A 的PBO )A) 先设计一个Gui Status,再在程序中绑定B) 先设计一个Gui Titles,再在程序中绑定C) 在程序中用Add button 语法添加D)在屏幕设计格式的界面上添加工具栏及其按钮19. 以下四种系统变量,各是什么含意. (d)SY-UCOMM SY-DATUM SY-SUBRC SY-TABIXA)用户触发的屏幕上的功能码当前日期当前时间循环次数B)当前日期当前时间循环次数用户触发的屏幕上的功能码C)用户触发的屏幕上的功能码循环次数语句执行结果返回值当前日期D)用户触发的屏幕上的功能码当前日期语句执行结果返回值循环次数20.一个程序的子屏幕编程是如何实现的. (c )A)子屏幕区域外加屏幕(属性设置为正常屏幕)B)自定义控件外加屏幕(属性设置为正常屏幕)C)子屏幕区域外加屏幕(属性设置为子屏幕)D)自定义控件外加屏幕(属性设置为子屏幕)21.对于表格控件和内表的绑定的做法,下面哪种说法是正确的. (a)A)PBO时同步循环内表和表格控件把内表的值写入表格控件,PAI时用同样的循环把表格控件的值写回内表B)PBO时同步循环内表和表格控件把表格控件的值写入内表,PAI时用同样的循环把内表的值写回表格控件C)在定义内表时定义与之绑定的表格控件,PBO和PAI事件要各循环内表一次D)在制作表格控件时定义与之绑定的内表,PBO和PAI事件要各循环表格控件一次22.如果要把表格控件某列的属性动态的改变成不可输入,下面哪种做法是可行的. (c)A)在PAI事件中修改table的general attribute值B)在PBO事件中修改table的general attribute值C)在PAI事件中取得table的COLS属性,利用它本身是个内表的特点循环找到该列修改之,修改完后写回COLS内表D)在PAI事件中取得table的COLS属性,利用它本身是个结构的特点找到其中表示该列的字段修改23.要对表格控件增加一个可由用户写入信息的列,下面哪种方式是可行的(多选).()A)在设计屏幕上点击dictionary / program fields window 按钮,输入字典表或者程序中定义的元素,把它拖到表格控件中B)在设计屏幕上修改table的attributes,增加一列C)在设计屏幕中的表格控件里拖入一个text field(文本字段)D)在设计屏幕中的表格控件里拖入一个input/output field(输入/输出字段)24.在编写ALV GRID CONTROL时,应遵循以下哪种顺序. ()A)在屏幕上建区域,创建区域对象,创建ALVGRID对象,调用ALVGRID的set_table_for_first_display方法B)在屏幕上建区域,创建ALVGRID对象,创建区域对象,调用ALVGRID的set_table_for_first_display方法C)调用ALVGRID的set_table_for_first_display方法,在屏幕上建区域,创建ALVGRID对象,创建区域对象D)创建区域对象,调用ALVGRID的set_table_for_first_display方法,在屏幕上建区域,创建ALVGRID对象,25.自己制作一个搜索帮助,引用的表是SBOOKINGS,Dialog Type是Dialog with value restriction,里面customid和name这两个字段的IMP属性打勾,customid,name,carrid,connid这四个字段的EXP属性打勾,四个字段都设定了LPOS和SPOS,这个搜索帮助的输出效果是. ()A)先输出两个栏位的筛选屏幕,再按照筛选结果输出两个栏位的表格信息让用户选择,选择结果影响到四个栏位B)先输出两个栏位的表格信息让用户选择,选择结果影响到四个栏位C)先输出四个栏位的表格信息让用户选择,选择结果影响到两个栏位D)先输出四个栏位的筛选屏幕,再按照筛选结果输出四个栏位的表格信息让用户选择,选择结果影响到两个栏位26.ABAP的OPEN SQL的取数语句是否可以实现数据库无关性,其原因是什么. (c)A)不可以,数据库的SQL格式不同B)可以,因为它的名字叫做OPEN SQLC)可以,因为中间有一层DB Interface做转换D)不可以,各种数据库的版本不同27.对ABAP的OPEN SQL语句的两个返回系统变量,描述正确的是. ()A)Sy-dbcnt表示执行结果是否正确,sy-subrc表示执行影响到的数据条数B)Sy-dbcnt表示执行影响到的数据条数,sy-subrc表示执行结果是否正确C)Sy-dbamt表示执行结果是否正确,sy-sudnc表示执行影响到的数据条数D)Sy-dbamt表示执行影响到的数据条数,sy-sudnc表示执行结果是否正确28.一个表TA有三个字段,其中第一个字段是主键,目前有一条记录是1 /‘first’/ 19,结构wa_result是和表相同类型的,当前值是2 / ‘second’ / 20 .执行OPEN SQL语句:modify TA from wa_result.执行后对系统的影响为. ()A)没有任何影响B)TA有两条记录1 / ‘first’/ 19 和2 / ‘second’ / 20C)TA有一条记录2 / ‘second’ / 20D)系统出错退出,对表没有任何影响29.SAP对锁的主要实现手段是. ()A)在SE11里加锁对象,然后在程序中调用锁对象生成的函数B)在数据库里加锁,在程序中声明C)由数据库自动进行,SAP不用处理D)在程序中通过SQL语句实现30.有一程序,起始画面里有一个用户可以输入字段为A ,如果想在程序进入的时候自动设置成上次退出时的值,可以采用的方法是. ()A)在退出时使用GET PARAMETER ID 'XXX' FIELD A.在进入时使用SET PARAMETER ID 'XXX' FIELD A.B)在退出时使用SET PARAMETER ID 'XXX' FIELD A.在进入时使用GET PARAMETER ID 'XXX' FIELD A.C)不管是退出还是进入时,都执行语句GET PARAMETER ID 'XXX' FIELD A.D)不管是退出还是进入时,都执行语句SET PARAMETER ID 'XXX' FIELD A.31.SAP的SMARTFORM和ABAP PROGRAM的对应关系是. ()A)一个SMARTFORM对应多个程序B)一个程序对应多个SMARTFORMC)一个SMARTFORM对应多个程序,一个程序也可以对应多个SMARTFORMD)一个SMARTFORM对应一个程序32.设计SMARTFORM显示一个表格,如果第一页是一种格式,后面几页是一种格式,如何设计. ()A)第一页指向第二页,第二页指向空B)第一页指向自己,第二页指向第一页C)第一页指向第二页,第二页指向第一页D)第一页指向第二页,第二页指向自己33.如果想设计SMARTFORM中大家公用的文本,应该使用什么技术. ()A)SMART TEXTB)SMART STYLEC)SAP SCRIPTD)TEXT MODULE34.下面对于SMARTFORM中TABLE和TEMPLATE的描述,正确的是. ()A)TEMPLATE用来设计表格模版,TABLE用来设计表格实体B)TEMPLATE用来设计表格样式,TABLE用来设计表格实体C)TEMPLATE用来设计静态表格,TABLE用来设计表格实体D)TEMPLATE用来设计静态表格,TABLE用来设计动态表格35.SMARTFORM 中TABLE的排序事件的触发场合是. ()A)循环到排序字段第一次开始时触发开始事件,循环到排序字段结束时触发结束事件B)循环到排序字段第一次开始时触发开始事件,循环到表格结束时触发结束事件C)当表格开始时触发开始事件,表格结束时触发结束事件D)循环到排序字段第一次开始时触发开始事件,然后触发结束事件,然后开始正式循环该排序字段剩余记录36.在SMARTFORM中显示一个表格,其中有一个栏位为wa_sflight-price,现在里面有三行数据,其值依次分别是10,30,50 ,现在在表格设计的时候在Global Definition中定义一个变量G_TOL,在表格的Main Area中加入一个真假节点,节点的条件为WA_SFLIGHT-PRICE > 10 .然后,在真节点下加一个程序行,内容为G_TOL = wa_sflight-price + 10.假节点下加一个程序行,内容为G_TOL = wa_sflight-price + 20.最后在表格的Footer下加一个表行(在表格最后显示),下加一个文本节点显示这个字段G_TOL,它显示的值应该是. ()A)60B)70C)140D)15037.SAP提供的修改系统标准功能的方案里,哪几种是不需要修改系统标准程序就可以实现的. ()A)Customer Develepment ,Enhancement,ModificationB)Customer Develepment ,Customizing,ModificationC)Customer Develepment ,Customizing,EnhancementD)Enhancement,Modification,Customizing38.对于客户定制需求的解决方案,应该遵循哪一种顺序进行为宜. ()A)先判断能否配置;再判断系统有无类似功能,有的话先判断能否修改标准程序,再判断能否进行Enhancement;最后考虑自己开发B)先判断系统有无类似功能,有的话先判断能否修改标准程序,再判断能否进行Enhancement;然后判断能否配置;最后考虑自己开发C)先判断能否配置;再判断系统有无类似功能,有的话先判断能否进行Enhancement,再判断能否修改标准程序;最后考虑自己开发D)先判断系统有无类似功能,有的话先判断能否进行Enhancement,再判断能否修改标准程序;然后判断能否配置;最后考虑自己开发39.自己定义一个增强项目,加入系统的增强,并在其中激活增强的TCODE应该是. ()A)SMODB)CMODC)SE84D)SE8040.在SAP系统标准增强功能里,主要包含了以下哪组功能. ()A)Table Enhancement/Screen Exit/Menu Exit/Function module ExitB)Table Enhancement/Structure Exit/Menu Exit/Event ExitC)Menu Exit/Function module Exit/Field Exit/BAPI ExitD)Structure Exit/Menu Exit/Table Enhancement/Screen Exit二问答题(共1题,20分)请简述SAP二次开发中REPORT , SCREEN , 数据库更新,SMARTFORM及增强等主要技术的开发方法和主要应用场合1c 2a 3b 4b 5d 6a 7d 8b 9a 10?11b 12a 13? 14? 15 ? 16c 17d 18a 19d 20c21a 22b 23? 24a 25? 26c 27b 28b 29a 30?31? 32? 33? 34? 35? 36? 37c 38c 39b 40a1,c 2.A 3.B 4. b 5. d6. A7.d8.b9.a 10. a11. b 12.a 13.d 14.c15.a,d ?16.c 17.d 18.a 19. d 但Sy-TAbix 不是循环次数, 而是表中记录的序号20.c21.a ? 22. b ? 23.? 24.a 25. ?26.c 27.b 28 b 29.? 30.b31.c 32.? 33.? 34.? 35?36.? 37.c 38.c [/quote]常见abap面试题目分类:About SAP2007.1.10 08:23 作者:afalcon| 评论:0| 阅读:15591. 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 程序中,字段符号是现有字段的占位符。