您好,欢迎访问三七文档
一、选择题(每题2分,多选题选择不全得1分,选择有错误项不得分)1of25WhatisthevalueofresultafterthefollowingcodeisexecutedDATA:resultTYPEI.result=5/10.result=2result=1result=.5result=02of25WhichuseoftheFORMstatementworkssuccessfullywhenpassingITtoFORMTypes:Beginofline,...EndofLine.TypesIT_LINETypeStandardtableofline.DataITTYPEIT_LINE.PerformFORMAusingITFORMFORMAUsingP_ITtypeIT_LINEFORMFORMAUsingP_ITlikeIT_LINEFORMFORMAUsingP_ITlikeLINEFORMFORMAUsingP_ITlikeLINE3of25WhatistheeffectoftheMove-correspondingbetween2fieldsstringsinthefollowingcodeData:beginoffs1,Field1typecvalue‘1’,Field2typenvalue‘2’,Field3typeIvalue3,endoffs1.Data:beginoffs2,Field3typec,Field4typen,Field5typeI,endoffs2.Move-Correspondingfs1tofs2fs2-field3=3Allfieldsoffs1aremovedtofs2fs2-field3=1fs2-field5=34of25WhatFunctionisusedtodisplaytheALVGridControlREUSE_ALV_LIST_DISPLAYALV_TABLE_CREATEREUSE_ALV_GRID_DISPLAYALV_GRID_DISPLAY5of25IdentifytheonefieldthatisnotalwaysdisplayedinthedebuggerSY-DBCNTSY-SUBRCSY-LISELSY-TABIX6of25WhatistrueaboutthesyntaxofABAPEachwordmustendwithaperiodMultiplestatementsarenotallowedinasinglelineCommentsbeginwithasinglequotationsignStatementsmustfitononelineWordsmustalwaysbeseparatedbyatleastonespace7of25Whatdoesthefollowingstatementmeanwrite‘Hello’(001)Write'Hello'(001)Addthevariable'Hello'tomessage001Writeout'Hello'andthecontentsoftextelement001ThisisnotavalidstatementIfTextElement001isnotinyourloginlanguage,then'Hello'isdisplayed8of25Identifytheinternaltabletypes(Morethanoneansweriscorrect)StandardIndentedSortedHashedKey9of25Refertothefollowingcode.WhatisthevalueofField1andField2SPLIT'SAPDOMAIN'AT'DO'INTOFIELD1FIELD2.Field1contains'SAP',Field2contains'MAIN'Field1contains'DO',Field2contains'DOMAIN'Field1contains'SAPDO',Field2contains'MAIN'10of25Whatisthedevelopmentclassforlocalobjects$TMPZ00BlankLocal11of25WherearelocaldatatypesdefinedRepositoryABAPWorkbenchDictionaryInABAPPrograms12of25WhatprogramtypecanbeexecuteddirectlyExecutableFunctionGroupIncludeClass13of25WhichadditiontotheParametersstatementisnotvalidTypeDefaultLikeValue14of25WhatistheALVGridControlitisanobjectItisagenerictoolfordisplayinglistsinscreensItisalinkcontroltooltoQueryandQuickviewerItisadatacollectiontool15of25IdentifythevalidstatementConstants:C1(4)typeC.Constants:C1(4)typeD.Constants:C1(4)typeCvalue'ABCD'.Constants:C1(4)typeClikeitab-booking.16of25WhichstatementsallowyoutodefinedatainyourABAPprogram(Morethanoneansweriscorrect)DataParametersTablesSelection-ScreenClass17of25Ifyouwantthedebuggertostopwhenthevalueof‘Fielda’changes.WhichoptionwouldyousetinthedebuggerWatchPointOverviewFieldsObject18of25Whatistheresultofthefollowingdatecalculation?Assumecurrentdateis20001220Data:Today(8)typeC.Today=sy-datum.Today=10.1000122020011210200012201019of25InwhatcaseareoptionalparametersallowedinthepassingofparametersFormsBothFunctionsNeither20of25ANSISQLISO900SQLOPENSQLNativeSQL21of25SortedKeyedHashedStandard22of2510Reportrpgm120data:fieldatypecvalue‘A’,30fieldbtypecvalue‘B’.40write:/fielda,50new-page.60write:/fieldb70top-of-page.80write:/'Thisisthetitle'.80,40,50,80,6040,80,50,80,6040,50,60,70,8023of25REPORTZPGMNOSTANDARDPAGEHEADING.DO8TIMES.WRITE/''.ENDDO.SKIP.WRITE'AAAA'.2910124of25Whatcanbeassigneddirectlytoadataelement(Morethanoneansweriscorrect)checktablebuilt-intypedomaintablefieldtabletype25of25IdentifythebasicobjectsofthedataDictionary.(Morethanoneansweriscorrect)DomainsDataElementsTablesDataModelsDocumentation二、简答题1、写出四个ABAP的事件(5分)2、写出10个你知道的Tcode,并用一句话写出其功能(5分)3、试描述透明表、数据元素、域、数据类型之间的关系(10分)4、创建一个透明表和一个结构各分什么步骤?(10分)5、列出三种内表的名称,每个的适用范围。写出10个关于操作内表的关键字(20分)
本文标题:ABAP考题和答案
链接地址:https://www.777doc.com/doc-2899837 .html