Está en la página 1de 102

chp Complete ABAP-2016 sap_abap_tutorial-2016

1 Introduction to ERP and SAP 20


2 The Architecture of an SAP System 28

ABAP overview, env, navigation, basic


syntax, data types, variables,
Introduction to ABAP Environment-ABAP constants and literals-chp
3 workbench 30 1,2,3,4,5,6,7
8 Object-oriented ABAP 64 Object orientation-chp 46-51

9 Exception Handling 26 Exception handling chp 24

ABAP dictionary, Domain, Data


ABAP Data Dictionary tables, views, data elements, Tables, structures, views,
types, domains, type groups, search search help, lock objects - chp 25 -
10 helps and lock object 76 32
4 ABAP Programming concepts-open sql 44 Open and native SQLs - chp 38, 39
Internal tables - chp
5 Structures and Internal tables 60 40,41,42,43,44,45
Persistent Data file interfaces and data
11 clusters 37
17 Debugging 23
21 Test Analysis tools 47

Modularization Techniques Events and


7 Procedures 64 ABAP Modularization-chp 32 - 37
User Interaction: DynPro selection
6 screens 30 webdynpro chp 61
14 Selection Screens input validation 24
Dialog Programming screens flow logic Report or Dialog programming-chp
12 and menu bars 60 54 55 SAP scripts chp 57
13 List screens 32
15 ALV Reports 38
Dynamic Programming return results
16 based in inputs 36
18 Forms 80 smart forms chp 56
User exits, customer exists chp 58 59
20 Modifications and Enhancements BAdI 47 Business add-ins chp 60
19 Interfaces ALE/EDI/IDocs 118 Interfaces chp 52 53
Unit 1 - SAP System Architecture 1. SAP System Architecture and flow
of a program

Unit 2 - Object Navigator, Repository and


ABAP Programs 1. SAP Object Navigator and
Repository
2. Developing Programs and
Organizing Developments
3. Creating Packages - Part 1
4. Creating Packages - Part 2
5. Developing a Program in ABAP
6.
7. Creating Transaction
How to add in SAP
Transactions to your
Personal Favorites
8.
9. How
ABAPtoExercise:
create an ABAP
Flight program
Information
Report

Unit 3 - Transparent tables in the ABAP


Dictionary 1. Data Modeling and ABAP
Dictionary
2. How to create transparent tables
3. Table Maintenance Generator
4.
5. Viewing data inAirline
ABAP Exercise: transparent tables
Relational
Model

Unit 4 - Basic ABAP statements, ABAP


Structures and ABAP Logical Expressions 1. Working with Elementary Data
Objects.
2. Basic ABAP statements
3. Performing ABAP calculations
4. ABAP Calculator
5. ABAP Structures
6. How to create ABAP structures
7. Dialog Messages
8. ABAP IF statement and CASE
9. ABAP Logical Expressions
10. ABAP Loops
11. ABAP Search Helps F4
12.
13. ABAP
ABAP Elementary Search
Exercise: Flight Help
Information
Report Summary

Unit 5 - ABAP Data Retrieval


1. Read SAP Database Tables
2. SAP Data Retrieval Using A Select
Loop
3. ABAP Internal Tables And Work
Areas
4. Create a SAP index
5. Open SQL ABAP JOIN Statement
6. Create a VIEW in ABAP
7. For All Entries in ABAP
8.
9. Authorization
ABAP Exercise Check
– SFO Airport Flight
Schedule

Unit 6 - SAP Analysis Tools


1. SAP Runtime Analysis Tool
2. SAP Code Inspector

Unit 7 - ABAP Subroutines


1. ABAP Subroutines and procedures
2. SAP Code Inspector
3.
4. ABAP Table Types A Subroutine
SAP Implementing
Call
5. ABAP Include Programs

Unit 8 - ABAP Events


1. ABAP Events

Unit 9 - ABAP User Interface


1. ABAP Lists
2.
3. ABAP Text Symbols
Generating A Details List – AT LINE
SELECTION
4. Application Example – Flight
Details List
5. Selection Screen
6. Screen
7. Screen Pushbuttons
8. SAP User Interface

Unit 10 - Function Modules, Methods,


ALV and BAPI
1. ABAP Function Modules
2. ABAP Methods
3. SAP ALV Grid Control
4. SAP BAPI

Unit 11 - Adjusting SAP Standard Software 1. Adjusting The Sap Standard


Software
2.
3. SAP
SAP User
MenuExits
Exit, Screen Exit and
Field Exit
4. SAP Append Structure – Table
enhancement

Unit 12 - ABAP Debugger, Selection


Screens, and Table Controls
1.
2. Advanced Selection
SAP ALV example to Screens
update Z
tables
3. SAP Table Control
4. ABAP Debugger

Unit 13 - ABAP Web Dynpro


1. Web Dynpro ABAP

Unit 14 - Advanced Topics


1.
2. SAP Program
Record with Adobestep-by-
SAP transactions Forms
step

Unit 15 - Advanced Topics II 1. Display Data Dynamically using


ABAP Field
2. ABAP SymbolsCreating
Debugger:
Watchpoints
3. ABAP Debugger: How to debug a
pop-up
4. Customwindow
(Z) T-Code for a Table
Maintenance
5. Find relatedGenerator
tables of SAP
transactions
sap_abap_tutorial-2016 Beginners guide to SAP chp Beginners guide to SAP-2011
1 SAP system overview 5
1 First look at at the ABAP workbench 7

4 Arithmetic 6 3 creating a program 24


ABAP strings- chp 21 5 Character strings 13
date and time-chp 22, Working with other
23 8 datatypes 10

operators, loops all-chp Program flow and


8- 20 10 logical expressions 20 2 Data Dictonary 26
12 Internal tables 21

7 Working with Database tables 23

9 modifying data in db 18
6 Debugging programs 15

13 Modularizing programs 22

11 Selection screens 39
min
14

20
12:30
3
9
6
7
7
3
5
9

11 1 hr
40
3
10
2
16
What is SAP Why do we need ERP Beginner Tutorial.mp4
SAP Tutorial for beginners Part 1 - SAP ERP.mp4
Video Lesson 1 SAP System Architecture and flow of a program.mp4
Video Lesson 2.1 SAP Object Navigator and Repository.mp4
Video Lesson 2.2 Developing Programs and Organizing Developments
Video Lesson 2.3 Creating Packages Part 1.mp4
Video Lesson 2.4 Creating Packages -Part 2.mp4
Video Lesson 2.5 Developing a Program in ABAP.mp4
Video Lesson 2.6 Creating Transactions in SAP.mp4
Video Lesson 2.7 How to add SAP Transactions to yo.mp4
Video Lesson 2.7 How to add SAP Transactions to your Personal Favourites
Video Lesson 2.8 How to create an ABAP Program.mp4
Video Lesson 2.9 ABAP Case Study Flight Informatio.mp4
Video Lesson 2.9 ABAP Case Study Flight Information Report.mp4
Video Lesson 3.1 Data Modeling and Abap Dictionary.mp4
Video Lesson 3.2 How to create Tables.mp4
Video Lesson 3.3 Table Maintenance Generator.mp4
Video Lesson 3.4 View The Data In Your Table.mp4
Video Lesson 3.5 Case Study - Airline Relational D.mp4
Video Lesson 3.5 Case Study - Airline Relational Data Model.mp4
Video Lesson 4.1 Working With Elementary Data Obje.mp4
Video Lesson 4.1 Working With Elementary Data Objects.mp4
Video Lesson 4.10 ABAP Loops.mp4
Video Lesson 4.11 ABAP Search Helps F4.mp4
Video Lesson 4.12 ABAP Elementary Search Help.mp4
Video Lesson 4.13 Case Study Flight Information Re.mp4
Video Lesson 4.13 Case Study Flight Information Report Summary.m
Video Lesson 4.2 Basic Abap Statements.mp4
Video Lesson 4.3 Performing ABAP Calculations.mp4
Video Lesson 4.4 ABAP Calculator.mp4
Video Lesson 4.5 ABAP Structures.mp4
Video Lesson 4.6 How to create ABAP Structures.mp4
Video Lesson 4.7 Dialog Messages.mp4
Video Lesson 4.8 ABAP IF statement and CASE.mp4
Video Lesson 4.9 ABAP Logical Expressions.mp4
Video Lesson 5.1 Read SAP Database Tables.mp4
Video Lesson 5.2 SAP Data Retrieval Using A Select Loop.mp4
Video Lesson 5.2 SAP Data Retrieval Using A Select.mp4
Video Lesson 5.3 ABAP Internal Tables And Work Are.mp4
Video Lesson 5.3 ABAP Internal Tables And Work Areas.mp4
Video Lesson 5.4 Create an Index in SAP.mp4
Video Lesson 5.5 JOIN tables in ABAP.mp4
Video Lesson 5.6 Create a VIEW in ABAP.mp4
Video Lesson 5.7 For All Entries in ABAP.mp4
Video Lesson 5.8 Authorization Check.mp4
Video Lesson 5.9 Case Study - Flight Schedule For San Francisco
Video Lesson 5.9 Case Study - Flight Schedule For.mp4
Video Lesson 6.1 SAP Runtime Analysis Tool.mp4
Video Lesson 6.2 SAP Code Inspector.mp4
Video Lesson 7.1 ABAP Subroutines and procedures.mp4
Video Lesson 7.2 Parameter Passing - Structures An.mp4
Video Lesson 7.2 Parameter Passing - Structures And Internal Tab
Video Lesson 7.3 ABAP Table Types.mp4
Video Lesson 7.4 SAP Implementing A Subroutine Cal.mp4
Video Lesson 7.4 SAP Implementing A Subroutine Call.mp4
Video Lesson 7.5 ABAP Include Programs.mp4
Video Lesson 8.1 ABAP Events.mp4
Video Lesson 9.1 ABAP Lists.mp4
Video Lesson 9.2 ABAP Text Symbols.mp4
Video Lesson 9.3 Generating A Details List - AT LI.mp4
Video Lesson 9.3 Generating A Details List - AT LINE SELECTION.m
Video Lesson 9.4 Application Example - Flight Deta.mp4
Video Lesson 9.5 Selection Screen -.mp4
Video Lesson 9.6 Screen.mp4
Video Lesson 9.7 Screen Pushbuttons.mp4
Video Lesson 9.8 SAP User Interface.mp4
Video Lesson 10.1 ABAP Function Modules.mp4
Video Lesson 10.2 ABAP Methods.mp4
Video Lesson 10.3 SAP ALV Grid Control.mp4
Video Lesson 10.4 SAP BAPI -.mp4
Video Lesson 11.1 Adjusting The Sap Standard Softw.mp4
Video Lesson 11.1 Adjusting The Sap Standard Software.mp4
Video Lesson 11.2 SAP User and Customer Exits.mp4
Video Lesson 11.3 SAP Menu Exit, Screen Exit and F.mp4
Video Lesson 11.4 SAP Append Structure - Table enh.mp4
Video Lesson 11.4 SAP Append Structure - Table enhancement.mp4
Video Lesson 12.1 Advanced Selection Screens.mp4
Video Lesson 12.2 SAP ALV example to update Z tabl.mp4
Video Lesson 12.2 SAP ALV example to update Z tables.mp4
Video Lesson 12.3 SAP Table Control.mp4
Video Lesson 12.4 ABAP Debugger -.mp4
Video Lesson 13.1 Web Dynpro ABAP.mp4
Video Lesson 14.1 - SAP Program with Adobe Forms.mp4
Video Lesson 14.2 Record SAP transactions step-by-step.mp4
Video Lesson X.1 - Display Data Dynamically using ABAP Field Sym
Video Lesson X.2 - ABAP Debugger Creating Watchpoints.mp4
Video Lesson X.3 - ABAP Debugger - Debug a Pop Up Window.mp4
Video Lesson X.4 - Find related tables of SAP transactions.mp4
Video Lesson Y.1 - OO (Object Oriented) ABAP - Introduction.mp4
Video Lesson Y.2 - OO ABAP - Classes, attributes & methods.mp4
Video Lesson Y.3 - OO ABAP - Constructors.mp4
Video Lesson Y.4 - OO ABAP - Inheritance and Casting.mp4
Video Lesson Y.5 - OO ABAP - Narrowing and Widening Cast.mp4
Video Lesson Y.6 - OO ABAP - Interfaces & Polymorphism.mp4
se16n Modify: “&sap_edit” (uase16n)
sd11 Data model
sm30, sm31 SAP Table view maintenance
se54 (SOBJ) Table / View Cluster

ABAP first and Transport only seen


Transaction Description
FMX1 Create Funds Reservation
FMX2 Change Funds Reservation
FMX3 Display Funds Reservation
FMX6 Funds Reservation: Manual Reduction
FBL5N Customer Line Items
FD03 Display Customer (Accounting)
FD10N Customer Balance Display
FD10NET Customer Balance Display
FD11 Customer Account Analysis
OV51 Display of Changes for Customer
ZFI_PARK_FROM_FILE Post a Parked Doc from a Spreadsheet
FB02 Change Document
FB03 Display Document
FB04 Document Changes
FBL3N G/L Account Line Items
FBV2 Change Parked Document
FBV3 Display Parked Document
FMBB Display Entry Document
FMEDD Display Entry Document
FMEDDW Drilldown for Budget Entry Documents
FMRP_RFFMEP1AX All Postings
FV50 Park G/L Account Items
FV53 Display Parked G/L Account Document
FV63 Displayed Parked Vendor Document
ZFI_PROCARD_DETAIL Details of Procard transactions
ZFM_DOC_ENTRY_REPORT Budget Document Entry Info Report
ZFESDOE List DOE
ZFES1 FES Display
ZWF_FORMF_RPT FACULTY OVERLOAD WORKFLOW REPORT
GM_BDGT_RELEASE Gm Budgeting Release Process
GM_DISPLAY_BUDGET Display GM Budget Entry Document
GM_SETS_GRANT2 Change Grant Group
GM_SETS_GRANT3 Display Grant Group
GM_SETS_SPCLASS3 Display Sponsored Class Group
GM_SETS_SPPROG1 Create Grant Group
GM_SETS_SPPROG2 Change Grant Group
GM_SETS_SPPROG3 Display Sponsored Program Group
GMAVCOVRW Overview of GM AVC Values
GMBDGTOVIEW GM Budget Overview
GMGRANTD Grants Master - Display Only
GMPROGRAM GM Sponsored Program Master Data
ZGM_AR_OVERVIEW Grant Billing Overview Report
ZGM_CLOSELY_RELATED Closely Related Grants
ZGM_DEPTCS_RPT Cost Share Funding Report
ZGM_GRANT_FUND Report grants with funds
ZGM_LOOKUP Look up responsibility for grant
ZGM_PAYMENT_REPORT Grants Payments Report
CJ03 Display Work Breakdown Structure
CJ13 Display WBS Element
CL30N Find Objects in Classes
CN43N Overview: WBS Elements
FM_SETS_FICTR3 Display Funds Center Group
FM_SETS_FIPEX3 Display Commitment Item Group
FM_SETS_FUNCTION3 Display Functional Area Group
FM_SETS_FUND3 Display Fund Group
FM_SETS_FUNDPRG3 Display Funded Program Group
FM5S FIFM: Display Fund
FM6S FIFM: Display Application of Funds
FMCIC Display commitment item
FMMEASURED Funded Program: Display
FMSC Display Funds Center in FM Area
FS03 Display Master Record
KA03 Display Cost Element
KA23 Cost Elements: Master Data Report
KABL Order: Planning Overview
KAH3 Display cost element group
KB13N Display Manual Repostings of Costs
KO01 Create Internal Order
KO02 Change Order
KO03 Display Internal Order
KO12 Change Order Plan (Overall, Year)
KO13 Display Order Plan (Overall, Year)
KOB1 Orders: Actual Line Items
KOBP Orders: Plan Line Items
KOH3 Display Order Group
KOK5 Master Data List Internal Orders
KS03 Display Cost Center
KS05 Cost Center: Display Changes
KS13 Cost Centers: Master Data Report
KSB1 Cost Centers: Actual Line Items
KSH3 Display Cost Center Group
OORA Create Room
ZCCWBS Cost Center report with WBS
ZFI_COBJ Cost Object Details Lookup
ZPRIME Scopes for prime grant
ZECM_BUDGETDOCS Budget Entry Documents
ZECM_FAC FAC Documents with Attachments
ZECM_FIDOCS Financial Documents with Attachments
ZECM_PODOCS Purchase Order Documents
FCH1 Display Check Information
FCH2 Display Payment Document Checks
ZFI_ACH_REGISTER ACH Payment Register
ZFI_EPAY_REGISTER ePayables Register
ZFI_FCHN Check Register (AP)
CAT2 Time Sheet: Maintain Times
CATS_APPR_LITE Approve Working Times
CATS_DA Display Working Times
PA10 Personnel File
PA20 Display HR Master Data
PA30 Maintain HR Master Data
PA40 Personnel Actions
PA51 Display Time Data
PA53 Display Time Data
PA61 Maintain Time Data
PA63 Maintain Time Data
PC_PAYRESULT Display Payroll Results
PC00_M10_CALC_SIMU Simulation payroll accounting 10
PC00_M10_CEDT Payroll Remuneration Statement - 10
PC00_M99_CWTR Wage type reporter
PC00_MNA_CC_ADM Cost Center Report - Administrator
PIQ_ACCATLG Module Catalog
PIQ_ACSTRUC Program Catalog
PIQAGM Edit Transfer Regulations
PIQCG Edit Module Group
PIQCQ Edit Internal Qualification
PIQCW Edit Miscellaneous Academic Work
PIQEO Edit External Organization
PIQSC Edit Program of Study
PIQSM Edit Module
PIQST00 Student File
PIQSTD Display Student Master Data
PIQSTTIMETAB Timetable of Bus. Event Attendees
PIQSU Edit External Subject
PO03 Maintain Job
PO13 Maintain Position
PO19 Maintain External Instructor
PP01 Maintain Plan Data (Menu-Guided)
PP01_DISP Display Plan Data (Menu Guided)
PPO4 Display Reporting Structure
PPOS Display Organizational Plan
PPOSE Display organization and Staffing
PPPD Display Profile
PPPE_SEARCH_FOR_Q Find Objects for Qualifications
PPPM Change Profile
PT_ABS20_ATT Attendance/Absence Data: Overview
PT_BAL00 Cumulated Time Evaluation Results
PT_DSH20 Daily Work Schedule
PT_ERL00 Time Evaluation Messages: Analysis
PT_LEA40_ABS Att./Absences: Graphical Overview
PT_QATT Attendances: List
PT_QREM Employee Remuneration Information
PT_QTA10 Absence Quota Information
PT_QTAL Employee Time and Labor
PT03 Display Work Schedule
PT50 Quota Overview
PT64 Absence List
PT91 Absences: For Multiple Employees
PT91_ATT Attendances: For Multiple Employees
PUOC_10_CE Off-Cycle Workbench USA CE
Z_TIMERPT Time Reporting
ZCAT6 Verify Time
ZCHKREG Payroll Check Register
ZHR_0014 Recurring Payment Report
ZHR_0015 One Time Payment Report
ZHR_1018 Position Cost Distribution
ZHR_ADDRESSES Address Query
ZHR_ATTENDANCE Attendance Report
ZHR_CHECKLEAVE Check Leave Requests
ZHR_CHECKPAY Check Payroll Results
ZHR_DISPLAYLEAVE Display Leave Requests
ZHR_EQUITY Hospital Equity
ZHR_FTE FTE Report by Organizational Unit
ZHR_HIREREPORT Hire Action Report
ZHR_JOBSELECT Employment Job Report
ZHR_LEAVEUSAGE Leave Usage
ZHR_MASS_APPROVAL Mass Leave Approval
ZHR_OBJ_ON_LOAN_RPT Object On Loan Report
ZHR_OES_HIRE OES Hire
ZHR_PAR HR PAR Report
ZHR_PAYRESULTS Payroll Infotype 9401
ZHR_POSATTR Position Attribute Report
ZHR_POSCHANGE Position Change Action Report
ZHR_POSTDOC Post Doc Scholar and Fellowship Pymt
ZHR_SALREC Salary Recommendation
ZHR_SEPARATE Separation Action Report
ZHR_SHIFT_DIFF_RPT Shift Differential Report
ZHR_STEPS STEPS Time Feed Audit
ZHR_TIMEFEEDRPT Time Feed Audit Report
ZHR_USER_ID User ID and Email Report
ZHR_VAC_ACCR Accrual Liability
ZHR_VACREP Position Vacancy Report
ZHRFLEX Flexible employee data report
ZI9REP I-9 Report
ZPOS Create Position
ZPY_LOG_PREPROCESS Current Payroll PreProcess Log
ZPY_LOG_RETRO Payroll Retro Log
ZT60 Time Eval with a default Variant
ZVERXFER Verify transfer time
MB03 Display Material Document
MB23 Display Reservation
MB25 Reservation List
MB51 Material Doc. List
MB52 List of Warehouse Stocks on Hand
MB53 Display Plant Stock Availability
MB54 Consignment Stocks
MB5B Stocks for Posting Date
MB5T Stock in transit CC
MB90 Output Processing for Mat. Documents
MBSM Display Cancelled Material Docs.
MC$4 PURCHIS: Vendor PurchVal Selection
MC.1 INVCO: Plant Anal. Selection: Stock
MC.2 INVCO: Plant Anal.Selection, Rec/Iss
MC.3 INVCO: Plant Anal.Selection,Turnover
MC.4 INVCO: Plant Anal.Selection,Coverage
MC.5 INVCO: SLoc Anal. Selection, Stock
MC.6 INVCO: SLoc Anal. Selection: Rec/Iss
MC.7 INVCO: SLoc Anal. Selection,Turnover
MC.8 INVCO: SLoc Anal.Selection, Coverage
MC.9 INVCO: Material Anal.Selection,Stock
MC45 INVCO: Analysis of Usage Values
MC46 INVCO: Analysis of Slow-Moving Items
MCBC INVCO: Stor. Loc. Analysis Selection
ME03 Display Source List
ME13 Display Purchasing Info Record
ME1E Quotation Price History
ME1L Info Records Per Vendor
ME1M Info Records per Material
ME1P Purchase Order Price History
ME1W Info Records Per Material Group
ME1X Buyer's Negotiation Sheet for Vendor
ME1Y Buyer's Negotiat. Sheet for Material
ME23N Display Purchase Order
ME2B POs by Requirement Tracking Number
ME2C Purchase Orders by Material Group
ME2K Purch. Orders by Account Assignment
ME2L Purchase Orders by Vendor
ME2M Purchase Orders by Material
ME2N Purchase Orders by PO Number
ME33K Display Contract
ME3M Outline Agreements by Material
ME3N Outline Agreements by Agreement No.
ME53N Display Purchase Requisition
ME5A Purchase Requisitions: List Display
ME5K Requisitions by Account Assignment
ME80 Purchasing Reporting
ME80FN General Analyses (F)
MELB Purch. Transactions by Tracking No.
MIGO Goods Movement
MIR4 Call MIRO - Change Status
MM03 Display Material &
MM04 Display Material Change Documents
MM60 Materials List
MMBE Stock Overview
MR51 Material Line Items
Z_MMEBAN Requisition Status Report
Z_MMEKPO Open Purchase Orders (ALV)
Z_MMOPEN Open Purchase Orders
Z_PMEKPO Open purchase for PM
GR55 Execute Report Group
/ALG/GTK Easy Reporter
/ALG/PSA Easy Help Desk
/ALG/RESTK_EXTREP Process external report
/SPIN/EHD Easy Help Desk
/SPIN/ER Easy Reporter
FS10N Balance Display
FS10NA Display Balances
OKENN Display Standard Hierarchy
S_AHR_61016207 Posting to Accounting: Wage Type
S_AHR_61016356 Time spent in pay scale group/level
S_AHR_61016358 Reference Personnel Numbers
S_AHR_61016360 HR Master Data Sheet
S_AHR_61016362 Flexible Employee Data
S_AHR_61016369 Employee List
S_AHR_61016373 Headcount Development
S_AHR_61016374 Nationalities
S_AHR_61016376 Salary According to Seniority
S_AHR_61016378 Assignment to Wage Level
S_AHR_61016491 Existing Organizational Units
S_AHR_61016493 Organizational Structure
S_AHR_61016494 Org. Structure with Positions
S_AHR_61016495 Org. Structure with Persons
S_AHR_61016497 Existing Jobs
S_AHR_61016498 Job index
S_AHR_61016499 Job Description
S_AHR_61016500 Task Description for Jobs
S_AHR_61016501 Complete job description
S_AHR_61016502 Existing Positions
S_AHR_61016503 Staff assignments
S_AHR_61016504 Position Description
S_AHR_61016505 Task Description for Positions
S_AHR_61016509 Vacant/Obsolete Positions
S_AHR_61016511 Complete Position Description
S_AHR_61016512 Report Structure Without Persons
S_AHR_61016513 Report Structure with Persons
S_AHR_61016522 Existing Tasks
S_AHR_61016523 Activity Profile for Positions Along
S_AHR_61016524 Activity Profile of Positions with P
S_AHR_61016527 Existing Objects
S_AHR_61016528 Structure Display/Maintenance
S_AHR_61016529 Structure Navigation Instrument
S_AHR_61018869 Periods of unoccupied positions
S_ALN_01000003 Annual Budget Vs. Commit./Actual Lin
S_ALN_01000079 Master Data Index for Grant
S_ALN_01000159 Master Data Index for Sponsored Prog
S_ALN_01000160 Master Data Index for Sponsored Clas
S_ALN_01000161 Master Data Index for Grant Sponsors
S_ALR_87012077 Vendor Information System
S_ALR_87012078 Due Date Analysis for Open Items
S_ALR_87012079 Transaction Figures: Account Balance
S_ALR_87012082 Vendor Balances in Local Currency
S_ALR_87012083 List of Vendor Open Items
S_ALR_87012084 Open Items: Vendor Due Date Forecast
S_ALR_87012085 Vendor Payment History
S_ALR_87012086 Vendor List
S_ALR_87012087 F1
S_ALR_87012089 Display Changes to Vendors
S_ALR_87012093 Vendor Business
S_ALR_87012103 List of Vendor Line Items
S_ALR_87012104 List Of Cleared Vendor Items
S_ALR_87012174 List of Customer Open Items
S_ALR_87012282 General Ledger Line Items
S_ALR_87012284 Balance Sheet/P+L Statement
S_ALR_87012301 G/L Account Balances
S_ALR_87012326 Chart of Accounts
S_ALR_87012328 G/L Account List
S_ALR_87012993 Orders: Actual/plan/variance
S_ALR_87012994 Orders: Current Period/Cumulative
S_ALR_87012995 List: Orders
S_ALR_87012996 List: Orders by Cost Element
S_ALR_87012997 List: Cost Elements by Order
S_ALR_87013611 Cost Centers: Actual/Plan/Variance
S_ALR_87013612 Area: Cost Centers
S_ALR_87013613 Range: Cost Elements
S_ALR_87013620 Cost Centers: Act./Plan/Commitments
S_KI4_38000038 Index of Funds Centers
S_KI4_38000039 Index of Funds Centers
S_L9C_94000095 Headcount Changes
S_P00_07000329 Financial Statements
S_P99_41000147 RFFMRE10
S_PH0_48000450 Date Monitoring
S_PH0_48000510 Ad Hoc Query
S_PH9_46000216 Service Anniversaries
S_PH9_46000217 Statistic: Gender by Service Age
S_PH9_46000218 Statistics: Gender Sorted By Age
S_PH9_46000221 Birthday List
S_PH9_46000222 Family Members
S_PH9_46000223 EEs Who Entered And/Or Left Company
S_PH9_46000224 Education and Training
S_PLN_16000269 Grants Management: Line Item Display
SQ00 SAP Query: Start queries
ZAP_NONPOFEED Non-PO Data Feed Report
ZCM_CEN_IFACE_REP Central CM Interface Reporting
ZFI_ANALYSIS Financial Analysis Report
ZFI_SPL_DETAIL Special Ledger Detail report
ZGL_JVFEED Journal Voucher Feed
ZGL_TRBR_BA G/L Trial Balance-Bus. Area
ZGL_TRBR_FA G/L Trial Balance-Funct. Area
ZGL_TRBR_FUND G/L Trial Balance
ZGL_TRBR1_BA GL Trial Balance by BA - all GLs
ZGL_TRBR1_CUM Endowment and loan fund
ZGL_TRBR1_FA GL Trial Balance by FA - all GLS
ZGL_TRBR1_FUND GL Trial Balance by Fund - all GLs
ZMM_APPROVED Worklfow Approver Display List
ZMM_BA_RPT Business Analysis Report
ZMM_BSI_RPT Blocked Subaward Invoices
ZMM_CDM04M List CDM
ZMM_MAT_CON_RPT Material Contract Report
ZMM_MATDESC Material description
ZMM_MATDOC UK Store MSEG download
ZMM_MATLIST Material List
ZMM_MB51 UK Material Document List
ZMM_OPENPO Under received PO List
ZMM_PLANT_USAGE Plant Level Consumption Report
ZMM_PO_REPORT Purchase Order Report
ZMM_PO_TEXT_RPT PO Item Text Report
ZMM_PROCARD_DISP Display PROCARD Information
ZMM_PROCARD_SEARCH Look up Procard by P number
ZMM_SUBAWARD_INV_HIS Subaward Invoice History Report
ZMM_UNPLANNED_FRT Unplanned Freight Costs report
ZMM_VNDLIST Vendor list
ZCM_CPLOOKUP CP Look up
ZCM_DROPSTUDENTS Drop Students by Module/Section/...
ZCM_EMAILSTUDENTS Email selected enrolled Students
ZCM_MOVESTUDENT Move Students to other Sections
ZCM_QUAL_REPORT Graduation Applications Report
ZCM_REPORTS Cm Student Reports
ZCM_UNOFFICIAL_TRANS Mass Print for Unofficial Transcript
ZCOSOBJ Employees cost distribution objects
ZEVPLAN Event Planning
ZEVPLAN_CUST ZEVPLAN Customizing
ZEVPLAN_NEW Event Planning (new)
ZSU01D User Name Display
FBL1 Vendor Line Items
FBL1N Vendor Line Items
FK10N Vendor Balance Display
MK03 Display vendor (Purchasing)
XK03 Display vendor (centrally)
IQS3 Display Notification - Extended View
IW23 Display PM Notification
IW33 Display PM Order
IW3M List of Goods Movements for Order
Group
Budgeting
Budgeting
Budgeting
Budgeting
Customer Information
Customer Information
Customer Information
Customer Information
Customer Information
Customer Information
Document Entry
Document Information
Document Information
Document Information
Document Information
Document Information
Document Information
Document Information
Document Information
Document Information
Document Information
Document Entry
Document Information
Document Information
Document Information
Document Information
DOE
FES
FES
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Grants
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Master Data Information
Open Text
Open Text
Open Text
Open Text
Payment Document Information
Payment Document Information
Payment Document Information
Payment Document Information
Payment Document Information
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Payroll
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Purchasing Documents
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Reports
Student Information
Student Information
Student Information
Student Information
Student Information
Student Information
Student Information
Student Information
Student Information
Student Information
Student Information
User Name Display
Vendor Information
Vendor Information
Vendor Information
Vendor Information
Vendor Information
Work Orders
Work Orders
Work Orders
Work Orders
Examples
https://agabap.blogspot.com/2018/06/abap-75-syntax-for-statement-example-1.html
https://www.erpworkbench.com/abap/tips_select.htm
https://www.erpworkbench.com/abap/tipshome.htm
https://www.saptechpro.com/post/abap_docu_tree
https://www.sapnuts.com/area/Advanced-ABAP.html
https://edoc.site/16-open-sql-statements-in-sap-abap-pdf-free.html
Topics Book Name
Overall introduction to ERP Complete ABAP-2016
Introduction SAP R/3 architecture, Introduction to SAP ABAP/4
ABAP/4 editor (Focus on the functionalities of new ABAP editor)
Data types
Output statements
Writing small programs
Arithmetic operations
String operations
Control statements
Parameters
Open SQL –statements (insert, modify, delete, update).
Simple reporting
Selection screens
Transaction code creation
Data Dictionary
oTables
oData element
oDomain
oStructures
oSearch helps
oViews
oType Groups
oTable maintenance generator and T-code creation
oPrimary and foreign keys.
oCheck and value tables.
REPORTING
Debugging techniques.
oBreakpoint creation.
oWatch point creation.
oEmphasize on the usage of New Debugger.
Internal tables.
oDeclaration
oProcessing.
oPopulation.
Control Break Statements.
Modularization techniques.
oIncludes.
oSubroutines.
oFunction modules.
oMacros
Variants.
Conversion exits.
For all entries and joins (inner and left outer).
Message class creation & message types and handling messages.
Events for classical reports.
Events for interactive reports.
Hide and hotspot.
Creating and handling buttons.
Menu painter.
ALV
Introduction.
Types of ALV
Simple report to display simple ALV List using Function Modules
Simple report to display simple ALV grid using Function Modules.
Interactive ALV Reports.
Adding new buttons in the ALV toolbar and handling events.
Working with ALV using classes (List, Grid and Tree).
Usage of latest class library in ECC 6.0 for ALV.
SAP Scripts
Introduction.
Layout Sets.
SAP Script Elements.
Modifying standard layout sets (by using subroutines).
Uploading logo.
SMARTFORMS
Working with smart forms.
Standard Texts.
Graphics management.
Writing print program and designing layouts.
CROSS APPLICATION
Introduction to CA.
RFC destination.
Working with RFC function modules.
IDOCS
Concepts of IDOCS.
Structure of IDOCS and Types.
Creation of segments
Creation of IDOCS.
oBasic.
oExtension.
Creation of message types.
Monitoring tools of IDOC interface.
oStatistics.
oDisplay IDOCS.
oIDOCS list.
ALE
Defining logical systems used for ALE interfaces.
Outbound / Inbound processing.
Transferring of master data from one system to another system.
Distribution modal view.
IDOC filtering.
Segment filtering using filter objects.
Reduced IDOC.
Outbound using change pointers methods.
BAPI and Business Objects(OVER VIEW)
Introduction to BAPI
Overview of Business Objects.
Step By Step Approach followed to create BAPI.
BADI AAND RFC CONNECTIVITY ( Sample Example)
ENHANCEMENTS
Introduction to enhancements.
Different Ways of doing Enhancements.
Types of User Exits.
Field Exits
Page No Site Status
1
2
3
4
5
6
7
8
9
10

11
12
13

14
15
16
17
18
19
20
21
22
23

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Introduction to ERP
Introduction to SAP R/3
SAP R/3 Services
Introduction to ABAP/4 & ABAP Work Bench Tools
ABAP Data types
ABAP Programming Structures
Steps to Write & Create SAP Program
Tips for Writing a Program in Real Time
Internal Table & difference between database table & internal table
Reading Data from Body to Work Area (or) Header Line
(1. LOOP….ENDLOOP, 2. READ)
Selection Screen (1. Select-options, 2. Ranges, 3. Parameters )
Other SELECT-OPTIONS keywords (1. Obligatory, 2. No Intervals, 3. No-Extension, 4. No-Display)
Other Important Keywords for Internal Table
(1. Append, 2. Sort, 3. Delete Adjacent Duplicates, 4. Collect 5. Modify )
6. Deleting Data from Internal Table by (1. Fresh, 2. Refresh, 3. Clear, 4. Delete )
7. Describe Keyword
8. Coping data b/w work areas (1. Move, 2. Move-Correspondig)
9. Coping data b/w internal tables (1. Loop…….Endloop, 2. Append Lines)
Control Break Statements (1. At First, 2. At Last, 3. At New, 4. At Change, 5. At End )
Insert keyword & Syntaxes for Internal Tables
System Fields for Internal Table
DML Operations on Database Table (insert, update, delete, modify keywords)
Types of Internal Tables
Data Dictionary (9 objects)
1. Database Table
2. Structure (.include & Append Structure)
3. View(Database view, Projection view)
4. Search Help (Elementary search help, Collective search help)
Table Maintenance Generator (TMG) (TCode, Default values, Check boxes)
Text Table
Some Important Steps for Working with Standard Tables
Types of Tables (Transparent, Cluster, Pooled Tables)
Open SQL Statements & Native SQL Statements
Buffering (Single Record, Generic, Full Buffering)
MODULES(1. MM Module)
Inner Joins
Table Fields & Links (1. LFA1, 2. EKKO, 3. EKPO)
Message Handling Modularization Techniques
(5) 1. Subroutines (Internal Subroutine, External Subroutine)
Break Point (1. Static Break Point 2. Dynamic Break Point)
Pass by Value & Pass by Reference
Table Fields & Links (1. MKPF, 2. MSEG)
Function Module (1. Normal, 2. Remote Enabled, 3. ALv)
Include Program
Field Symbol
FOR ALL ENTRIES
Table Fields & Links (1. MARA, 2. MAKT, 3. TSPAT)
2. SD Module
String Operations (shift, translate, replace, strlen, offset functionality, split, concatenate, condense)
Looping Statements (1. Conditional, 2. Unconditional)
CONTINUE, CHECK, EXIT keywords
Mathematical Operations (1. Frac, 2. Ceil 3. Floor, 4. Abs, 5. Rem, 6. Mod, 7. Sign, 8. Trunc, 9. Div )
SAP Memory & ABAP Memory
Support Project
System Landscape
Version Management
Sub Objects in ABAP Editor (1. Source Code, 2. Variants, 3. Attributes, 4. Documentation, 5. Text Elements)
Interview Questions ABAP Editor
Interview Questions Internal Tables
Interview Questions Data Dictionary
LFA1 Table
EKKO Table
EKPO Table
MKPF Table
MSEG Table
MARA Table
MAKT & TSPAT Tables

ERP
ERP: Enterprise Resource Planning
ERP is a package under which all the business resources are integrated in one system
Enterprise-------organization
Resource--------FICO, HR, MM, PP, SD, CRM
Types of ERP: 1. High End ERP 2. Mid Range ERP
1. High End ERP: These ERPs are implemented in large scale industries
In these ERPs all the tables, programs & applications are predefined
Example:
1. SAP R/3 (60000+ applications, 400000+ tables, 55+ modules)
2. Oracle Apps (for Finance)
2.1. Oracle Finance
2.2. Oracle Manufactures
2.3. Oracle HRMS
3. SIEBEL (for CRM)
4. People Soft (for HR)

2. Mid Range ERP:


These ERPs are implemented in small scale & medium scale industries
Example:
1. Baan (for Finance)
2. JD Ed Wards (for logistics)
3. Ramco (for Cement)
4. Microsoft ERP (for Finance)
Need for ERP:
1. Large Organization
2. Centralized Database
3. User Friendly
4. Speed
5. Security
6. Competitive Advantage
7. Reduced Errors

SAP R/3 Architecture:


SAP R/3:
Systems, Applications, Products in data processing
R/3------ Real time 3 tier architecture
History:
SAP AG---- developed by 5 IBM employees in 1973----in woldoff (Germany)
SAP R/1(Finance)------1973
SAP R/2 (Mainframes)------1978
SAP R/3 (Client Server Technology)----1992
Systems:
These are basic resources for implementing a project
Examples: Servers, Hardware, Soft ware, Systems, Network, Database………etc

BASIS Consultant:
Roles:
1. Installation
2. Maintenance
3. Configuration
4. Customization (or) Administration
Applications:
These are collection of Screens
Each Screen is a collection of Fields
Use---Applications are used by Clients (or) End Users
Create---Applications are created by Abapars (or) Technical Consultant (or) ABAP Consultant
Customized Data----Applications data customized by Functional Consultant

Functional Consultant:
Roles:
1. Customization of Data
2. Getting requirements from Clients
3. Preparing Functional Documents
4. Preparing End User Manuals (or) Snapshots
5. Providing end user Training

Products:
These are called Objects
These are created by Programming

ABAP Consultant (or) Abapare (or) Technical Consultant:


Roles:
1. Creates Technical Documents (brief logic)
2. Creates an Object from scratch implementation project
3. Modifies existing objects to support project

14/0
Features of SAP:
1. Designed based on RDBMS
2. Designed based on R/3 Architecture
3. Database independent
4. Supports all types of industry specific solutions
5. International package available in 40 languages
6. It can be customized using ABAP language
7. Best ERP for FI, SD, MM, PP, HR, CR
8. Supports Client-Server Technology
9. Highly versatile (Operating System independent)
10.Supports web based application softwares

SAP R/3 Architecture:


Services in R/3 Architecture:
1. Dialog Service:
It provides interface between Presentation Server & Application Server
2. Update Service:
It provides interface between Application Server & Database Server
3. Spool Service:
It provides interface between SAP R/3 & External Systems (Printers, Fax….etc)
4. Background Service:
It is for background scheduling Note: In real time once report is created, then it is scheduled in background by BASIS Consulta
5. En-queue Service:
It maintains data integrity (locking mechanism) in SAP
6. Message Service:
It is for Error & Exception handling
7. Gateway Service:
It is for distributed environment
Note: The above 7 services are part of Application Server
8. SAP GUI Front End Service:
It handles all SAP GUI Operations in SAP Presentation Server
9. Database Service:
It Maintains & Manages data operations in Database Server
Versions in SAP:
Version Year
1.0 & 1.1 1991
2.0 & 2.1 1991
3.0 & 3.1 1992
4.0 1998
4.6A, 4.6B, 4.6C 2000
4.7EE 2003
ECC 5.0 2005 (ECC----Enterprise Core Component)
ECC 6.0 2006 (Present Working) BI/BO 2008 (Business Independent)
CRM, SCM, PLM 2009 (Customer Relationship Management, Product Lifecycle Management)

Soft wares in SAP:


1. Production Software
2. IDES Software (or) Training Software
1. Production Software:
It is Real time
Every company should purchase this software from SAP
Here you will find only live data
Clients (End Users) are works with Production Software
2. IDES Software:
International Demonstration & Education System Software
It is also known as Training Software
Here you can find data for practice & examples for practice

ABAP/4
Advanced Business Application Programming 4th Generation Language
All SAP applications are designed & developed using ABAP Language
It is a high level language

Features of ABAP:
1. It was designed based on ‘C’ language
2. It is a platform independent language
3. It is a case insensitive language
4. It is database independent
5. It is truly business oriented language
6. It is rich in data types
7. It was designed based on Object Oriented Programming
8. It is an event driven programming language
9. It is highly user friendly
10.It supports web based applications also

ABAP Work Bench:


In real time as a Technical Consultant have to work with ABAP Work Bench tools
ABAP Work Bench Tools:
1. ABAP Dictionary:
It works with Transaction Code (OR) T Code SE11 (System Engineering)
Here we can create & store Tables (or) Data
2. ABAP Editor:
It works with Transaction Code (OR) T Code SE38 (System Engineering)
Here we can create & execute Programs
3. Screen Painter:
It works with Transaction Code (OR) T Code SE51 (System Engineering)
Here we can design Applications (OR) Screens
4. Class Builder:
It works with Transaction Code (OR) T Code SE24 (System Engineering)
It is for Object Oriented ABAP
5. Function Builder:
It works with Transaction Code (OR) T Code SE37 (System Engineering)
Here we can work with Function Modules
6. Object Navigator:
It works with Transaction Code (OR) T Code SE80 (System Engineering)
Here we can create & modify the Objects & store the Objects
Note: In Object Navigator you can develop all Objects in SAP
It is also known as a True ABAP Development Work Bench Requirements for Installing SAP:
1. 4GB RAM
2. 500GB Hard Disk
3. Core 2 Duo Processor

ABAP Programming
ABAP Data Types:
ABAP data types are classified into 4 categories They are: 1. Numeric 2. Character 3. String 4. Hexadecimal
1. Numeric:
These are classified into 3 categories
They are: i) Integer (I) ii) bPacked Decimal (P) iii) Floating point (F)
i) Integer (I):
It holds integer values Ex: 102, 55, 74, …..
ii) Packed Decimal (P):
It returns accurate values with decimal values
It provides accuracy in ABAP programming Ex: 102.55, 56.235, …..
iii) Floating Point (F):
It improves performance in ABAP programming by rounding of the value to nearest decimal Ex: 22.63-----23, 58.232-----58
2. Character:
These are classified into 3 categories:
They are: i) Character (C) ii) Date (D) iii) Time (T)
i) Character (C): It holds character value provided in ‘ ’ (single quotes)

Note: In ABAP programming the default data type is Character ii) Date:  Use Date data type to store date values  The default

Rohini kumar

SAP-ABAP

Programming Structures: These are 2 types They are: 1. Pre defined Programming Structure 2. User defined Programming Struc

SAP-ABAP
Note-5:  : is known as Chain Operator  It provides the repetition of the Declarative Part Requirement: Transfer Customer Mast

Presentation Server

satya Hyderabad

m 100 satya Hyderabad 200 ram Delhi 300 raj Bangalore

Application Server

kunnr 100 200 300

KNA1 name1 ORT01 satya Hyderabad ram Delhi raj Bangalore

Database Server Virtual Page

Rohini kumar

SAP-ABAP

20-08-2014 Steps to write & execute SAP program:  Double click on SAP Logon on Desktop  You will find a Logon Pad  Dou

SAP-ABAP

All Executable Objects are Report Programs Note-4: On top of the program in Comment Section you should provide 1. Technical

Comment Section

* provide Work Area --------- comment line DATA: BEGIN OF WA_KNA1, CUSTOMER(10) TYPE C, NAME(20) TYPE C, CITY(20)

SAP-ABAP

 Select Ctrl+F3 (or) Candle Icon to activate. You will find an Inactive Objects pop-up then press Enter  With activation Objects
Select Debugging button (shift+F5) By default you will find New Debugger Screen Select Debugger--switch to Classical Debugg

New Debugger:  Currently in real time we are working with only New Debugger  It is providing additional features compare to

Rohini kumar

SAP-ABAP

Tips for Writing a Program in Real Time: 1. Always start a program with Y (or) Z followed by Module name Ex-1: MM module ZMM

Rohini kumar

SAP-ABAP

INTERNAL TABLES 2. Internal Table:  Internal table is a temporary table created in RAM in Application Server  It is created &

SAP-ABAP

Note: 1. With above syntax an Internal table it_kna1 is crated in Application Server 2. You can provide any name. But in real time

Rohini kumar

SAP-ABAP

22-08-2014 Reading Data from Body to Work Area (or) Header Line: 1. LOOP ……….. ENDLOOP 2. READ keywords 1. LOOP …

REPORT ZSD_LOOPENDLOOP. * provide internal table DATA: BEGIN OF it_kna1 OCCURS 0, customer(20) TYPE C, name(20

Rohini kumar

SAP-ABAP

LOOP AT WRITE:/10 30 60 ENDLOOP.


it_kna1 INTO it_kna1. it_kna1-customer, it_kna1-name, it_kna1-city.

Note; Activate the program then select F8 to execute the program      

Debugging: Internal Table Go to SE38 Program: ______ which you want to debug Select Debugging button Select Tables tab (sta

Note: You will find a Cap symbol which indicates Header Line (holds only single record) Select F5 for single step debugging Note

Rohini kumar

SAP-ABAP

Pg)

REPORT ZSD_ INTERNAL_WORKAREA. * provide internal table & work area TYPES: BEGIN OF ty_kna1, customer (20) TYPE

Note: 1. Using TABLE OF you can create your own body 2. Using TYPES keyword Structures are created in ABAP programming

Rohini kumar

SAP-ABAP

23-08-2014 2. READ: It reads a single record from Body to Header Line (or) Work Area Syntax: READ TABLE it[INTO wa] [INDEX

Rohini kumar

SAP-ABAP

SELECTION-SCREEN: Using Selection Screen you can create a selection screen based on given requirement (Input Values, Radio

100 100

TO
With above syntax system will create an implicit Internal Table with following fields Low High Sign Option 100 200 I (including)

SELECT kunnr name1 ort01 FROM kna1 INTO TABLE it_kna1 WHERE kunnr IN s_kunnr.
* Appling processing logic
LOOP AT it_kna1 INTO wa_kna1.
WRITE:/10 wa_kna1-customer, 30 wa_kna1-name, 60 wa_kna1-city.
ENDLOOP.
Text Elements: Using text elements (text-000 to text-009) you can provide field labels in selection screen
Double click on Text-000
You will find a pop-up Yes
Provide Text: Enter Customer Code
Select Selection Texts tab
Provide Text: Customer Code
Activate the screen (Ctrl+F3)
Go to back (F3)
Note: Using Tables work area system will create a Work Area with all the fields of kna1 table.
In programming it is mandatory to declare for declaring select-options Syntax for Creating Block:
SELECTION-SCREEN: BEGIN OF BLOCK FRAME TITLE
ultants, they will set time & event related to it
ault SAP format for date is YYYYMMDD iii) Time:  Use Time data type to store time values  The default SAP format for time is HHMMSS 3.

Structure Pre defined Programming Structure:  It is given by SAP  It contains Tables, Structures, Type groups,……….etc User defined Prog
Master Data from Database Server to Application Server & from Application Server to Presentation Server Solution: Select kunnr name1 ORT0

Double click on Development (121.241.50.175)  Provide Client: 800 (only for practice purpose) User: user1 to user10 Password: Rgsabap 

nical Consultant name 2. Functional Consultant name 3. Objective of the program 4. Transport Request number 5. Date of Creation (or) Chang

Y(20) TYPE C, END OF WA_KNA1. * provide execution logic SELECT KUNNR NAME1 ORT01 FROM KNA1 INTO WA_KNA1. * creating virtu

ects are ultimately stored in Database Server  With activation Objects can be integrated with each other in SAP  Select F8 to execute a pro
bugger Under Field Names: type wa_kna1-customer, wa_kna1-name, wa_kna1-city & press Enter Select F5 for single step debugging Select

e to Old Debugger Working:  Provide Program:_______ name  Select Debugging button  Select Desktop1 tab  Under Variable: type wa

ZMM_Material_Details Ex-2: SD module ZSD_Sales_Register Ex-3: HR module ZHR_Employee_Details 2. Provide Apt Title for a program 3.

ed & filled with data during run time (execution time)  Once execution is performed it is rolled out (or) discarded Note: Use Internal table for s

time Internal table should always begins with it_ (or) i_ followed by table name 3. With BEGIN option Header Line is created & OCCURS optio

OP ……… ENDLOOP: It reads multiple records (record by record) from Body to Header Line (or) Work Area Syntax: LOOP AT it[INTO wa] [FR

e(20) TYPE C, city(20) TYPE C, END OF it_kna1. * provide extraction logic SELECT kunnr name1 ort01 FROM kna1 INTO TABLE it_kna1. * A
b (starting from 6th option) Table: it_kna1 & press Enter

Note: 1. Table keyword will transfer the data directly to Internal Table to Body 2. Always use Table keyword in select statement if you are worki

YPE C, name(20) TYPE C, city(20) TYPE C, END OF ty_kna1. DATA: wa_kna1 TYPE ty_kna1, it_kna1 TYPE TABLE OF ty_kna1. * provide ex

ming 3. In ABAP programming always create Objet (Work Area & Body) based on Structures 4. Avoid creating Internal Table with OCCURS cla

NDEX n][WITH KEY keyexpression] [TRANSPORTING fieldname] [Binary Serach]  READ TABLE it: Reads a single record from Body to Hea

Radio Buttons, Check Boxes…………..) Input Values: 1. You can create with ------ Select-Options 2. You can create with ------ Parameters 3. You
ding) BT (between) Note: The default comparison operator for select-options in ‘IN’ Pg) * provide tables work area TABLES kna1. * provide s
mat for time is HHMMSS 3. String (String): A group of characters combined to form a String 4. Hexadecimal (HX): It is for SAP graphics manage

…….etc User defined Programming Structure: These are 2 types 1. Work Area 2. Internal Table 1. Work Area:  Work Area is a Structure (grou
Select kunnr name1 ORT01 from KNA1 into wa_KNA1. ----- Data transfer from Database Server to Application Server (Work Area) Write:/10 w

er10 Password: Rgsabap  You will find SAP Easy Access screen (Screen 0)  On top of the screen you will find cursor blinking at Command

Date of Creation (or) Change  Writing Program: Report ZSD_Customer_Report -----------title of program Technical Consultant: Satya Function

WA_KNA1. * creating virtual page & printing WRITE:/10 WA_KNA1-CUSTOMER, 30 WA_KNA1-NAME, 60 WA_KNA1-CITY. * repeating SELE

Select F8 to execute a program 21-08-2014 Debugging:- Work Area  Using debugging you can check (OR) test internal execution of a progr
gle step debugging Select Display List option (ctrl+F12) to view Virtual page details. Select F3 again to switch from Virtual page view to Debug

 Under Variable: type wa_kna1-customer, wa_kna1-name, wa_kna1-city & press Enter  Select F5 for single step debugging

Apt Title for a program 3. In real time always save the Object in a Package. But for practicing save Object in Local Object 4. Provide Commen

te: Use Internal table for storing multiple records during run time Difference between Database table & Internal table: Database Table Internal

created & OCCURS option Body is created 4. 0, 1, 2, 3, …..9 is called Size Category 5. Both Header Line & Body name is same (it_kna1) Flo

LOOP AT it[INTO wa] [FROM m][TO n] [where codition]. ………… ………… ENDLOOP.  LOOP AT it: Reads multiple records (record by reco

1 INTO TABLE it_kna1. * Appling processing logic


statement if you are working with Internal Tables 3. As long as you are in loop system will read next record in-line in an Internal Table. Once th

E OF ty_kna1. * provide extraction logic SELECT kunnr name1 ort01 FROM kna1 INTO TABLE it_kna1. * Appling processing logic LOOP AT it

al Table with OCCURS clause  LOOP AT it INTO wa FROM m TO n: Reads multiple records from Body to Work Area based on given conditio

e record from Body to Header Line Ex: READ TABLE it INTO it.  READ TABLE it INTO wa INDEX n: It reads a specific record (Line Number)

th ------ Parameters 3. You can create with ------ Ranges 1. SELECT-OPTIONS: Using select-options you can create a selection screen with ran
a TABLES kna1. * provide selection screen SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-009 SELECT-OPTIONS: s_kunnr
for SAP graphics management Note: QUAN, CURR, NUME are SAP provided business data types for storing Quantities, Currencies & other

k Area is a Structure (group of fields with different data types)  It holds only one single record during run time Syntax: Chain Operator Name
er (Work Area) Write:/10 wa_KNA1-Customer, 30 wa_KNA1-Name, data transfer from Work Area to Virtual Page then 60 wa_KNA1-City. Prese

rsor blinking at Command Prompt (or) Command Field. Here you should type Transaction Codes (T Codes) in real time  Next to Command P

onsultant: Satya Function Consultant: Raja Objective: To display details of the Customer Transport Request Number: Not available because w

A1-CITY. * repeating SELECT statement ENDSELECT. Note: Once program is created 1. Check it for errors by pressing Ctrl+F2 2. Save it for b

ernal execution of a program  It is an important tool for testing programs in real time Note: /H is T Code for debugging        
irtual page view to Debugger Select F7 (or) F8 to execute

Object 4. Provide Comments in a program wherever require 5. Try to write your program as Neat as possible 6. Try to write your program in Ca

: Database Table Internal Table 1. It is created in Database Server ------- 1. It is created in Application Server 2. It holds data permanently ------

ame is same (it_kna1) Flow of Data in Internal Table: 1. Database Table ---- Body--- Header Line-- Virtual Page --- Presentation Server

ple records (record by record) from Body to Header Line Note: Internally system converts LOOP AT it as LOOP AT it INTO it. Working:  Go to
an Internal Table. Once the loop is terminated again the loop starts reading from 1st line  LOOP AT it INTO wa: Reads multiple records (reco

ocessing logic LOOP AT it_kna1 INTO wa_kna1. WRITE:/10 wa_kna1-customer, 30 wa_kna1-name, 60 wa_kna1-city. ENDLOOP.

ea based on given condition Example: 1. LOOP AT it INTO wa FROM 100. 2. LOOP AT it INTO wa FROM TO 50. 3. LOOP AT it INTO wa FROM

ific record (Line Number) from Body to Work Area Ex: READ TABLE it INTO wa INDEX 5.  READ TABLE it INTO wa WITH KEY keyexpressio

selection screen with range of input values Syntax: SELECT-OPTIONS: s_kunnr for kna1-kunnr. With above syntax system will create a selecti
SELECT-OPTIONS: s_kunnr FOR kna1-kunnr. SELECTION-SCREEN: END OF BLOCK b1. * provide objects TYPES: BEGIN OF ty_kna1, customer(2
ntities, Currencies & other Numeric values Type Keyword: It specifies the type of data an Object (Variable) can hold Example: 1. Data ch type S

ax: Chain Operator Name of Work Area (any name) Data: Begin of wa_KNA1, { wa_table name (OR) w_table name is recommended } Custom
n 60 wa_KNA1-City. Presentation Server Endselect. ----------- it repeats the Select statement until records completed Work Area 100 satya Hyd

me  Next to Command Prompt you will find Standard Icons (Standard Application Tool Bar). Here you cannot add Customized Icons  Unde

r: Not available because we not saved package Date of Creation: 20-08-2014

ing Ctrl+F2 2. Save it for backup by pressing Ctrl+S 3. Activate it for to store in Database Server by pressing Ctrl+F3 Activation of a Program:

ing        
o write your program in Capital letters 7. Always select Pretty Printer (shift+F1) option after writing a program 8. Always Activate your program

ds data permanently ------- 2. It holds data temporarily 3. It holds only specific type of data ----- 3. It holds data of different tables of at one plac

--- Presentation Server 2. Database Table --- Body--- Presentation Server

NTO it. Working:  Go to SE38  Program: ZSD_LOOPENDLOOP  Select Create option  Title; Internal Table  Type: Executable Program
ads multiple records (record by record) from Body to Work Area Working:  Go to SE38  Program: ZSD_INTERNAL_WORKAREA  Select C

y. ENDLOOP.

LOOP AT it INTO wa FROM 100 TO 200.

a WITH KEY keyexpression: It reads a specific record which matches a given condition in Work Area Ex: READ TABLE it INTO wa WITH KEY

system will create a selection screen in the following manner S_kunnr


N OF ty_kna1, customer(20) TYPE C, name(20) TYPE C, city(20) TYPE C, END OF ty_kna1. DATA: wa_kna1 TYPE ty_kna1, It_kna1 TYPE TABLE
Example: 1. Data ch type String --------hi, hello, how are you,……… 2. Data cnt type I ------54, 1025, 748,……. 3. Data count type P values 2 --

s recommended } Customer(10) type C, Name(20) type C, City(20) type C, End of wa_KAN1. Period Symbol Field Name Note-1: With above
d Work Area 100 satya Hyderabad 200 ram Delhi 300 raj Bangalore

Customized Icons  Under Standard Application Tool Bar you will find Text Area. It specifies documentation of current application  Under Tex

3 Activation of a Program: Rohini kumar


ys Activate your program once it is created Note: Only activated programs can be debugged Only activated programs can be integrated in SA

erent tables of at one place Que: What is exact purpose of Internal table. Do you think should be created in ABAP programming? Ans: In real

Type: Executable Program  Select Save option  Leave Package:__________ blank  Select Local Object option Pg)
L_WORKAREA  Select Create option  Title: Internal Table & Work Area  Type: Executable Program  Select Save option  Leave Packa

BLE it INTO wa WITH KEY customer=wa1-customer  READ TABLE it INTO wa WITH KEY keyexpression TRANSPORTING ……….: Ex: READ
kna1, It_kna1 TYPE TABLE OF ty_kna1. * provide extraction logic Rohini kumar
a count type P values 2 -------145.22, 52.69,…… 4. Data chr(10) type C ------ ‘a’, ‘h’,……… Data Keyword:  Using Data keyword Objects are

Name Note-1: With above syntax during run time a Work Area wa_KNA1 is created in Application Server Note-2:  Work Area name can be an
nt application  Under Text Area you will find Customized Application Tool Bar when you can add your own icons apart from Standard ones  U
ms can be integrated in SAP Only activated programs can be transported between clients 9. Always Debug your program once it is created for

rogramming? Ans: In real time we are creating Internal table for storing different types of application data from different tables at one place Eve
ave option  Leave Package:__________ blank  Select Local Object option

ORTING ……….: Ex: READ TABLE it INTO wa WITH KEY customer=wa1-customer TRANSPORTING city (it will shows only city field) Binary Se
Data keyword Objects are defined in ABAP programming  Using Data keyword memory is allocated in buffer by system Note: Every Object (O

Work Area name can be any name  In companies we have to follow Naming (Coding) standards while creating a program  According to thes
art from Standard ones  Under Customize Application Tool Bar you will find Work Area where user performs his tasks (or) navigations  Type
ram once it is created for testing 10.Never delete section of a program always Comment it. For commenting select that section with mouse po

ent tables at one place Every Internal table is having 2 parts They are: 1. Internal Table Body 2. Header Line 1. Internal Table Body: The name
s only city field) Binary Search: It reads data from Body to Work Area based on binary search algorithm Note: 1. Use binary search if Interna
stem Note: Every Object (OR) Variable should be define using Data keyword

ogram  According to these standards Work Area should always begins with w_ (OR) wa_ followed by Table Name Note-3: Every Object (Wor
ks (or) navigations  Type SE38 in Command Prompt & press Enter  Type program ZSD_Customer_Report Note: SAP is providing standard
hat section with mouse pointer & press Ctrl+< similarly to document select the same section with mouse pointer & press Ctrl+> 11.For Searchi

nal Table Body: The name Internal table itself specifies body of Internal table & it holds multiple records 2. Header Line: It is a default Work Are
se binary search if Internal table is larze 2. Data should be sorted before Appling binary search algorithm 3. There should be no duplicate re
Note-3: Every Object (Work Area) should be define with Data keyword Note-4: Every Programming Structure should begins with Begin of & en
SAP is providing standard programs which starts with A,B,……………X. If you want to create ZPrograms (User Defined) start with Y (OR) Z 
ess Ctrl+> 11.For Searching a specific keyword (or) ABAP statement select Find option in Standard Tool Bar then provide fine & press Enter 1

ne: It is a default Work Area & holds single record Note: Header Line is system defined Work Area & Work Area is user defined Header Line Sy
should be no duplicate records in Internal Table 4. Binary search algorithm improves performance of programming
begins with Begin of & ends with End of followed by the Programming Structure name Rohini kumar
ned) start with Y (OR) Z  Click on Create button  Provide Title: Customer Details Report  Provide Type: Executable Program Note: With Ex
ovide fine & press Enter 12.For Replacing ABAP keywords (or) statements select Ctrl+F you will find a pop-up Find What: KNA1 select Replac

er defined Header Line Syntax: DATA: BEGIN OF it_kna1 OCCURS 0, customer(20) TYPE C, name(20) TYPE C, city(20) TYPE C, END OF it
ble Program Note: With Executable Program system will generate SAPGUI.EXE file  Then press Enter you will find a pop-up here leave Pack
What: KNA1 select Replace button provide Replace With: LFA1 select Replace All 13.To open new application by closing existing one type /NT

ty(20) TYPE C, END OF it_kna1. Rohini kumar


a pop-up here leave Package:___________ as blank  Click on Local Object button Note-1: In real time Objects needs to be transported from
osing existing one type /NTCode Ex: /NSE38 14.To open sessions simultaneously type /OTCode Ex: /OSE11 in Command prompt Note: In SA
eeds to be transported from Development client to Testing client & from Testing client to Production client. For that Objects should always be s
mand prompt Note: In SAP you can open maximum 6 sessions simultaneously 15.To logoff SAP type /NEX in Command prompt
bjects should always be saved in a package. If an Object is saved in Local Object it cannot be transported between clients (Non Transportable
mand prompt
clients (Non Transportable Objects) Note-2: Local Object is meant for practicing Objects in real time Note-3: Rohini kumar
With above syntax system will create an implicit Internal Table with following fields Low High Sign Option 100 200 I (including)
Note: The default comparison operator for select-options in ‘IN’ Pg)
* provide tables work area TABLES kna1.
* provide selection screen
SELECTION-SCREEN:
BEGIN OF BLOCK b1 WITH FRAME
TITLE TEXT-009
SELECT-OPTIONS: s_kunnr FOR kna1-kunnr.
SELECTION-SCREEN: END OF BLOCK b1.
* provide objects TYPES:
BEGIN OF ty_kna1, customer(20) TYPE C, name(20) TYPE C, city(20) TYPE C, END OF ty_kna1.
DATA: wa_kna1 TYPE ty_kna1, It_kna1 TYPE TABLE OF ty_kna1.
* provide extraction logic
ption 100 200 I (including) BT (between)

También podría gustarte