Chapter 6 – Specialities for ERP software

Slides:



Advertisements
Ähnliche Präsentationen
OSGi ‘Enterprise expert group‘ workshop input
Advertisements

G21Billing Document Outbound via EDI Overview
G66 Empties Processing Overview
G20 Sales Order Processing via EDI Overview
SAP Best Practices Baseline Package U.S. Scenario Overview
J62 Buchungskreisübergreifende Auftragsabwicklung - Überblick
Muster- und Simulationskalkulation
Einkauf Fremdleistung
Unternehmensstruktur Übersicht SAP Best Practices.
Account- und Kontaktmanagement
Manufacturing Analytics SAP Best Practices for Business Warehousing V2
Financial Accounting (J03) Overview Colombia
Transportation Management Overview (G82)
DESIGN MATTERS ESS Leave Request JBoss, Java Web-Technologies and Mule ESB Matthieu-P. Schapranow Walldorf, March 07th, 2007.
Towards an Integration of SWS into existing WS Infrastructures Christian Drumm SAP AG.
Filialwarenwirtschaft
DMS Modul Kurzvorstellung.
Task and Duty Modul Kurzvorstellung. Key Features Komfortables Benutzerinterface zur Wartung und Benutzung von Rechten und Pflichten. Such- und Beschlagwortungsmöglichkeit.
Leistungsvorstellung
How To Guide – Workflow BCS
ecount – Tipps und Tricks beim Importieren
Neues bei V1.603 SAP Best Practices for Chemicals (Deutschland) SAP Best Practices.
CEO Analytics SAP Best Practices for Business Warehousing V2.701
Interaktives Reporting SAP Best Practices for CRM
Operatives Berichtswesen für Tradingkontrakte
Voraussetzungen und Annahmen für die Aufwandsschätzung
Übersicht SAP AG.
DMS Modul Kurzvorstellung. Key Features Komfortables Benutzerinterface zur Wartung und Benutzung von in SAP Abgelegten Dokumenten. Such- und Beschlagwortungs-
G71 DSD „Daily Fresh“ Überblick
SAP Best Practices Prepackaged Industry & Cross-Industry Know-How Verfügbarkeit für SAP-Kunden und SAP-Partner.
J64 Production Planning and Discrete Manufacturing Overview
Title G81 - Integrated WM with PO Return. G81 - Integrated WM with PO Return / 2 Overview Scenario – Integrated WM In this scenario you are shown a complete.
SAP Best Practices Baseline Package U.S. Scenario Overview
Ventas y Distribución (J04) Overview Argentina SAP AG.
Martin Rink, SAP Trust Center Services SAP Trust Center Services SAP Passports - Scenarios of Usage.
Interaktives Reporting
Unternehmensstruktur Übersicht
Sprachneuerungen des .NET Frameworks 3.5
Financial Analytics SAP Best Practices for Business Warehousing V2.701 SAP Best Practices.
Purchasing Analytics SAP Best Practices for Business Warehousing V2.701 SAP Best Practices.
Erweiterte Kundenauftragsbearbeitung mit Vertriebsunterstützung und dynamischem Produktvorschlag SAP Best Practices.
Sales Analytics SAP Best Practices for Business Warehousing V2.701 SAP Best Practices.
SiPass standalone.
Interaction Center (IC) Serviceanforderungsmanagement SAP Best Practices.
Opportunity Management SAP Best Practices. ©2011 SAP AG. All rights reserved.2 Einsatzmöglichkeiten, Vorteile und wichtige Abläufe im Szenario Einsatzmöglichkeiten.
Eingehender Kundenauftrag via EDI
Arbeiten in einem agilen Team mit VS & TFS 11
Interaction Center Sales (mit ERP-Kundenauftrag) SAP Best Practices.
Reklamations- und Retourenabwicklung
? What is Open PS? SAP Open PS based on EPS 4.0
Integriertes Angebots- und Auftragsmanagement SAP Best Practices.
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
Kapitel 8 Grammar INDEX 1.Command Forms: The Du-Command Form & Ihr- Command 2.Sentences & Clauses.
Here‘s what we‘ll do... Talk to the person sitting in front of you. Introduce each other, and ask each other questions concerning the information on your.
Logistik Stammdatenaufbau Handel SAP Best Practices Baseline Package V1.605.
Quartalsplan – Absatzmengenprognose mit CO-PA SAP Best Practices.
BW Analytics SAP Best Practices. ©2011 SAP AG. All rights reserved.2 Einsatzmöglichkeiten, Vorteile und wichtige Abläufe im Szenario Einsatzmöglichkeiten.
Michael Becker SAP AG Betreuer: Sven Helmer
SAP and Zebra Zatar Use Case Template. ©2016 SAP SE. All rights reserved. Use Case Description 1/3 Company name Main contact name Project type Solution.
CEO SAP Best Practices for Business Intelligence SAP Best Practices.
Service SAP Best Practices for Business Intelligence SAP Best Practices.
Custom error page for timeout Gergely Andó / Application Innovation July 10, 2013 Customer.
Chapter 4 – Database accesses
Chapter 10 – Subscreens, tabs and HTML viewer
Chapter 2 – Tools in the development environment
Chapter 5 – Dynamic programs
Chapter 1 – Introduction and first program
Szenarioübersicht Terminierung mittels Rechnungen und Nachberechnung.
Official Statistics Web Cartography in Germany − Regional Statistics, Federal and European Elections, Future Activities − Joint Working Party meeting.
Integrating Knowledge Discovery into Knowledge Management
 Präsentation transkript:

Chapter 6 – Specialities for ERP software ABAP Course Chapter 6 – Specialities for ERP software Lecturer: André Bögelsack, UCC Technische Universität München Author: Valentin Nicolescu, André Bögelsack

Copyright 2008 UCC TU München All rights reserved Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch HCC TU München nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® und SQL Server® sind eingetragene Marken der Microsoft Corporation. IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®, S/390®, AS/400®, OS/390® und OS/400® sind eingetragene Marken der IBM Corporation. ORACLE® ist eine eingetragene Marke der ORACLE Corporation. INFORMIX®-OnLine for SAP und Informix® Dynamic ServerTM sind eingetragene Marken der Informix Software Incorporated.  UNIX®, X/Open®, OSF/1® und Motif® sind eingetragene Marken der Open Group. Citrix®, das Citrix-Logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® und andere hier erwähnte Namen von Citrix-Produkten sind Marken von Citrix Systems, Inc. HTML, DHTML, XML, XHTML sind Marken oder eingetragene Marken des W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.   JAVA® ist eine eingetragene Marke der Sun Microsystems, Inc. JAVASCRIPT® ist eine eingetragene Marke der Sun Microsystems, Inc., verwendet unter der Lizenz der von Netscape entwickelten und implementierten Technologie.   SAP, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP, mySAP.com und weitere im Text erwähnte SAP-Produkte und -Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen Ländern weltweit. MarketSet und Enterprise Buyer sind gemeinsame Marken von SAP Markets und Commerce One. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen. Die Verwendung der Screenshots wurde mit dem jeweiligen Eigner abgesprochen.

Agenda Authorizations Lock objects Logical units of work Updater

Authorizations Before starting a program user authorizations should always be checked But: authorizations are not checked by the system Every ABAP program has to check authorizations by itself Different authorization levels: READ (01), CHANGE (02), DELETE (03) for every data set Transaction: SU03

Locking concept What happens when several users want to work on the same data set?  data inconsistency Lock objects prevent simultaneous changes on data set Beside the lock concept of the database, SAP implements its own lock concept SAP does not use the database’s lock concept Deadlock: May occur when two programs wait for each other to lock data set Rare

Locking concept Modes: Read lock = shared lock Locks data set for reading Several shared locks may exist on one data set at the same time Prevents the SAP system from creating an exclusive lock on a data set Write lock = exclusive lock Locks data set for writing/changing No shared locks, only one is allowed at the same time First come, first serve

Locking concept Creation of a lock object: Creation can be done in data dictionary (SE11) One lock object per database table Lock objects are generated automatically by using the primary key There is only one lock object dealing with all lock modes

Usage of lock objects Two function modules are generated automatically when creating a lock object: Enqueue_<lock object>  lock data set Dequeue_<lock object>  unlock data set Before writing/reading data set  lock data set After writing/reading data set  unlock data set In case of an error  unlock data set Use button ‘PATTERN’ to avoid misspellings Locks can be viewed and deleted in transaction SM12

Generation of lock objects EZ_SPFLI Activate Function Function ENQUEUE_ESFLIGHT DEQUEUE_ESFLIGHT  Lock data set  Unlock data set

ENQUEUE parameter‘s Parameter Value Meaning mode_<tabname> ‘S‘ ‘X‘ Read lock (shared) Exclusive lock (not shared) <lock parameter> <value> Field values used to lock the data set _wait SPACE If foreign lock, no new attempt If foreign lock, new attempt _collect ‘X’ Lock without local lock container Lock with local lock container

Logical unit of work (LUW) Logical unit of work (transaction) breakdown Process before output (PBO) 100 Dynpro 100 Process after input (PAI) 100 Commit User input Process before output (PBO) 200 Dynpro 200 Process after input (PAI) 200 Scenario: What happens if a breakdown of the SAP system occurs in the middle of the transaction? What happens to the data? User input

Logical unit of work (LUW) Problem: New data sets are transferred into the database by each screen Only if last screen of the program is reached and all data sets are written to the database the data are correct Solution Updates to database are written to the updater process Only when last screen of the program is reached, the updater receives a trigger to write data to database (commit) or to dismiss (rollback)  ensures data integrity

Logical unit of work (LUW) Schema: Protocoll table Data Data Data Data Data deletes 1 3 Work process Work process 5 2 Program Updater 4  Lock data set Database