Professional Documents
Culture Documents
ANS - Go to Utilities-Copy from client. give the form name and then
the
target form and in client the client from which we need. In this
only the form gets copied not the standard symbol, Text then Styles.
To copy the standard symbol go to SE72 - Utilities-Copy. For
standard text go to SO10 -Utilities-Copy. IMPORTANT - Which we
upload tiff file in RSTXLDMC the file uploaded and saved in SO10 in
standard text format i.e. it is stored in bit format. The contents
of so10 r stored in STXH. The graphics for BMP are stored in
SSFXFBMP.
If we need two logos(one in background). RSTXLDMC- upload logo in
sequence i.e. logo1,logo2. Then in form include the ST first logo1
then logo2.
If there is 10 scripts with Standard text will four lines in it. if
we want in 2 scripts only 2 lines to be displayed : - we can do by
coding a logic i.e. go to SO10 there give a logic If <Form name> <>
0. print.
TTDTG is the table where we can create a Zstandard Symbol and it is
where standard symbol is stored.
24. How do u solve table control problem in bdc?.
25. How do u code the program for getting time base on different
country timings?
ANS - By setting the local PC time using the system field TiMLO.
26. If report is run in india and the same report is run in us which
time is accessed by the program?
ANS - By setting the local Pc time using the system field TiMLO.
26. If u save an object as local object then how do u transport
it?.
ANS - If a object is saved in local object it will not give any
request so get the request first change the development class. Go to
SE80 - Right click on the object there will be option More Function
then change package Assignment.
27. Can we use
for one application, for data processing session
method and for data updation call transaction? how? Yes. after we
code call transaction below that give a logic if subrc <> 0 then
open the function module BDC-open, insert, close.
28. How do we keep break points dynamically say a program has 1000
line of code and has 50 function modules then how do we keep
breakpoints to those 50 function modules?
ANS - First set the program to debug mode after we r in debug mode
got to Breakpoint option in menu bar from there go to breakpoint at
- there use statement and use the statement i.e call function or any
subroutine.
29. How to sent error to end user?
Ans - By using the function module(BDCMSGCOLL).
Part 2
What is a 'Z' report?
Y or Z report refer to customized abap programs written for modules such as mm,
sd, pp or fi/co etc.
Can we create an ABAP program without using Y or Z?
No, this is because all non Yor Z programs are standard SAP programs.
1. How data is stored in cluster table?
Each field of cluster table behaves as tables which contains the no. of entries.
2. What are client dependant objects in abap/sap?
SAP Script layout, text element, and some DDIC objects.
3. On which even we can validate the input fields in module progams?
In PAI (Write field statement on field you want to validate, if you want to validate
group of fields put in chain and End chain statement.)
4. In selection screen I have three fields, plant mat no and material group. If I input
plant how do I get the mat no and material group based on plant dynamically?
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' to get material and
material group for the plant.
5. How do you get output from IDOC?
Data in IDOc is stored in segments, the output from Idoc is obtained by reading the
data stored in its respective segments.
6. When top of the page event is triggered?
After excuteing first write statement in start-of-selection event.
7. Can we create field without data element and how?
In SE11 one option is available above the fields strip. Data element/ direct type.
8. How do we debug sapscript?
Go to SE71 give lay set name , go to utilities select debugger mode on.
9. Which transaction code can I used to analyze the performance of ABAP
program.
TCode AL21.
10. How can I copy a standard table to make my own z_table.
Go to transaction SE11. Then there is one option to copy table. Press that button.
Enter the name of the standard table and in the Target table enter Z table name and
press enter.
Following are some of the answers which I gave upto my knowledge.
1. What is the use of 'outerjoin'
Ans. With the use of outer join you can join the tables even there is no entry in all
the tables used in the view.
In case of inner join there should be an entry in al the tables use in the view.
2. When to use logical database?
Ans. Advantage of Logical databases:
less coding s required to retrieve data compared to normal internel tables.
Tables used LDB are in hierarchial structure.
3. What is the use of 'table index'?
Part 3
1. What is the typical structure of an ABAP/4 program?
ANS:HEADER ,BODY,FOOTER.
2. What are field symbols and field groups.?
Have you used "component idx of structure" clause with field groups?
ANS:Field symbols:Field groups :Can any body explain me what is field group?
Field groups are groups similar fields together into one name. Field group works in
conjuction with
INSERT f1 f2 INTO fg
EXTRACT fg
SORT BY fg
LOOP ... ENDLOOP
INSERT f1 f2 INTO fg
--------------------The insert statement is used to create a field group dynamically by inserting the
field into it. Only global data fields can be inserted and not local data fields eg : in
form modules.
EXTRACT fg
---------This will combine all the fields in the fieldgroup and write them to a sequential
dataset as a single record.
SORT BY fg
---------Sorting of sequential dataset by field group.
LOOP AND ENDLOOP
--------------LOOP.
AT ***
......
....
ENDAT.
AT ***
.....
....
ENDAT.
ENDLOOP.
*-- Chinmaya
3. What should be the approach for writing a BDC program?
ANS:STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to
internal table CALLED "CONVERSION".
STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED "SAP
DATA TRANSFER".
STEP 3: DEPENDING UPON THE BDC TYPE i)call transaction(Write the
program explicity)
ii) create sessions (sessions are created and processed.if success data will
transfer).
4. What is a batch input session?
ANS:BATCH INPUT SESSION is an intermediate step between internal table and
database table.
Data along with the action is stored in session ie data for screen fields, to which
screen it is passed,program name behind it, and how next screen is processed.
5. What is the alternative to batch input session?
ANS:Call transaction.
6. A situation: An ABAP program creates a batch input session.
We need to submit the program and the batch session in back ground. How to do
it?
ANS:go to SM36 and create background job by giving
job name,job class and job steps (JOB SCHEDULING)
8. What are the problems in processing batch input sessions?
How is batch input process different from processing online?
ANS:PROBLEMS:i) If the user forgets to opt for keep session then the session will be automatically
removed from the session queue(log remains). However if session is processed we
may delete it manually.
ii)if session processing fails data will not be transferred to SAP database table.
10. What are the different types of data dictionary objects?
ans:tables, structures, views, domains, data elements, lock objects, Matchcode objects.
11. How many types of tables exists and what are they in data dictionary?
ans :4 types of tables
i)Transparent tables - Exists with the same structure both in dictionary as well as in
database exactly with the same data and fields. Both Opensql and Nativesql can be
used.
ii)Pool tables & iii)Cluster tables These are logical tables that are arranged as records of transparent tables.one
As soon as the system has processed the first EXTRACT statement for a field group
<fg>, the structure of the corresponding extract record in the extract dataset is
fixed. You can no longer insert new fields into the field groups <fg> and HEADER.
If you try to modify one of the field groups afterwards and use it in another
EXTRACT statement, a runtime error occurs.
By processing EXTRACT statements several times using different field groups, you
fill the extract dataset with records of different length and structure. Since you can
modify field groups dynamically up to their first usage in an EXTRACT statement,
extract datasets provide the advantage that you need not determine the structure at
the beginning of the program.
18. What is a collect statement? How is it different from append?
ANS:If an entry with the same key already exists, the COLLECT statement does not
append a new line, but adds the contents of the numeric fields in the work area to
the contents of the numeric fields in the existing entry.
19. What is open sql vs native sql?
ANS:- by Madhukar
Open SQL , native SQL are the interfaces to create the database applicatons.
Open SQL is consistant across different types of existing Databases.
Native SQL is the database language specific to database.Its API is specific to the
databse.
Open SQL API is consistent across all vendors
20. What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using
it?
ANS:21. What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary?
ANS:22. What are the events in ABAP/4 language?
ANS:Initialization, At selection-screen,Start-of-selection,end-of-selection,top-of-page,endof-page, At line-selection,At user-command,At PF,Get,At New,At LAST,AT END,
AT FIRST.
23. What is an interactive report?
What is the obvious diff of such report compared with classical type reports?
ANS:An Interactive report is a dynamic drill down report that produces the list on users
choice.
diff:a) THE LIST PRODUCED BY CLASSICAL REPORT DOESN'T allow user to
interact with the system
the list produced by interactive report allows the user to interact with the system.
b) ONCE A CLASSICAL REPORT EXECUTED USER LOOSES CONTROL.IR
USER HAS CONTROL.
41. When a program is created and need to be transported to prodn does selection
texts always go with it? if not how do you make sure? Can you change the CTS
entries? How do you do it?
ANS:42. What is the client concept in SAP? What is the meaning of client independent?
ANS:43. Are programs client dependent?
ANS:Yes.Group of users can access these programs with a client no.
44. Name a few system global variables you can use in ABAP programs?
ANS:SY-SUBRC,SY-DBCNT,SY-LILLI,SY-DATUM,SY-UZEIT,SY-UCOMM,SYTABIX.....
SY-LILLI IS ABSOLUTE NO OF LINES FROM WHICH THE EVENT WAS
TRIGGERED.
45. What are internal tables? How do you get the number of lines in an internal
table?
How to use a specific number occurs statement?
ANS:i)It is a standard data type object which exists only during the runtime of the
program.
They are used to perform table calculations on subsets of database tables and for reorganising the contents of database tables according to users need.
ii)using SY-DBCNT.
iii)The number of memory allocations the system need to allocate for the next record
population.
46. How do you take care of performance issues in your ABAP programs?
Performance of ABAPs can be improved by minimizing the amount of data to be
transferred.
The data set must be transferred through the network to the applications, so
reducing the amount OF time and also reduces the network traffic.
Some measures that can be taken are:
- Use views defined in the ABAP/4 DDIC (also has the advantage of better
reusability).
- Use field list (SELECT clause) rather than SELECT *.
- Range tables should be avoided (IN operator)
- Avoid nested SELECTS.
i)system tools
ii)field symbols and field groups.
ans:Field Symbols : Field symbols are placeholders for existing fields. A Field Symbol
does not physically reserve space for a field,but points to a field which is not known
until runtime of the program.
eg:- FIELD-SYMBOL <FS> [<TYPE>].
Field groups : A field group combines several fields under one name.At runtime,the
INSERT command is used to define which data fields are assigned to which field
group.
There should always be a HEADER field group that defines how the extracted data
will be sorted,the data is sorted by the fields grouped under the HEADER field
group.
47. What are datasets?
ANS:The sequential files(ON APPLICATION SERVER) are called datasets. They are
used for file handling in SAP.
48. How to find the return code of a statement in ABAP programs?
ANS:Using function modules.
49. What are interface/conversion programs in SAP?
ANS :
CONVERSION : LEGACY SYSTEM TO FLAT FILE.
INTERFACE : FLAT FILE TO SAP SYSTEM.
50. Have you used SAP supplied programs to load master data?
51. What are the techniques involved in using SAP supplied programs?
Do you prefer to write your own programs to load master data? Why?
52. What are logical databases? What are the advantages/disadvantages of logical
databases?
ANS:To read data from a database tables we use logical database.
A logical database provides read-only access to a group of related tables to an
ABAP/4 program.
adv:The programmer need not worry about the primary key for each table.Because
Logical database knows how the different tables relate to each other,and can issue
the SELECT command with proper where clause to retrieve the data.
i)An easy-to-use standard user interface.
ii)check functions which check that user input is complete,correct,and plausible.
iii)meaningful data selection.
iv)central authorization checks for database accesses.
v)good read access performance while retaining the hierarchical data view
determined by the application logic.
disadv:i)If you donot specify a logical database in the program attributes,the GET events
never occur.
ii)There is no ENDGET command,so the code block associated with an event ends
with the next event
statement (such as another GET or an END-OF-SELECTION).
53. What specific statements do you using when writing a drill down report?
ans:AT LINE-SELECTION,AT USER-COMMAND,AT PF.
54. What are different tools to report data in SAP? What all have you used?
ans:55. What are the advantages and disadvantages of ABAP/4 query tool?
56. What are the functional areas? User groups? and how does ABAP/4 query work
in relation to these?
57. Is a logical database a requirement/must to write an ABAP/4 query?
59. What are Change header/detail tables? Have you used them?
60. What do you do when the system crashes in the middle of a BDC batch session?
ans:we will look into the error log file (SM35).
61. What do you do with errors in BDC batch sessions?
ANS:We look into the list of incorrect session and process it again. To correct incorrect
session we analyize the session to determine which screen and value produced the
error.For small errors in data we correct them interactively otherwise
modify batch input program that has generated the session or many times even the
datafile.
62. How do you set up background jobs in SAP? What are the steps? What are the
event driven batch jobs?
ans:go to SM36 and create background job by giving job name,job class and job
steps(JOB SCHEDULING)
63. Is it possible to run host command from SAP environment? How do you run?
64. What kind of financial periods exist in SAP? What is the relavent table for that?
65. Does SAP handle multiple currencies? Multiple languages?
ans:Yes.
66. What is a currency factoring technique?
67. How do you document ABAP/4 programs? Do you use program documentation
menu option?
68. What is SAPscript and layout set?
ans:The tool which is used to create layout set is called SAPscript. Layout set is a design
document.
69. What are the ABAP/4 commands that link to a layout set?
ans:control commands,system commands,
70. What is output determination?
71. What are IDOCs?
ans:IDOCs are intermediate documents to hold the messages as a container.
72. What are screen painter? menu painter? Gui status? ..etc.
ans:dynpro - flow logic + screens.
menu painter GUI Status - It is subset of the interface elements(title bar,menu bar,standard tool
names? 3.what are the idoc names for material master,vendor master,customer
master? 4.when u create purchase order details report what u can see in that
report ?what rthose fieldnames or dataelements? 5.when u create material
stock report in material master grouped by material type and plant what u can
see in report ?what rthose field names or dataelement ? 6.what r the views for
creating idoc in material master,vendor master and customer master? 7.when
u create interactive report for displaying vendor information /customer
information what u can see in that report ?what rthose dataelements or field
names? 8.when u create shipping forecast report what u can see in that
report ?what rthose data elements or field names? 9.when u create report for
material analysis for purchasing organisation plant/vendor wise? what u can
see in report ?what rthose field names or data elements?
7.
How to assign multiple transaction codes in a session method to BDC_Insert
function module?
8.
Check and Continue. What is the difference?
9.
At-Line selection, At user-command etc..,
10. Exit and Stop. What is the difference?
11. What is the reserve command?
12. Double click function on the lists, identifying the line selected by the user on
the list.
13. What are event keywords in reports?
14. How can validate input values in selection screen and which event was
fired?
15. BDC Transaction code?
16. What is the transaction code SM 31?
17. How to navigate basic list to secondary list?
18. If I am in 15th Secondary List how to navigate to 5th Secondary List?
19. Which is the First character of creating LockObject?
20. What is the Difference between Data Element and Domain?
21. How many types of standard SAP Internal Tables?
22. What is the Difference Between Tablecontrols and Step Loops?
23. What are the Events in Dialog Programs?
24. How many ways you can create Table?
25. What are the Cluster Tables?
26. How can you create push buttons in the MenuPainter?
27. How many Layout sets u can create at a time?
28. What are the Paragraph and character format?
29. What are function modules in LDB?
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
65.
66.
67.
68.
dictionary.
c) Both
d) None
2. What is the difference between the TYPE and LIKE statements in data
declaration?
a) LIKE is used to define variables that are similar to the ones previously
defined whereas TYPE is used to define variables that exist in data dictionary.
b) LIKE is used to define variables that are similar to the ones previously
defined whereas TYPE is used to define variables to refer ABAP internal data
elements.
c) LIKE is used to define variables that exist in data dictionary whereas TYPE
is used to define variables to refer ABAP internal data elements.
d) Both of them can be used interchangeably, there is no difference.
3. HIDE statement support deep structures?
a) True
b) False
c) Not applicable
d) Not applicable
4. Which of the following are true?
a) ABAP queries are created by associating them to a logical database or
through a direct read/data retrieval program.
b) ABAP queries are created from functional areas that are created from a
logical database or through a direct read/retrieval program.
c) ABAP queries are created from user groups attached to the functional areas
that are created from a logical database or through a direct read/retrieval
program.
d) ABAP queries are created through the regular report program.
5. A logical unit of work (LUW or transaction) begins
a) Each time you start a transaction.
b) Each time you end a transaction.
c) When the database changes of the previous LUW have been confirmed
(database commit).
d) Before the database changes of the previous LUW have been cancelled
(database rollback).
11. You cannot assign a local data object defined in a subroutine or function
module to a field group.
a) True
b) False
c) Not applicable
d) Not applicable
12. Which of the following system fields keep track of each pass in LOOP
statement?
a) SY-STEPL
b) SY-INDEX
c) SY-TABIX
d) B and C both
13.
data: begin of group1,
f1 type I value 1,
f2 type I value 1,
f3 type c value '1',
f4 type I value 1,
end of group1.
Data: begin of group2,
g1 type I value 1,
f1 type I value 1,
f2 type I value 1,
g4 type c value '1',
end of group2.
Do 2 times.
Add-corresponding group1 to group2.
Enddo.
Write: group2-g1, group2-f1, group2-f2, group2-g4.
What is the output of the above code after execution?
a) 1221
b) 2222
c) 3333
d) 1331
14. Which one of the following SQL statements does NOT lock the affected
database entries ?
a) insert
b) modify
c) select single for update
d) select *
15. Which one of the following is an example of an asynchronous update?
a) insert wa into ztable.
b) call function 'update_table' in update task.
c) update ztable from ztable.
d) modify ztable from wa.
16. REPORT ZTEST.
TABLES: MARC.
DATA: ZWERKS LIKE MARC-WERKS.
Which one of the following contains the length definition of ZWERKS?
a) The DATA statement
b) The Data Element used in MARC-WERKS
c) Table MARC
d) The Domain used in Data Element of MARC-WERKS
17.
1. Data: Begin of imara occurs 0.
2. Include structure mara.
3. Data: End of imara.
4 Data: number like mara-matnr value 123.
5. Select * into table imara
6. From mara where matnr = number.
7. If sy-subrc = 0.
8. Write:/ imara.
9. Endif.
10. Endselect.
Which line in the above code contains a syntax error?
a) Line 5
b) Line 6
c) Line 8
d) Line 10
18.
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.
What is the output of this program after execution?
a) 1 1
33
44
44
b) 1 1
22
33
33
c) 1 1
33
33
11
d) 1 1
33
33
33
19.
data: begin of period,
f1 type I value 5,
f2 type I value 5,
f3 type I value 5,
f4 type I value 5,
f5 type I value 2,
end of period.
Data: amt type I,
total type I.
do 5 times varying amt from period-f1 next period-f2.
if sy-index <= 4.
add amt to total.
endif.
enddo.
Write: / 'Amt:',amt, 'Total', total.
What is the output of the above code after execution?
a) Amt: 2 Total: 22
b) Amt: 2 Total: 20
c) Amt: 5 Total: 20
d) Amt: 5 Total: 10
b) You can only access a hashed table using the generic key operations.
Explicit or implicit index operations (such as LOOP ... FROM oe INSERT itab
within a LOOP) are not allowed.
c) All hashed tables are index tables.
d) We have to define the hash procedure explicitly for HASHED TABLE.
24. Can a transparent table exist in data dictionary but not in the database
physically?
a) True
b) False
c) Not Applicable
d) Not Applicable
25. Which statement is used to get the number of lines in an internal table?
a) DESCRIBE table
b) LINES
c) LINE
d) All of the above
26. If CHECK statement is outside the loop structure and if the condition
fails?
a) Subsequent statements in the current processing blocks are executed
b) Subsequent statements in the current processing blocks are not executed
c) Program gets terminated
d) There is an error message
27. SORT statement can sort
a) External as well as internal table
b) Database tables
c) Internal Tables
d) B and C
28. Join statements can be used with Cluster tables?
a) True
b) False
c) Not Applicable
d) Not Applicable
29. It is always faster to use the Into Table version of a Select statement than to
use Append statements?
a) True
b) False
c) Not Applicable
d) Not Applicable
30. From the performance point of view, if you want to process the data only
once, which of the following will you use?
a) Selecting the data into an internal table and then LOOP through internal
table.
b) Do the processing in SELECT..END SELECT
c) Select the records in the loop and then process each individually
d) Each of the above will be equally efficient
31. Two internal tables are equal if
a) Internal tables cannot be compared for equality
b) It has same number of lines
c) Each pair of corresponding lines is equal
d) A and B both
32. Which of the following will happen if you write DELETE itab statement in
your program?
a) All entries of Internal table will be deleted
b) Only the header line will be deleted
c) The row corresponding to header line will be deleted from the internal table
d) The program will give syntax error.
33. Which of the following statements is/are syntactically correct?
a) PERFORM sub1 TABLES itab
CHANGING var1.
b) PERFORM sub1 CHANGING var1
TABLES itab .
c) Both of the above
d) None of the above
34. Which of the following will happen if you write DELETE itab statement?
a) All entries of Internal table will be deleted
b) Only the header line will be deleted
c) The row corresponding to header line will be deleted from the internal table
d) The program will give syntax error.
345D
456D
789d
c) 2 3 4
789d
d) 2 3 4
Which of the following statements define internal tables with a header line?
a) Data: Begin of itab occurs 0,
field1,
End of itab.
b) Data: Itab1 like itab occurs 0.
c) Data: Itab1 type itab occurs 0.
d) Data: Begin of itab1 occurs 0.
Include structure itab.
Data: End of itab1.
37.
DATA: BEGIN OF ICODE OCCURS 0,
FIELD1(5),
FIELD2(5),
END OF ICODE.
The internal table icode contains the following entries:
Field1 Field2
------- -----John 12345
Alice 23478
Sam 54321
john 50000
READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH.
Why does executing the above code return a sy-subrc of 4?
a) The internal table has an incorrect structure.
b) Icode-field2 must be a numeric field.
c) Both internal table fields must be used in the search.
d) The internal table must be sorted first.
38. Which of the following are true?
a) COLLECT can only be used with STANDARD TABLE.
b) To use COLLECT, the internal table should be derived from a database table
with an explicit key.
c) If the system finds a numeric component, that is not part of the key, the numeric
fields that are not part of the table key (see ABAP number types) are added to the
sum total of the existing entries. If it does not find an entry, control passes on to the
next record in the internal table.
d) If the system finds a numeric component, that is not part of the key, the numeric
fields that are not part of the table key (see ABAP number types) are added to the
sum total of the existing entries. If it does not find an entry, the system creates a new
entry instead.
39.
data: begin of itab occurs 0,
field1,
end of itab.
Do 3 times.
Append initial line to itab.
Append 'X' to itab.
Enddo.
Describe table itab.
Write: sy-tfill.
What is the value of sy-tfill after executing the above code?
a) 1
b) 2
c) 3
d) 6
40. Loop at itab.
Write itab.
Endloop.
From where is the written line derived in the above loop statement?
a) The table header
b) The table work area
c) sy-index
d) sy-lisel
41.
DATA TEXT(72).
DATA CODE LIKE TABLE OF TEXT.
TEXT = 'This is the first line.'.
b) SE30
c) SE14
d) SE09
44. Which of the following are true?
a) Pooled tables can be used to store control data like screen sequences, program
parameters etc.
b) Several cluster tables are stored in one corresponding table on the database.
c) Both
d) None
45. Which database object is used for storing the system variables?
a) SYST table
b) SYST structure
c) SYSTEM table
d) SYSTEM structure
46. What makes a text table?
a) The type of foreign key field defined must be No Key/Candidates
b) The key of the text table consists of the key of the check table plus an additional
language key
c) Cardinality must be defined as 1:1
d) The table has to be client independent
47. From the list below which is not a data class in the Dictionary?
a) Master Data
b) Organizational Data
c) Project Data
d) System Data
48. Identify the case where table buffering is set to off.
a) When the most current data is required
b) When the most current data is not required
c) Small static tables i.e. tables do not change much
d) b and c
49. When using SAP Buffering on database tables, which statement does NOT result
in database access?
a) select distinct..
b) select single..
c) using (Is null) in the where clause
d) using aggregate functions in the select clause
50. A structured type in the ABAP dictionary that has no physical table definition in
the underlying database is referred to as :
a) Table
b) Table Type
c) Structured Type
d) Structure
51. When are Dictionary changes made available to a program?
a) Immediately provided object is activated
b) Next time user logs on
c) Next time program is regenerated
d) After Database is re-organized
52. Which of the following do not exist in the underlying database?
a) Transparent Table
b) Structure
c) View
d) Internal tables
53. Full buffering would be appropriate for what type of tables:
a) Small static tables
b) Transaction Tables
c) Tables with generic keys
d) b and c
54. You have added an append structure to a standard SAP table. What happens to
the standard table when a new version of table is imported during an SAP version
upgrade:
a) The standard table is returned to standard. Therefore, the append structure must
be manually re-applied
b) The append fields are automatically appended to the table upon activation but
you must still convert the table
c) All append structures are deleted. A new append structure must be created and
added to the standard table
d) When the standard tables are activated, the append structure is automatically
added to the standard table
55. Which of the following are TRUE for SQL trace utility (tcode ST05) in SAP a) SQL trace utility traces database access for a specific program
b) SQL trace utility traces database access for all transactions by a specific user
c) SQL trace result shows details of queries on database tables
d) SQL trace result can show details of queries on internal tables
56. A table ztest has the following secondary index: tnum, tcode.
Select * from ztest where tnum ne '123' and tcode = '456'.
Why does a SQL trace confirm that the secondary index is NOT used in the code
above?
a) Client is not in the where clause
b) NE invalidates the use of an index
c) Variables must be used, NOT literals
d) Indexes are not allowed on Z tables
Batch Data Communication
57. How do you create a batch input session for a transaction?
a) We create a bdc and use call transaction in background mode.
b) We create a bdc and use call transaction in error mode.
c) We create a bdc and use bdc_insert for the transaction.
d) None of the above.
58. What is the alternative to batch input session?
a) Load module
b) Call transaction
c) BAPI
d) Idoc segment
59. Which SAP table stores the BDC session queue information?
a) APQD
b) APQL
c) APQQ
d) APQI
60. Which program can be used to release BDC sessions within a job?
a) RSBDCSUB
b) RSBDCJOB
c) RSSUBBDC
d) BDCRECXX
61. Which one of the following is output to the job log when included in an ABAP
program running in the background?
a) Write statements
b) message statements
c) report parameters
d) Submit statements
62. Your program specs call for you to read the first 10 records from a text file
(fname1), and write them out to another text file (fname2).
Which block of code will accomplish the result desired in the above scenario?
a) Open dataset fname2 for input in text mode.
Do 10 times.
Read dataset fname1 into hold_var.
Transfer hold_var to fname2.
Enddo.
b) open file fname1 for output.
Open file fname2 for input.
Read dataset fname1 into hold_var 10 times.
Transfer hold_var to fname2.
c) open file fname1 for input.
Open file fname2 for output.
Do 10 times.
Read file fname1 into hold_var.
Transfer hold_var into fname2.
Enddo.
d) open dataset fname1 for input in text mode.
Open dataset fname2 for output in text mode.
Do 10 times.
Read fname1 into hold_var.
Write hold_var to fname2.
Enddo.
63. sy-dynpro is
a) screen no
b) program
c) table
d) field name
64. Which of the following are NOT correct usage of BDC_cursor?
a) To position the cursor on a particular field.
<bdc_tab>-FNAM = 'BDC_CURSOR'.
<bdc_tab>-FVAL = fieldx .
b) To position the cursor on a particular field.
<bdc_tab>-FNAM = fieldx
<bdc_tab>-FVAL = 'BDC_CURSOR'. .
c) For fifth row of Table control
<bdc_tab>-FVAL = 'fieldx(5)'.
d) For fifth row of Table control
<bdc_tab>-FNAM = 'BDC_CURSOR(5) '.
65. In case of background processing of a BI session, which authorization is
checked?
a) Developer of the program that schedules BI Session
b) User who executes the BI session
a) A and C
b) A and B
c) Only A
d) All the statements
83. Pick the right answer
A. An idoc type is dependent on the direction of data flow (inbound/outbound).
B. The control record has a field DOCTYP which indicates whether the IDOC is of
the type inbound or outbound
a) Only A is true
b) Only B is true
c) A and B are true
d) Neither A nor B are true
84. The control record field which determines the direction of the IDoc can have
values
e) X and (space)
f) 1 and 2,
The meaning of the values is
C. X inbound, space outbound
D. X outbound, space inbound
E. 1 inbound, 2 outbound
F. 1 outbound, 2 inbound
Pick the right combinations of statements, which are true
a) A, C
b) A, D
c) B, E
d) B, F
85. The area menu from which EDI tools can be accessed is
a) WALE
b) WEDI
c) SALE
d) SEDI
86. The transactions for documentation on IDOC structures are
a) WE60 to WE64
b) SA60 to SA64
c) WE80 to WE84
d) SA20 to SA24
Report Programming
87. How do you check whether a report is submitted in background?
a) The system variable, sy-batch is set to X.
b) The system variable, sy-binpt is set to X.
d) 2,1, 5, 6, 3,4
99. The sequence of events in Interactive Reports is
1. At Line Selection
2. At User Command
3. At PFKEY
4. Get Cursor
5. Read
a) 1,2,3,4, 5
b) 1,2,3,5, 4,
c) 1, 2, 4, 5, 3
d) 1, 3, 5, 4, 2
100. What is max no of lists u can attach to basic list?(interactive report)
a) 22
b) 20
c) 18
d) 1
General
101. If a break-point statement is written in an ABAP program and the program is
run in the background mode, which of the following is true.
a) Break-point statement will be ignored and program will complete the execution.
b) System generates a Sys log message
c) Program will create a short dump
d) None of the above
102. When a program is created and transported the selections texts are always
transported along with the program.
a) True
b) False
c) Not Applicable
d) Not Applicable
103. Programs and reports are client dependent.
a) True
b) False
c) Not Applicable
d) Not Applicable
104. Which transaction code is used for creating a background job?
a) SM37
b) SM35
c) SM36
d) SM38
105. Can variants be transported across systems?
a) Yes
b) No
c) Not Applicable
d) Not Applicable
106. Are variants client dependent?
a) Yes
b) No
c) Not Applicable
d) Not Applicable
107. What are the functions in the editor command line?
a) F1
b) F4
c) F3
d) F8
108. What does the transaction code /i1 do?
a) Shifts to the first session of the user
b) This terminates the first session of the user
c) Terminates the current session of the user
d) No transaction with this code exists.
109. Which transaction code is used for deleting the user lock on tables?
a) SE12
b) SE11
c) SM12
d) SM11
110. What transaction is used to create background jobs?
a) SM30
b) SM35
c) SM36
d) SM37
111. Which one of the following transaction types is INVALID?
a) Area
b) Modal
c) Variant
d) Report