Você está na página 1de 11

DDIC:

1) Data Dictionary, your knowledge?


2) Difference between data element and domain?
3) When creating a table, how do you make sure the entries are transportable?
4) Customizable or master table, where do you specify?
5) Buffering? What table would you buffer?
6) Why are secondary indexes needed and its importance?
7) What will happen in the DB when secondary index created?
8) What is the difference between BAPI and RFC?
9) What is the difference between script and smartforms
10) What is the difference between BDC and session
11) What are the important TCODE used in upgrade projects? And what is their use?
12) What are the events used in interactive report?
13) How to find the userexits?how to find BADI
14) What are the use of userexits?
15) What is the difference between implicit and explicit enhancements?
16) How to debug smartform and scripts
17) What is the functionmodule name used in smartform driver program to trigger smartforms
18) How to you enhance the search help?
19) What are lock objects and its use?
20) Difference between cluster and transparent tables
21) Buffering concept – How will you justify to choose for Single record buffering/Generic/full.
22) Foreign key relationship among DB tables.
23) Locking functionality – Will it lock the table? How will you enable locks from your program?
24) Is there a limit to no. of secondary indexes?
25) How sorting is done for secondary indexes as there might be multiple indexes at the same time?
26) For a lock object, whether the locking happens at dictionary level or database level?
27) What will happen in the database if we create secondary index.
28) What type of data is best for full buffering?
29) How do you create client dependent ZTABLE.
30) Lock objects importance.
31) How to enhance search helps.
32) Extract Dataset
33) SD Flow with corresponding tables and Tcode
34) What is the difference between select single and select upto 1 row
35) What are the optimaization techniques used in abap
36) How to define update function module and what is the use of it?

Performance Tuning:
1) Cost based optimizer?
2) How do you carry out Performance optimization for a given object
3) What are basic standards for performance tuning
http://saptechnical.com/Tutorials/ABAP/PerformanceCheckList.htm
http://www.stechies.com/sap-pdf-books-
download/ABAP_Performance_Tuning343411326097630.pdf
4) Runtime analysis new tcode.

OOPS:
1) ABAP Objects, when was the last time you had used OO in programming?
2) Why a class instead of a regular programming?
3) How is writing code secure, using a class? How public, private ensure security?
4) How do you create an ALV with ABAP OO – Explain in detail
https://wiki.scn.sap.com/wiki/display/Snippets/ABAP+7+Steps+to+create+OOPS+ALV+for+begin
ners
http://saptechnical.com/Tutorials/ALV/Interactive/oops.htm
http://www.saplearners.com/oops-alv-reports-abap/
http://www.newtosap.info/2013/11/side-by-side-alv-grid-using-oops_73.html
5) Why ABAP OO is better than the procedural programming
6) Main functions of oops: inheritance and polymorphism.
7) What does static means in oops?
8) Type of inheritance
9) Can we have Polymorphism in ABAP OOPS
10) Abstract class
11) Advantages of Abstract class over Interfaces
12) OOPS in ALV - Single click alv event
13) Enhance method of class

14) Factory methods : Factory methods (or factory classes) are used if you (as developer of the
factory method/class) want to keep control about how instances of classes are created.

In addition, factory methods are used if groups of classes have to be instantiated at the same
time and you do not want to burden this complexity on to the developer using this classes.

Examples for factory methods and classes are:


CL_PT_EMPLOYEE=>GET_EMPLOYEE (employee instance)
CF_RECA_MESSAGE_LIST=>CREATE (message handler)
CL_WB2_DOC_FACTORY=>CREATE_DOC (create different types of documents -> sales order,
purchase order, etc).

15) What are the benefits of using OOPS over traditional/ procedural programming?
16) What is the difference between private and protected attributes?
17) What is meant by abstraction as a feature of OOPs?
18) In which scenario should abstraction concept be used?
19) what is a static method?
20) SAP OOPS Design Patterns
Please also checks questions from attached documents

SAP OOPS ABAP sapabapiq.com-SAP_


Object_Oriented_ABAP_Interview_Questions_Answers.pdf
INTERVIEW QUESTIONS AND ANSWERS.docx

System Modifications:
1) BADI - Enhancement framework / Old framework
2) How to search for BADI
3) Difference between Enhancement point and Enhancement section
4) Update Z table in BADI or commit work statement in BADI
5) What are Implicit and Explicit enhancement?
6) Difference between BADI and implicit enhancement options.
7) Different types of BADIs
8) What is the difference between customer exits and BADIs?
9) What is the benefit of using BADIs?
10) What statement use should be avoided in exits or BADIs and why?
11) How can we make multiple implementations using BADIs?

WebDynpro:
https://www.sapnuts.com/faq/What-is-MVC-in-WebDynpro-ABAP-.html
1. Why Web Dynpro? – Access of applications through web. Clear separation of business logic and
display logic using MVC architechture.

2. What is MVC? Examples of MVC.


Model View Controller design pattern is used to make our Business logic separate from the
output of the information generated from Business Logic. Usually, we call this design patterns as
the MVC. Here Business logic is the Model; Output of the data is the View and the link which
connects the Business logic to output is the Controller.

3. What is Attribute? – It is a value container.


4. What is Node – Set of different values. Can be treated as internal table OR work area
5. What is cardinality – the property on which the number of records one node can contain at
runtime depends on.
Cardinality is a property which determines the number of records one node can hold at the time
of
Runtime.
Types of cardinality in webdynpro:
0:1
0:N
1:1
1:N.
6. What is selection – the property on which the number of records those can be selected at
runtime depends on.
It is a property which determines the number of records which can be selected at the runtime
in one node.
Types of Selection in webdynpro:
0:1
0:N
1:1
1:N.

7. What is selection cardinality & collection cardinality?In web dynpro we have two types of
cardinality.
1. Collection cardinality: It specifies how many records that can be stored in a node.
2. Selection cardinality : It specifies how many records that can be selected from a node.

8. What is a context in WebDynpro ABAP?

Context is a temporary place which stores data in the form of nodes and attributes.

9. What are different types of controllers?


I. Component controller
II. Interface Controller
III. View Controller
IV. Custom Controller
V. Windows Controller

10. Different types of controllers used in web dynpro for ABAP programming as a part of MVC
architecture
What is a controller ?

Controller is an interface between model and view ( part of MVC architecture), controller is
responsible for communicating view and model.

There are five types of controllers in web dynpro for ABAP.


View Controller

A view is nothing but a screen that contain different screen elements like input, table etc

A controller which is responsible for view related logic or programming is called as view
controller, a web dynpro component can have multiple views, each view has it`s own controller.
Window controller

A window is a container of views, in web dynpro all views must be inserted into a window to
display.

Window controller is a controller which is responsible for window related programming.A web
dynpro component can have multiple windows, each window has it`s own controller.
Component Controller

This is a global controller for a web dynpro component, the methods, attributes etc declared in
component controller can be used by all controllers in a component.
Interface Controller

Interface controller is a controller which is responsible for communication between two or more
web dynpro components .
.Custom Controller

This ia an optional controller and this is used to reduce the burden on component controller to
improve the performance.

Custom controllers be also used as a configuration controller and will be used for
personalization.

11. Navigation between two views – through plugs and navigation link.
12. What is outbound and inbound plug? – Outbound plug is event generator and inbound plug is
event handler.
13. What is context mapping – sharing information between the views
14. What is data binding – passing data to UI elements and getting the changed values from them.
15. What are the different ways of sharing the data between views – Component controller and
outbound plug parameters.
16. What are hook methods?

HOOK METHODS in View Controller:

Hook Methods are standard SAP methods in web dynpro programming which are automatically created
by SAP to control the execution flow of a web dynpro application.

These methods are similar to events in SAP reports (classical reports).


WDDOINIT:

Method for initialization logic, this is the first method displayed before view is displayed. This method is
used to initialize variables, default data etc.
WDMODIFYVIEW:

This method is used to modify view dynamically based on user actions, this is used for dynamic
programming.
WDDOBEFOREACTION:

This method is used to validate user input.


WDDOAFTERACTION:

Method for all common logic used in all methods or event handler methods.
WDEXIT:

This method is used for clearing/refreshing nodes, attributes etc.

17. What is the difference between WDDOINIT and WDDOMODIFYVIEW methods? – WDDOINIT
gets executed only once throughout the life time of the view. WDDOMODIFYVIEW gets
executed each time when the page gets refreshed or at every server event.

18. Difference between DDBK & DDBI in web dynpro ABAP?

DDBK(Drop Down by Key) is an UI element through which we can display domain fixed values in the
form of drop down.
DDBI(Drop Down by Index) is an UI element through which we can display any values in the form of drop
down.

19. Under which circumstances you will use DDBK & DDBI?

DDBK(Drop Down by Key) is used when we have fixed values for domain and when we know no of drop
down values at design time.
DDBI(Drop Down by Index) is used when we don't know no of drop down values at design time and
when we know them at run time only.

20. What is service call in Web Dynpro ABAP ? What is the purpose of it?

Service call is Wizard based tool, call an existing function module or methods of an existing class within a
Web Dynpro component.
When we use service call context nodes and a web dynpro method will be automatically created as per
the Function Module/Class method parameters.

21. What is an empty view in Web Dynpro ABAP ?

The empty view is a special type of view. It is always generated automatically in a window or a view set
area, provided that no view has been embedded manually. It may also be preferable to embed an empty
view in a non-empty window as well. Just like a normal view, the empty view occupies a certain area of a
window at runtime and can be used to hide a different view, for example, using specific controls.
When you create an empty view, an inbound plug with the default name ShowEmptyView is created.

22. What is assistance class? How can we access the same?


Assistance class is used in webdynpro to separate the business logic and reduce the work load of
the WDA,WD_ASSIT is the reference variable used to access the assistance class created for the
particular WDA.
23. What is the difference between window and view?
24. What is the need of component reusability? How to do the same?
25. How to pass the information from parent component to child component?
26. What is internationalization? How to do it?
It is language independ based on the logon language text will be displayed.
For that create OTR(Online Text Repositary via SORT_EDIT) and bind it to the Text UI Element.

27. Types of Input help for a field. –


1.Automatic
2.OVS- Object Value Selector
3.DDIC
4.Freely Programming

28. What is OVS? Object Value selector.


29. Hook method for component controller
30. Use of WDINIT/ WDEXIT
31. Hook method in WD controller
32. ALV in WD, Selection screen component
 When we create a outbound plug the corresponding (Onaction_) event handler method is
created by the WD Frame work, so that if we are using this method we can set the
parameter values to pass to the next view
 When we create a inboundplug the corresponding (Handle_) event handler method is created
by the WD Framework,by giving the parameter similar to the outboundplug paramters,we
can handle the values in this view.
 Like this we can able to pass the parameters from one view to another view in the same
component.
33. Error Handling for BAPI
34. Creating a custom button in ALV
https://webdynproabap.wordpress.com/2014/04/10/creating-a-custom-button-in-alv-table-and-
handling-it/

Please check below documents for questions related WebDynpro.

SAP Webdynpro SAP Webdynpro SAP Web Dynpro


ABAPPart
ABAP Interview Questions Interview
3.pdf Questions
ABAPPart 2.pdf Questions Part1.pdf
Interview
IDocs:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/504191e
4-5d21-2e10-60b9-
b565153f1cce?QuickLink=index&overridelayout=true&50452981137261

http://www.saptechnical.com/Tutorials/ALE/Guide/Index.htm
1) OutBound process code - WE41 tcode
2) Extension of IDoc – WE30, to add extra fields for data transfer in a standard idoc type
3) Inbound IDocs -
4) Custom module how it will attached to message type: Using we57 transaction
5) Finding exits for an IDoc
6) How IDoc posting happens in SAP >
1.EDI transmission received
2.EDI document is converted into an IDOC
3.IDOC is transferred to the SAP layer
4.The application document is created
5.The application document can be viewed
.
7) Explain the outbound interface technique through ALE/Idocs :
a. 1.Application document is created.
2. IDOC is generated
3.Idoc is transferred from SAP to Operating system layer
4.Idoc is converted into EDI standards
5.Edi document is transmitted to the business partner
6.The Edi Subsystem report status to SAP

Outbound:

Segment Creation WE31

Basic IDOC Type Creation WE30

Message Type Creation WE81

Assign Message Type To Basic IDOC Type WE82

Writing Report Program SE38

Port WE21
Outbound process code : WE41
Partner Profile WE20
Message control NACE

Check IDOCs WE02, WE05

Inbound :

Creating FM SE37

Assign FM to Logical Message WE57

Define I/P method for Inbound FM BD51

Create Process Code WE42

Generate Partner Profile BD64

8) What was the scenario for inbound and outbound where you worked?
9) What is the partner profile for source system? Partner profile is a way to identify different
systems to which to send data to.
10) What was the function module for inbound idoc that you came accross? Function modules start
with IDOC_INPUT* , to create a custom copy any standard one and modify.

Others:
1) Adobe Forms? Implicit or explicit enhancement? Why?
2) How do you call adobe form from the driver program?
3) How do you control the display of logo in adobe form for a given condition?
4) Copy control, form routines in VOFM.
5) Smartform - Final Window
6) Smartform - W/o Main window
7) Adobe form - Diff types of sub forms
8) Adobe form - How to eliminate lines if not printing
9) Default encoding in open dataset
10) Encoding formats, Text mode

Process flow of SD, MM modules.


https://www.sapnuts.com/courses/core-abap/sd-mm/sd-flow-sap.html - SD
https://www.sapnuts.com/courses/core-abap/sd-mm/sd-flow-sap.html _-MM
https://www.sapnuts.com/courses/core-abap/sd-mm.html

Once you done with Client interview, update this document for the questions you faced and send back
to Ravikant (Ravikant.Shitole@cognizant.com).

Você também pode gostar