SlideShare a Scribd company logo
12
Most read
13
Most read
Structuring An SAP ABAP Report In
An Optimal Way
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Blackvard Management Consultants
www.blackvard.comCopyright © Blackvard Management Consulting – All rights reserved
Erin Lett is the Operations Manager for Blackvard
Management Consulting. She holds a Bachelor’s Degree
from Stetson University in Communications and has been
working in the SAP, eLearning, and Software Development
industries for the past 6 years.
For further information please visit:
www.blackvard.com
elett@blackvard.com
Copyright © Blackvard Management Consulting- All rights reserved www.blackvard.com
Your Host
Erin Lett
Blackvard Management Consultants
www.blackvard.comCopyright © Blackvard Management Consulting – All rights reserved
Short Bio:
Lukas M. Dietzsch is managing director at Blackvard
Management Consulting, LLC. He is holding a Master’s
degree in Information Technology and is an experienced IT
solution architect and project lead.
His strong background in adapting to requirements and
standards in different industries and on various platforms are
valuable assets for Blackvard customers.
He is repeatedly commended by customers for driving
efficient solutions for complex problems in globally
distributed team environments and meeting tough deadlines.
For further information please visit:
www.blackvard.com
Lukas M. Dietzsch
lukas@blackvard.com
Copyright © Blackvard Management Consulting- All rights reserved www.blackvard.com
Managing Director
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Course Agenda: ABAP 7.4 What’s new?
What Will Be Covered In This Course:
1. Lesson 1 - Overview & General Information
a) ABAP 7.4 – Source Code Samples
b) ABAP Reports
2. Lesson 2 - New ABAP Development Tools e.g. in Eclipse (ADT / CDS)
a) Object-Orientation / Model View Controller (MVC)
b) MVC Sample Report
3. Lesson 3 - New ABAP Syntax & Development
a) Syntax: New great syntax options
b) Compliance: Advance Online Documentation with ABAP 7.4
4. Lesson 4 - Using Persistence Classes
* Please contact us for additional course details
regarding lessons 2 – 4 & their schedules.*
* Please contact us for additional course details
regarding lessons 2 – 4 & their schedules.*
Source: Blackvard Slide 6Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
SAP Reports - Background
 Reports in SAP are used as a synonym for programs.
 Simple programming modules where a set of parameters are entered
 Program uses parameters to produce a report (interactive list)
 The term “report” can be misleading; reports can also be designed to modify
data.
 Called reports due to the “list-oriented” nature of output they produce
vs.
(SAP Report)
Source: Blackvard Slide 7Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
SAP Reports - Background
 Different types of programs:
 Executable Program, INCLUDE, Module Pool, Function Group, Subroutine, Interface, Class
Pool, Type Pool, XSLT Program
 Structure of an SAP report:
 1 declarations (e.g. data types, variables, constants, user interface, class definitions)
 2 processing blocks (e.g. procedures, dialog modules)
 3 calling processing blocks
Data Declaration Block
Processing Block
Event Blocks
Subroutines
Dialog Blocks
etc.
Source: Blackvard Slide 8Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
SAP Reports - Background
 An ordinary ABAP report can be implemented with an old fashioned
“Classical” top-down approach.
 Simple normal reports e.g. w/ only one output screen
 Does not contain any user interaction or sub reports
 Numerous lines of coding lead to user confusion
 “Spaghetti code” (e.g. thousands lines of code!)
 Hard to support Step 1
Step 2
Step 3
Step …n
Source: Blackvard Slide 9Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Object-oriented Reports
 Object-oriented Reports are an easier & more elegant approach.
 Focus on objects that represent abstract/concrete objects in real world
 Objects are first defined by character & then by their properties
 Represented by internal structure & attributes (data)
 Object behavior described by methods (functions)
 Form capsule combining characteristics
w/ behavior
 Users can map realistic problems
 Propose solutions on a one-to-one basis
 Advantages:
 Complex systems easier to understand; better
representation of reality w/ encapsulation
 Easy to overview single methods - less alterations at other system points
 Reuse individual components
 Less maintenance effort
Source: Blackvard Slide 10Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Model View Controller Reports
 Model View Controller (MVC) Reports – clear distinction between
processing control, data model & interface displayed data.
 Areas distinguished by three objects – Model, View & Controller
 Used in user interface programming field
 Enhancement of previous BSP implementation model
 Controller-based approach
 Ensures clear distinction between application logic &
presentation logic
 Structure & organize graphical interfaces into logical units
Model
View
Controller
Source: Blackvard Slide 11Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Model View Controller Reports
 Advantages of Model View Controller (MVC) Reports
 Simplified application structures (View separate from Controller & Model)
 Option to generate program-driven layout
 Easier element navigation; reduces network traffic
 Same work process; create objects easier & save memory
 Distribute user interface into components
 Few redirects; optimized performance
 Intuitive & easy-to-use for application development
Model
View
Controller
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
 The report itself consists of only three include objects.
 ZMY_REPORT_TOP (for TOP Include declarations)
 ZMY_REPORT_LCL (for local class definition &
implementation of the methods)
 ZMY_REPORT_RUN (starting the report)
 Methods from the local class:
 The function call: CALL_FUNCTION
 To start the program: RUN_PROGRAM
 To show the results: SHOW_RESULT
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Structuring An SAP ABAP Report In An Optimal Way
Source: Blackvard Slide 13Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
 Globally used variables & structures are externalized in a TOP-Include.
 implementation of the local class:
Structuring An SAP ABAP Report In An Optimal Way
ZMY_REPORT_TOP
ZMY_REPORT_LCL
Source: Blackvard Slide 14Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
 Calling the report requires only the execution of “Run program” of the local
class & e.g with an exception handling.
 Sample Live-Coding…
Structuring An SAP ABAP Report In An Optimal Way
ZMY_REPORT_RUN
Source: Blackvard Slide 15Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
 The functional part in the example report is about setting a value for the
char50 variable & printing it in the SHOW_RESULT method.
 In this place, you could call FUBAs or other methods
 In the print method, you could show some ALV lists, for example
Structuring An SAP ABAP Report In An Optimal Way
Source: Blackvard Slide 16Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
 Here you can see
the source code
of the local class:
Structuring An SAP ABAP Report In An Optimal Way
CLASS lcl_my_report DEFINITION.
PUBLIC SECTION.
CLASS-METHODS run_program EXCEPTIONS prog_err.
CLASS-METHODS call_function RETURNING VALUE(rv_name) TYPE char50.
CLASS-METHODS show_result IMPORTING lv_name TYPE char50.
ENDCLASS.
"! Local service class implementation
CLASS lcl_my_report IMPLEMENTATION.
METHOD run_program.
DATA: lv_name TYPE char50.
call_function( RECEIVING rv_name = lv_name ).
show_result( lv_name ).
ENDMETHOD.
METHOD call_function.
"! sample name
rv_name = 'Oskar Mazerath'.
ENDMETHOD.
METHOD show_result.
WRITE: / lv_name.
ENDMETHOD.
ENDCLASS.
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
Have Additional Questions?
Want To get trained?
Please Set Up A Consultation.
Email: info@blackvard.com
Require A Consultation?
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
 Technical project lead and ABAP architect responsible for quality in technical scope and budget in a global
roll-out of SAP Logistics applications (SAP LE / LO)
 Conducting multiple SAP ABAP and SAP HANA® trainings for various US companies
 Implementation of a standard SAP software solution for Spend Management within SAP AG & ARIBA (annual
spend volume 3 Bill. EUR) which can be used in all SAP systems
 Improved claims management using SAP FS-CM which is generating annual savings of 15 Mio € for a huge
German public healthcare organization
 Implemented a global solution for procurement processes at BMW AG using SAP SRM / B2B
 Blueprinting and implementation of SAP software for banking credit cancelations for VOLKSWAGEN
Key Achievements of Blackvard Management Consulting in Previous Projects
What We’ve Accomplished
Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
An overview of current and previous customers:
Customers That Recommend Blackvard

More Related Content

PPTX
SAP Persistence - Creating Source Code Automatically
PPTX
Predictive Analytics 3.1 – Adding a Dataset & Visualization
PDF
Become Jythonic in FDMEE (KSCOPE15)
PDF
Webinar: How to Make Hyperion Financial Reports Do What You Want Them To Do
PPT
Sap abap part1
PPTX
Sap abap
PPTX
What Would Happen If I...? FDMEE Edition
PDF
Smart View and Financial Reporting Training
SAP Persistence - Creating Source Code Automatically
Predictive Analytics 3.1 – Adding a Dataset & Visualization
Become Jythonic in FDMEE (KSCOPE15)
Webinar: How to Make Hyperion Financial Reports Do What You Want Them To Do
Sap abap part1
Sap abap
What Would Happen If I...? FDMEE Edition
Smart View and Financial Reporting Training

What's hot (20)

PPTX
Cycling Off FDM Classic on Steroids and Taking a Dose of FDMEE HGH
PDF
SAP BASIS Skills for Functional Consultants
PPTX
Sap architecture
PDF
FDMEE Scripting - Cloud and On-Premises - It Ain't Groovy, But It's My Bread ...
PPT
SAP BI Training in Chennai
DOC
1000 solved questions
PDF
DRM on Steroids
DOCX
BHARAT_PADMANABHA_SAP_ABAP_resume- Last updated
PPT
Essbase intro
PPT
Architecture overview
PDF
PDF
Sydney hyperion financial reporting top 10 tips and tricks 09-20-11
PDF
Analysis process designer (apd) part 1
PPT
Step by step lsmw tutorial
PPTX
Baan erp(ENTERPRISE RESOURCE PLANNING) PRESENTATION made by priyansh kesarwani
PDF
Introducing common information model in a distribution system operator company
PPTX
Introduction to Oracle Apps Technical
DOC
Omprakash_ABAP_Resume
PDF
Chap 10 le
PDF
Analysis process designer (apd) part 2
Cycling Off FDM Classic on Steroids and Taking a Dose of FDMEE HGH
SAP BASIS Skills for Functional Consultants
Sap architecture
FDMEE Scripting - Cloud and On-Premises - It Ain't Groovy, But It's My Bread ...
SAP BI Training in Chennai
1000 solved questions
DRM on Steroids
BHARAT_PADMANABHA_SAP_ABAP_resume- Last updated
Essbase intro
Architecture overview
Sydney hyperion financial reporting top 10 tips and tricks 09-20-11
Analysis process designer (apd) part 1
Step by step lsmw tutorial
Baan erp(ENTERPRISE RESOURCE PLANNING) PRESENTATION made by priyansh kesarwani
Introducing common information model in a distribution system operator company
Introduction to Oracle Apps Technical
Omprakash_ABAP_Resume
Chap 10 le
Analysis process designer (apd) part 2
Ad

Viewers also liked (16)

PPTX
Introduction to Design Thinking
PPTX
Introduction Into SAP Fiori
PDF
Abap reports
PPTX
Introduction To Big Data & Hadoop
PPTX
Scrum vs Kanban
PPTX
Consuming Data With HANA XS
PDF
Step by Step guide for creating first ABAP report in SAP
PDF
Exercise in alv
PPTX
Agile Software Development with Scrum – Introduction
DOCX
Sap abap report program
PDF
Sap abap online training
PPTX
Abap reports
PPTX
HANA XS Web Service
DOCX
Project Report on SAP
PPTX
How to Create "Hello, World!" in Fiori
PPTX
Reports
Introduction to Design Thinking
Introduction Into SAP Fiori
Abap reports
Introduction To Big Data & Hadoop
Scrum vs Kanban
Consuming Data With HANA XS
Step by Step guide for creating first ABAP report in SAP
Exercise in alv
Agile Software Development with Scrum – Introduction
Sap abap report program
Sap abap online training
Abap reports
HANA XS Web Service
Project Report on SAP
How to Create "Hello, World!" in Fiori
Reports
Ad

Similar to Structuring An ABAP Report In An Optimal Way (20)

PPTX
SAP Overview and Architecture
PDF
Technical Deep Dive for Transportation Management in SAP S/4HANA, S4TM6 Col14
DOCX
hirenrathod
PPTX
FRC Reporting Beginner Course
PPTX
Oracle Fusion Financial Report Centre Reporting Beginner course
DOCX
Raman O
PDF
MDG200 Col20 SAP Master Data Governance: Configuration and Customizing
PPT
Lecture01 abap on line
PPTX
Introduction to OData and SAP NetWeaver Gateway.pptx
PPTX
Introduction to SAP Gateway and OData
PDF
CA Project & Portfolio Management—Jaspersoft Studio for the Report Developer
DOCX
MS_SAP_ABAP_WDA_2016_Pict
PPTX
Smart Client Software Factory 2010
DOCX
shankarresumehacer
PDF
IBP900 Col06 SAP Cloud Platform Integration for SAP Integrated Business Planning
PPT
Pmo slides jun2010
PDF
SAP AC020 - Investment Management
PDF
Grc 300 Sap Sccess Control Implementation And Configuration Participant Handb...
PDF
Identity and Access Management with SAP Cloud Platform
PDF
Pega systems vs siebel CRM capabilities - A first look
SAP Overview and Architecture
Technical Deep Dive for Transportation Management in SAP S/4HANA, S4TM6 Col14
hirenrathod
FRC Reporting Beginner Course
Oracle Fusion Financial Report Centre Reporting Beginner course
Raman O
MDG200 Col20 SAP Master Data Governance: Configuration and Customizing
Lecture01 abap on line
Introduction to OData and SAP NetWeaver Gateway.pptx
Introduction to SAP Gateway and OData
CA Project & Portfolio Management—Jaspersoft Studio for the Report Developer
MS_SAP_ABAP_WDA_2016_Pict
Smart Client Software Factory 2010
shankarresumehacer
IBP900 Col06 SAP Cloud Platform Integration for SAP Integrated Business Planning
Pmo slides jun2010
SAP AC020 - Investment Management
Grc 300 Sap Sccess Control Implementation And Configuration Participant Handb...
Identity and Access Management with SAP Cloud Platform
Pega systems vs siebel CRM capabilities - A first look

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Cell Structure & Organelles in detailed.
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Computing-Curriculum for Schools in Ghana
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Basic Mud Logging Guide for educational purpose
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Pre independence Education in Inndia.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
01-Introduction-to-Information-Management.pdf
Cell Types and Its function , kingdom of life
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Renaissance Architecture: A Journey from Faith to Humanism
Cell Structure & Organelles in detailed.
O5-L3 Freight Transport Ops (International) V1.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Computing-Curriculum for Schools in Ghana
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Basic Mud Logging Guide for educational purpose
Insiders guide to clinical Medicine.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pre independence Education in Inndia.pdf
Pharma ospi slides which help in ospi learning
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Institutional Correction lecture only . . .
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Microbial diseases, their pathogenesis and prophylaxis
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
01-Introduction-to-Information-Management.pdf

Structuring An ABAP Report In An Optimal Way

  • 1. Structuring An SAP ABAP Report In An Optimal Way Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com
  • 2. Blackvard Management Consultants www.blackvard.comCopyright © Blackvard Management Consulting – All rights reserved Erin Lett is the Operations Manager for Blackvard Management Consulting. She holds a Bachelor’s Degree from Stetson University in Communications and has been working in the SAP, eLearning, and Software Development industries for the past 6 years. For further information please visit: www.blackvard.com elett@blackvard.com Copyright © Blackvard Management Consulting- All rights reserved www.blackvard.com Your Host Erin Lett
  • 3. Blackvard Management Consultants www.blackvard.comCopyright © Blackvard Management Consulting – All rights reserved Short Bio: Lukas M. Dietzsch is managing director at Blackvard Management Consulting, LLC. He is holding a Master’s degree in Information Technology and is an experienced IT solution architect and project lead. His strong background in adapting to requirements and standards in different industries and on various platforms are valuable assets for Blackvard customers. He is repeatedly commended by customers for driving efficient solutions for complex problems in globally distributed team environments and meeting tough deadlines. For further information please visit: www.blackvard.com Lukas M. Dietzsch lukas@blackvard.com Copyright © Blackvard Management Consulting- All rights reserved www.blackvard.com Managing Director
  • 4. Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com Course Agenda: ABAP 7.4 What’s new? What Will Be Covered In This Course: 1. Lesson 1 - Overview & General Information a) ABAP 7.4 – Source Code Samples b) ABAP Reports 2. Lesson 2 - New ABAP Development Tools e.g. in Eclipse (ADT / CDS) a) Object-Orientation / Model View Controller (MVC) b) MVC Sample Report 3. Lesson 3 - New ABAP Syntax & Development a) Syntax: New great syntax options b) Compliance: Advance Online Documentation with ABAP 7.4 4. Lesson 4 - Using Persistence Classes * Please contact us for additional course details regarding lessons 2 – 4 & their schedules.* * Please contact us for additional course details regarding lessons 2 – 4 & their schedules.*
  • 5. Source: Blackvard Slide 6Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com SAP Reports - Background  Reports in SAP are used as a synonym for programs.  Simple programming modules where a set of parameters are entered  Program uses parameters to produce a report (interactive list)  The term “report” can be misleading; reports can also be designed to modify data.  Called reports due to the “list-oriented” nature of output they produce vs. (SAP Report)
  • 6. Source: Blackvard Slide 7Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com SAP Reports - Background  Different types of programs:  Executable Program, INCLUDE, Module Pool, Function Group, Subroutine, Interface, Class Pool, Type Pool, XSLT Program  Structure of an SAP report:  1 declarations (e.g. data types, variables, constants, user interface, class definitions)  2 processing blocks (e.g. procedures, dialog modules)  3 calling processing blocks Data Declaration Block Processing Block Event Blocks Subroutines Dialog Blocks etc.
  • 7. Source: Blackvard Slide 8Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com SAP Reports - Background  An ordinary ABAP report can be implemented with an old fashioned “Classical” top-down approach.  Simple normal reports e.g. w/ only one output screen  Does not contain any user interaction or sub reports  Numerous lines of coding lead to user confusion  “Spaghetti code” (e.g. thousands lines of code!)  Hard to support Step 1 Step 2 Step 3 Step …n
  • 8. Source: Blackvard Slide 9Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com Object-oriented Reports  Object-oriented Reports are an easier & more elegant approach.  Focus on objects that represent abstract/concrete objects in real world  Objects are first defined by character & then by their properties  Represented by internal structure & attributes (data)  Object behavior described by methods (functions)  Form capsule combining characteristics w/ behavior  Users can map realistic problems  Propose solutions on a one-to-one basis  Advantages:  Complex systems easier to understand; better representation of reality w/ encapsulation  Easy to overview single methods - less alterations at other system points  Reuse individual components  Less maintenance effort
  • 9. Source: Blackvard Slide 10Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com Model View Controller Reports  Model View Controller (MVC) Reports – clear distinction between processing control, data model & interface displayed data.  Areas distinguished by three objects – Model, View & Controller  Used in user interface programming field  Enhancement of previous BSP implementation model  Controller-based approach  Ensures clear distinction between application logic & presentation logic  Structure & organize graphical interfaces into logical units Model View Controller
  • 10. Source: Blackvard Slide 11Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com Model View Controller Reports  Advantages of Model View Controller (MVC) Reports  Simplified application structures (View separate from Controller & Model)  Option to generate program-driven layout  Easier element navigation; reduces network traffic  Same work process; create objects easier & save memory  Distribute user interface into components  Few redirects; optimized performance  Intuitive & easy-to-use for application development Model View Controller
  • 11. Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com  The report itself consists of only three include objects.  ZMY_REPORT_TOP (for TOP Include declarations)  ZMY_REPORT_LCL (for local class definition & implementation of the methods)  ZMY_REPORT_RUN (starting the report)  Methods from the local class:  The function call: CALL_FUNCTION  To start the program: RUN_PROGRAM  To show the results: SHOW_RESULT Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com Structuring An SAP ABAP Report In An Optimal Way
  • 12. Source: Blackvard Slide 13Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com  Globally used variables & structures are externalized in a TOP-Include.  implementation of the local class: Structuring An SAP ABAP Report In An Optimal Way ZMY_REPORT_TOP ZMY_REPORT_LCL
  • 13. Source: Blackvard Slide 14Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com  Calling the report requires only the execution of “Run program” of the local class & e.g with an exception handling.  Sample Live-Coding… Structuring An SAP ABAP Report In An Optimal Way ZMY_REPORT_RUN
  • 14. Source: Blackvard Slide 15Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com  The functional part in the example report is about setting a value for the char50 variable & printing it in the SHOW_RESULT method.  In this place, you could call FUBAs or other methods  In the print method, you could show some ALV lists, for example Structuring An SAP ABAP Report In An Optimal Way
  • 15. Source: Blackvard Slide 16Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com  Here you can see the source code of the local class: Structuring An SAP ABAP Report In An Optimal Way CLASS lcl_my_report DEFINITION. PUBLIC SECTION. CLASS-METHODS run_program EXCEPTIONS prog_err. CLASS-METHODS call_function RETURNING VALUE(rv_name) TYPE char50. CLASS-METHODS show_result IMPORTING lv_name TYPE char50. ENDCLASS. "! Local service class implementation CLASS lcl_my_report IMPLEMENTATION. METHOD run_program. DATA: lv_name TYPE char50. call_function( RECEIVING rv_name = lv_name ). show_result( lv_name ). ENDMETHOD. METHOD call_function. "! sample name rv_name = 'Oskar Mazerath'. ENDMETHOD. METHOD show_result. WRITE: / lv_name. ENDMETHOD. ENDCLASS.
  • 16. Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com Have Additional Questions? Want To get trained? Please Set Up A Consultation. Email: info@blackvard.com Require A Consultation?
  • 17. Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com  Technical project lead and ABAP architect responsible for quality in technical scope and budget in a global roll-out of SAP Logistics applications (SAP LE / LO)  Conducting multiple SAP ABAP and SAP HANA® trainings for various US companies  Implementation of a standard SAP software solution for Spend Management within SAP AG & ARIBA (annual spend volume 3 Bill. EUR) which can be used in all SAP systems  Improved claims management using SAP FS-CM which is generating annual savings of 15 Mio € for a huge German public healthcare organization  Implemented a global solution for procurement processes at BMW AG using SAP SRM / B2B  Blueprinting and implementation of SAP software for banking credit cancelations for VOLKSWAGEN Key Achievements of Blackvard Management Consulting in Previous Projects What We’ve Accomplished
  • 18. Copyright © Blackvard Management Consulting – All rights reserved www.blackvard.com An overview of current and previous customers: Customers That Recommend Blackvard

Editor's Notes

  • #7: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #8: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #9: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #10: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #11: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #12: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #13: The report itself consists only of three include objects: The methods are used for: the function call: CALL_FUNCTION, to start the program: RUN_PROGRAMM and to show the results: SHOW_RESULT.
  • #14: The globally used variables and structures are externalized in a TOP-Include. In our example the TOP include is very streamlined:
  • #15: Calling the report requires only the execution of “run_program” of the local class and e.g. with an exception handling:
  • #16: The functional part in the example report is about setting a value for the char50 variable and print it in the SHOW_RESULT method. In this place you could call FUBAs or other methods. In the print method you could show some ALV list for example.
  • #17: Here you can see the source code of the local class: