interview prep
interview prep
1. Transparent tables
2. Pool tables
3. Cluster tables
5. E -Control table
7. W -System table
1. Short
2. Medium
3. Long
4. Heading
Navigate again to the data type tab and double
click on the domain which you provided. Provide a
short description and data type of the particular
field.
The domain also provides the option of the value
range, which acts as the dropdown list for the
particular field. Provide the ranges and click on
save and hit the activate button.
It's types...
There are four types of ABAP views.
D 8 8 characters ✅
characters Complet
T 6 6 characters ✅
characters Complet
I 4 bytes -2147483648 to ✅
2147483647 Complet
F 8 bytes 2.2250738585072014E-308 ✅
to Complet
1.7976931348623157E+308
(positive or negative)
C 1 1 to 65535 ❌
character Incompl
N 1 1 to 65535 ❌
character Incompl
SELECT carrid
connid
fldate
price
FROM sflight UP TO 10 ROWS
INTO TABLE it_sflight
WHERE carrid = p_carrid.
What is a BAPI?
Classes
METHODS: constructor,
get_employee_info IMPORTING
i_employee_id TYPE i,
display_employee_info.
ENDCLASS.
Objects
Methods
METHOD constructor.
" Constructor method for initializing object.
ENDMETHOD.
METHOD get_employee_info.
" Method to retrieve employee information.
ENDMETHOD.
METHOD display_employee_info.
" Method to display employee information.
ENDMETHOD.
Inheritance
Encapsulation:
Polymorphism:
Abstraction:
Interfaces:
What is Enhancements
Types of Enhancements:
User Exits
Overview:
User Exits (also called Function Exits) are
predefined hooks in SAP standard programs where
custom code can be inserted. They are tied to
specific application areas (e.g., SD, MM).
Implementation:
Customer Exits
Overview:
Structured enhancements that include function
modules, screen exits, and menu exits. Managed via
enhancement projects.
Components:
Implementation:
Overview:
Object-oriented enhancements supporting multiple
implementations and filter-dependent execution.
Introduced in SAP R/3 4.6A.
Types:
Overview:
Unifies enhancement techniques using explicit
enhancement points, sections, and composite
structures.
Key Concepts:
Tools:
[Keynote]
| Check Table
├── Defined at the field level in a table
structure.
├── Uses foreign key constraints
├── values present in the check table can be
entered
├── enforce validation
└── ensure referential integrity
| Value Table
Table Operations
Syntax:
ls_row-field1 = 'A'.
ls_row-field2 = 10.
COLLECT ls_row INTO lt_table. " Aggregates field2 for
duplicate keys
3. Reading Data
4. Modifying Data
ls_row-field2 = 50.
MODIFY lt_table FROM ls_row INDEX 1. " By index
MODIFY TABLE lt_sorted FROM ls_row. " By key
(sorted/hashed)
b. Update in LOOP :
5. Deleting Data
6. Sorting
a. SORT :
7. Aggregations
8. Table Metadata
a. DESCRIBE TABLE :
9. Copying/Merging Tables
a. MOVE-CORRESPONDING :
DATA: lt_target TYPE TABLE OF ty_target.
MOVE-CORRESPONDING lt_table TO lt_target. " Copy fields
with matching names
b. Append/Insert Lines:
Implicit Enhancements:
Predefined by SAP (e.g., BAdIs, Customer
Exits, User Exits).
Example: Implementing a BAdI method for custom
pricing logic.
↩︎