You are on page 1of 25

General

Q. What are ABAP Program Types?


 Executable Program[Type 1]-  This is  REPORT program  which can be executed
by the program name or using a transaction code or  can be called using SUBMIT
and  can have its own screens.
 Module Pool [Type M] - Usually  a  PROGRAM statement can be started using a
transaction code, can be called using CALL TRANSACTION or LEAVE TO
TRANSACTION & have their own screens.
 Function Group[]Type F- This is a  FUNCTION-POOL statement, non-executable
which acts as a container for function modules &  can have its own screens.
 Class Definition[Type K ]- This is a  CLASS-POOL statement,  non-executable
and  container for classes. 
 Interface Definition [Type J]- This is a  CLASS-POOL statement, non-executable
& container for interfaces.
 Subroutine Pool [Type S ]-This is a PROGRAM statement, non-executable &
container for subroutines .
 Type Groups [Type T ]- This is a  TYPE-POOL statement which is  non-
executable and acts as a  container for type definitions.
 Include Program [Type I ]-Non-executable and  container for source code
modules.

Q. What are important system fields Used in Reports?

 SY-LSIND     :Index of the list for current event for basic list = 0.
 SY-LISTI      :Index of the list level from which the event was
triggered
 SY-LILLI       :Absolute number of the line from which the event
was triggered
 SY-LISEL      :Contents of the line from which the event was
triggered
 SY-CPAGE    :Page number of the first displayed page of the list
from which the                                                                            
event was triggered
 SY-UCOMM  :Function code that triggered the event
 SY-PFKEY    :Status of the list currently being displayed.
Q. What are important systems fields used in programming?

 SY-SUBRC          : RETURN VALUE AFTER ABAP STATEMENTS


 SY-INDEX           : LOOPS,CURRENT LOOP PASS
 SY-TABIX           : INTERNAL TABLE,CURRENT LINE INDEX
 SY-TFILL           : INTERNAL TABLE,CURRENT NO. OF LINES
 SY-LILLI            : LIST PROCESSING,CURRENT LIST LINE
 SY-LSIND           : LIST PROCESSING , DETAILS LIST INDEX
 SY-DBCNT         : DB OPERATIONS,NO. OF TABLE LINES
PROCESSED
 SY-CPROG         : ABAP PROGRAM,CALLER IN EXTERNAL
PROCEDURES
 SY-DATUM         : DISPLAYS CURRENT DATE
 SY-DYNNR         : ABAP PROGRAM,NO. OF CURRENT SCREEN
 SY-STEPL          : LOOP INFORMATION IN TABLE CONTROL
 SY-LOOPC         : LOOP INFORMATION IN TABLE CONTROL
 SY-DATLO         :Local date of user
 SY-DATUM         : Current (application server) date
 SY-TIMLO          :Local time of user
 SY-UZEIT           : Current (application server) time
 SY-TITLE           :Text that appears in the title bar of the
screen.
Q.  What is the difference between 'Check' and 'Continue' and
'Return'?
Q. What is the difference between 'Exit' and 'Stop'?
Q. What is the difference between Select Single * and select Up
to 1 rows?
Q.What is the difference between Collect and Sum? 
Q. What is an internal tables and its type?
Q. What is the difference between clear and refresh command?
Q.  How to sort an internal table?
Q. How to find out the number of records in an  internal table?
Q. What is a binary search? How it can be applied on an internal
table?
Q. What is Import and export key words?
Q. What is ABAP memory and SAP memory?
Q. What is the use of SET and GET keyword?
Q. What is the use of RESERVE keyword?
Q. What is the query to fetch records form another client?
Q. What is the select query to by pass the buffer?
Q. How to delete  duplicate records form the internal table.
Q.  What are different work process are available ? Where we
can see those?
Q. What are the different ways to show a message text/ Message type?
Q. What is the tcode to create a message class?
Q. What is the tcode to create a Transaction code for a report?
Q. What is a report variant?
Q. What is the tcodes are used to schedule a background job?
Q. How can check the log of the background job?
Q. How to debug a background job?
Q. What is the use of commit work and rollback work?
Q. What is LUW[Logical Unit of Work]?
Q. What is the difference between update & modify in sql query?
Q. What are DDL, DML & TCL commands?
Q. What is a client dependent and independent table? Which field is
responsible for this?
Q. What is Macro Definition?
Q. What is a subroutine?
Q. Can we call a subroutine  in our program which is  defined in another
program ?
Q. What are type of function modules?
Q. How to handle exceptions in Function module?
Q. If a Function module is defined as RFC enabled why the parameters should
be pass by value not by reference?
Q. How to call a update function module in your program. When a update
trigger function module is executed?
Q. How to see or tcode to see if an update function module is failed?
Q. what is the tcode to see sap locks ?
Q. How multiple function modules can share the same global variable?
Q. How to change the package of an object from $TMP to other?
Q. What is the difference between type and like?
Q. What is Logical Data base and how we can use it in our program?
Q. What are the events in logical database?
Q. What is the difference between Inner join and for all entries?
Q. What is internal session and external session?
Q. What is the use of open data set and close data set?
Q. What is the use of collect and sum?
Q. What is the difference between free and refresh of internal table?

------------------------------------------------------------------------------------------------------
-------------------------------------------
Dictionary
 What are different type of Database tables we can create?
 What is a Data Class?
 What is a Size Category?
 What is a table pool?
 What are pooled tables?
 What is a table cluster?
 Why quantity amounts (data type QUAN) must be assigned to a
reference table and a reference field?
 What is the significance of Technical settings ?
 What is the significance of Delivery Class?
 What is the function of a Domain?
 What is the function of a data element?
 What is the difference between a Substructure and an Append
Structure?
 How we can assign the same include structure multiple times in
a table?
 What are two methods of modifying SAP standard tables?
 Can we include customizing include or an append structure
with Pooled or Cluster tables?
 What is a Match Code?
  What are conversion routines? Why required? Can the user
create own Z conversion routines?
  Can you define a field without a data element?
 What is the difference between a structure and a table?
 What is a view?
 How many types of Views are there?
 What is Buffering and types of buffering?
 How buffering improves the performance?
 What table maintenance generator? 
 Why a function group is provided during creation of TMG?
 What is the difference between one step and two step process
in TMG creation?
 What is table events & how many events are available?
 What is primary index & secondary index?
 Why secondary index is needed? 
 Who creates primary & secondary Index?
 What is type group? How we can use this in ABAP Program?
 Can standard domain fixed values enhanced by user?
 What is check table and value table?
 On which views we can write SQL queries?
 What is search help? Why required?
 What is the difference between elementary and collective
search help?
 What is Append search help?
 What is Search Help Exit?
 How can and how many ways we can assign a search help to a
field in the program?
 Can we write select queries on pooled & cluster table?
 What is the difference between pooled & cluster table?
  What is Locking? What are  lock object Function Modules?
 What are the types of locking available?
 What is text table and how it is linked to a table?
 What is cardinality?
 What is Primary Key?
 What is composite primary key?
 How many fields can be selected in a table to be a part of
primary key?
 Which data type fields can take part in primary key o f a table?
 What is foreign key relationship?
 How a search help is assigned to a table field?
SAP SCN WIKI Link for DDIC Questions with answers
------------------------------------------------------------------------------------------------------
------------------------------------

Reports and ALV

 What are the events in classical reporting?


 What are the events in interactive reporting?
 What is difference between on Change of and at new field ? 
 What is the difference between at selection-screen and at
selection-screen on field?
 How to dynamically change the selection field, making some
field visible and invisible?
 What is the event responsible for displaying F4 help in report?
 How to move from basic list to secondary list?
 How many secondary list are possible?
 What is hide technique? 
 What is get cursor technique to handle interactive report?
 What is the difference between list and grid alv?
 How to display top-of-page in alv?
 How to display a logo in alv top of page?
 How to make the particular field editable in alv grid?
 How to handle double click event in alv grid?
 How to display blocked alv ? What are the different function
modules used?
 which FM is responsible to display hierarchical sequential alv?
 How do we call another report program from within a report?
 How to call a transaction within a report?
 How to set different title bar for each secondary report?
 What is at user-command?
 If you set a new PF-status, in an interactive program, then the
double click event will not work? What to be done to make
double click event work with your user specific pf status?
 What are control break statements?
 When top-of-page and end-of-page events trigger in report?
 What is the use of load-of-program event?
------------------------------------------------------------------------------------------------------
-------------------------------------

Module Pool
 What is the module pool program type?
 What are the type of screen available?
 What is the range of screen number we can use to create our
screen?
 What is the tcode for screen painter?
 What if screen flow logic?
 What are the events in module pool program?
 What is difference between a screen and sub screen?
 What is the use of sub screen area?
 What is chain and end chain in module pool?
 What is the difference between set screen and call screen?
 Can we create select option in module pool program?
 How to use table control in the flow logic of a screen?
 How to use sub screen call in the flow logic of the screen?
 What is on-chain input?
 What is the use of on-chain request?
 Do sub screen contains use commands, if yes where it is
handled  in the sub screen PAI or in the PAI of the main screen?
 What control structure is used for table control?
 What control structure is used for the tab strip?
 What is the difference between horizontal scrolling and vertical
scrolling in table control?
------------------------------------------------------------------------------------------------------
---------------------------------------

BDC - Batch Data Communication


 Why BDC is used?
 What is call transaction method and session method?
 How to handle messages in call transaction method?
 Which structure is used to handle messages in call transaction?
 Can a single program use both call transaction and session
method?
 Which BDC method will be preferable in case of mass record
upload  and why?
 How to use table control in BDC?
 What are the different Function modules are used in session
method?
 In transaction the recording is performed for the BDC?
 What is the tcode used to process session method?
 What is synchronous and asynchronous update in BDC?
 What are standard function modules are used in session
method?
 What is the use of FORMAT_MESSAGE function module?
------------------------------------------------------------------------------------------------------
-----------------------------------

Exits & Enhancements

 Why exits are needed?


 What is the difference between user exit and customer exit?
 How to find a user exit in a standard program?
 How to implement a user exit?
 Do we need an access key to implement user exit in a standard
program?
 User exit is a subroutine or an include program?
 How many ways a customer exit can be implement( different
forms of customer exit)?
 Do we need an access key to implement a customer exit?
 How to find a customer exit?  Is there any tcode to search
customer exit?
 Where to create a project for the customer exit
implementation?
 How customer exit FMs are called in standard program ? Do
they like as CALL CUSTOERT-FUNCTION 'XXX'?
 What is screen exit?
 What is menu exit?
 What is field exit?
 What is the difference between exit and BAdI?
 What is a classic BAdI? 
 How are different ways to find a classic BAdI ?
 Is BAdI is an object oriented approach?
 Why an interface is associated with a BAdI definition?
 What is the difference between single use and multiple use
BAdI?
 What is a filter dependent BAdI?
 How classic BAdI are are instantiated and called in teh
program?
 What is the use of standard class method
CL_EXITHANDLER=>GET_INSTANCE method?
 What are the Tcodes are used for the classic BAdI definition
and implementation?
 What is Simple Enhancement Spot? 
 What is Composite Enhancement Spot?
 What is Simple Enhancement Implementation?
 What is Composite Enhancement Implementation?
 What is a kernel BAdI?
 What is single use kernel BAdI?
 What is multiple Use Kernel BAdI?
 What is Internal use Kernel BAdI? If a BAdI is marked as Internal
use, Do a customer can implement it?
 What are the tcodes are used for the kernel BAdI?
 What is a fall back class in kernel BAdI?
 What is a default implementation in kernel BAdI?
 What is the difference between GET BADI and CALL BADI
statement?
 What is implicit enhancement?
 What is Explicit Enhancement?
 What is Enhancement Point?
 What is Enhancement Section?
 What are the tocdes are used to search a kernel BAdI in a
package?
 What is pre exit , post exit and overwrite exit of a method?
 What is a switch framework?
 What are the tcodes are used for switch framework?
------------------------------------------------------------------------------------------------------
-----------------------------------

OOABAP
 What is Object oriented concept?
 What is a class? 
 What is an object/Instance?
 What are properties of Object orientation?
 What is data abstraction?
 What is encapsulation?
 What is poly morphism?
 What is inheritance?
 How object oriented class-object approach is different from
function group and function module approach?Which is more
powerful?
 What are the parts of a class?
 What is a local class?
 What is a global class?
 What is abstract class?
 What is friend class?
 What is inherited class?
 What is a final class?
 What is exception class?
 What is unit class?
 What is persistent class?
 What is a single ton class?
 What do you mean by class <class-name> create public?
 What do you mean by class <class-name>create protected?
 What do you mean by class <class-name> create private?
 What do you mean by class access specifiers?
 What is the sequence of class access specifiers?
 What do you mean by constructor?
 What is a instance constructor and static constructor?
 When instance constructor is called?
 When static constructor is called?
 If we create 5 objects of a class, then how many times the
instance constructor is called and how many times static
constructor is called?
 If a class contains instance and class constructor, which is
called first?
 Which parameters (importing/exporting/changing ...) are
allowed in constructor?
 In which section of the class, constructor should be declared?
 Can we declare constructor in protected section or private
section of a class?
 In which case we can declare constructor in protected section
or private section?
 What are different types of methods we can create in a class?
 What are different types of data in a class definition?
 Can we declare types in a class definition?
 Can a instance class access static attributes?
 Can a static method access instance attributes?
 By using which operator an object calls instance method?
 By using which operator an object/class calls static method?
 What is an interface?
 Does interface contains method implementation?
 How and how many interfaces we can implement in a class?
 Can be the a class method name and an implemented interface
method name are same? If same then how those can be called?
 In which section, interface is implemented in a class?
 Is it possible to call an instance protected or private method
outside of the class? In yes or no, then how to call and where?
 Can we access private members of a class out  side of its scope?
 How friend class can be used to access private members of
another class?
 What is the use of ME keyword?
 If a class contains an attribute as <attr> and a method contains
a local parameter with the same name <attr>, then how we can
differentiate between them?
 What do you mean by Inheritance?
 What is single inheritance?
 What is multiple inheritance? Does OO ABAP supports multiple
inheritance?
 What is multilevel inheritance?
 What is hierarchical inheritance?
 What is method redefinition?
 What is the use of SUPER keyword?
 How constructors are executed/sequence of execution  in
inheritance mechanism?
 Can we create an instance of abstract class?
 What is a final method?
 If a class is declared is final, what is its impact on the
inheritance?
 What is casting?
 What is narrow casting and widening casting?
 What is a factory class?
 What is method overloading and method overwriting?
 Does OO ABAP supports method overloading?
 What is Events and instance event and static event?
 How Events are raised?
 How Events can be handled in a class?
 What are the type of parameters allowed in an events? 
 How to register an event handler method?
------------------------------------------------------------------------------------------------------
---------------------------------------

Forms
       SAP Scripts
 What are different Window types available in SAP Script?
 How many Main Window a page can contain?
 How many Main window instance we can create in a single
page?
 What are the different standard Function Modules are used in
the Driver program to call a SAP Script?
 In which transaction the standard text is created and how it is
used in the script?
 What is the use of PROTECT...ENDPROTECT command?
 What is the use of ADDRESS... ENDADDRESS in Script?
 What are different symbols are available in SAP Script?
 How many ways we can Debug SAP script?
 How we can use a  subroutine in Script?
 How we can print bar code in sap script?
 Which transaction is used to upload logo into sap system?
 What should be the logo format?
 How to display a logo in SAP Script?
 Is SAP script is client dependent or independent?
 If client dependent, then how it can be moved to another
client?
 What is the difference between Window and Page Window?
 What is a text element in Script and how we can call it from
Driver program?
 What are control commands we can use in Script?
 How we can use conditional statements like if..else..endif. in
script?
 How to create  boxes in sap script?
 How to put shadow in SAP script?
 How to insert a symbol in sap script?
 How to convert sap script into smart form.
 Which standard table contains the script name and its print
program name.
 How to translate script from one language to another language?
 How to trigger a new-page command from the driver program?
 How to trigger a new-window command from the driver
program?
 How to define a variable in sap script?
Introduction to SAP

 SAP Architecture
 System Landscape
 Naming Conventions,Package,Transport
Requests,Package Types
 Introduction to Write Statement,System
Varibles,EditMask,User Settings
 Data Types
 General structure of ABAP Program
 Parameters-Simple Program
 Conditional statements
 LOOP Statements
 Exit, Continue, Stop Statement

DATA Dictionary
Tables:

 Domains,DataElements,KeyFields,Buffer
 Types of Tables
 Currency/Quantity Fields
 Structures: Append Structure/Include Structure
 Foreign Key Realationship:CHECK table, FOREIGN key
table
 VALUE table, Domain Properties
 Table Maintenance Generator : 2 Real Time Examples
 Types of Tables

Views :
 Database, Projection View, Help View, Maintenance View
  2 Real Time Examples

Search Helps

 Elementary Searchhelps,Collective
Searchhelps,Matchcode objects
 Assigning Search Helps
 Lock objects
 Data Types,Type Groups

Internal Tables

 Variables, workares, Internal Tables


 Introduction to SELECT statement
 Operations on Internal Tables
 Obsolete ways of declaring Internal Tables
 Types of Internal Tables

Debugging

 Break-points,Watchpoints,Filed Values etc

OPEN SQL

 R/3 Interface Layer


 Open SQL/Native SQL
 List of OPEN SQL Stmts: INSERT, MODIFY, UPDATE,
DELETE

More about SELECT Statement


 SELECT with JOINS
 SELECT FOR ALL ENTRIES
 SELECT Single/Up to 1 Rows

Selection-screen

 Main stages of report


 Selection Screen Commands-Parameters,Select-
options,SS format.
 Variants,Select Texts,Text SymbolsMessages

MODULARIZATION

 Include programs : Standard Includes prgs,Customized


Include prgs
 Function
Modules:Import,Export,changing,Tables,Exceptions,Sourc
e Code
 Subroutines : Local subroutines, External
Subroutines,Passing parameters
 Differences
 Macro’s
 Class-Methods

A Real time Report1 with selection screen and modularization


techniques
A Real time Report2 with selection screen and modularization
techniques

Classical Report EVENTS


 A Real time Classical Report1 with all EVENTS
 A Real time Classical Report2 with all EVENTS
 A Classical Report EVENT WITH AT Selection screen
OUTPUT

Interactive Reports

 Interactive Report using HIDE.


 Interactive Report using GET CURSOR.
 Interactive Report using AT-USER COMMAND.
 A Real time Example with all interactive events
 Menu Painter-Menu Bar,Application Tool Bar, Standard
Tool Bar.

ALV Reports
ALV Report with Structure

 ALV With Feildcatelog


 ALV with Layout
 Alv with fieldcatelog_Merge
 ALV With Totals&Subtotals
 ALV With Logo,TOP-OF-PAGE,END-OF-LIST.
 Interactive ALV
 Real time Interactive ALV’S TO Calling a Transaction
 Hierarchial ALV
 Blocked ALV

Miscellaneous Topics

 Control Break Statements


 Lock Objects
 RunTime Analysis-SE30
 Performance Tuning-ST05
 String operations

SAP-SCRIPTS

 What is a SAP script


 Why SAP scripts are client dependant
 Components of SAP Scripts
 Window Types
 FunctionModules
 Using logos,Address,Windows
 Passing Data b/w Driver prg and SCRIPTS
 Symbols-system symbols/program symbols
 Control Commands: Define,address,TOP…END
 TOP,Bottom…Endbottom,Protect..Endprotect,New-Page
 Standard Text

 A complete Real Time script development for Purchase


Order.
 Copying Standard scripts and Modifying
 Modifying Standard script without changing driver prog
 Configuring SCRIPTS IN NACE
 Debugging scripts/Migrating script to smartform

SMARTFORMS

 What is samrtfom
 Diff b/w scripts and smartfforms
 Function Module in smartforms
 SSF_FUNCTION_MODULE_NAME
 SmartStyle
 Components of smartform
 Window types
 EX ON WINDOW-TITLE/PAGENO
 EX ON TEXT
 EX ON GRAPHIC
 EX ON ADDRESS
 Passing data b/w driver prg and SF with ex
 EX ON TEMPLATE
 EX ON TABLE/CONDITIONS
 EX ON PROGRAM LINES
 EX ON ALTERNATIVE/CONDITIONS
 EX ON LOOP
 EX ON FOLDER.
 A REAL TIME EX ON INVOICE
 DEBUGGING SF
 CONFIFUARATION

BDC

 What is BDC
 Types of Data Transfer
 Various Methods in data transfer
 Direct input Method
 Call Transaction
 Session Method
 LSMW
 Application Server Files

Module Pool Programming

 Introduction
 Events in MPP
 Structure of MPP prog
 Ex on Text Field
 Ex on Input Field/Button/Box
 Simple and Real Time Ex on Tabstrip
 Ex on Table Control
 Ex on editable Table Control
 Navigation b/w Screens
 Call Screen/Set Screen/Leave Screen
 Using POV&POH events

Object Oriented ABAP

 What is a Class,Object,Instance,
 Components of Class
 Types of instances
 Visibility of Components
 Ex on Instance/Static Attributes
 Ex on Methods-Using importing,Exoorting,Table
Types,TYPES
 Consructior and its Types
 Real time Ex on Constructor
 Using Interfaces,Aliases,Inheritence,abstart Class
 Using local classes for all the above concepts
Object Oriented ALV Reports

 OO-ALV with Structure


 OO-ALV with Fieldcatelog
 OO-ALV with Fieldcatelog_merge
 OO interactive ALV’s
 Real time OO interactive ALV’s with 2 grids on a single
screen
 Real time OO ALV with Tree
 Real time OO-ALV with Splitter control
 Real time OO-ALV with LOGO/Top of Page

User-Exits

 What are user exits


 A Real time example on user exit.

Customer-Exits.

 What are Customer exits


 Types of Customer Exits
 A example1 on Function Module exit using CALL
CUSTOMER
 A example2 on Function Module exit using SMOD.
 A example on MENU EXIT.
 A example on SCREEN EXIT.
 A example on Field exit

BADI’S
 What is a BADI
 Diff b/w Exits and BADI’S
 Single Implementation BADI
 Multiple Implementations BADI
 FILTER BADI/Custom BADI
 3 REAL TIME EX on BADI

Enhancement spots

 What is an Enhancement Spot


 Types of Enhancement spots
 Ex on Implicit Spots

BAPI :

 What is BOR
 What is BAPI,Rules
 Diff b/w RFC and BAPI
 Various scenarios of BAPI
 Creating a custom BAPI
 Real time ex for uploading BAPI
 Real time reports using BAPI

ALE-IDOC’S :

 What is ALE and Types of data transfer


 What is EDI
 What is IDOC and Real time example of IDOC
 Runtime components of IDOC
 Message type
 Step to create segment
 Step to create IDOC’S / Segments
 Structure of data transfer
 Outbound program , Configuration settings
 Table for message types / IDOC types / outbound
program / process codes.

FILTERING:

 IDOC filtering
 Segment filtering

Custom IDOC’S:

 Custom IDOCs
 Extended IDOC
 Reduced IDOC
 Changing pointers

A REAL TIME SCENARIO ON EXTENDED IDOC

FUNCTIONAL EXPOSURE

 SD(Sales &Distribution) : Business Flow,


Tcodes,Tables,Reports
 MM(Material man
 agement) : Business Flow, Tcodes,Tables,Reports

SAP ABAP TIME PROJECT EXPOSURE


ASAP Methodology explanation with a case study and real time
business scenarios.
Support project issues / tickets / incidents and handling process
Responsibilities of ABAP consultant

RESUME PREPARATION
Fresher SAP ABAP CV preparation with expertise skills,
Experience profile preparation with real
time scenarios and projects ,profile uploading in job portals,
guidance on fresher and
experienced Openings and providing Top Consultancy Contact
details.

SAP ABAP REAL TIME INTERVIEW QUESTIONS &


ANSWERS
Technical and ABAP interview process (telephonic , Face 2
Face and Video Conference),
Preparation of ABAP Domain, SAP ABAP System and real time
exposure concepts
SAP ABAP interview Question and Answers from Top 10
MNC’s.

You might also like