University of Southern California Enterprise Wide Information Systems ABAP/ 4 Programming Language Instructor: Richard W. Vawter.

Slides:



Advertisements
Similar presentations
Visit : Call Us: US: , India:
Advertisements

Visit : Call Us: US: , India:
SAP/R3 Development workbench Data Dictionary R/3 table types: –Transparent tables Each table definition in DDIC has an underlying physical table of same.
0 UMN 2011 ERP Terapan SAP BASIS General Concept Session # 3.
 SAP AG CSU Chico MINS298c Fall 1998 Three Levels of ABAP Dictionary Chapter 5 & 6.
ABAP/4 PROGRAMMING Internal Table 講 師:呂 昇 燦 2000 年 9 月 26 日.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Lecture 1 Introduction to the ABAP Workbench
 SAP AG CSU Chico Searching and Selecting Data from R/3 ABAP/4 class Gail Corbitt - Fall 1998.
Introduction to the ABAP Data Dictionary
 SAP AG CSU Chico MINS298c ABAP/4 Programming Gail Corbitt Fall 1998 Chapter 1-3.
1 Pertemuan 09 Database Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
A Guide to Oracle9i1 Advanced SQL And PL/SQL Topics Chapter 9.
University of Southern California Enterprise Wide Information Systems Getting Started in R/3 Instructor: Richard W. Vawter.
Modules, Hierarchy Charts, and Documentation
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
WebDynpro for ABAP Short introduction.
SiS Technical Training Development Track Technical Training(s) Day 1 – Day 2.
Access Tutorial 3 Maintaining and Querying a Database
State of Connecticut Core-CT Project Query 4 hrs Updated 1/21/2011.
Access Tutorial 10 Automating Tasks with Macros
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics.
0 UMN 2011 ERP Terapan ABAP Introduction Session # 8.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
ABAP/4 PROGRAMMING Menu Painter Modularization 講 師:呂 昇 燦 2000 年 9 月 28 日.
ABAP/4 Course. General n Workbench n Program maintenance n Screen Painter n Menu Painter n Transactions n ABAP/4 Query n Translation menu.
Lesson 1: Introduction to ABAP OBJECTS Todd A. Boyle, Ph.D. St. Francis Xavier University.
Form printing with SAP Smart Forms Instructor: Dylan Liu
SAP ABAP DemoNawin's Training Acadamy1. Enterprise Wide Information Systems ABAP/ 4 Programming Language Mr. RG Nawin Krishna, Bsc(cs);Msc(psychology);MBA(HR);SAP(HCM/HR),
Lecture slides prepared for “Computer Security: Principles and Practice”, 3/e, by William Stallings and Lawrie Brown, Chapter 5 “Database and Cloud Security”.
Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.
Data Modeling for Integrating SAP with other Applications.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
0 UMN 2011 ERP Terapan Dialogs Programming Session # 11.
Introduction to ABAP Selection Screens. Slide 2 Screens (Types) There are three types of screens Selection screens get parameter input for reports List.
MIS 3020 ABAP Programming Lecture 2 Elementary & User Defined Types Domains, Elements, Variables/Fields.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Guide to Oracle 10g ITBIS373 Database Development Lecture 4a - Chapter 4: Using SQL Queries to Insert, Update, Delete, and View Data.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Analyzing Systems Using Data Dictionaries Systems Analysis and Design, 8e Kendall & Kendall 8.
1 Guide to Oracle10G CHAPTER 7: Creating Database Reports 7.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
ABAP/4 PROGRAMMING Data Dictionary(1) 講 師:呂 昇 燦. Data Browser - SE16 ABAP Workbench tool for displaying information about table entries. You use the Data.
ABAP Dictionary Introduction Tables in the ABAP Dictionary Performance in Table Access Consistency through Input Check Dependencies of ABAP Dictionary.
Mantova, September 2015 SAP ECC 6.0 DEVELOPMENT ABAP SAP develop enviroment & Transport organizer.
University of Southern California Enterprise Wide Information Systems Customer Order Management Instructor: Richard W. Vawter.
Introduction to the ABAP System. Slide 2 The Data Browser Allows us to look at the underlying table contents Use transaction code SE16.
SAP DEVELOPMENT BASICS Bohuslav Tesar. TRAINING OVERVIEW Amazing life of ABAP developer ;) SAP introduction ABAP basics ABAP Reporting.
Introduction to ABAP/4 A dvanced B usiness A pplication P rogram – Release 4 Why Use ABAP? –Programming language of SAP –Main purpose is to provide additional.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
CTS Change & Transport System. Introduction The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP.
Database and Cloud Security
Working in the Forms Developer Environment
SAP ECC 6.0 DEVELOPMENT ABAP ABAP DICTIONARY & Advanced Editor Abap
Software Specification Tools
Introduction to Triggers
System Design.
Data Model.
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Data Dictionary Overview
Presentation transcript:

University of Southern California Enterprise Wide Information Systems ABAP/ 4 Programming Language Instructor: Richard W. Vawter

University of Southern California Objectives Upon completion of this topic, you should be able to: Define the general terms associated with the ABAP/4 Workbench. Work with the ABAP/4 Object Browser. Create a program object. Access tables to generate a report.

University of Southern California Topics ABAP/4 Development Workbench ABAP/4 Data Dictionary ABAP/4 Repository Information

University of Southern California ABAP/4 Development Workbench Architecture The Development Workbench provides access to SAP’s development tools. Reporting ABAP/4 Editor ABAP/4 Dictionary Menu Painter Screen Painter Data Modeller Function Modules R/3 Repository

University of Southern California ABAP/4 Development Workbench Architecture All programs are stored in the R/3 Repository. A program is simply an object. All definitions are kept in the data dictionary. e.g. variable descriptions and parameters of fields. Double-clicking will navigate you to wherever the object is stored. Remote call functions let you access other systems.

University of Southern California Reporting and Dialog Programming In reporting you use the ABAP/4 Open SQL to read data from the R/3 database A report consists of a selection screen on which you define the dataset you wish to display, and a list which displays the data itself. In dialog programming you use the screen painter to create screens and program the sequence in which they appear. SelectionScreenListScreen Screen01000Screen0200 ABAP/4 Open SQL

University of Southern California ABAP/4 Program Objects You can use the ABAP/4 Development Workbench to create ABAP/4 programs. You can call objects from the object list generated from the Object Browser’s initial screen. Development Class Dev. Class object type Dictionary objects Programs Function groups Includes Transactions Logical databases etc.

University of Southern California ABAP/4 Programs All ABAP/4 programs (objects) are made up of: Source code Text elements Attributes Source Code Text Elements Titles Headers Text symbols Text Elements Titles Headers Text symbols ABAP/4 Program

University of Southern California Creating Programs Begin by first specifying a development class. Development classes are categories of SAP objects (e.g. program object). Customer-specific program names begin with Y or Z. If you are creating a test object which you do not wish to be transported, choose Local Object. The development class is then set to $TMP automatically.

University of Southern California The ABAP/4 Editor The ABAP/4 Editor can run in three different modes: 1.Command mode 2.PC mode with line numbering 3.PC mode without line numbering You can switch between editor modes by choosing Settings  Editor mode It is recommended that you do your work in PC mode with line numbering

University of Southern California ABAP/4 Syntax An ABAP/4 program consists of individual statements Each statement must end with a period. The first word of a statement is known as the key word. Words are separated from each other by at least one blank. Statements can be indented. Statements can extend over several lines. You can concatenate several consecutive statements with an identical key word (e.g. WRITE: ). Follow the key word with a colon. Separate each concatenated part with a comma. End the lines of the concatenated statements with a period.

University of Southern California ABAP/4 Syntax (cont.) You can insert comments into a program in two ways: 1.An asterisk (*) in column 1 flags the whole line as a comment. 2.A quotation mark (“) within a line flags the remainder of the line as a comment.

University of Southern California Tables and the Select Statement The Tables: statement declares an ABAP/4 Dictionary table in the ABAP/4 program and allocates a table work area with the structure of. The Select statement reads the table line by line and places each line read in the table work area. Note: Double-clicking on the Tables: statement in the editor will display how the table is defined in the data dictionary. Report ZDEMO1. TABLES: SBOOK. SELECT * FROM SBOOK WHERE CARRID = ‘LH’. ENDSELECT. WRITE : CARRID, FLTDATE. Report ZDEMO1. TABLES: SBOOK. SELECT * FROM SBOOK WHERE CARRID = ‘LH’. ENDSELECT. WRITE : CARRID, FLTDATE. Table SBOOK Read table Table work area

University of Southern California Accessing Tables (In summary…) F1 F2 F3 Fn SFLIGHT table work area Report ZDEMO1. TABLES: SBOOK. SELECT * FROM SBOOK WHERE CARRID = ‘LH’. ENDSELECT. WRITE : CARRID, FLTDATE. Report ZDEMO1. TABLES: SBOOK. SELECT * FROM SBOOK WHERE CARRID = ‘LH’. ENDSELECT. WRITE : CARRID, FLTDATE. Program SBOOK F1 F2 F3 Fn Database SBOOK F1 F2 F3 Fn DDIC Report Definition in the Data Dictionary

University of Southern California Topics ABAP/4 Development Workbench ABAP/4 Data Dictionary ABAP/4 Repository Information

University of Southern California Basic Dictionary Objects Tables - collection of records of data in fields. Data elements - contain the semantic definition (e.g. short description) of what is contained w/in a field. Domains - describe the technical attributes of the table’s fields (e.g. field type, length, value range, etc.). Table field Table Data element Domain uses

University of Southern California Structures and Aggregated Objects (Views) Besides defining tables stored in the database, you can also define the structure of data which occurs when performing calculations in programs, or when passing data between programs. Structures are defined and activated in the ABAP/4 Dictionary. While data can be permanently stored in the database, data in structures exists only during the runtime of a program. Aggregated objects are objects which come from several different tables. Views are application-specific views of different ABAP/4 Dictionary tables. Views allow you to gather information from fields of different tables and present it to users in the form they require.

University of Southern California ABAP/4 Dictionary (In summary) The ABAP/4 Dictionary is the central facility in the system where you can create and maintain data declarations, tables, structures and aggregated objects. Since it is integrated into the ABAP/4 Development Workbench as an active component, any change made in the ABAP/4 Dictionary takes immediate effect in programs affected.

University of Southern California Topics ABAP/4 Development Workbench ABAP/4 Data Dictionary ABAP/4 Repository Information

The ABAP/4 Repository Information System allows you to obtain information about objects (tables, fields, domains, etc.) in the ABAP/4 Repository. You can find anything that is used in programs by using the Data Repository. Data Repository Where-used lists Display all objects of type Y which use attribute X Search by attributes Display all objects of type X with attribute Y Information about tables and relationships Display all table fields with check table X Modified objects Display all objects of type X which were changed by user Y on date DDMMYY ? ? ? ?

University of Southern California ABAP/4 Repository (In summary) The ABAP/4 Repository Information System allows search for ABAP/4 Development Workbench objects by specifying required attributes. From the ABAP/4 Development Workbench: Overview  Repository Infosy.