ABAP FUNDAMENTALS. What is ABAP? 1/16/2011. Spring 2011



Similar documents
BUSINESS STRUCTURE: FUNCTIONS AND PROCESSES

BUSINESS PROCESS MANAGEMENT

SAP Master Data Governance- Hiding fields in the change request User Interface

How To Understand And Understand The Basic Principles Of An Ansper System

SAP NETWEAVER ARCHITECTURE CONCEPTS, PART 1

B2B E-COMMERCE. B2B concepts

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

SAP NETWEAVER ARCHITECTURE CONCEPTS, PART 1

ENTERPRISE SYSTEMS. ERP Architecture through 3 eras 9/5/2010. Fall Information Systems Implementation

Enterprise Software - Applications, Technologies and Programming

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

Integrating Easy Document Management System in SAP DMS

Data Archiving in CRM: a Brief Overview

THE PRODUCTION PROCESS (MANUFACTURING EXECUTION)

Data Source Enhancement Using User Exit

5/29/2010 ENTERPRISE SYSTEMS. Fundamentals of Business Information Systems. Summer Pre-history of business computing

Budget Control by Cost Center

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

USDL XG WP3 SAP use case. Kay Kadner

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

Understanding HR Schema and PCR with an Example

Variable Exit in Sap BI How to Start

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

HR400 SAP ERP HCM Payroll Configuration

INTRODUCTION TO ENTERPRISE RESOURCE PLANNING SYSTEMS

Third Party Digital Asset Management Integration

Consume an External Web Service in a Nutshell with good old ABAP

User Experience in Custom Apps

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

ONLINE CONSUMER BEHAVIOR AND ADVERTISEMENT

Integration of SAP Netweaver User Management with LDAP

Xcelsius Dashboards on SAP NetWaver BW Implementation Best Practices

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

Using User Exit for Variables in BEx Reporting

Sample Universe on Microsoft OLAP Cube

SAP Service Tools for Performance Analysis

How to Create a Support Message in SAP Service Marketplace

Sending Additional Files from SAP Netweaver PI to third Party System

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

Log Analysis Tool for SAP NetWeaver AS Java

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

K in Identify the differences between the universe design tool and the information design tool

Process Archiving using NetWeaver Business Process Management

Mass Maintenance of Procurement Data in SAP

Accounts Receivable. SAP Best Practices

SAP Central Process Scheduling (CPS) 8.0 by Redwood

Application Lifecycle Management

Duet Enterprise Add SAP ERP Reports and SAP BI Queries/Workbooks to Duet Enterprise Configuration

SAP DSM/BRFPlus System Architecture Considerations

LO Extraction Part 2 Database Update Logic

Business Process Change Analyzer in SAP Solution Manager 7.1

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

Production Subcontracting (External Processing) SAP Best Practices

Unified Service Description Language Enabling the Internet of Services

How to Schedule Report Execution and Mailing

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

Single Sign-On between SAP Portal and SuccessFactors

SAP NetWeaver BRM 7.3

Run SAP like a Factory

How-to-Guide: Middleware Settings for Download of IPC Configuration (KB) Data from R/3 to CRM System

ERP Quotation and Sales Order in CRM WebClient UI Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

SAP Cloud Strategy - Timeless Software. Frank Stienhans on behalf of Kaj van de Loo SAP

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

Ariba Network Integration to SAP ECC

SAP How-To Guide: Develop a Custom Master Data Object in SAP MDG (Master Data Governance)

How To Use the ESR Eclipse Tool with the Enterprise Service Repository

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

SAP Sustainability Solutions: Achieving Customer Strategies

Intelligent Business Operations Chapter 1: Overview & Strategy

LO Extraction Part 1: SD Application Short Overview

BW Workspaces Use Cases

How To Use the BPC Mass User Management Tool in BPC 10.0 NW

Sales Planning Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

Integration of Universal Worklist into Microsoft Office SharePoint

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

Fixed Asset in SAP Business One 9.0

OData in a Nutshell. August 2011 INTERNAL

Supplier Master Data Governance

ABAP Custom Code Security

BW362. SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

BICS Connectivity for Web Intelligence in SAP BI 4.0. John Mrozek / AGS December 01, 2011

Matthias Steiner SAP. SAP HANA Cloud Platform A guided tour

Next Generation Digital Banking with SAP

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

SAP HANA Cloud Integration Document Version: Template Guide for SAP Sales and Operations Planning

Finding the Leak Access Logging for Sensitive Data. SAP Product Management Security

Quick Guide EDI/IDoc Interfacing to SAP ECC from External System

SAP Portfolio and Project Management

Transcription:

ABAP FUNDAMENTALS Spring 2011 Enterprise Programming What is ABAP? Originally: Allgemeiner Berichts-Aufbereitungs-Prozessor (Generic Report Preparation/Generation Processor) Now: Advanced Business Application Programming Created by SAP initially for report creation. Later evolved into full language. Made public for program customization and enhancement by companies. Notable for its database abstraction (logical databases) and ease of database interaction. Embedded SQL statements in code (Open SQL). Platform independent. Extended in 1998 to include Object support (ABAP Objects). Developing using OO model recommended, but legacy procedural coding still supported. 1

Learning ABAP NetWeaver Programming Core http://www.sap.com/services/education/catalog/netweaver/curriculum.epx?context=%5b%5babap_core%5d%5d%7c NetWeaver Training Competencies and Options https://training.sap.com/courses-and-curricula/netweaver 2

What is SAP NetWeaver? Technical foundation for SAP applications (ERP, CRM, SCM, etc.). Provides internal connectivity (integration) between SAP modules and external connectivity with other systems. Eases integration between systems. Provides framework for development. Supports development in Java and ABAP Graphic copyright SAP Prehistory of NetWeaver Graphic copyright SAP 3

SAP Basis Admin sample job ad 3-tiered architecture Presentation Layer Application Layer Database Layer 4

3-tiered architecture + ABAP Presentation Layer ABAP Programming & Output Application Layer ABAP Execution Database Layer ABAP Program & Data Storage 3-tiered architecture + ABAP (General) Presentation Layer Application Layer Database Layer Run Transaction/Program Screen ABAP Program Local Data Variables Program Repository Screen Program Logic Database Table(s) Screen Based on content from Unit 2, BC100, figures 25-35 5

Developing in an Established Environment Programming in an environment with many pre-existing named components. Name collision can break existing functionality. Program namespaces beginning A through X are reserved for use by SAP. Y and Z can be used by customers. Modification/programming only possible with a developer key and appropriate configuration. (SCC4) Key is client and username dependent. Keys provided by SAP based on license agreement. May require additional payment. Typical Company SAP Landscape Typical landscape involves multiple systems development (DEV), testing (QAS), production (PROD), training (TRN). Developed components move from system to system via transports. Development done within packages which are tied to transport requests. Requests are exported/imported for transportation. (e.g. DEV QAS) Transport management key system administration task to ensure dependencies and system integrity maintained. 6

Typical Company Installation Landscape Server SAP ERP Client xxx Development (DEV) Transport Server SAP ERP Client xxx Test/Quality Assurance (QAS) Transport Server SAP ERP Client xxx Production (PROD) Server SAP ERP Client xxx Training (TRN) Programming Process 1. Create new or select existing package. 2. Create new or select existing transport request for package. 3. Begin creating a new program. 4. Enter developer key to authorize development (if not done previously). 5. Create, debug program. Save. 6. Test. Revise as necessary. 7. Activate program. 8. Transport package. Items that will not be transported can be assigned to the local package $TMP. Within our development landscape, transports are essentially to dummy systems. 7

Beginning Programming ABAP Development Rules: ABAP programs made up of individual sentences/statements. Each statement begins with a keyword. Conventional to type keywords in all uppercase letters and variables, operators, etc. in all lowercase. Built in Pretty Printer Each statement ends with a period. Statements can be indented as desired. Statements can extend over multiple lines. Lines with * in column 1 are comment lines. Double quotes ( ) are to-end-of-line comments. Source: SAP BC100, Page 60-61 ABAP Editor Various settings can be maintained through Utilities Settings, ABAP Editor Launch directly with transaction SE38 or SE80 for ABAP Workbench. To avoid name collision, in all development done on our system begin your programs with the prefix Zxx_ where xx is your individual user number (the last 2 digits of your user name). If you do your own practice development, enter source code from various sources, etc. you must comply with this requirement. If you have access to multiple SAP systems note that this number will vary among systems. If you want to create multiple instances of the same program (practice, redo, etc.), end instances with _01, _02, etc. 8

Programming Basics Begin Creating New Program Option 1: Use transaction SE80 to launch ABAP Development Workbench. Select Package, and enter the name of the package you wish to work with. If package not previously created, will be prompted to create For class: Zxx_PKGcc (where c is sequential number starting 00) Programming Basics Package and Transport Creation If no transport request exists, create one. Use search feature if one exists. Use your name in the Description. The system will provide a request number. Pre-populated to last request (if exists) To create new request 9

Programming Basics Program Creation Right click on package in the Object Name list and select Create Program. Program name in ALL CAPS (remember naming rules). Unless needed (to be discussed later) TOP INCLUDE should be off. Programming Basics Creation Sequence Title brief program description. Type Executable program Status Test Program Save/check this dialog and the one that shows the package and the transport request. 10

Programming Basics Begin Creating New Program Option 2: Use transaction SE38 to launch ABAP Editor. Specify Program Name. Select Create. Cannot create a new package with this sequence! But if one already exists, can use it. Programming Basics Enter, Check, Pretty Print, Run Use editor to enter code. Many right-click options. Check operation validates syntax. Pretty Printer cleans up code layout. Direct Processing to run. 11

Additional ABAP Workbench Notes Appendix The following slides show screen shots for reference which are displayed live in lecture. 12

SE16 showing table TSTCT limited to English SCC4 13

SE38 ABAP Editor SE80 ABAP Workbench 14

Copyrights Presentation prepared by and copyright of Dr. Tony Pittarese, East Tennessee State University, Computer and Information Sciences Dept. (pittares@etsu.edu) Podcast lecture related to this presentation available via ETSU itunesu. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Oracle is a registered trademark of Oracle Corporation. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. Other products mentioned in this presentation are trademarks of their respective owners. 15