Fbi View: PDF Download From SAP Help Portal: Created On February 22, 2014
Fbi View: PDF Download From SAP Help Portal: Created On February 22, 2014
PDF download from SAP Help Portal: http://help.sap.com/erp2005_ehp_05/helpdata/en/aa/b2cbbdf3c04b929682c36004ea12e9/content.htm Created on February 22, 2014
The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help Portal.
Note This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.
2014 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Please see www.sap.com/corporateen/legal/copyright/index.epx#trademark for additional trademark information and notices.
Page 1 of 5
TABLE OF CONTENT
1 FBI View 1.1 Configuring an FBI View 1.2 Configuring a BO Action 1.3 Creating a Create by Reference Action on the UI 1.4 Creating OTR Confirmation Text 1.5 FBI Exit Class
Page 2 of 5
1 FBI View
You use the FBI view to join application data across multiple related business objects. It can be used to join data of different nodes in the same business object or a different business object. In the Header tab of the FBI view, you can specify the business object, node, UI structure, mapper class, and exit class. In addition to the fields present in business object structure, if other fields are required a UI structure should be created specifying the additional fields. A standard mapper class is also provided by FBI for mapping data between the business object node structure and the UI structure. In the Related View tab, you can specify another FBI view whose data needs to be displayed along with that of the node specified in the Header tab. A suffix and an association between nodes should be specified. If the associations between the nodes have parameters, this can be specified on the Association Parameter tab . If different parameter values have to be provided, then the same related view needs to be added with different association parameter values. In the Field Groups tab, you can group the fields together. In the Field Description tab for a particular field, you can specify the OTR text for the header label and the OTR text for the tooltip. You can perform the sorting and filtering on the fields. On the BOPF Actions tab, you can add BOPF and non-BOPF actions. It can be used to customize the pushbutton text and the tooltip text by providing the OTR text . You should provide the actions that occurs as a result of UI actions. You can specify the action parameters along with their values.
Prerequisites
In an SAP development system, you have created a Web Dynpro application. For more information see, Creating and Configuring an FPM OVP Application.
Procedure
1. 2. 3. 4. 5. 6. 7. 8.
In an SAP development system, enter transaction code SE80. In the navigation area, select Web Dynpro Comp./Intf. Select the /BOFU/FBI_VIEW component and choose Display. Right-click the /BOFU/FBI_VIEW object. Choose Create/Change Configuration. The Editor for the Web Dynpro ABAP Component Configuration screen appears. In the Web Dynpro: Component / Create Interface dialog box, enter an appropriate configuration ID and choose New. In the Create Configuration dialog box, enter an appropriate description for the configuration and choose OK. In the Select Package dialog box, enter the package name and choose OK. The Component Configuration screen appears. Here, you can view and edit the FBI view.
Editing and Viewing the FBI View On the Header tab, enter the following details: Business Object: BO name Node: BO node name 2. Save the component configuration.
1. 3.
Note
The following steps should be performed only if you want an action to be configured in an FBI view.
On the Actions tab, choose Add. Enter the UI action in the UI Action field. 5. Enter the BO action to be invoked in the Invoked Action field. 6. Save your entries.
4.
Prerequisites
PUBLIC 2013 SAP AG or an SAP affiliate company. All rights reserved. Page 3 of 5
In an SAP development system, you have already created a Web Dynpro application, an initial screen, and a list UIBB. For more information, see: Creating and Configuring an FPM OVP Application Creating an Initial Screen Creating a List UIBB
Note
You can also use the Form or Tree UIBB.
Procedure
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
On the component configuration screen of the list GUIBB, choose the Column pushbutton. In the Edit Columns dialog box, select the elements to be displayed on the list and choose the OK pushbutton. To add the button for the action, on the Toolbar Schema tab, choose the Toolbar Element pushbutton. In the Configure Toolbar dialog box, select the action name that was given during FBI view configuration and choose the OK pushbutton. Save the list UIBB configuration. Return to the component configuration screen. On the Wire Schema tab, choose the Graphical Wire Editor pushbutton. Perform the required wiring. For more information, see Creating Wires in Wiring Schema. Go to the application configuration screen and choose the Test pushbutton. On the initial screen of the application, enter an alternative key and chose the Continue pushbutton. On the main page, under the list, select a row and choose the pushbutton. Enter the required values. The BO action is executed.
Prerequisites
In an SAP development system, you have already created a role in a launchpad and configured an FBI view for a create by reference UI action. You have also created and configured a Web Dynpro application, and created and configured a UIBB. For more information, see: Configuring an FBI View Creating an FPM OVP Application Creating an Initial Screen Creating a List UIBB
Procedure
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
On the component configuration screen of the list GUIBB, choose the Column pushbutton. In the Edit Columns dialog box, select the elements to be displayed on the list and choose the OK pushbutton. To add the button for the action, on the Toolbar Schema tab, choose the Toolbar Element pushbutton. In the Configure Toolbar dialog box, select the action name that was given during FBI view configuration and choose the OK pushbutton. Save the list UIBB configuration. Return to the Component Configuration screen. On the Wire Schema tab, choose the Graphical Wire Editor pushbutton. Perform the required wiring. For more information, see Creating Wires in Wiring Schema. Go to the application configuration screen and choose the Test pushbutton. On the initial screen of the application, enter an alternative key and chose the Continue pushbutton. On the main page, under the list, select a row and choose the pushbutton.
Note
This button is created with reference action in the list configuration.
12.
Page 4 of 5
Procedure
1. 2. 3. 4. 5. 6. 7. 8. 9.
In an SAP development system, enter the transaction code SOTR_EDIT. The OTR: Maintain Initial Screen appears. Under Text Type, select Short Text. Under Text, select the language you require. Enter the OTR text that you want to see in the confirmation dialog box. Enter an alias text. Choose the Create pushbutton. The OTR: Change Concept screen appears. Enter your package name. Enter WEBS as your object type. Save the concept. The concept is saved and a concept key is assigned.
Note
This alias value is used later in the FBI view configuration
The runtime interface (/BOFU/IF_FBI_VIEW_EXITINTF_RUN) has the following methods: Method Description ADAPT_CHANGE_LOG ADAPT_DATA ADAPT_ACTION_PROPERTIES ADAPT_MESSAGES ADAPT_EVENT ADAPT_FIELD_PROPERTIES ADAPT_SELECTION ADAPT_NEEDS_CONFIRMATION You use this method to modify the change log. The change log has information about the fields thatwere changed. You use this method to modify the data. You use this method to modify the properties of action. You use this method to modify messages. You use this method to modify the event execution You use this method to modify the properties of the fields in the user interface. You use this method to modify the selection in the List or Tree. You used this method to modify the confirmation text displayed in a confirmation dialog box
You can implement the exit interfaces and create your exit classes. This exit class has to be provided in the Exit Interface Class field of your FBI view.
Page 5 of 5