MileStone - 3
![]() |
![]() |
![]() |
Title of test:![]() MileStone - 3 Description: Reports |




New Comment |
---|
NO RECORDS |
1. What is the fastest way to move one internal table to another internal table (assuming two tables of similar structure)?. Append lines of table1 to table2. loop at table1. table2[] = table1[]. loop at table1. move table1 to table2. Data: field1 type I value 10. a) field1 = 10 field1 = 8 End-of-selection Subtract 2 from field1 Write: / 'field1 =', field1 Start-of-selection Add 5 to field1 Write: / 'field1 =', field1 Initialization Field1 = 5 Write: / 'field1 =', field1 What is the result after executing the above code?. field1 = 10 field1 = 8. field1 = 8 field1 = 14 field1 = 5. field1 = 5 field1 = 3 field1 = 8. field1 = 5 field1 = 10 field1 = 8. field1 = 8 field1 = 14. Which one of the following commands is used in drill-down reporting?. END-OF-PAGE. LEAVE SCREEN. MODULE SET_SCREEN. AT LINE-SELECTION. ON VALUE-REQUEST. What is the structure for the following select-options? Select-options: zname like ztable-name. zname-sign zname-value zname-low zname-high. zname-low zname-high zname-pattern. zname-sign zname-option zname-low zname-high. zname-sign zname-option zname-low. zname-sign zname-option zname-low. data: f1 type I value 1, f2 type I value 1. Write: / f1, f2. Do 2 times. Perform scope. Enddo. Write: / f1, f2. Form scope. Data: f1 type I value 2, f2 type I value 2. Add: 1 to f1, 1 to f2. Write: / f1, f2. Endform. 1 1 2 2 3 3 1 1. 1 1 3 3 3 3 3 3. 1 1 2 2 3 3 3 3. 1 1 3 3 3 3 1 1. 1 TABLES: MARC. 2 DATA: BEGIN OF ITAB OCCURS 0, 3 FIELD1(5), 4 FIELD2(5), 5 END OF ITAB. 6 READ TABLE ITAB WITH KEY MATNR = '12345'. 7 IF SY_SUBRC = 0. 8 WRITE:/ ITAB-MATNR. 9 ENDIF. Referring to the above code, which line contains an error?. 5. 6. 7. 8. Which statements are allowed if you are working with an internal table of type sorted? (Contains one or morethan one answer). Append. Collect. Sort. Read. Modify. What is the value of ZFIELDB after the last line of the following code is executed? Data: ZFIELDA(5) type c value 'ABCDE'. ZFIELDB(4) type c. ZFIELDA = 'XX'. Clear ZFIELDA. ZFIELDB = ZFIELDA. ABCDE. Spaces. ABCD. BCDE. The event that is processed after all data has been read but before the list is displayed is (Contains one or more than one answer). END-OF-PAFE. END-OF-SELECTION. AT LINE-SELECTION. START-OF-SELECTION. In regard to the INITIALIZATION event, which of the following are true statements?. Executed before the selection screen is displayed. You can use SET PF-STATUS here. You can assign different values to PARAMETERS and SELECT-OPTIONS here. Executed one time when you start report. If a table contains many duplicate values for a field, minimize the number of records returned by using this SELECT statement addition. GROUP BY. ORDER BY. DISTINCT. DELETE. Page headers for a seconadry list should be coded in which event?. TOP-OF-PAGE. START-OF-SELECTION. TOP-OF-PAGE-DURING LINE-SELECTION. AT LINE-SELECTION. AT USER-COMMAND. To place a checkbox on a list, use. WRITE CHECKBOX. FORMAT CHECKBOX ON. WRITE field AS CHECKBOX. MODIFY LINE WITH CHECKBOX. DATA:a type i, b type i, c typpe i. b = 1. DO. a = a + 1. c = a + b. WRITE :/ c. ENDDO. What will be the output after completing the DO..ENDDO?. 2. 1. 0. Error. Which of the following are the components of the default standard ABAP report header?( Contains one or morethan one answer). Date and Time. List Title. Page Number. Underline. A select statement has bulit-in authorization checks. TRUE. FALSE. After adding rows to an internal table with COLLECT, you should avoid adding more rows with APPEND. TRUE. FALSE. When is the TOP-OF-PAGE event does get triggered?. At First Write statement. At First ULINE statement. At First SKIP statement. All of the Above. Which statement deletes the data of internal table along with header line?. Refresh. Clear. Delete. Free. Which of the following events are mandatory for the reports? (Contains one or more than one answer). INTIALIZATION. START-OF-SELECTION. AT SELECTION-SCREEN. END-OF-SELECTION. NONE. data:alph type i value 3. write:alph. WHILE alph > 2. write:alph. alpph = alph -1. ENDWHILE. 3. 3 2. 3 3 2. 3 3. DATA: itab LIKE kna1 OCCURS 0 WITH HEADER LINE. itab-name1 = ‘Smith’. itab-ort01 = ‘Miami’. APPEND itab. itab-name1 = ‘Jones’. itab-ort01 = ‘Chicago’. APPEND itab. itab-name1 = ‘Brown’. itab-ort01 = ‘New York’. APPEND itab. SORT itab BY name1 ort01. Smith appears before Jones. Jones appears before Brown. Brown appears before Jones. Miami appears before New York. Selection screen entries referring to data dictionary objects have certain checks in-built in them. Additional checks can be written using event. AT LINE-SELECTION. AT SCREEN-SELECTION. AT SELECTION-SCREEN. AT SELECTION-SCREEN ON CHECK. In an Interactive report, how many lists can exist in parallel. 2 Basic lists and 20 Secondary Lists. 1 Basic list and 19 Secondary Lists. 1 Basic list and 20 Secondary Lists. 2 Basic list and 19 Secondary Lists. Which one of the following statements creates a GUI-status in a dialog program?. set GUI-status = '0100'. set status '0100'. set pf-status '0100'. . set screen '0100'. Which of the following ABAP statements create a list for executable programs? (Contains one or more than one answer). SKIP. WRITE. PERFORM. ULINE. CLEAR. Which of the following statements about the SELECT statement are correct? a)With SELECT SINGLE access, the result is one data record maximum. b)The SELECT statement supports the return code (SY-SUBRC). c)With SELECT...ENDSELECT access. the result is one data record maximum. d)The SELECT statement always reads the data into the SAP memory first. e)With SELECT...INTO TABLE access, the result is one data record maximum. a,b,d. b,d. b,c,e. a,b. a,c,d. Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked?. AT USER-COMMAND. AT PFn. AT SELECTION-SCREEN. AT LINE-SELECTION. How can you suppress the default title of a list ?. By defining a TOP-OF-PAGE event in the program and using it to display something else. By choosing System -- List -- List header and entering your own title. By using the NO STANDARD PAGE HEADING addition in the REPORT statement. By entering a title in the text elements of the program. Which Function Modules is Used In Hierarchical ALV Report Display?. REUSE_ALV_HIERESEQ_LIST_DISPLAY. REUSE_ALV_HIERESEQ_LIST-DISPLAY. REUSE_ALV_HIERSEQ_LIST_DISPLAY. REUSE_ALV-HIERSEQ_LIST_DISPLAY. |