|If a table does not have MANDT as part of the primary key, it is ________. structure Invalid Client-independent Not mandatory.
Name the type of ABAP Dictionary table that has these characteristics: Same number of fields as the database table Same name as database table Maps 1:1 to database table Pooled Cluster Transparent View.
What is the system field for the current date? SY-DATUM SY-DATE SY-DATID SY-SDATE.
You may change the following data object as shown below so that it equals 3.14. CONSTANTS: PI type P decimals 2 value '3.1' PI = '3.14'. TRUE FALSE.
Which of these sentences most accurately describes the GET VBAK LATE. event? This event is processed before the second time the GET VBAK event is processed This event is processed after all occurrences of the GET VBAK event are completed This event will only be processed after the user has selected a basic list row This event is only processed if no records are selected from table VBAK.
TO include database-specific SQL statements within an ABAP program, code them between NATIVE SQL_ENDNATIVE DB SQL_ENDDB SELECT_ENDSELECT EXEC SQL_ENDEXEC.
When a secondary list is being processed, the data of the basic list is available by default TRUE FALSE.
After a DESCRIBE TABLE statement SY-TFILL will contain The number of rows in the internal table The current OCCURS value Zero, if the table contains one or more rows The length of the internal table row structure.
After adding rows to an internal table with COLLECT, you should avoid adding more rows with APPEND TRUE FALSE.
A dictionary table is made available for use within an ABAP program via the TABLES statement TRUE FALSE.
What must you code in the flow logic to prevent a module from being called unless a field contains a non-initial value (as determined by its data type)? ON INPUT CHAIN FIELD ON REQUEST.
In regard to a function group, which of the following is NOT a true statement? Combines similar function modules Shares global data with all its function modules Exists within the ABAP workbench as an include program Shares subroutines with all its function modules.
In regard to data transported in PAI when the FIELD statement is used, which of the following is NOT a true statement? Fields in PBO are transported directly from PAI Fields with identical names are transported to the ABAP side Fields not defined in FIELD statements are transported first Fields that are defined in FIELD statements are transported when their corresponding module is called.
A field declared as type T has the following internal representation SSMMHH HHMMSS MMHHSS HHSSMM.
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 END-OF-SELECTION.
The following program outputs what? report zjgtest1 write: /1 'Ready_'. PARAMETER: test. INITIALIZATION. write: /1 'Set_'. START-OF-SELECTION. write: /1 'GO!!'. Set_ GO!! (each on its own line) Set_ Ready_ GO!! (all on their own lines) Ready_ GO!! (each on its own line) Ready_ Set_ GO!! (all on their own lines).
An internal table that is nested within another internal table should not contain a header line. TRUE FALSE.
To select all database entries for a certain WHERE clause into an internal table in one step, use... SELECT_INTO TABLE itab_ SELECT_INTO itab_ SELECT_APPENDING itab SELECT_itab_.
This selection screen syntax forces the user to input a value REQUIRED-ENTRY OBLIGATORY DEFAULT SELECTION-SCREEN EXCLUDE.
If this code results in an error, the remedy is: SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3. WRITE: /1 tab1-fld1, tab1-fld2. ENDSELECT. Add a SY-SUBRC check Change the WHERE clause to use fld1 or fld2 Remove the /1 from the WRITE statement Add INTO (tab1-fld1, tab1-fld2).
To allow the user to enter values on the screen for a list field, use: OPEN LINE SET CURSOR FIELD WRITE fld AS INPUT FIELD FORMAT INPUT ON.
To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data declaration for the field? PBO module include program TOP include program PAI module include program Subroutine include program.
The system internal table used for dynamic screen modification is named: ITAB SCREEN MODTAB SMOD.
The system internal table used for dynamic screen modification is named: SY-CUCOL SY-LILLI SY-CUROW SY-LISEL.
For the code below, second_field is of what data type? DATA: first_field type P, second_field like first_field. P C N D.
A BDC program is used for all of the following except: Downloading data to a local file Data interfaces between SAP and external systems Initial data transfer Entering a large amount of data.
What is the transaction code for the ABAP Editor? SE11 SE38 SE36 SE16.
Database locks are sufficient in a multi-user environment. TRUE FALSE.
In regard to LEAVE, which of the following is NOT a true statement? May be used to return immediately to a calling program May be used to stop the current loop pass and get the next May be used to start a new transaction May be used to go to the next screen.
The ABAP statement below indicates that the program should continue with the next line of code if the internal table itab: CHECK NOT itab IS INITIAL. Contains no rows Contains at least one row Has a header line Has an empty header line.
To allow the user to enter a range of values on a selection screen, use the ABAP keyword DATA RANGES PARAMETERS SELECT-OPTIONS.
Assuming an internal table contains 2000 entries, how many entries will it have after the following line of code is executed? DELETE itab FROM 1500 TO 1700. This is a syntax error 1801 1800 1799.
All of the following may be performed using SET CURSOR except Move the cursor to a specific field on a list Move the cursor to a specific list line Move the cursor to a specific pushbutton, activating that function Move the cursor to a specific row and column on a list.
Coding two INITIALIZATION events will cause a syntax error TRUE FALSE.
To save information on a list line for use after the line is selected, use this keyword APPEND EXPORT WRITE HIDE.
Within a function module's source code, if the MESSAGE_RAISING statement is executed, all of the following system fields are filled automatically except SY-MSGTY SY-MSGNO SY-MSGV1 SY-MSGWA.
The ______________ type of ABAP Dictionary view consists of one or more transparent tables and may be accessed by an ABAP program using Open SQL Database view Projection view Help view Entity view.
The output for the following code will be: report zabaprg. DATA: char_field type C. char_field = 'ABAP data'. WRITE char_field. ABAP data A Nothing, there is a syntax error None of the above.
The event AT SELECTION-SCREEN OUTPUT. occurs before the selection screen is displayed and is the best event for assigning default values to selection criteria. TRUE FALSE.
Assuming tab1-fld7 is not a key field, how can you prevent reading all the table rows? SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6) WHERE fld7 = pfld7. WRITE: /1 fld4, fld5, fld6. ENDSELECT. Take fld7 out of the WHERE clause Create an index in the ABAP Dictionary for tab1-fld7 Use INTO TABLE instead of just INTO Take the WRITE statement out of the SELECT_ENDSELECT.
When creating a transparent table in the ABAP Dictionary, which step automatically creates the table in the underlying database? Adding technical settings to the table Checking the table syntax Saving the table Activating the table.
If this code results in an error, the remedy is: SELECT fld1 SUM( fld1 ) FROM tab1 INTO_ select sum(fld1) fld1 from…. Remove the spaces from SUM( fld1 ) Move SUM( fld1 ) before fld1 Add GROUP BY f1 Change to SUM( DISTINCT f1 ).
Assuming itab has a header line, what will be output by the following code? READ TABLE itab INDEX 3 TRANSPORTING field1. WRITE: /1 itab-field1, itab-field2. The contents of the third row's itab-field1 The contents of the third row's itab-field1 and itab-field2 The contents of the third row's itab-field2 Nothing.
Which statement will sort the data of an internal table with fields FRUIT, QTY, and PRICE so that it appears as follows? FRUIT QTY PRICE Apples 12 22.50 Apples 9 18.25 Oranges 15 17.35 Bananas 20 10.20 Bananas 15 6.89 Bananas 5 2.75 SORT itab DESCENDING BY QTY PRICE SORT itab BY PRICE FRUIT SORT itab SORT itab BY PRICE DESCENDING.
To read a single line of an internal table, use the following LOOP AT itab. _ ENDLOOP READ itab SELECT SINGLE * FROM itab READ TABLE itab.
PERFORM subroutine USING var.
The var field is known as what type of parameter? Formal Actual Static Value.