sap abap interviews
TRANSCRIPT
-
7/29/2019 SAP ABAP Interviews
1/14
Data Types
Master
Transactional
Control
Tables Types
TransparentPool
Cluster
Table Creation
Predefined
Domain & Data Elements
Elementary
Technical Settings
Data Class
Size Category
Delvery Class
Maintenance
Domain Technical Information of field
Data Elements Semantic Information about F
Objects Definition
DDIC To store Information about D
Table Name,Field,Data type , Lengt
Creation of Table in DDIC Automatically create same ta
Work Area To store single Record at a ti
Internal Table Store Multiple Records tempo
Objects Definition
Structure sets of fields grouped into co
Objects Definition
View Logical Representation of Phy
View Types
Projection
Database
Maintenance
Help
Difference Inner Joins
Select only matching Records
Searh Help Elementary
-
7/29/2019 SAP ABAP Interviews
2/14
Simple Search Help
Imp,Exp,Lpos,Spos
Objects Naming Conventions.
Lock Objects Start with EZ Only
Difference Client DependentIf Mandt Fields is present
Table Declarartions
Difference Open Sql
Standard SQL with same Enha
Insert
Update
Modify
Delete
Select
Selection-Screen
Modularization Techniques
useful for Reusability of code Global Repository Objects
Includes
Pack set of code lines
Subroutines
In Program Perform Using
Subroutine Definition Should
Macros
Function Group
Funcion Modules
-
7/29/2019 SAP ABAP Interviews
3/14
In Program Call FM Syntax
Call function
Exporting
Importing
Changing
Tables
Note Call By Value
Formal Local (actual)
Usage Different M/y Usage Different M/y
Changes in Formsl Not Change in Local
Called By Value return
Intially behave like Called Value Once Subroutine Executed Be
Macros
Object Definition
Message Class Used to store Message 000 to
Note No Need to Declare Message-
Message Type Warning
Information
Status
Error
Reportings
Clasical interactive
Simple reports Contains only one Slection Screen &
only one output screen.
Drill Down Reports Only one
selection screens
only one basic list & (1-20)
Secondary List
Selection-Screen Statements
Si No. 1 Parameters
2 Select-options
3 Selection-screen: Begin of Blo
4 Selection-screen: End of Block
5 Selection-screen : Begin of Lin
6 Selection-screen :End of Line,
-
7/29/2019 SAP ABAP Interviews
4/14
7 Selection-Screen Comment /
8 Selection-screen Skip 2.
Classical Reporting
Si No. 1 Initialization
2 At Selection-Screen
3 At Selection-Screen outputAt Selection-Screen on
-
7/29/2019 SAP ABAP Interviews
5/14
Use
not frequently changed
Frequently change
not possible to change & but enter new values.
Cardinality (Between DDIC & DB)
one:oneMany:One
Many:One
Transaction Codes
SE11
Examples
Data type & Field Length
Description of Fields
ta
le in DB
e temporarily
rarily
Restrcion
Not Use Mandt
Use
To joins more than one Table Fields fields into Single Row.
Use
can use single table to hide some fields of particular fields.
join more than one table fields into single view.
join more than one table fields into single view.
join more than one table fields into single view.
outer Joins
Select Records fields in Foreign Key Table
Select all matched records & select which are not matched of
Colective
-
7/29/2019 SAP ABAP Interviews
6/14
Collection of Elementary Search Help
Imp,Exp,Data Elements
Data Elements of E.S should same.
Two Methods
Enqueue & Dequeue
Client IndeoendentIf Mandt is not presents
With Header Line
Creates Both Work Area & Body
Without Header line
Creates Only Body, To use W.A use Explicit WA
Native Sql
ncemnets specific to SAP ABAP
IF Record Exist, then update, If Not Exists then Insert,
At Runtime Parameters with Multiple value Range
Select-options: s_matnr for Mara-Matnr. (Tables)
Select-options: s_matnr for Matnr.(Data Elemts)
At Runtime Parameters with Single value
Parameters : matnr like mara-matnr.
Use
Not Executable Programs,No parameter Interfacing
Parameters Interface
Var1>
be at end of programs.
Maintain 99 Function Modules
Parameter Interfacing
-
7/29/2019 SAP ABAP Interviews
7/14
Call By Reference
Formal
Same m/y
change in Formal
have Like Called By Ref
Transaction Code
Se91
Id Message Class
w
i
s
e
ck b1 with frame title text-001,
b1 .
e,
-
7/29/2019 SAP ABAP Interviews
8/14
(20) text-001.
Events triggers before Displaying Selection-Screen
Events used to validate Selection-Screen Fiuelds.
Events Used to change Selection-screen Fields Enable to DisbaEvents used to validate Particular Fields on Selection Screen.
Events Trigger Before Displaying Basic List.
Events Triggers to Display Column Heading on Basic list for Ea
Events used to Display Footters of Page On Basic List
Contain List No.
Contain Function-Code
e.
-
7/29/2019 SAP ABAP Interviews
9/14
Examples
Customer Details,Vendor Details,Material Details
S.O,P,O
Company Codes,Documentations,Program Names
Use Examples Restriction
Fills with Master Data & Transactional DataFills with control Data
Fills with control Data bseg One primary Key mandatory
Two Approach
Table->Data Elements->Domain
Assignments
Domain->Data Elements
Data Elements->Table Fields
Restriction Implement Main Use
Before Creating Foreign-Key Relationship Inner Joins
Outer Joins(Left)
Outer Joins(Left) Search Help (F1,F4)
FK Table.
-
7/29/2019 SAP ABAP Interviews
10/14
Syntax
itab ocuurs 0(Structure),jtab like itab ocuurs with header line.
Syntax
itab(Structure),jtab like itab ocuurs 0.
Syntax Use Rstriction
For all Ready DefineCan not declare Select-Options u
Inside Include one Include
Possible
Actual
Form using
Transaction Code
Se80(FG),SE37(FM)
-
7/29/2019 SAP ABAP Interviews
11/14
Actual
Import,Export,Changing,Source Code
Local (actual)
Same M/y
Directly change in Local
Syntax
Message
ColorsYellow
Pop Ups
Green
Red
-
7/29/2019 SAP ABAP Interviews
12/14
Assign Default Values to Selection-Screen Fields.
le or Disable to Enable
Triggers whenever Select Execute Button on Selection Main Pogram logic
h & Every Page :Header's of Page
-
7/29/2019 SAP ABAP Interviews
13/14
-
7/29/2019 SAP ABAP Interviews
14/14
sing SAP Provided Data Types.