Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Ans. c
3.Which BDC you prefer?
Ans. a,b
5.When u prefer LSMW?
Ans. a, b
7.Difference between .include and
.append?
a) True b) False
Ans. b
9.Preformance techniques?
1. The sequence of fields must be same as per database table
2. During writing select query write all fields in sequence as per database table.
4. Use st05 SQL trace, se30 run time analysis, code inspector, slin,etc.
7. Use binary search but before using binary search sort that table.
10.Can you create a table with fields not
referring to data elements?
a) Yes b) No
Ans. a
11.How to debug sapscripts?
Two ways to debug sapscript . first way is goto SE 71 and from menu bar select
Utilities-
>activate debugger .then goto SE38 execute the print program ,it automatically
goes to debugging mode …..the other way is , run the program RSTXDBUG in se
38 . execute it . a message will show that debugger is activated .now open the print
program in se 38 …u vll notice that the print prgm is automatically diverted to
debugging mode.
12.How do you create a batch input
session for a transaction?
Ans. c
13.What is partner selection?
Ans. b
15.What is occurs in internal table?
Ans. a, c
17.What is page window?
a) Database systems set physical locks on all lines affected by a database call.
b) Read locks prevent the setting of further read locks for the objects in question.
c) Read locks prevent other transactions from setting write locks for the objects in
question.
d) Write locks allow other transactions to set read locks for the objects in question.
Ans. a, c
19.What is the difference between
scrolling a table horizontally and
vertically..??
In table control when you scroll a table vertically presentation
server needs to call application server to fetch the next record
and display in the table while in case of horizontal scroll there is
no need to call application server.
20.What are field symbols?
a) Field symbols are like pointers in C that can point to any data
object in ABAP/4 and to structures defined in ABAP/4 dictionary.
b) Field symbols have to be created with type specifications
only.
c) You cannot assign one field symbol to another.
d) All operations you have programmed with the field symbol are
carried out with the assigned field.
Ans. a, d
21.What are Field Groups?
Ans. b, c
23.List the events in ABAP/4 Language?
a) True
b) False
Ans. a
25.How the values will be passed to RFC
Function module Pass by Value or
Pass by reference?
always Pass by Value.
Ans. d
27.Buffering concept usage?
2 generic buffer
3 full buffer
Ans. c
29.Select up to 1 row and select single
difference ?
Ans. a, d.
31.What are the different buffering
methods?
There are two different buffering methods
The system ensures that data transfer between the R/3 System and the database
system is as
Table buffering: The program accesses data from the buffer of the application
server.
Database request buffering: Individual database entries are not read or passed to
the database until required by an OPEN SQL statement.
32.A database commit is triggered by
Ans. a, b, c, d
33.Different types of locks?
Read lock (shared lock)
Protects read access to an object. The read lock allows other transactions read
access but not write
access to the locked area of the table. Write lock (exclusive lock)
Protects write access to an object. The write lock allows other transactions neither
read nor write access to the locked area of the table.
Works like a write lock except that the enhanced write lock also protects from
further accesses from the same transaction.
34.The following are true about
SAPscript control commands.
Ans. b, c
35.CHAIN END CHAIN?
Chain and end chain are used for multiple field validation in
Module pool programming .It is written inside the screen flow
logic.
36.How to Debug RFC Function module?
SE38 –> Utilities –> Settings –> ABAP Editor –> Debugging
Activate the external debugging and choose the New Debugger option in ABAP
debugger.
Go to the particular place in the code and put break point, pop will appear then
choose the HTTP break point.
If you are triggering the RFC from SAP portal make sure that both the user ID
should be same
If the users are different then provide the XI/Portal User ID in the users field.
37.To output SAPscript layout sets, in the
print program
a) You must always start the output with OPEN_FORM and end it with
CLOSE_FORM.
b) Within one transaction, you can use only one OPEN_FORM and CLOSE_FORM
to open and close a layout set.
c) WRITE_FORM should be used within an OPEN_FORM and CLOSE_FORM.
d) WRITE_FORM can be used without an OPEN_FORM and CLOSE_FORM.
Ans. a, c
38.Whysapscripts are client dependent
and smartforms are client independent?
Smartforms create its own function module so it doesn’t need to transport the
request through SCC1.As all the Development Object are stored in client
independent tables. Whereas Script doesn’t generate any function module while
executing so we need to transport the request number through SCC1.Sap script is
stroedin side the client depended table as a TEXT.so sapscripts are client
dependent and smartforms are client independent.
39.The transaction CMOD and SMOD are
Ans. a, c
40.Difference between user exit and
BADIs?
User exit is for single implementation and it is procedural approach while BADIs
are for multiple implementation and object oriented approach.
Multiple implementation means Reusability… because we use OOps Concepts for
BADI.
41.Which of the following are tools to
report data in ABAP?
e) ALV
f) ALE
g) LSMW
h) SmartForms
Ans: a
42.Control break events in ABAP?
1. AT-FIRST: This is used when we want to execute the statements before records
are processed.
2. AT-LAST: This event is used when we want to execute the statements after all
records are processed.
3. AT-NEW: This event is used when we want to execute the statement before
group of records are processed.
4. AT-END: This event is used when we want to execute the statements after
processing of group of records.
43.ABAP Query tool is used to:
Ans: b.
44.What is TMG?
Ans: a, b, c
46.Difference between select option and
ranges ?
The main difference between select option and ranges is that ranges implicitly or
automatically creates internal table with fields like OPTION,LOW,HIGH,SIGN,etc .
Where as in case of select option we have to explicitly create internal table.
When u declares a select options it will implicitly declare an internal table (ranges)
for you. While using RANGES syntax u can declare internal table explicitly.
The only need of declaring ranges is when you r not taking input from the user but
you want make limit based selection at that time it will be use full e.g. SELECT **
from ** where MATNR in val_range. here u can use select-option or ranges :
val_range.
47.Logical databases must be used to
create an ABAP Query
a) True
b) False
Ans: b
48.how we can retrieve data using
secondary index.explain with simple
example?
First create secondary indexes on required fields of a particular database table.
We can create one primary index and 15 secondary indexes.Once the respective
secondary indexes are created write select queries and within select queries
specify secondary indexes field name with where clause.
49.In a BDC program, how would you
handle errored records? Would you…
Ans: b, c, d
50.How can we handle table control in
BDC?
We can handle table control using line index
Line index indicates which line of Table control is to be use for BDC transaction
Ex -
Indicates 1st line of table control is going to be used for transaction which is Line
index of Table
Control
51.What are IDocs?
Ans: b, c
52.If i want to execute a BDC program only in
background not in foreground is there any option for
this?
a) UPLOAD
b) WS_UPLOAD
c) FILE_UPLOAD
d) DATA_UPLOAD
Ans: a, b
54.How Can We upload a text file having Delimiters in
to Legacy System?
a) BDC
b) LSMW
c) Direct table update
d) Idocs
Ans: a, b
56.What is the land scape in sap?
Ans: a
59.Tell me about workbench request and customization
requests.
a) TRUE
b) FALSE
Ans: b.
61.What is an internal table?
Hashed table
62.The statement used to clear all the contents of an
internal table is:
a) CLEAR itab.
b) REFRESH itab.
c) FREE itab.
d) DELETE itab.
Ans: b, c
63.What is the difference between COLLECT and
APPEND statements?
Ans: a, b
65.How do you delete duplicate records from internal
table?
a) SE37
b) SM37
c) SM35
d) SM30
Ans: b
67.How do you find number of records present in
internal table?
a) TRUE
b) FALSE
Ans: b
69.What is the difference between REFRESH and FREE
statements?
a) DELETE ITAB.
b) FREE ITAB.
c) REFRESH ITAB.
d) CLEAR ITAB.
Ans: d
71.What are the different control break statements
available inside a loop?
a) TRUE
b) FALSE
Ans: b
73.What is the purpose of AT FIRST and AT LAST?
Ans: c
75.What is the purpose of SUM statement?
Ans: c
77.Can we use ON CHANGE OF between SELECT and ENDSELECT?
i) LOOP AT ITAB.
SELECT * INTO ITAB_2 FROM DBTAB WHERE KEY1 = ITAB-KEY1.
APPEND ITAB_2.
ENDSELECT. ENDLOOP.
iii) SELECT * INTO TABLE ITAB_2 FROM DBTAB FOR ALL ENTRIES IN
ITAB WHERE
KEY1 = ITAB-KEY1.
a) 12223
b) 123
c) 11222
d) 11122
Ans: a
80.When is Top-of-page event executed?
Ans: b, c
THANK YOU..!!
For regular Updates on SAP ABAP please like our Facebook page:-
Facebook:- https://www.facebook.com/bigclasses/
Twitter:- https://twitter.com/bigclasses
LinkedIn:-https://www.linkedin.com/company/bigclasses/
Google+:https://plus.google.com/+Bigclassesonlinetraining
SAP ABAP Course Page:-https://bigclasses.com/sap-abap-online-
training.html
Contact us: - India +91 800 811 4040
USA +1 732 325 1626
Email us at: - info@bigclasses.com