Chapter 10 – Subscreens, tabs and HTML viewer

Slides:



Advertisements
Ähnliche Präsentationen
G21Billing Document Outbound via EDI Overview
Advertisements

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
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.
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.
Interaktives Reporting SAP Best Practices for CRM
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
Launch ON Global.vi System ID object name classname Services to suscribe Observer Control Ref vi-path Service name Step 1 : Objects register to the Global.vi´s,
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
Institut für Angewandte Mikroelektronik und Datentechnik Phase 5 Architectural impact on ASIC and FPGA Nils Büscher Selected Topics in VLSI Design (Module.
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.
Ralf M. Schnell Technical Evangelist Microsoft Deutschland GmbH
Interaction Center (IC) Serviceanforderungsmanagement SAP Best Practices.
Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.
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
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 2 Grammar INDEX 1.Subjects & Verbs 2.Conjugation of Verbs 3.Subject Verb Agreement 4.Person and Number 5.Present Tense 6.Word Order: Position of.
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
© 2012 IBM Corporation © 2013 IBM Corporation IBM Storage Germany Community Josef Weingand Infos / Find me on:
Systemkopie & Tablespace- Layout Claudia Schulz Landscape, Implementation/Development, SAP AG.
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.
Essay structure Example: Die fetten Jahre sind vorbei: Was passiert auf der Almhütte? Welche Bedeutung hat sie für jede der vier Personen? Intro: One or.
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 6 – Specialities for ERP software
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.
OFFICE 365 FOCUS SESSION SHAREPOINT ONLINE 101:LERNE DIE BASICS 19. März 2018 Höhr-Grenzhausen.
Integrating Knowledge Discovery into Knowledge Management
 Präsentation transkript:

Chapter 10 – Subscreens, tabs and HTML viewer ABAP Course Chapter 10 – Subscreens, tabs and HTML viewer 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 Subscreens TabStrips HTML viewer control

Usage of subscreens Main screen Invocation Process before output (PBO) 200 Main screen Process after input (PAI) 200 Invocation Source: Following SAP 2008

Specialties of subscreens Subscreens do not have own ok_codes Ok_code is parsed by the main screen No changes to Gui status during subscreen flow logic Following instructions are not allowed in subscreens: SET TITLEBAR, SET PF-STATUS, SET SCREEN, LEAVE SCREEN, LEAVE TO SCREEN

TabStrips Tabs may be used to structure content Tabs are very common in SAP system Every tab may contain other data/document

TabStrips TabStrip contains several tabs Each tab has its own subscreen to show data Each tab is assigned to own subscreen TabStrip text TabStrip Subscreen Screen

TabStrips Two variants of implementation Buffering in SAPGui Buffering in application server PBO modules are executed for all tabs and results are sent to SAPGui Switching between tabs can be done in SAPGui PAI modules of all tabs are executed in case of a raised event PBO module is only executed for one tab Switching between tabs is slow because each switch has to be done on application server Only PAI module of active tab is executed Performance Validation and execution of all tabs at the same time  costs performance on the application server Validation and execution of one tab only

TabStrips Creation of a TabStrip using TabStrip Wizard Start from the Graphical Screen Painter

TabStrips Creation of a TabStrip using TabStrip Wizard Name of the TabStrip Implementation mode

TabStrips Creation of a TabStrip using TabStrip Wizard Tab titles are defined here

TabStrips Creation of a TabStrip using TabStrip Wizard Number of subscreen has to be assigned Function code must be defined Function code is used to determine which tab was clicked by the user

TabStrips Creation of a TabStrip using TabStrip Wizard Name of the include of the main program

TabStrips Creation of a TabStrip using TabStrip Wizard

TabStrips Flow logic of program when using subscreen’s Main screen Process after input (PAI) Main screen Process before output (PBO) Subscreen 1-x Process before output (PBO) Main screen Main screen Process after input (PAI) Subscreen 1-x Sub screen Sub screen

HTML view control Enables SAP Gui to display HTML data HTML data cannot be displayed in SAP Gui by default  instead the standard web browser is used Documents from SAP web repository, business server pages as well as any kind of URL may be displayed

HTML view control Creation of HTML viewer control Start from Graphical Screen Painter using customer control

HTML view control Creation of HTML viewer control Change the size of the custom control Assign a name to the custom control, e.g. ‘HTML_VIEWER‘

CL_GUI_CUSTOM_CONTAINER HTML view control CUSTOM CONTROL HTML_VIEWER Container CL_GUI_CUSTOM_CONTAINER bsp_container Parent CL_GUI_HTML_VIEWER html_bsp

HTML view control Declare references in TOP INCLUDE: Data: html_bsp TYPE REF TO cl_gui_html_viewer, bsp_container TYPE REF TO cl_gui_custom_container. Instantiation in PBO: IF bsp_container IS INITIAL. CREATE OBJECT bsp_container EXPORTING container_name = ‘HTML_VIEWER’. CREATE OBJECT hmtl_bsp parent = bsp_container. ENDIF.

HTML view control Access to HTML view control via methods: show_url: Loads website from URL into HTML view control load_html_document: Loads document from repository go_home: Shows the homepage of standard web browser do_refresh: Refreshes loaded web site

BSP & HTML view control When using BSP’s in HTML viewer control you need the URL of the BSP including a session id SAP provides you with a method: CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application EXPORTING bsp_application = “ZY_99_BSP” bsp_start_page = “auswahl.htm” bsp_start_parameters = pars IMPORTING abs_url = urlbsp.