You are on page 1of 23

FBI Views

SAP AG, 2012


Disclaimer

This presentation outlines our general product direction and should not be relied on in
making a purchase decision. This presentation is not subject to your license
agreement or any other agreement with SAP. SAP has no obligation to pursue any
course of business outlined in this presentation or to develop or release any
functionality mentioned in this presentation. This presentation and SAP's strategy and
possible future developments are subject to change and may be changed by SAP at
any time for any reason without notice. This document is provided without a warranty
of any kind, either express or implied, including but not limited to, the implied
warranties of merchantability, fitness for a particular purpose, or non-infringement.
SAP assumes no responsibility for errors or omissions in this document, except if
such damages were caused by SAP intentionally or grossly negligent.

© 2012 SAP AG. All rights reserved. 2


Agenda

Introduction
Use Cases
Creating FBI Views

© 2012 SAP AG. All rights reserved. 3


Introduction
Introduction

FBI Feeder Without an FBI View


Class A single business object node is connected to a
UIBB.

All fields of the node are taken as they are defined


in the business object.

All fields are passed to the client

BOPF Business
Object Node

© 2012 SAP AG. All rights reserved. 5


Introduction

FBI Feeder With an FBI View


Class The FBI view defines its own UI structure which
usually differs from the underlying business object
node.

FBI View Mapping of node fields

BOPF Business
Object Node

© 2012 SAP AG. All rights reserved. 6


Use Cases
Use Case 1: Node Reduction

FBI Feeder Used if the business object node has many fields
Class (e.g. >100) but only a few are used in the UIBB.

Performance: Only these few fields are passed to


the client.
FBI View
Usability: The configuration of the UIBB becomes
easier because fewer fields are available for
selection.

BOPF Business
Object Node

© 2012 SAP AG. All rights reserved. 8


Use Case 2: Field Conversions

FBI Feeder Sometimes single fields are not just displayed as


Class they are defined in the business object node.

Examples:
 The BO node has a TIMESTAMP, but there should be
one date field and one time field on the UI .
FBI View
 The description of code values should be displayed too.

Solution:
Define a UI structure that has a date field and a time
BOPF Business field and create a separate mapper class to handle
Object Node this conversion.

© 2012 SAP AG. All rights reserved. 9


Use Case 3: Combine Nodes

FBI Feeder An FBI view can only refer to one business object
Class node, but it can reference multiple other FBI views.
By this it is possible to combine several fields of
different nodes into one FBI view as long as both
nodes are linked via an 1:0..1 association.
FBI View

BOPF Business
FBI View
Object Node FBI View

© 2012 SAP AG. All rights reserved. 10


Use Case 4: Action Details

FBI Feeder By default, all actions of the business object node


Class are available in the FBI view.

The FBI view allows UI-specific details to be added.

FBI View Actions


Actions

BOPF Business
Actions
Object Node Actions

© 2012 SAP AG. All rights reserved. 11


The Exit Class

For all other use cases, a generic exit


class can be defined in an FBI View.

The class needs to implement:


 /BOFU/IF_FBI_VIEW_EXIT_INTF
 /BOFU/IF_FBI_VIEW_EXITINTF_RUN

Methods:
 ADAPT_CHANGE_LOG
 ADAPT_DATA
 ADAPT_ACTION_PROPERTIES
 ADAPT_MESSAGES
 ADAPT_EVENT
 ADAPT_FIELD_PROPERTIES
 ADAPT_SELECTION
 ADAPT_NEEDS_CONFIRMATION

© 2012 SAP AG. All rights reserved. 12


Creating FBI Views
Creating an FBI View
Create a new component

 Open SE80 and create a new Web Dynpro


component configuration from the context
menu.

 Use the generic FBI component


/BOFU/FBI_VIEW and create a separate
configuration for it.
1

© 2012 SAP AG. All rights reserved. 14


Creating an FBI View
Assign leading BO Node

 Every FBI view connects to a leading


business object node.
 Therefore name a business object
and a node.
 Everything else is optional and
depends on the use case.

 The view is now identical to the


referenced node and can be used like
it in UIBBs

© 2012 SAP AG. All rights reserved. 15


Creation of an FBI View
Use Case 1: Node Reduction
 Create and define a DDIC structure
that contains the BOPF key include
(/BOBF/S_FRW_KEY_INCL) and a
subset of the node’s fields.

 If no mapper class is defined, the


default class is used. This class
performs a MOVE-CORRESPONDING
between the node’s structure and the
UI structure.

 Every mapper class implements


/BOFU/IF_FBI_VIEW_DATA_MAPPER.

© 2012 SAP AG. All rights reserved. 16


Creating an FBI View
Use Case 2: Field Conversion

 Create a new class and assign the ABAP interface


/BOFU/IF_FBI_VIEW_DATA_MAPPER.

 Implement at least the method


MAP_DATA_BO_NODE_TO_UI for display use cases.

© 2012 SAP AG. All rights reserved. 17


Creating an FBI View
Use Case 2: Field Conversion

Define the new mapper class


within the FBI view.

© 2012 SAP AG. All rights reserved. 18


Creating an FBI View
Use Case 3: Combine Nodes

Go to “Related Views”, add a line, and define another FBI view.

© 2012 SAP AG. All rights reserved. 19


Creating an FBI View
Use Case 3: Combine Nodes

An output structure suffix is used for all fields and actions of the related view
within the UI structure to avoid conflicts.

© 2012 SAP AG. All rights reserved. 20


Creating an FBI View
Use Case 4: Action Details

Add an action that would require


additional details.

Add the details.

© 2012 SAP AG. All rights reserved. 21


Thank you
© 2012 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps,
without the express permission of SAP AG. The information contained herein may be Google Mobile Ads, Google Mobile Updater, Google Mobile, Google Store, Google Sync,
changed without prior notice. Google Updater, Google Voice, Google Mail, Gmail, YouTube, Dalvik and Android are
trademarks or registered trademarks of Google Inc.
Some software products marketed by SAP AG and its distributors contain proprietary
software components of other software vendors. INTERMEC is a registered trademark of Intermec Technologies Corporation.
Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are Wi-Fi is a registered trademark of Wi-Fi Alliance.
registered trademarks of Microsoft Corporation.
Bluetooth is a registered trademark of Bluetooth SIG Inc.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x,
System z, System z10, z10, z/VM, z/OS, OS/390, zEnterprise, PowerVM, Power Motorola is a registered trademark of Motorola Trademark Holdings LLC.
Architecture, Power Systems, POWER7, POWER6+, POWER6, POWER, PowerHA, Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.
pureScale, PowerPC, BladeCenter, System Storage, Storwize, XIV, GPFS, HACMP,
RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer,
Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation. StreamWork, SAP HANA, and other SAP products and services mentioned herein as well
as their respective logos are trademarks or registered trademarks of SAP AG in Germany
Linux is the registered trademark of Linus Torvalds in the United States and other countries. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal
trademarks of Adobe Systems Incorporated in the United States and other countries. Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services
Oracle and Java are registered trademarks of Oracle and its affiliates. mentioned herein as well as their respective logos are trademarks or registered trademarks
of Business Objects Software Ltd. Business Objects is an SAP company.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin products and services mentioned herein as well as their respective logos are trademarks or
are trademarks or registered trademarks of Citrix Systems Inc. registered trademarks of Sybase Inc. Sybase is an SAP company.
HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services are registered trademarks
World Wide Web Consortium, Massachusetts Institute of Technology. of Crossgate AG in Germany and other countries. Crossgate is an SAP company.
Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, All other product and service names mentioned are the trademarks of their respective
Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc. companies. Data contained in this document serves informational purposes only. National
product specifications may vary.
IOS is a registered trademark of Cisco Systems Inc.
The information in this document is proprietary to SAP. No part of this document may be
RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry reproduced, copied, or transmitted in any form or for any purpose without the express prior
Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App written permission of SAP AG.
World are trademarks or registered trademarks of Research in Motion Limited.

© 2012 SAP AG. All rights reserved. 23

You might also like