Interview Questions
Interview Questions
Data types
Default values
Key words
Integer
Numeric
Character
Space
C(or) Char
Date
00000000
DATS
Time
000000
UZEIT
Hexadecimal
X00
Boolean
False
String
Space
String
Packed decimal
0.0
P decimals <no of
decimals>
1.
Ans: Tables, Views, Data Type, Domain, Search help, Lock objects.
2.
3.
4.
5.
Ans: Data element gives the semantic attributes of the field. F1 help is coming
because of data element. Domain gives the technical attributes of the field. F4 help
is coming because of Domain.
6.
What is the search help? How can you create? How can you attach search help to a
field?
Ans: To create search help go to SE11 (data dictionary) select the search help
radio button and give the search help name and press create button it will ask
whether you want to create elementary search help (or) collective search help,
select the radio button- give the short description for the search help give the help
view name in the selection method give the search help exit name in the search
help exit text field then enter the search help parameter names- save and activate
the search help.
F4 help is coming because of the search help attached to that field. To attach the
search help to a field, you should give that search help name in the screen field
attributes. (or) you can attach the search help through match code object also.
7.
8.
9.
10.How can you add a field to a SAP table? (Already existing SAP table)
Ans: You need to take the Access key to modify the SAP table.
Standard table.
2.
Sorted table.
3.
Hashed table.
4.
Indexed table.
5.
Any table.
1. Standard table defines the table as a standard table. Key access to a standard
table uses a linear search. This means that the time required for a search is in linear
relation to the number of table entries. You should use index operations to access
standard tables.
2. Sorted table defines the table as one that is always saved correctly sorted. Key
access to a sorted table uses a binary key. You can also access tables by index
operations.
3. Hash table defines the table as one that is managed with an internal hash
procedure. You can imagine a hashed table as a set, whose elements you can
address using unique key. Unlike standard and sorted tables, you cannot access
hash tables using index. You can only access a hashed table using the generic key
operations or other generic operations (sort, loop and so on).
4.Standard and Sorted tables belongs to the generic class index tables. An index
table is one that you can access using an index.
12. What is difference between sorted table and hashed internal table?
Ans: In Sorted table the values are stored in a sorted order, where as in hashed
table the values are stored according to key value pair.
16. What are the system variables you used in interactive reporting?
Ans: sy-lsind system variable stores the list index (0- for basic list).
Sy-linno system variable stores the current line number where the cursor is
placed.
Sy-lincnt - system variable stores the total number of lines in the list.
Sy-lisel system variable stores the content of the line from where the event is
triggered
18.What is the system variable used to find out the index of the list?
Ans: Sy-lsind.
23. Have you ever created LDB? How can you create LDB?
Ans: You can create LDB in SE36.In SE36 give the LDB name, select the structure
radio button and press create button- then it will ask for the short description for the
ldb - give the short description and press create button then save- then it will ask
for the name of the root node- give the name of the root node, short description and
select the database table radio button and press on create button - then select that
node and press the insert node button then give the node name and data base
table name press create button. then come back and select the selections radio
button- it will ask that should the selection of the logical database be generated
from the structure-press yes then it will ask that do you want to define new search
help- if you want to define press yes otherwise press no then it will ask for nodes
for free selection and field selection, select the nodes and press the transfer buttonthen it will show the include program uncomment the select-options and replace
the question mark with the select-option name, then save active then come out
and select the database program radio button it will ask for should the program of
the logical database be generated from the structure and selection- press yes, it will
take you to the report program, then double click on the system routines includethen it will show includes double click on each include and uncomment the select
statement, save activate..-you can test the LDB.
25. Is it possible to create more than one selection screen in classical reporting?
Ans: No
The event POV is triggered when you press F4 on any input field of the screen.
The event POH is triggered when you press F1 on any field of the screen.
30. If for a particular screen filed you have POV, search help, tables help, domain
then, which will be triggered by pressing F4?
Ans: Search help, search help will predominate all.
31. What is the difference between Match code and Search help?
Ans:
32.In PBO, PAI, POV, POH what are the default events? If you didnt code PBO what
happened?
Ans: The default events are PBO and PAI. If you didnt code the PBO then it will show
an error that process after input must be preceded by process before output.
Ans: BDC (batch data communication (or) batch data capture (or) batch input):
Transferring the from legacy system to SAP R/3 system is called BDC. There are 3
methods in BDC.
1.
Session method
2.
Call Transaction
3.
36. What are Synchronous, Asynchronous and local regarding the call transaction?
Ans: Synchronous:
Call Transaction: Create internal tables with the same structure as BDCDATA,
BDCMSGCOLL, and upload all the data into that internal table. Then call the
transaction directly using the syntax
Call transaction <transaction code> using <bdcdata name> Mode <a or n or e>
Messages into <bdcmsgcoll name>.
40. How you will do recording? What is the transaction code for recording?
Ans: Transaction code for recording is SHDB. Select the new recording give the
recording, transaction code then press the start new recording push button, - enter
the values in the transaction and press save, come back- select the recording name
and the press the create program give the program name and select the radio
button read from file, check the check box create and give the file name and press
create button. Then it will create the program and sample test data.
41. What are the run modes in session and call transaction?
Ans: Run modes in Session: Process fore ground
Display errors only
Back ground.
Run modes in call transaction: A display all screens
E display errors
N back ground processing
47. What are the settings you done while creating a logo as an abaper?
Ans:
50. Have you ever debugged a layout set? How will you debug a layout set?
Ans:
51. At a time how many variables you can see while debugging?
Ans: at a time you can see 4 variables while debugging.
55. How many types of windows in SAP Script? What are they? Explain?
Ans: In Sap script they are 3 types of windows.
1.
Main window: whose contents can extend more than one page.
2.
Constant window: Whose content does not change from page to page.
3.
56. For layout set how many main windows and how many sub windows?
Ans: Per layout set, you can create only one main window and up to 99 sub
windows.
65. What are the events in Report? When they will trigger?
Ans: Events in Classical Report are: 1.Initialization
2. At Selection-screen
3. Start-Of-Selection
4. Top-Of-Page
5. End-Of-Page
6. End-Of-Selection
Events in Interactive Report are: 1. At Line-Selection
2. At User-Command
3. At Pf-n
The event At-Selection-Screen is triggered, when the user enters the values in the
selection screen and then execute.
The event Start-Of-Selection is the default event. All the processing logic is kept in
this. It triggers after the at selection screen event triggered.
The event At Line-Selection is triggered whenever user double clicks on the basic
list or any secondary list or chooses a line in the list with the cursor and press
function key, which has function code, PICK in the interface definition.
The event At User-Command is triggered whenever user presses any menu button
or function key or makes an entry in the command filed.
The At Pf-n event is triggered whenever user presses a function key that contains
the function code PFn in the interface definition.
Ans: you need to check the system field Sy-Subrc. (0 - success, 4 or 8 failure).
Function Modules: Function modules stores centrally in the SAP library, so u can use
globally
In any program.
Function modules return values.
Automatic error handling is there.
74. What is the difference between Open SQL and Native SQL?
Ans: Open SQL is the SAPS Propriety language for database. Native SQL is the
Database specific language. Open SQL commands are interpreted in the database
interface to the database specific commands. Native SQL commands directly
interact the database.
79. What is the difference between screen processor and abap processor?
Ans: flow logic or screen logic is processed by the screen processor. Processing
logic or abap logic is processed by the abap processor.
82. What you will set in the attributes screen of a Function module?
Ans: In the attributes screen of a Function module you need to give the Function
group, and need to check the radio button normal function module (or) remote
enabled module (or) update module (start immediately or immediate start, no
restart or start delayed (or) coll.run).
84. Why you need to create a data element and domain for a table?
Ans: Data element gives the semantic attributes of the field. Domain gives the
technical attributes of the field. So you need to give the data element and domain
while you creating a table.
91. What is user exit? How can you find out the enhancements in
SD module?
Ans: If you want to add the some more functionality to the standard SAP
applications, then you need to write that functionality in the corresponding user
exit. There are 4 type of user exits are there. They are 1. Menu exit
2. Key word exit
3. Function module exit
4. Field exit.
Menu exit Adding the menu buttons and corresponding functionality to the
standard SAP programs are called menu exit.
Key word exit Adding the user specific documentation to the standard SAP field is
called key word exit.
Function module exit Adding the functionality to the standard SAP function
modules is called Function module exit.
Field exit Adding the fields to the standard SAP screens is called the Field exit.
You use the transaction SMOD SAP enhancements to find out the enhancements
available in any module.
94. What case makes you write a BDC program? Which is not possible with the
Recording?
Ans: Recording programs read data only from application server not from
presentation server. If you want to upload the data from the application server then
you can do it by recording. But if you want to upload the data from the presentation
server then you need to write the BDC program manually.
The reason is that the recording program uses the open_data_set, read_data_set,
and close_data_set. Where the statements read data only from the application
server not from presentation server. To read the data from presentation server you
need to use the function modules upload (or) ws_upload.
96. What is the difference between Pooled table and Cluster table?
Ans:
Transparent tables.
2.
Table pools.
3.
Table clusters.
4.
Pooled tables.
5.
Cluster tables.
101.What are the parameters you will give in session and call transaction?
Ans: Session: session name, keep session, lock date,
While running the session you need to give run mode (process/fore ground, display
errors only, background), Destination, extended log, expert mode, dynpro standard
size .
Call transaction: run mode (A or E or N), update session (L or S or A), keep session,
and lock date.
103.How you create messages? How many types of messages are there?
Ans: You can create the messages in SE91. There are 5 types of messages are there.
They are
1.
Error.
2.
Warning.
3.
Abnormal.
4.
Information.
5.
Success.
104.What is ALV?
Ans: ALV- Application list viewing.
10
11
12
13
14
15
Is sapscript client-dependent
16
17
18
19
How many main windows you can have in a page, and how will you create
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
What are the different ways for debugging the ABAP program
35
36
What is field exit, and use. Can you debug field exits.
37
38
39
40
41
42
43
44
What is the difference between CALL TRANSACTION / Session Method /
Direct Input
45
What is LSMW
46
47
48
49
50
51
52
Based on the input in selection screen, can you display some text int eh
same screen itself, and how
53
54
55
56
57
58
59
How do you supress the print parameters dialog box in SAPscript printing
60
61
How do you increate the performance of your program. What measures you
will take
62
63
What are the two types of presenting text in SAP script forms
64
65
What are the different kinds of BDCs and how will you differentiate one from
the other
66
67
68
69
Can you have more than one PBO in a screen flow logic
70
71
72
73
74
What is CATT
75
76
77
78
79
80
81
How will you schedule a job & what are the ways to schedule it
82
Events in DP
83
How many ways to attatch F4 key help to a screen field. If all the ways used
to a field, which gets fired.
84
How internally transport requests are passing from one client to the other
85
exit.
What is field exit / user exit. Can you call a particular transaction from field
86
87
88
89
90
91
92
93
94
95
7. Run the Cost Estimate in CK11N, ie it calculates cost based on Master Receipe's Raw
Material Costs and Operation's Resource's Activity Type's
Cost.
Transaction 1. Create Process Order in COR1.
It is stored in AFKO, AFPO.
2. Release the Process Order in COR2. After releasing, Reservation Number will be created
based on BOM and Routing number of operations in the
order will be created based on Master Recepe's Operations. An Inspection Lot is created
with Master Receipe's Operations Inspection Plan.
Goods Issues for the order will be done aganist reservation no.
Reservation details will be stored in RESB table.
Routing No will be stored in AFVC table.
3. Issue Goods to Order by MIGO. (Mvt Types - 261, 262)
Material document are stored in AUFM, MKPF, MSEG. A corresponding FI document is
created with movement types 99 - Stock Outward Movement and 81 - Costs. Accounting
Document details are availabe in BKPF, BSEG. Costs item is available in BSIS and Stock
Outward movement
item is available in BSIM.
4. Confirm the Order by CORK or COR6N(Operation wise). Order Confirmation will be done
Phase wise. To display Process Order Confirmation CORT.
5. Receive Goods for Order by MIGO. (Mvt Types - 101, 102)
Material document are stored in AUFM, MKPF, MSEG. A corresponding FI document is
created with movement types 89 - Stock Inward Movement and 91 - Costs. Accounting
Document details are availabe in BKPF, BSEG. Costs item is available in BSIS and Stock
Inward movement
item is available in BSIM.
6. QC Clearence.
Tables MAPL - Linking Final Product to Master receipe
MAST - Linking Matrial to BOM
S027 - Final Product Costs wrt to Material and Activity
FICO