<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic please help me.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108875#M738096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  I need answers of the following questions.Options also there. Please help me..&lt;/P&gt;&lt;P&gt;I will reward you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1)&lt;/P&gt;&lt;P&gt;      Loop at itab.&lt;/P&gt;&lt;P&gt;      Write itab.&lt;/P&gt;&lt;P&gt;      Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From where is the written line derived in the above loop statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) The table work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) sy-subrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) sy-index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) The table header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) sy-lisel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2)&lt;/P&gt;&lt;P&gt;  An internal table icode contains the following entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1  Field2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;John    12345&lt;/P&gt;&lt;P&gt;Alice   23478&lt;/P&gt;&lt;P&gt;Sam     54321&lt;/P&gt;&lt;P&gt;john    50000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ICODE OCCURS 0,&lt;/P&gt;&lt;P&gt;        FIELD1(5),&lt;/P&gt;&lt;P&gt;        FIELD2(5),&lt;/P&gt;&lt;P&gt;      END OF ICODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does executing the above code return a sy-subrc of 4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Icode-field2 must be a numeric field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) The internal table has an incorrect structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Both internal table fields must be used in the search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) The internal table must be sorted first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 'John' should not be capitalized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Data: pos like sy-index,&lt;/P&gt;&lt;P&gt;          index(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 10 times.&lt;/P&gt;&lt;P&gt;Check sy-index between 2 and 6.&lt;/P&gt;&lt;P&gt;Add 1 to pos.&lt;/P&gt;&lt;P&gt;Move sy-index to index.&lt;/P&gt;&lt;P&gt;Write at pos index.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of the above code after execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 26&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 1789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 23456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 132578910&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 178910&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q4) Dialog programs are of which type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Type B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Type 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Type *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Type M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Type S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1(12) type c value 'Test Variant',&lt;/P&gt;&lt;P&gt;      f2(6)  type c,&lt;/P&gt;&lt;P&gt;      f3(8)  type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move: f1 to f2,&lt;/P&gt;&lt;P&gt;       f2 to f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do f1, f2, and f3 contain after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'ariant'&lt;/P&gt;&lt;P&gt;     f3: '  ariant'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'ariant'&lt;/P&gt;&lt;P&gt;     f3: ' Variant'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;    f2: 'Test V'&lt;/P&gt;&lt;P&gt;    f3: 'st Varia'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'Test V'&lt;/P&gt;&lt;P&gt;      f3: 'Test V  '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'Test V'&lt;/P&gt;&lt;P&gt;     f3: 'Test Var'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Data: Begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;          field1,&lt;/P&gt;&lt;P&gt;         End of itab.&lt;/P&gt;&lt;P&gt;2. Data: Itab1 like itab occurs 0.&lt;/P&gt;&lt;P&gt;3. Data: Itab1 type itab occurs 0.&lt;/P&gt;&lt;P&gt;4. Data: Begin of itab1 occurs 0.&lt;/P&gt;&lt;P&gt;           Include structure itab.&lt;/P&gt;&lt;P&gt;   Data: End of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which of the above statements code internal tables with a header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Lines 1 and 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Lines 1 and 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Lines 2 and 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Lines 1 and 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Lines 2 and 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q7)&lt;/P&gt;&lt;P&gt; Which one of the following SQL statements does NOT lock the affected database entries ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Insert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) select single for update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) modify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q8)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       num1 type I,&lt;/P&gt;&lt;P&gt;       num2 type I,&lt;/P&gt;&lt;P&gt;       num3 type I,&lt;/P&gt;&lt;P&gt;       mark,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete from itab where mark eq 'D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab entries:&lt;/P&gt;&lt;P&gt;1 2 3 D&lt;/P&gt;&lt;P&gt;2 3 4&lt;/P&gt;&lt;P&gt;3 4 5 D&lt;/P&gt;&lt;P&gt;4 5 6 D&lt;/P&gt;&lt;P&gt;7 8 9 d&lt;/P&gt;&lt;P&gt;7 8 9 D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the ITAB entries, what are the contents of ITAB after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 1 2 3 D&lt;/P&gt;&lt;P&gt;    2 3 4&lt;/P&gt;&lt;P&gt;    3 4 5 D&lt;/P&gt;&lt;P&gt;    4 5 6 D&lt;/P&gt;&lt;P&gt;    7 8 9 d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 2 3 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 7 8 9 d&lt;/P&gt;&lt;P&gt;   7 8 9 D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 2 3 4&lt;/P&gt;&lt;P&gt;     3 4 5 D&lt;/P&gt;&lt;P&gt;     4 5 6 D&lt;/P&gt;&lt;P&gt;     7 8 9 d&lt;/P&gt;&lt;P&gt;    7 8 9 D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 2 3 4&lt;/P&gt;&lt;P&gt;    7 8 9 d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1 type I value 1,&lt;/P&gt;&lt;P&gt;      f2 type I value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 2 times.&lt;/P&gt;&lt;P&gt;  Perform scope.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope.&lt;/P&gt;&lt;P&gt;Statics: f1 type I value 2,&lt;/P&gt;&lt;P&gt;          f2 type I value 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add: 1 to f1, 1 to f2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform scope2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of the above program after execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 3 3&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 3 3&lt;/P&gt;&lt;P&gt;0 0&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;0 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 3 3&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q10) An ABAP Screen is created in which transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Screen Editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Screen Painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Menu Painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) ABAP Editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Status Painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q11) Data written to the database would be reversed under which of the following circumstances?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Dequeue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Enqueue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Message Xnnn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) End of Transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q12)  Program specifications ask for error checking on a selection-screen which contains a parameter inside a frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) at selection-screen on block b1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) selection-screen check block b1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) at selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) selection-screen on field f1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) check selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q13) Table ztest has a secondary index on the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnum, tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from ztest where tnum ne '123' and tcode = '456'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the index not used in the above case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Indexes are not allowed on Z tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Variables must be used, NOT literals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Select individual fields, not select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Client is not in the where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) NE invalidates the use of an index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q14) An internal table has two fields :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which of the following is the fastest way to fill an internal table of the structure above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select field1 field2 into (itab-field1, itab-field2)&lt;/P&gt;&lt;P&gt;       from ztable where field1 = '10'.&lt;/P&gt;&lt;P&gt;Append itab.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) select * from ztable&lt;/P&gt;&lt;P&gt;       where field1 = '10'.&lt;/P&gt;&lt;P&gt;Move ztable to wa.&lt;/P&gt;&lt;P&gt;Append itab from wa.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) select * into corresponding-fields of itab&lt;/P&gt;&lt;P&gt;       from ztable where field1 = '10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) select * from ztable&lt;/P&gt;&lt;P&gt;       where field1 = '10'.&lt;/P&gt;&lt;P&gt;Append itab.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) select * into table itab from ztable&lt;/P&gt;&lt;P&gt;       where field1 = '10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q15) Update Bundling can occur within which of the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Within dialog tasks and dequeue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Within dialog and update tasks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Within enqueue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Within enqueue and dequeue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Within update tasks and enqueue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q16)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        field1,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 3 times.&lt;/P&gt;&lt;P&gt;Append initial line to itab.&lt;/P&gt;&lt;P&gt;Append 'X' to itab.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Describe table itab.&lt;/P&gt;&lt;P&gt;Write: sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value of sy-tfill after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q16)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table zinfo                   Entries:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;          a1   Smith  100.00   50.00&lt;/P&gt;&lt;P&gt;Field        Type             a1   Jones  100.00   50.00&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;          a2   Bob    100.00   50.00&lt;/P&gt;&lt;P&gt;id            C               a3   Bob    100.00   50.00&lt;/P&gt;&lt;P&gt;name          C               a4   Mike   100.00   50.00&lt;/P&gt;&lt;P&gt;sales         P               a5   Mary   100.00   50.00&lt;/P&gt;&lt;P&gt;sales2        P               a5   Mary   100.00   50.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above information, what is the result of the following code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at zinfo.&lt;/P&gt;&lt;P&gt;At new name.&lt;/P&gt;&lt;P&gt;Sum.&lt;/P&gt;&lt;P&gt;Write: / zinfo-id, zinfo-name, zinfo-sales.&lt;/P&gt;&lt;P&gt;Endat.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) a1   Smith    100.00&lt;/P&gt;&lt;P&gt;a1   Jones    100.00&lt;/P&gt;&lt;P&gt;a2   Bob      100.00&lt;/P&gt;&lt;P&gt;a3   Bob      100.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     200.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) a1   Smith    100.00&lt;/P&gt;&lt;P&gt;a1   Jones    100.00&lt;/P&gt;&lt;P&gt;a2   Bob      200.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) a1   Jones    200.00&lt;/P&gt;&lt;P&gt;a2   Bob      200.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) a1   Jones    200.00&lt;/P&gt;&lt;P&gt;a2   Bob      200.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) a1   Smith    200.00&lt;/P&gt;&lt;P&gt;a2   Bob      100.00&lt;/P&gt;&lt;P&gt;a3   Bob      100.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     200.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q17) Which one of the following is an INCORRECT form of the WRITE statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) write x no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) write x no-decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) write x left-justified no-gap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) write x no-zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) write x under y currency us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q18)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Data: Begin of imara occurs 0.&lt;/P&gt;&lt;P&gt;2.         Include structure mara.&lt;/P&gt;&lt;P&gt;3. Data: End of imara.&lt;/P&gt;&lt;P&gt;4  Data: number like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Select * into table imara&lt;/P&gt;&lt;P&gt;6. From mara where matnr = number.&lt;/P&gt;&lt;P&gt;7.   If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;8.     Write:/ imara.&lt;/P&gt;&lt;P&gt;9.   Endif.&lt;/P&gt;&lt;P&gt;10. Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which line in the above code contains a syntax error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q19)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: field1(4) type c value 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field1 co 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value of sy-fdpos after this block of code is executed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) ABCD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q20) Which statement is INCORRECT when referring to SAP memory or ABAP memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) ABAP memory is only stored during the lifetime of an external session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) You can use ABAP memory to pass data between internal sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) SAP memory is also referred to as Global Memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) SAP memory is available across transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) IMPORT/EXPORT (TO MEMORY) statements are used for SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q21) A standard type internal table ICODE contains the following entries:&lt;/P&gt;&lt;P&gt;field1 field2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;001    New York&lt;/P&gt;&lt;P&gt;002    Boston&lt;/P&gt;&lt;P&gt;003    Houston&lt;/P&gt;&lt;P&gt;008    Denver&lt;/P&gt;&lt;P&gt;010    San Diego&lt;/P&gt;&lt;P&gt;020    Seattle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ICODE WITH KEY FIELD1 = '015' BINARY SEARCH.&lt;/P&gt;&lt;P&gt;WRITE: / SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value of sy-tabix after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q22)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: field1 type I value 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End-of-selection.&lt;/P&gt;&lt;P&gt;Subtract 2 from field1.&lt;/P&gt;&lt;P&gt;Write: / 'field1 =', field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;Add 5 to field1.&lt;/P&gt;&lt;P&gt;Write: / 'field1 =', field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization.&lt;/P&gt;&lt;P&gt;Field1 = 5.&lt;/P&gt;&lt;P&gt;Write: / 'field1 =', field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) field1 = 5&lt;/P&gt;&lt;P&gt;field1 = 10&lt;/P&gt;&lt;P&gt;field1 = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) field1 = 8&lt;/P&gt;&lt;P&gt;field1 = 14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) field1 = 10&lt;/P&gt;&lt;P&gt;field1 = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) field1 = 5&lt;/P&gt;&lt;P&gt;field1 = 3&lt;/P&gt;&lt;P&gt;field1 = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) field1 = 8&lt;/P&gt;&lt;P&gt;field1 = 14&lt;/P&gt;&lt;P&gt;field1 = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q23)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1 type I value 1,&lt;/P&gt;&lt;P&gt;      f2 type I value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 2 times.&lt;/P&gt;&lt;P&gt;  Perform scope.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope.&lt;/P&gt;&lt;P&gt;Statics: f1 type I value 2,&lt;/P&gt;&lt;P&gt;          f2 type I value 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add: 1 to f1, 1 to f2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform scope2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of the above program after execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 3 3&lt;/P&gt;&lt;P&gt;    1 1&lt;/P&gt;&lt;P&gt;    4 4&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 3 3&lt;/P&gt;&lt;P&gt;     3 3&lt;/P&gt;&lt;P&gt;     4 4&lt;/P&gt;&lt;P&gt;     4 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 3 3&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 3 3&lt;/P&gt;&lt;P&gt;    1 1&lt;/P&gt;&lt;P&gt;    4 4&lt;/P&gt;&lt;P&gt;    1 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 3 3&lt;/P&gt;&lt;P&gt;     0 0&lt;/P&gt;&lt;P&gt;     4 4&lt;/P&gt;&lt;P&gt;     0 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q24)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table ZNAME                    Table ZINFO&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;                  -&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;field    key                   field          key&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;                  -&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;mandt      X                   mandt            X&lt;/P&gt;&lt;P&gt;id         X                   id               X&lt;/P&gt;&lt;P&gt;lname      X                   dept&lt;/P&gt;&lt;P&gt;fname      X                   division&lt;/P&gt;&lt;P&gt;address                       &lt;/P&gt;&lt;P&gt;phone&lt;/P&gt;&lt;P&gt;fax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above table definitions, which one of the following selects uses proper syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select * from zinfo where id = '0025'.&lt;/P&gt;&lt;P&gt;Loop at zinfo.&lt;/P&gt;&lt;P&gt;Write: / id.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) select mandt id lname into (client, id, lname)&lt;/P&gt;&lt;P&gt;from zname where id = '0025'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write: / id.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) select * into table itab from zname&lt;/P&gt;&lt;P&gt;where id = '0025'.&lt;/P&gt;&lt;P&gt;  Select * from zinfo for all entries in itab&lt;/P&gt;&lt;P&gt;   where id = itab-id.&lt;/P&gt;&lt;P&gt;    Write: / zinfo-dept.&lt;/P&gt;&lt;P&gt;  Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) select a&lt;SUB&gt;id a&lt;/SUB&gt;lname a&lt;SUB&gt;fname b&lt;/SUB&gt;dept into table itab&lt;/P&gt;&lt;P&gt;from zname as a INNER JOIN zinfo as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;id = b&lt;/SUB&gt;id&lt;/P&gt;&lt;P&gt;where lname = 'Smith'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at zname.&lt;/P&gt;&lt;P&gt;Write: / zname-id, zname-lname.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) select count ( id ) sum ( lname ) into (num, lname)&lt;/P&gt;&lt;P&gt;from zname where id = '0025'.&lt;/P&gt;&lt;P&gt;Write: / num, lname.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 11:20:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-29T11:20:48Z</dc:date>
    <item>
      <title>please help me..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108875#M738096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  I need answers of the following questions.Options also there. Please help me..&lt;/P&gt;&lt;P&gt;I will reward you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1)&lt;/P&gt;&lt;P&gt;      Loop at itab.&lt;/P&gt;&lt;P&gt;      Write itab.&lt;/P&gt;&lt;P&gt;      Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From where is the written line derived in the above loop statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) The table work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) sy-subrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) sy-index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) The table header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) sy-lisel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2)&lt;/P&gt;&lt;P&gt;  An internal table icode contains the following entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1  Field2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;John    12345&lt;/P&gt;&lt;P&gt;Alice   23478&lt;/P&gt;&lt;P&gt;Sam     54321&lt;/P&gt;&lt;P&gt;john    50000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ICODE OCCURS 0,&lt;/P&gt;&lt;P&gt;        FIELD1(5),&lt;/P&gt;&lt;P&gt;        FIELD2(5),&lt;/P&gt;&lt;P&gt;      END OF ICODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does executing the above code return a sy-subrc of 4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Icode-field2 must be a numeric field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) The internal table has an incorrect structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Both internal table fields must be used in the search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) The internal table must be sorted first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 'John' should not be capitalized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Data: pos like sy-index,&lt;/P&gt;&lt;P&gt;          index(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 10 times.&lt;/P&gt;&lt;P&gt;Check sy-index between 2 and 6.&lt;/P&gt;&lt;P&gt;Add 1 to pos.&lt;/P&gt;&lt;P&gt;Move sy-index to index.&lt;/P&gt;&lt;P&gt;Write at pos index.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of the above code after execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 26&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 1789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 23456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 132578910&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 178910&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q4) Dialog programs are of which type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Type B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Type 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Type *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Type M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Type S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1(12) type c value 'Test Variant',&lt;/P&gt;&lt;P&gt;      f2(6)  type c,&lt;/P&gt;&lt;P&gt;      f3(8)  type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move: f1 to f2,&lt;/P&gt;&lt;P&gt;       f2 to f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do f1, f2, and f3 contain after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'ariant'&lt;/P&gt;&lt;P&gt;     f3: '  ariant'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'ariant'&lt;/P&gt;&lt;P&gt;     f3: ' Variant'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;    f2: 'Test V'&lt;/P&gt;&lt;P&gt;    f3: 'st Varia'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'Test V'&lt;/P&gt;&lt;P&gt;      f3: 'Test V  '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;     f2: 'Test V'&lt;/P&gt;&lt;P&gt;     f3: 'Test Var'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Data: Begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;          field1,&lt;/P&gt;&lt;P&gt;         End of itab.&lt;/P&gt;&lt;P&gt;2. Data: Itab1 like itab occurs 0.&lt;/P&gt;&lt;P&gt;3. Data: Itab1 type itab occurs 0.&lt;/P&gt;&lt;P&gt;4. Data: Begin of itab1 occurs 0.&lt;/P&gt;&lt;P&gt;           Include structure itab.&lt;/P&gt;&lt;P&gt;   Data: End of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which of the above statements code internal tables with a header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Lines 1 and 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Lines 1 and 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Lines 2 and 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Lines 1 and 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Lines 2 and 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q7)&lt;/P&gt;&lt;P&gt; Which one of the following SQL statements does NOT lock the affected database entries ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Insert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) select single for update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) modify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q8)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       num1 type I,&lt;/P&gt;&lt;P&gt;       num2 type I,&lt;/P&gt;&lt;P&gt;       num3 type I,&lt;/P&gt;&lt;P&gt;       mark,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete from itab where mark eq 'D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab entries:&lt;/P&gt;&lt;P&gt;1 2 3 D&lt;/P&gt;&lt;P&gt;2 3 4&lt;/P&gt;&lt;P&gt;3 4 5 D&lt;/P&gt;&lt;P&gt;4 5 6 D&lt;/P&gt;&lt;P&gt;7 8 9 d&lt;/P&gt;&lt;P&gt;7 8 9 D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the ITAB entries, what are the contents of ITAB after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 1 2 3 D&lt;/P&gt;&lt;P&gt;    2 3 4&lt;/P&gt;&lt;P&gt;    3 4 5 D&lt;/P&gt;&lt;P&gt;    4 5 6 D&lt;/P&gt;&lt;P&gt;    7 8 9 d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 2 3 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 7 8 9 d&lt;/P&gt;&lt;P&gt;   7 8 9 D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 2 3 4&lt;/P&gt;&lt;P&gt;     3 4 5 D&lt;/P&gt;&lt;P&gt;     4 5 6 D&lt;/P&gt;&lt;P&gt;     7 8 9 d&lt;/P&gt;&lt;P&gt;    7 8 9 D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 2 3 4&lt;/P&gt;&lt;P&gt;    7 8 9 d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1 type I value 1,&lt;/P&gt;&lt;P&gt;      f2 type I value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 2 times.&lt;/P&gt;&lt;P&gt;  Perform scope.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope.&lt;/P&gt;&lt;P&gt;Statics: f1 type I value 2,&lt;/P&gt;&lt;P&gt;          f2 type I value 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add: 1 to f1, 1 to f2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform scope2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of the above program after execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 3 3&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 3 3&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 3 3&lt;/P&gt;&lt;P&gt;0 0&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;0 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 3 3&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;4 4&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q10) An ABAP Screen is created in which transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Screen Editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Screen Painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Menu Painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) ABAP Editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Status Painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q11) Data written to the database would be reversed under which of the following circumstances?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Dequeue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Enqueue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Message Xnnn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) End of Transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q12)  Program specifications ask for error checking on a selection-screen which contains a parameter inside a frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) at selection-screen on block b1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) selection-screen check block b1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) at selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) selection-screen on field f1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) check selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q13) Table ztest has a secondary index on the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnum, tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from ztest where tnum ne '123' and tcode = '456'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the index not used in the above case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Indexes are not allowed on Z tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Variables must be used, NOT literals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Select individual fields, not select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Client is not in the where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) NE invalidates the use of an index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q14) An internal table has two fields :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which of the following is the fastest way to fill an internal table of the structure above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select field1 field2 into (itab-field1, itab-field2)&lt;/P&gt;&lt;P&gt;       from ztable where field1 = '10'.&lt;/P&gt;&lt;P&gt;Append itab.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) select * from ztable&lt;/P&gt;&lt;P&gt;       where field1 = '10'.&lt;/P&gt;&lt;P&gt;Move ztable to wa.&lt;/P&gt;&lt;P&gt;Append itab from wa.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) select * into corresponding-fields of itab&lt;/P&gt;&lt;P&gt;       from ztable where field1 = '10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) select * from ztable&lt;/P&gt;&lt;P&gt;       where field1 = '10'.&lt;/P&gt;&lt;P&gt;Append itab.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) select * into table itab from ztable&lt;/P&gt;&lt;P&gt;       where field1 = '10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q15) Update Bundling can occur within which of the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Within dialog tasks and dequeue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Within dialog and update tasks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Within enqueue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Within enqueue and dequeue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Within update tasks and enqueue processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q16)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        field1,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 3 times.&lt;/P&gt;&lt;P&gt;Append initial line to itab.&lt;/P&gt;&lt;P&gt;Append 'X' to itab.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Describe table itab.&lt;/P&gt;&lt;P&gt;Write: sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value of sy-tfill after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q16)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table zinfo                   Entries:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;          a1   Smith  100.00   50.00&lt;/P&gt;&lt;P&gt;Field        Type             a1   Jones  100.00   50.00&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;          a2   Bob    100.00   50.00&lt;/P&gt;&lt;P&gt;id            C               a3   Bob    100.00   50.00&lt;/P&gt;&lt;P&gt;name          C               a4   Mike   100.00   50.00&lt;/P&gt;&lt;P&gt;sales         P               a5   Mary   100.00   50.00&lt;/P&gt;&lt;P&gt;sales2        P               a5   Mary   100.00   50.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above information, what is the result of the following code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at zinfo.&lt;/P&gt;&lt;P&gt;At new name.&lt;/P&gt;&lt;P&gt;Sum.&lt;/P&gt;&lt;P&gt;Write: / zinfo-id, zinfo-name, zinfo-sales.&lt;/P&gt;&lt;P&gt;Endat.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) a1   Smith    100.00&lt;/P&gt;&lt;P&gt;a1   Jones    100.00&lt;/P&gt;&lt;P&gt;a2   Bob      100.00&lt;/P&gt;&lt;P&gt;a3   Bob      100.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     200.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) a1   Smith    100.00&lt;/P&gt;&lt;P&gt;a1   Jones    100.00&lt;/P&gt;&lt;P&gt;a2   Bob      200.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) a1   Jones    200.00&lt;/P&gt;&lt;P&gt;a2   Bob      200.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) a1   Jones    200.00&lt;/P&gt;&lt;P&gt;a2   Bob      200.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) a1   Smith    200.00&lt;/P&gt;&lt;P&gt;a2   Bob      100.00&lt;/P&gt;&lt;P&gt;a3   Bob      100.00&lt;/P&gt;&lt;P&gt;a4   Mike     100.00&lt;/P&gt;&lt;P&gt;a5   Mary     200.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q17) Which one of the following is an INCORRECT form of the WRITE statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) write x no-sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) write x no-decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) write x left-justified no-gap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) write x no-zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) write x under y currency us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q18)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Data: Begin of imara occurs 0.&lt;/P&gt;&lt;P&gt;2.         Include structure mara.&lt;/P&gt;&lt;P&gt;3. Data: End of imara.&lt;/P&gt;&lt;P&gt;4  Data: number like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Select * into table imara&lt;/P&gt;&lt;P&gt;6. From mara where matnr = number.&lt;/P&gt;&lt;P&gt;7.   If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;8.     Write:/ imara.&lt;/P&gt;&lt;P&gt;9.   Endif.&lt;/P&gt;&lt;P&gt;10. Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which line in the above code contains a syntax error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q19)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: field1(4) type c value 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field1 co 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value of sy-fdpos after this block of code is executed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) ABCD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q20) Which statement is INCORRECT when referring to SAP memory or ABAP memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) ABAP memory is only stored during the lifetime of an external session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) You can use ABAP memory to pass data between internal sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) SAP memory is also referred to as Global Memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) SAP memory is available across transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) IMPORT/EXPORT (TO MEMORY) statements are used for SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q21) A standard type internal table ICODE contains the following entries:&lt;/P&gt;&lt;P&gt;field1 field2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;001    New York&lt;/P&gt;&lt;P&gt;002    Boston&lt;/P&gt;&lt;P&gt;003    Houston&lt;/P&gt;&lt;P&gt;008    Denver&lt;/P&gt;&lt;P&gt;010    San Diego&lt;/P&gt;&lt;P&gt;020    Seattle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE ICODE WITH KEY FIELD1 = '015' BINARY SEARCH.&lt;/P&gt;&lt;P&gt;WRITE: / SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the value of sy-tabix after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q22)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: field1 type I value 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End-of-selection.&lt;/P&gt;&lt;P&gt;Subtract 2 from field1.&lt;/P&gt;&lt;P&gt;Write: / 'field1 =', field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;Add 5 to field1.&lt;/P&gt;&lt;P&gt;Write: / 'field1 =', field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization.&lt;/P&gt;&lt;P&gt;Field1 = 5.&lt;/P&gt;&lt;P&gt;Write: / 'field1 =', field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result after executing the above code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) field1 = 5&lt;/P&gt;&lt;P&gt;field1 = 10&lt;/P&gt;&lt;P&gt;field1 = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) field1 = 8&lt;/P&gt;&lt;P&gt;field1 = 14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) field1 = 10&lt;/P&gt;&lt;P&gt;field1 = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) field1 = 5&lt;/P&gt;&lt;P&gt;field1 = 3&lt;/P&gt;&lt;P&gt;field1 = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) field1 = 8&lt;/P&gt;&lt;P&gt;field1 = 14&lt;/P&gt;&lt;P&gt;field1 = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q23)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1 type I value 1,&lt;/P&gt;&lt;P&gt;      f2 type I value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 2 times.&lt;/P&gt;&lt;P&gt;  Perform scope.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope.&lt;/P&gt;&lt;P&gt;Statics: f1 type I value 2,&lt;/P&gt;&lt;P&gt;          f2 type I value 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add: 1 to f1, 1 to f2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform scope2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form scope2.&lt;/P&gt;&lt;P&gt;Write: / f1, f2.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of the above program after execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) 3 3&lt;/P&gt;&lt;P&gt;    1 1&lt;/P&gt;&lt;P&gt;    4 4&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) 3 3&lt;/P&gt;&lt;P&gt;     3 3&lt;/P&gt;&lt;P&gt;     4 4&lt;/P&gt;&lt;P&gt;     4 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) 3 3&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;    3 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) 3 3&lt;/P&gt;&lt;P&gt;    1 1&lt;/P&gt;&lt;P&gt;    4 4&lt;/P&gt;&lt;P&gt;    1 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) 3 3&lt;/P&gt;&lt;P&gt;     0 0&lt;/P&gt;&lt;P&gt;     4 4&lt;/P&gt;&lt;P&gt;     0 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q24)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table ZNAME                    Table ZINFO&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;                  -&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;field    key                   field          key&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;                  -&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;mandt      X                   mandt            X&lt;/P&gt;&lt;P&gt;id         X                   id               X&lt;/P&gt;&lt;P&gt;lname      X                   dept&lt;/P&gt;&lt;P&gt;fname      X                   division&lt;/P&gt;&lt;P&gt;address                       &lt;/P&gt;&lt;P&gt;phone&lt;/P&gt;&lt;P&gt;fax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above table definitions, which one of the following selects uses proper syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) select * from zinfo where id = '0025'.&lt;/P&gt;&lt;P&gt;Loop at zinfo.&lt;/P&gt;&lt;P&gt;Write: / id.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) select mandt id lname into (client, id, lname)&lt;/P&gt;&lt;P&gt;from zname where id = '0025'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write: / id.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) select * into table itab from zname&lt;/P&gt;&lt;P&gt;where id = '0025'.&lt;/P&gt;&lt;P&gt;  Select * from zinfo for all entries in itab&lt;/P&gt;&lt;P&gt;   where id = itab-id.&lt;/P&gt;&lt;P&gt;    Write: / zinfo-dept.&lt;/P&gt;&lt;P&gt;  Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) select a&lt;SUB&gt;id a&lt;/SUB&gt;lname a&lt;SUB&gt;fname b&lt;/SUB&gt;dept into table itab&lt;/P&gt;&lt;P&gt;from zname as a INNER JOIN zinfo as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;id = b&lt;/SUB&gt;id&lt;/P&gt;&lt;P&gt;where lname = 'Smith'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at zname.&lt;/P&gt;&lt;P&gt;Write: / zname-id, zname-lname.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) select count ( id ) sum ( lname ) into (num, lname)&lt;/P&gt;&lt;P&gt;from zname where id = '0025'.&lt;/P&gt;&lt;P&gt;Write: / num, lname.&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 11:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108875#M738096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T11:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: please help me..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108876#M738097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answere for Q1)&lt;/P&gt;&lt;P&gt;If the Internal table declared with occurs it will write from work area or it will show error.&lt;/P&gt;&lt;P&gt;Answere for Q2)&lt;/P&gt;&lt;P&gt;d) The internal table must be sorted first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 11:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108876#M738097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T11:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: please help me..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108877#M738098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. d) The table header&lt;/P&gt;&lt;P&gt;2. d) The internal table must be sorted first.&lt;/P&gt;&lt;P&gt;4. d) Type M&lt;/P&gt;&lt;P&gt;5.d) f1: 'Test Variant'&lt;/P&gt;&lt;P&gt;f2: 'Test V'&lt;/P&gt;&lt;P&gt;f3: 'Test V '&lt;/P&gt;&lt;P&gt;6. d) Lines 1 and 2&lt;/P&gt;&lt;P&gt;10. b) Screen Painter&lt;/P&gt;&lt;P&gt;22. a) field1 = 5&lt;/P&gt;&lt;P&gt;        f ield1 = 10&lt;/P&gt;&lt;P&gt;       field1 = 8&lt;/P&gt;&lt;P&gt;11. a) Dequeue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 11:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108877#M738098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T11:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: please help me..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108878#M738099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not try to figure out the answers yourself?  You may learn something.  The F1 key in the ABAP Editor is a powerful tool to learn proper syntax and usage of a command.  And not to mention SAP Help.   Good luck to you, and ecspeailly any Employer who would hire you after you were given the answers to your questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 15:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-me/m-p/3108878#M738099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T15:57:28Z</dc:date>
    </item>
  </channel>
</rss>

