30
Q.1 ) Select the valid Customer Defined Message Statement A . MESSAGE Y123. B . MESSAGE E123(9999) C . MESSAGE ID 'AT' TYPE 'S' NUMBER 100. D . MESSAGE E123 by Fielda Fieldb Q.2 ) What happens when a 1 to many relationship is encountered with an inner join A . redundant data is not returned to the resultant set B . redundant data from the outer table is included C . runtime error D . redundant data from the inner table is included Q.3 ) What must be assigned to search help parameters A . data element B . domai n C . valu es D . nothi ng Q.4 ) What is contained in the system variable sy-linsz. A . row count of the current line B . height of the current line C . width of the current line

TAW12 - Week 1 part 1 of 2.docx

  • Upload
    oorc13

  • View
    76

  • Download
    6

Embed Size (px)

Citation preview

Page 1: TAW12 - Week 1 part 1 of 2.docx

Q.1) Select the valid Customer Defined Message Statement

A.

MESSAGE Y123.

B. MESSAGE E123(9999)C. MESSAGE ID 'AT' TYPE 'S' NUMBER 100.D. MESSAGE E123 by Fielda FieldbQ.2) What happens when a 1 to many relationship is encountered with an inner join

A.

redundant data is not returned to the resultant set

B. redundant data from the outer table is includedC.

runtime error

D.

redundant data from the inner table is included

Q.3) What must be assigned to search help parameters

A. data elementB. domainC.

values

D. nothingQ.4) What is contained in the system variable sy-linsz.

A.

row count of the current line

B. height of the current lineC.

width of the current line

D. size of vertical bars in your list

Q.5)  Identify the line number that will cause the break for AT NEW CONNECTION

  CARRIER CONNECTION FLIGHTDATE

10 AA     FFF        Jan 220 AA     FFF        Jan 330 DL     FFF        Jan 5

A. All the rows will cause a breakB. 20C. 30D. NO rows will cause a break

Q.6)  On what line does the output 'AAA' appear in the following code:

Page 2: TAW12 - Week 1 part 1 of 2.docx

REPORT ZPGM NO STANDARD PAGE HEADING.

DO 8 TIMES.  WRITE / ' '.ENDDO.

SKIP.

WRITE 'AAAA'.

A. 9B. 2C. 1D. 10Q.7) What determines if a table is Client Specific versus client independent

A.

The first field is MANDT with an external data type CLNT and specified as a key field

B. Depends how Basis has configured the clientC. The option ' Client-Specified' is added to the Select statementD.

The first field is MANDT with a domain CLNT but not specified as a key field

Q.8) What is true about the primary index of a table

A. The primary index is automatically created when the table is activated.B. The key fields of the table make up the primary indexC. The primary index ID is designated by the Database AdministratorD. The developer designates the fields to be used as the primary indexQ.9) Default Page Headings are created on which type of list.

A.

All lists

B. BasisC. SecondaryQ.10) Identify the dictionary type of the field catalog used for the ALV control

A.

fieldcat

B. catalogC. alv_catalogD. lcv_t_fcat

Q.11)Program A issues the following statement SUBMIT PROGRAM B.  What takes place

A. Program A becomes active in the same internal session of Program BB. Program B becomes active in the same internal session of Program AC.

User Context is flushed

D. Program B runs in a new internal sessionQ.12) What are valid methods for including text elements in your program

Page 3: TAW12 - Week 1 part 1 of 2.docx

A. Write: 'Hello'(001)B. Write: TEXT-001C. Write: 001(Hello)D. Write: TEXT-001'Hello'.

Q.13)  Refer to the following.  If there are no entries in my_tab, what is the result?

Select * from mytable for all entries in my_itab         where key1 = my_itab-key1.

A.

Run time error

B. All entries are retrievedC.

Only distinct values for key1

D.

No entries are retrieved

Q.14) When writing a list, what command would allow you to overwrite a line

A. BackB. OvertypeC. ReserveD. Write:/ 1Q.15) What conditions apply for a LEFT outer Join in OPEN SQL

A.

Only 'Or' can be used as a logical operator in the ON condition

B. A Left Outer Join is not permitted in OPEN SQLC.

A join statement is found to the right of the join operator

D.

At least one field from the table on the right is required for comparison in the ON condition

Q.16) What does a LDB provide

A.

Consistent and flexible user interface.

B. A method to access the data in a random mannerC. Centrally defined authorization checksD.

Central performance improvements for update accesses

Q.17)What is needed to ensure a check field is verified against the referenced key field of the check table.

A. Same data type only is required for check field and referenced field

B.All key fields MUST have domain equality between check table and foreign key table.

C.

Same domain is required for check field and referenced field

Page 4: TAW12 - Week 1 part 1 of 2.docx

D.

Same data element is required for check fied and referenced field

Q.18) Select an example of Organizational Data

A. Sales OrderB. Country KeysC. Cost CentersD. VendorsQ.19) Identify the valid attributes of a domain

A.

Header

B. LabelC. LengthD.

Fixed Values

E. Type

Q.20)For called program components that are of type transaction or report, what is true about the roll area (assuming processing will resume in the calling program).

A.

Share the same roll area

B. They run in their own roll areaC. They run in the roll area of the caller

Q.21) What are the main functions of the Data Dictionary.

A.

To insulate the ABAP/4 developer from the database

B. To provide data security at the application levelC.

To connect to the operating system

D. To support the creation and management of metadataQ.22) What is not true about SAP Query

A.

Users can access only the fields which are assigned to a functional group

B. A user master record is generated when the query is definedC. SAP user can be assigned to only one user groupsD. Functional Area can be a special view of a logical databaseQ.23) Programs that extend beyond transaction limits and want to pass data should use

A.

SAP Memory

B. TablesC. ABAP/4 MemoryQ.24) Which of the following is an invalid method for Populating an internal table

A. Insert ITABB. Append

Page 5: TAW12 - Week 1 part 1 of 2.docx

C. Read Table ITABD.

Select * into Table ITAB from dbtab

E. CollectQ.25) Identify the clause that is used to suppress standard headers

A. No Standard HeadingB. No Standard Page HeadingC.

Suppress Standard

D.

System>List>Save

Q.26) What appears in the standard header of a list

A. Page NumberB. UserC. Program TitleD.

Date

E. Underline

Q.27)You have made changes to an existing table that contains data.  What takes place when the Database Conversion utility is executed

A.

Data in the table is automatically deleted and must be reloaded

B. The table in the database is renamed and eventually deletedC.

The indexes for the table needs to manually be reconstructed in the ABAP dictionary

D.

The revised table in the ABAP/4 Dictionary is activated

E. The table in the database is recreated.Q.28) After a READ LINE on a list, what happens to the HIDE data

A. Nothing, the data remains in the hidden areaB. The hide data is restored to shared memoryC. The Hide data is not available to the programD. It is transferred back to the fields defined in the programQ.29)  Which of the following short programs will not display the text "SY-LSIND= 1" during interactive reporting.

REPORT ZPGM1.WRITE: 'Basic List: List Number =', SY-LSIND.AT LINE-SELECTION.  WRITE: 'Secondary List'.  IF SY-LSIND = 2.    SY-LSIND = SY-LSIND - 1.    WRITE: 'SY-LSIND=’, SY-LSIND.  ENDIF.

REPORT ZPGM2.

Page 6: TAW12 - Week 1 part 1 of 2.docx

WRITE: 'Basic List: List Number =', SY-LSIND.AT LINE-SELECTION.  CHECK NOT SY-LSIND = 1.  WRITE: 'SY-LSIND=’, SY-LSIND.

REPORT ZPGM3.WRITE: 'Basic List: List Number =', SY-LSIND.AT LINE-SELECTION.  WRITE: 'Secondary List'.  IF SY-LSIND = 1.    WRITE: 'SY-LSIND=’, SY-LSIND.  ENDIF.

A. ZPGM3B. ZPGM2C. ZPGM1Q.30) Where does information come from when you press F1 on a screen field

A. Data element documentationB. Domain short textC. Search helpD.

Domain Help values

Q.31) What will cause the AT USER-COMMAND to fire

A.

Type S Function Codes

B. Type T Function CodesC. Normal Function CodesD.

Function Codes that start with P

Q.32)What are the corrdinates of the following Modal Dialog Box.

Window Starting at 10 20Ending at 20 30

A. Starting at Column 10, Row 20 Ending at Column 20, Row 30B. Starting at Column 10, Row 30 Ending at Column 20, Row 20C. Starting at Row 10, Column 20 Ending at Row 20, Column 30

Q.33)What is the effect of the Collect Statement if an entry with the same key already exists

A.

Appends a new line

B. Adds the numeric fields to an existing entryC.

Creates a new entery

Q.34) How are buffers used by inner and outer joins

Page 7: TAW12 - Week 1 part 1 of 2.docx

A. Buffers are always usedB. Buffers are always bypassedC.

The choice can be made to use or bypass buffers

Q.35) Mark the code that will display the selection screen of the called program ZTST,

A.SUBMIT ZTST USING SELECTION-SET 'VAR1'

B. SUBMIT ZTST VIA SELECTION-SCREENC.

SUBMIT ZTST AND RETURN.

D.SUBMIT ZTST VIA SELECTION-SCREEN USING SELECTION-SET 'VAR1'

Q.36)During interactive reporting, at what point does sy-lsind get incremented by the system

A.

When you programatically increment it

B. At the end of an interactive processing blockC.

At the beginning of an interactive processing block

Q.37) What requirement exists if a field is defined in the dictionary of type CURR

A. Decimals must be defined in the domainB. The field must be numericC. The field must be linked to another field of type CUKYD. No other requirements existQ.38) Identify the case where table buffering should be set off

A.

For Global Master Data

B. When the most current data is not requiredC. When the most current data is requiredD. For Small Static non volatile tablesQ.39) What is true about views

A.

A view contains data

B. Maintenance Views are not updateableC. A view is automatically created on the database upon activationD.

Views can be buffered

Q.40) READ CURRENT LINE make used of what system variables....

A. SY-CUROWB. SY-PAGENOC. SY-CPAGED. SY-INDEXQ.41) When does a table get physically created in the underlying database

A. When you activate a transparent table the the ABAP WorkbenchB. When you create a transparent table

Page 8: TAW12 - Week 1 part 1 of 2.docx

C.

When Basis created the tablespace at the OS Layer

D. When you activate a transparent table in the Dictionary

Q.42)When you EXPORT an internal table that has a header line to ABAP/4 memory, what is the result.

A. The header line and contents of the internal table are storedB. You cannot EXPORT an internal table with a header lineC. Only the header line is storedD. Only the contents of the internal table is storedQ.43) What is the code required in order to scroll to the 3rd detail list to page 5

A.

Scroll LIST Index 3 to Page 5

B. Scroll LIST sy-index 3 to Page 5C. Scroll LIST sy-lsind 3 to Page 5

D.Scroll LIST 3 5

Q.44) In the context of a logical database, which is not a valid ABAP/4 keyword event

A.

Get

B. InitializationC.

At Selection-Screen

D. End-of-SelectionE. PutQ.45) Mark the sort statement that is more efficient

A. Sort Itab Ascending

B.Sort ITAB

C. Sort ITAB BY (fieldname)D.

Sort ITAB by keys

Q.46) Select the methods used to access data on the database.

A.

Read Table

B. Get NodeC. Native SQLD. ABAP/ Open SQLE. LDBQ.47) Where does the system store the data after a Read Line has been performed on a list.

A.

In Memory

B. In an Internal TableC.

SY-LISTI

D. SY-

Page 9: TAW12 - Week 1 part 1 of 2.docx

LISELQ.48) What is true about sorting an Extract (Intermediate) dataset.

A.

You can sort an extract dataset even without a header

B. The extract dataset is typically sorted in the Start-of-Selection processing blockC.

The sequence of the control breaks in the Loop does not have to correspond to the extract dataset sort sequence

D.

the extract dataset must be sorted for processing to begin

Q.49) When is the Top-of-Page event triggered

A. When the Top-of-Page eventer is encountered in sequence

B.After number of lines per pages, as specified in the REPORT, have been written to the list buffer

C. When the report startsD. When the first write statement is encounteredQ.50) What is the purpose of the Nodes statement in an ABAP program

A.

Points to cluster tables

B. Indicates the nodes from the logical databaseC. Specifies the logical databaseD. Sets up an address pointer to the nodes in the shared memory buffersQ.51) What happens when an EXIT statement is executed in the AT event

A.

The program ends

B. The remainder of the current processing block is executedC.

The output list is displayed

D.

The sytem leaves the processing block and branches to the processing block of the next event

Q.52) What makes a text table

A. The type of foreign key field defined must be "No key / Candidates'

B.The key of the text table consists of the key of the check table plus an additional language key

C. Cardinality must be defined as 1:1Q.53) Mark the event keyword that links report processing and a logical database

A.

Put

B. ReadC.

Get

D.

Select

Q.54) Why is subquery usually more efficient

A. Data is filtered in the sapguiB. Data is filtered at the application server

Page 10: TAW12 - Week 1 part 1 of 2.docx

C.

Data is filtered in the database

D.

Data is filtered on the network

Q.55)  The user default for the date format is set to YYYY.MM.DD.  Assume that today's date is Jan. 15, 1999. Select the displayed output of the date field in the following code:

Data: datum type d.Datum = sy-datum.Write:/ datum mm/dd/yyyy.

A. 01/15/1999B. 1999/01/15C. 19990115D. 1999.01.15

Q.56)Which statement would be used to create a box with a frame title on a selection screen.

A.

Begin of Block, End of Block

B. Begin of Slection, End of Selection

C.Begin of Frame, End of Frame

D.

Begin of Box, End of Box

Q.57) What is the default screen that is generated for a selection screen.

A. 100B. 1000C. 1001D. 1100

Q.58)What is the recommended method to modify a standard search help to include customer defined search paths.

A. Add an elementary search help to the standard search helpB. Add a collective search help to the standard search helpC. Perform a modification to the standard search helpD. Enhance the standard search help with an append search helpQ.59) What authorization object is required to maintain queries

A. S_Query

B.S_Program

C.

S_Query_all

D.

S_Maintain

Page 11: TAW12 - Week 1 part 1 of 2.docx

Q.60) What happens if message E046 is raised.

At Selection-Screen on sales.  If sales-low < 500.    Message E046.  Endif.

A. Field Sales is open for input and all other fields are not available for inputB. The program endsC. All fields are open for input and cursor is positioned on field salesD. The initialization event is fired again.Q.61) What is true about the result set of an inner join at the database level.

A. contains all entries from both tablesB. contains all entries from the left tableC. contains only entries that matchD.

contains all entries from the right table

Q.62)What is a structured type in the ABAP dictionary that has no physical table definition in the underslying database referred to as.

A. structured typeB. table typeC.

structure

D. table

Q.63)A program has a selection screen. The ABAP is to be included as a step in the Background Job.  What other field must be filled in when creating the Job Step.

A.

Print Specifications

B. VariantC.

Language

D. Mandatory Field

Q.64)Suppose LFA1 is the root node, LFBK and LFB1 are branches of LFA1, and LFC1 is a branch of LFB1.  If the report contains only one single GET statement for LFB1, the processing passes through which tables.

A.

LFA1, LFBK, LFB1, LFC1

B. LFA1, LFBK, LFB1C.

LFA1 and LFB1

Q.65) When are Dictionary changes made available to ABAP programs

A.

Next time user signs on

B. Immediately, providing the object is activatedC. After Database is re-organized

Page 12: TAW12 - Week 1 part 1 of 2.docx

D. Next time program is re-generated

Q.66)If your program has no START-OF-SELECTION event and you program statements between the REPORT statement and first event keyword or FORM statement, the statements are then included with which processing block

A.

START-OF-SELECTION

B. END-OF-SELECTIONC.

Initialization

D. No Processing BlockQ.67) What methods can be used to set the values for printing an online list.

A. NEW-PAGE PRINT ONB. Function SET-PRINT_PARAMETERSC. Function GET_PRINT_PARAMETERSD. Include SET-PRINT_PARAMETERSQ.68) What can be assigned directly to a data element

A.

domain

B. built-in typeC. check tableD.

table field

Q.69) Which parameter is used to refine the values returned by a search help

A. administration dataB. ExportC. restrict value rangeD. ImportQ.70) How can records from the left table be omitted in an outer join

A. Specify conditions in the WHERE clauseB. There is no way to omit records from the left tableC. Specify conditions on the ON clasueD.

Specify conditions in the FROM clause

Q.71)Table T1 wants to ensure that the key field t1-fielda entered is valid against a field t2-fielda in table T2.  Which is the foreign key table.

A. T1B. T3 from the dictionaryC. T2Q.72) What is not a valid functional area type.

A. ProgramB. Joined TablesC. Sequential Data SetD. LDBE. Search Help

Page 13: TAW12 - Week 1 part 1 of 2.docx

Q.73) Define Logical Database

A. A reporting ToolB. A method to update dataC.

Definition of a Relational Data Model

D. An ABAP/4 reading program used to read and process data

Q.74)What is the option on the "Parameters" statement in a report program to include a SPA/GPA parameter ID

A.

Memory Id

B. Parameter IDC. ValueD.

Default Parameter ID

Q.75) Which system variable contains the number of the Detail list that is being generated

A. SY-INDEXB. SY-LISTIC.

Sy-LSIND

D.

SY-TABIX

Q.76)Identify the items that are not considered Data Dictionary technical settings when creating a dictionary table.

A. BufferingB. Data ClassC. Field NameD.

Size Category

E. StatusQ.77) What is true of the New-Page statement.

A. It is an eventB. Requires at least one write statement before it can be executedC. Increments the page counterD. Used to generate a blank page

Q.78) What does the following code achieve:

At Selection-Screen on value-request for sales.

  Call screen 100.

A.

When the user presses F1, Screen 100 is displayed in addition to the normal help screen

B.When the user presses F1, Screen 100 is displayed instead of the normal possible values search help

Page 14: TAW12 - Week 1 part 1 of 2.docx

C.

When the user presses F4, Screen 100 is displayed instead of the normal possible values search help

D.

When the user presses F4, Screen 100 is displayed in addition to the normal help screen.

Q.79) What is the order of code that gets executed in the following code:

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'.

A. 40, 50, 60, 70, 80B. 40, 80, 50, 80, 60C. 80, 40, 50, 80, 60

Q.80)Tables with indeces, result in reduced performance in what kind of OPEN SQL operation.

A. Data Base ModifyB. All database accessC. Data Base RetrievalD.

Data base Updates

Q.81) In what manner can lists be saved.

A.

Local file to the application server

B. SAPOFFICEC.

HTML Format on local PC

D. ABAP EditorE. Report TreeQ.82) Identify the valid methods for setting the value of a select-options selection field.

A.

Initialization. ZFLIGHTS-CARRID = 'AA'

B. Start-of-Selection. ZFLIGHTS-CARRID = 'AA'

C.SELECT-OPTIONS AIRLINE FOR ZFLIGHTS-CARRID MEMORY ID CAR

D.

SELECT-OPTIONS AIRLINE FOR ZFLIGHTS-CARRID DEFAULT 'AA'

Page 15: TAW12 - Week 1 part 1 of 2.docx

Q.83) When does the processing block for a GET statement end.

A. When the END GET statement is encounteredB. When the next keyword event is encounteredC. When all data has been retrieved for the GETD. After each PUT in the LDBQ.84) What is true about the result set of an left outer join at the database level

A.

Contains all entries from teh left table

B. Contains only entries that match in the ON clauseC. Fields from unmatched rows in the right table are null filledD. Fields from unmatched rows in the left table are null filledE. Contains all entries from the right tableQ.85) What is required to establish an interactive list.

A.

The user interface allows actions to trigger interactive list type events

B. Corresponding interactive enents are programmed

C.The HIDE command is programmed in the report.

Q.86) Assuming a Detail list exists, what takes place when sy-lsind is set to zero.

A. All secondary lists are deletedB. The basic and secondary lists are deletedC. The basic list is overwritten with the current secondary listD. The original basic list is re-displayedQ.87) Which is not a valid option of the Write Statement

A.

Input

B. NO-GAPC.

NO-ZERO

D. As RadioBoxE. CenteredQ.88) Mark the valid logical nodes.

A. TableB. StructureC. NodeD. FileE. Complex Data ObjectQ.89) At what point does a parameter ID get reset

A.

Program Execution Ends

B. User sign offC. Free MemoryD. When you flush the SPA/GPA memory

Q.90)What type of ABAP Query list would be appropriate if the user wanted to determine the ten top salespeople

Page 16: TAW12 - Week 1 part 1 of 2.docx

A. StatisticsB. Ranked listsC. PercentageD. Basic listsQ.91) Which of the following will trigger the AT LINE_SELECTION event

A.

Double Click a line on a list

B. Function Code P+C.

F2

D. Function Code PICKE. Menu Option EDIT>Choose

Q.92)What happens to memory when the Export is executed without specifying ID

ie. EXPORT object to memory

A.

SAP Memory is overwritten

B. ABAP memory sets up a new default areaC. The ABAP memory is completely overwrittenQ.93) Mark the valid usage of the READ statement

A.

DO. Read Line SY-INDEX. ENDDO.

B. Read Line 3 of Current PageC.

Read Line 3 of Next Page

D.

Read Current Line of Table ITAB.

Q.94) Which of the following Dictionary Objects gets stored as a Runtime Object

A. TablesB. All of the answeres are correctC.

Structures

D. Data ElementsE. Table TypesQ.95) What are the 3 main sub objects of a LDB

A.

Search Helps

B. DB ProgramC. TablesD. StructureE. Selection Screen

Q.96)The Cardinality of a foreign key relationship is define as 1:NWhat does this imply?

A. One record of the check table is assigned to many records of the foreign key tableB. One record of the check table is assigned to one record of the foreign key table

Page 17: TAW12 - Week 1 part 1 of 2.docx

C. One record of the foreign key table is assigned to one record of the check table

Q.97)Table ZMYTABLE is created in the dictionary.  When does the table get created in the underlying database.

A.

When the database administrator physically creates the table

B. At the end of the table creation after it is savedC. When the table is activatedD. At the beginning of the table creation

E.It does not correspond to an object in the underlying database and does not get created

Q.98) What is the order of events that fire.

10 Start-of-Selection

20 End-of-Selection

30 Initialization

40 Get

50 At Selection-Screen

A.

30 50 10 40 20

B. 50 10 40 10 20C.

30 10 50 40 20

Q.99) Identify the object that cannot have a search help attached to it.

A. tableB. table fieldC. typeD. check tableE. data elementQ.100) Identify the different type categories in teh ABAP dictionary

A. Table TypesB. Data ModelsC.

Structures

D. Data DefinitionsE. Data Elements