programming languages Online Quiz - 131
|Description: programming languages Online Quiz - 131|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: programming languages|
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
What is a structured type in the ABAP dictionary that has no physical table defintion in the underlying database referred to as?
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 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 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
When catching errors using the CATCH…ENDCATCH statement, where does the runtime error return code get placed?
When is it better to buffer the table?
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?
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.
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
To allow the user to enter a range of values on a selection screen, use the ABAP keyword: