|Description: programming languages Online Quiz - 131|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: programming languages|
Which keyword adds rows to an internal table while accumulating numeric values?
To allow the user to enter a range of values on a selection screen, use the ABAP keyword:
data: begin of itab occurs 0, field1(10), field2(10), end of itab. Move: 'A' to itab-field1, 'B' to itab-field2. Append itab. Append itab. Move: 'B' to itab-field1. Append itab. Clear itab. Move: 'A' to itab-field2. Append itab. What are the contents of itab after executing the above code? a) A B A B B B A b) A B A B B A c) A B B A d) A B B A A e) A B B A B A B A
What is the fastest way to move one internal table to another internal table (assuming two tables of similar structure)? a) append lines of table1 to table2. b) loop at table1. Move: table1-field1 to table2-field1, table1-field2 to table2-field2. Append table2. Endloop. c) table2 = table1. d) loop at table1. Move-corresponding table1 to table2. Endloop.
An internal table icode contains the following entries: Field1 Field2 -------------- John 12345 Alice 23478 Sam 54321 john 50000 DATA: BEGIN OF ICODE OCCURS 0, FIELD1(5), FIELD2(5), END OF ICODE. READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH. Why does executing the above code return a sy-subrc of 4?
Which Report Statement option determines the width of a list?
Which is not a valid option of the Write Statement?
When is it better to buffer the table?
When catching errors using the CATCH…ENDCATCH statement, where does the runtime error return code get placed?
How would you clear the body of an internal table (with a header line). a) Clear ITAB b) Refresh ITAB  c) Clear ITAB d) Refresh ITAB
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.
How can you perform a direct database read from a buffered table?
Which of the following is not a valid ABAP data statement?
Mark the default size for a packed field
Refer to the following Code. What is the value of sy-fdpos and sy-subrc after the search is executed? Data: mystring type c value 'ARAMCO'. Search mystring for 'X'
What is a structured type in the ABAP dictionary that has no physical table defintion in the underlying database referred to as?
Must Exits be predefined by SAP programmers?
What is the purpose of the following statement ---- PROC SQL OUTOBS= 10;
Which Proc sql will be used to determine the total number of miles traveled by frequent-flyer program members in each of three membership classes (Gold, Silver, and Bronze). Frequent-flyer program information is stored in the table Frequentflyers. MemberType TotalMiles Bronze 908786767 Gold 57665868 Silver 34343656
select flightnumber, date, destination, boarded + transferred + nonrevenue as Total from marchflights where total < 100; What will happen when this query is submitted ?