Die Präsentation wird geladen. Bitte warten

Die Präsentation wird geladen. Bitte warten

Chapter 5 – Dynamic programs

Ähnliche Präsentationen


Präsentation zum Thema: "Chapter 5 – Dynamic programs"—  Präsentation transkript:

1 Chapter 5 – Dynamic programs
ABAP Course Chapter 5 – Dynamic programs Lecturer: André Bögelsack, UCC Technische Universität München Author: Valentin Nicolescu, André Bögelsack

2 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.

3 Agenda Dynpro attributes Dynpro runtime Creation of dynpros
Title and status bar Entry help in dynpros

4 Dynpro attributes Dynpro = dynamic programs
Several dynpros form a program Programs using dynpros can be accessed by transaction codes only Programs using dynpros are so called module pools Distinction between input and output modules for a dynpro Every dynpro has a unique ID in a program Program Dynpro 100 Dynpro 200 Dynpro 999

5 Dynpro attributes Dynpros use their own instructions for coordinating runtime behavior  this is no ABAP But: dynpros call modules which are implemented in ABAP Modules called by a dynpro control the runtime behavior

6 Dynpro attributes Dynpro attributes Administration Type Size Order
Settings Program Dynpro No. Short text Group Changes Generation Status Original language Package Development class Normal Subscreen Selection dynpro Dialog screen Static Dynamic Following dynpro Runtime compression Context menu Cursor position Hold data Source: Following SAP

7 Dynpro attributes Dynpros may contain following elements: Text
Input fields Check boxes Radio buttons Buttons Tabs Frame Subscreens Table controls Custom controls Element’s attributes may be changed during runtime

8 Dynpro runtime TOP include Dynpro 100 Dynpro 200
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 User input

9 Create a new dynpro Screenpainter Dynpro attributes Dynpro layout
Element‘s attributes Processing logic Dynpro no. 100 Short text Dynpro type = normal Next dynpro = 200 Flight number Input field NUMBER 10 characters PROCESS BEFORE OUTPUT MODULE INIT PROCESS AFTER INPUT MODULE READ_100 Step 1 Step 2 Step 3 Step 4

10 Graphical Screen Painter
Graphical Screen Painter is an external program, which is integrated into SAP Gui Can be used to draw a new dynpro Elements can be referenced to the Data dictionary (e.g. tables) If you did not install the Graphical Screen Painter you can use the older Screen Painter.

11 Graphical Screen Painter
Several views available: Main view: contains the main elements of your dynpro, which can be edited Element list: contains all element’s attributes from your dynpro Dictionary: contains elements from the data dictionary which may be inserted into your dynpro Attributes: contains attributes of one element from your dynpro

12 Title and status bar Title defines the title of the dynpro
Status bar defines the menu and the flexible and fixed tool bar Status bar defines OK_CODE of elements For each dynpro you may define a title and status bar Status Title


Herunterladen ppt "Chapter 5 – Dynamic programs"

Ähnliche Präsentationen


Google-Anzeigen