Business Add-Ins (BAdIs) for SD Jam Integration Document Version:

Similar documents
SAP Business One Upgrade Strategy Overview

Visual Business Configuration with SAP TM

SAP Business One Upgrade Strategy Overview

What's New in SAP Landscape Transformation Replication Server 2.0 SP15

What's New in SAP Landscape Transformation Replication Server 2.0 SP13

SAP Business One Hardware Requirements Guide

Standalone Retrofit. Required Steps when Upgrading to SAP Solution Manager 7.2, SP03

Deleting SAP HANA Delivery Units and Products

SAP Workforce Performance Builder 9.5

How To Protect your Intellectual Property

SAP Business One Hardware Requirements Guide

Automated Java System Post-Copy Configuration Using SAP Landscape Management 3.0, Enterprise Edition

SAP Policy Management, group insurance add-on 1.1

Feature Scope Description Document Version: CUSTOMER. SAP Analytics Hub. Software version 17.09

SAP Landscape Transformation Replication Server

SAP Business One Hardware Requirements Guide

How to Work with Analytical Portal

SAP Workforce Performance Builder

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

SAP NetWeaver Master Data Management

Partition Wizard User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

Server Extension User s Guide SAP BusinessObjects Planning and Consolidation 10.0, version for the Microsoft platform

SAP Business One Hardware Requirements Guide

Security Information for SAP Asset Strategy and Performance Management

SAP Business One, version for SAP HANA Platform Support Matrix

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

How to Set Up and Use Electronic Tax Reporting

SAP Enable Now. Desktop Components (Cloud Edition)

Software and Delivery Requirements

BC470. Form Printing with SAP Smart Forms COURSE OUTLINE. Course Version: 18 Course Duration:

Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight

Trigger-Based Data Replication Using SAP Landscape Transformation Replication Server

SAP Composite Application Framework. Creating a Content Package Object

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

Data Protection and Privacy for Fraud Watch

Development Information Document Version: CUSTOMER. ABAP for Key Users

Visual Structure Manager Administration Guide

Authentication of a WS Client Using a SAP Logon Ticket

Installing and Updating SAP HANA Products and Software Components

SAP Landscape Transformation for SAP HANA (HA1)

SAP Policy Management 5.4

INTERNAL USE ONLY SAP BusinessObjects EPM Add-in for Microsoft Office Support Package 17 / Patch XX Installation Procedure

S4D430 Building Views in Core Data Services ABAP (CDS ABAP)

SAP HANA Authorization (HA2)

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

SAP Mobile Secure Rapiddeployment. Software Requirements

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC

How-To Guide SAP 3D Visual Enterprise Author Document Version: Markups and Measurements

Forwarding Alerts to Alert Management (ALM)

How-To Guide SAP 3D Visual Enterprise Author 8.0 Document Version: How To Part Replace

HA215 SAP HANA Monitoring and Performance Analysis

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

Simplified Configuration of Single System Update in Maintenance Optimizer

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

Using Business Graphics

BC401. ABAP Objects COURSE OUTLINE. Course Version: 18 Course Duration:

Web Dynpro for ABAP: Tutorial 5 Component and Application Configuration

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous

SAP Branch Agreement Origination V3.703: Software and Delivery Requirements

BC414. Programming Database Updates COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Quick Guide to Implementing SAP Predictive Analytics Content Adoption rapiddeployment

D75AW. Delta ABAP Workbench SAP NetWeaver 7.0 to SAP NetWeaver 7.51 COURSE OUTLINE. Course Version: 18 Course Duration:

How To... Reuse Business Objects and Override Operations of a Business Object

Installation Guide Plant Connectivity 2.3

How To... Configure Integrated Configurations in the Advanced Adapter Engine

SLT100. Real Time Replication with SAP LT Replication Server COURSE OUTLINE. Course Version: 13 Course Duration: 3 Day(s)

How to Use Function Keys in Mobile Applications for Handhelds

Manual Instructions for SAP Note CRA: Configuration for the CRA report

BC403 Advanced ABAP Debugging

How to Manage UUID field in Existing Purchasing Documents (Electronic Accounting Statement Feature)

Setting Attributes Dynamically

UX402 SAP SAPUI5 Development

How To... Promote Reports and Input Schedules Through Your System Landscape

Certification Suite BC-ILM 3.0

Universe Design Tool SDK Object Model Diagrams SAP BusinessObjects Business Intelligence platform 4.1

SAP Workforce Performance Builder 9.5

C4C30. SAP Cloud Applications Studio COURSE OUTLINE. Course Version: 21 Course Duration: 4 Day(s)

How To... Master Data Governance for Material: File Down- and Upload

How-To... Add Sensitive Content into an Area

BC405 Programming ABAP Reports

Sales Order Inbound via EDI (289)

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

S4H410. SAP S/4HANA Embedded Analytics and Modeling with Core Data Services (CDS) Views COURSE OUTLINE. Course Version: 05 Course Duration: 2 Day(s)

BOD410 SAP Lumira 2.0 Designer

DS10. Data Services - Platform and Transforms COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

S4H01. Introduction to SAP S/4HANA COURSE OUTLINE. Course Version: 04 Course Duration: 2 Day(s)

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 16 Course Duration: 3 Day(s)

SAP Workforce Performance Builder 9.5

Release Information Document Version: CUSTOMER. SAP Event Ticketing

How To Generate XSD Schemas from Existing MDM Repositories

SAP NetWeaver How-To Guide

BOCRC. SAP Crystal Reports Compact Course COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

SAP NetWeaver How-To Guide

HA301. SAP HANA 2.0 SPS03 - Advanced Modeling COURSE OUTLINE. Course Version: 15 Course Duration:

ADM505. Oracle Database Administration COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

Transcription:

Document Version: 1.0 2014-08-22

Typographic Conventions Type Style Example Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Textual cross-references to other documents. Example EXAMPLE Example Example <Example> Emphasized words or expressions. Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE. Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. EXAM PLE Keys on the keyboard, for example, F2 or EN TER. 2 2014 SAP SE or an SAP affiliate company. All rights reserved. Typographic Conventions

Document History Version Date Change 1.0 2014-06-20 First Version 1.1 2014-08-22 Second Version with enhanced documentation for BAdIs Document History 2014 SAP SE or an SAP affiliate company. All rights reserved. 3

Table of Contents 1 Business Add-Ins (BAdIs)... 5 1.1 BAdI: Subscription Service Details (ESJI_SUB_SRV_BADI)... 5 1.2 BAdI: User Authorization Check (ESJI_SUB_AUTH_BADI)... 6 1.3 BAdI: Notification Check (ESJI_NOTIF_FILTER_BADI)... 7 1.4 BAdI: Notification Data Formatting and Subscription Filtering (ESJI_NOTIF_BADI)... 8 1.5 BAdI: Sales Order Details (ESJI_SO_BADI)... 8 1.6 BAdI: Sales and Distribution Features (ESJI_SD_BADI)... 9 4 2014 SAP SE or an SAP affiliate company. All rights reserved. Table of Contents

1 Business Add-Ins (BAdIs) The following BAdIs are available for SD Jam integration: o BAdI: Subscription Service Details (ESJI_SUB_SRV_BADI) o BAdI: User Authorization Check (ESJI_SUB_AUTH_BADI) o BAdI: Notification Check (ESJI_NOTIF_FILTER_BADI) BAdI: Notification Data Formatting and Subscription Filtering (ESJI_NOTIF_BADI) o BAdI: Sales Order Details (ESJI_SO_BADI) o BAdI: Sales and Distribution Features (ESJI_SD_BADI) 1.1 BAdI: Subscription Service Details (ESJI_SUB_SRV_BADI) Use The ESJI_SUBSRV_BADI BAdI is used in the integration of SAP SD with SAP Jam (SD-BF-JAM) component. When a user subscribes to a business object, you use this BAdI to retrieve the required parameters to create a successful subscription. You can find a description of how to use the four BAdI methods below: Get Gateway Destination for Notification (GET_GATEWAY_DESTINATION) This method returns the system name and the client details of the gateway hub, where the subscriptions are registered. Get the Subscription Title (GET_SUBSCRIPTION_TITLE) This method returns the subscription title of a business object. Get the Service Details for the Business Object (GET_SERVICE_FOR_BO) This method returns the SAP NetWeaver Gateway service details of a business object along with the collection name. Get the Annotation Details for the Business Object (GET_ANNOTATION_FOR_BO) This method returns the URL for the annotation of a business object. Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18). BAdI Implementations ESJI_SUBSRV_BADI_DEFIMPL: The default implementation for the GET_GATEWAY_DESTINATION returns the gateway destination based on the entry made in the SAP Jam configuration. Business Add-Ins (BAdIs) 2014 SAP SE or an SAP affiliate company. All rights reserved. 5

Activities For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs -> Embedding in the Enhancement Framework. More Information For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework. 1.2 BAdI: User Authorization Check (ESJI_SUB_AUTH_BADI) Use The ESJI_SUB_AUTH BAdI is used in the integration of SAP SD with the SAP Jam (SD-BF-JAM) component. You can use this BAdI to check whether a user is authorized to subscribe to and receive notifications for a business object. You can find a description of how to use these two BAdI methods, below: Check Authorization for Subscription Receiver (CHECK_RECEIVER_AUTH) You use this method to check whether a user has the specific authorizations required to receive notifications for a business object. Check Authorization for Subscription Creation (CHECK_SUBSCRIBE_AUTH) You use this method to check whether a user has the specific authorizations required to subscribe to a business object. Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18). BAdI Implementations: ESJI_SUBAUTH_BADI_DEFIMPL: The default implementation checks whether the user has the authorization to access the business object. If the user has the correct authorizations to access the business object, the user can subscribe and receive notifications for the business object. Activities For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework. More Information For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. 6 2014 SAP SE or an SAP affiliate company. All rights reserved. Business Add-Ins (BAdIs)

In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework. 1.3 BAdI: Notification Check (ESJI_NOTIF_FILTER_BADI) Use The ESJI_NOTIF_FILTER BAdI is used in the integration of SAP SD with SAP Jam (SD-BF-JAM) component. You can use this BAdI to check if notifications can be sent to SAP Jam. You can find a description of how to use the BAdI method, below: Filter Notifications (NOTIFICATION_FILTER) This method is used to check whether notifications can be sent to SAP Jam. If the method returns TRUE, notifications can be sent to SAP Jam. If the method returns FALSE, no notifications can be sent to SAP Jam. The decision is based on the logic of the importing parameter that contains the notification data. Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18). BAdI Implementations ESJI_NOTIF_FILTER_BADI_DEFIMPL: The default implementation returns TRUE and sends all notifications to SAP Jam. Activities For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework. More Information For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework. Business Add-Ins (BAdIs) 2014 SAP SE or an SAP affiliate company. All rights reserved. 7

1.4 BAdI: Notification Data Formatting and Subscription Filtering (ESJI_NOTIF_BADI) Use The ESJI_NOTIF_BADI BAdI is used in the integration of SAP SD with SAP Jam (SD-BF-JAM) component. You can use this BAdI to filter subscriptions and format the display of the notification on the SAP Jam page. You can find a description of how to use the BAdI methods, below: Filter Notification Endpoints (NOTIFICATION_ENDPOINTS) You use this method to check whether notifications can be sent to SAP Jam. If the method returns TRUE, notifications can be sent to SAP Jam. If the method returns FALSE, no notifications can be sent to SAP Jam. The decision is based on the logic of the importing parameter that contains the notification data. The updated data is available in the data field of the changing parameter CT_ENDPOINTS as a table. The notification text is in the field text of the table CT_ENDPOINTS. Here you can add necessary HTML tags to format the text. For example, if you want to draw the user's attention to some text, you can include html tags to highlight the font in red color. Handle Available Subscriptions for BO Notification (NOTIFICATION_SUBSCRIPTION) You use this method to filter the list of subscriptions based on the notification data. Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18). Activities For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework. More Information For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework. 1.5 BAdI: Sales Order Details (ESJI_SO_BADI) Use The ESJI_SO_BADI is used in the integration of SAP SD with the SAP Jam (SD-BF-JAM) component. You can use this BAdI to retrieve employee details for a sales document. You can find a description of how to use this BAdI method, below: Retrieve Details for Sales Employee (GET_SALES_EMPLOYEE_DETAILS): You can use this Business Add-In (BAdI) method to get details about a sales employee for a sales document. 8 2014 SAP SE or an SAP affiliate company. All rights reserved. Business Add-Ins (BAdIs)

Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18). BAdI Implementations ESJI_SO_BADI_DEFIMPL is the default implementation that retrieves the employee responsible details for a sales document. Activities For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework. More Information For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework. 1.6 BAdI: Sales and Distribution Features (ESJI_SD_BADI) Use The ESJI_SD_BADI BAdI is used in the integration of SAP SD with the SAP Jam (SD-BF-JAM) component. You can use this BAdI to retrieve the sales and distribution features. You can find a description of how to use this BAdI method, below: Generate URL (GET_URL_LINK): You use this method to create a URL for a business object that you use to navigate from SAP Jam to the business object details in the back-end. Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18). BAdI Implementations ESJI_SD_BADI_DEFIMPL: The default BAdI Implementation creates a URL for business objects such as customer or invoice that you use to navigate from SAP Jam to the SAP GUI for HTML interface. Activities For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework. Business Add-Ins (BAdIs) 2014 SAP SE or an SAP affiliate company. All rights reserved. 9

More Information For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework. 10 2014 SAP SE or an SAP affiliate company. All rights reserved. Business Add-Ins (BAdIs)

www.sap.com/contactsap 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/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.