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

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

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

How to Use Function Keys in Mobile Applications for Handhelds

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

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

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

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

How To...Configure Integration of CUP with SPM

SAP NetWeaver How-To Guide

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

Simplified Configuration of Single System Update in Maintenance Optimizer

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

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

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

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

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

SAP NetWeaver How-To Guide

How To Generate XSD Schemas from Existing MDM Repositories

MDM Syndicator Create Flat Syndication File

Setting Up an Environment for Testing Applications in a Federated Portal Network

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

Install TREX for CAF Version 1.00 March 2006

Visual Composer - Task Management Application

How To... Use the BPC_NW Mass User Management Tool

Process Control 2.5 Implementation Checklist

What s New / Release Notes SAP Strategy Management 10.1

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Do Exception Broadcasting

SAP Composite Application Framework. Creating a Content Package Object

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

Consuming Web Dynpro components in Visual Composer.

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

How To... Configure Drill Through Functionality

SAP How-To Guide. Master Data Governance for Material. How To... Adjust MDG Homepage. Applicable Releases: EhP6, MDG 6.1

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

How to Set Up and Use the SAP OEE Custom UI Feature

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0

configure an anonymous access to KM

link SAP BPC Excel from an enterprise portal Version th of March 2009

How To Customize the SAP User Interface Using Theme Editor

How To Extend User Details

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

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How to Create a New SAPUI5 Development Component

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

Web Page Composer anonymous user access

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

Integrate a Forum into a Collaboration Room

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

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

Cache Settings in Web Page Composer

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

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

How to... Build a Planning Function that Deletes Comments in BW

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

How To Troubleshoot SSL with BPC Version 1.01 May 2009

How To Configure IDoc Adapters

Building a Tax Calculation Application

Extract Archived data from R3

Enterprise Portal Logon Page Branding

Create Monitor Entries from an update routine

Create Monitor Entries from a Transformation routine

Configure SSO in an SAP NetWeaver 2004s Dual Stack

How to Browse an Enterprise Services Registry in Visual Composer

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

Visual Composer Build Process

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

How to Translate a Visual Composer Model Part I

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee

Installation Guide Business Explorer

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

How to Fast-Switch Integration Scenarios between SAP PI Runtimes Part II: Web Dispatcher

View Time Security for crystalreports.com

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

How To... Transport Forum Content Between SAP NetWeaver Systems

Introducing SAP Enterprise Services Explorer for Microsoft.NET

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Using Business Graphics

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

SAP Centralized Electronic Funds Transfer 1.8

How To Create Publications with SAP NetWeaver MDM Using MDM Publisher- Advanced Topics

How To Set Up and Use the SAP ME Work Instructions Feature

Authentication of a WS Client Using a SAP Logon Ticket

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

Value Help in Web Dynpro ABAP - Tutorial.

Configure Peripheral Drivers with Mobile Infrastructure

Send Multiple IDocs Within One XI Message

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

Consuming Directory API in ABAP

xmii UDS Overview and Troubleshooting

Handle. How-to Guide SAP NetWeaver 2004s. Version 1.00 Sept 2006

Working with Select Options in Web Dynpro for ABAP

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

Setup an NWDI Track for Composition Environment Developments

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

Transcription:

SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to Applicable Releases: EhP5, EhP6, MDG6.1 Version 1.1 March 2013

Copyright 2013 SAP AG. 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. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, 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 in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. 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. These materials are provided as is 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 shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver How-to Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way.

Document History Document Version Description 1.00 First official release of this guide 1.10 Additional SAP Notes

Typographic Conventions Type Style Example Text Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Cross-references to other documentation Icons Icon Description Caution Note or Important Example Recommendation or Tip Example text Example text Example text <Example text> EXAMPLE TEXT Emphasized words or phrases in body text, graphic titles, and table titles File and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. User entry texts. 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. Keys on the keyboard, for example, F2 or ENTER.

Table of Contents 1. Business Scenario... 1 2. Background Information... 1 3. Prerequisites... 1 4. Step-by-Step Procedure... 2 4.1 Create new Change request type... 2 4.2 Define Service Names... 2 4.3 Status... 3 4.4 BRF+ tables... 4 4.4.1 Single Value Decision Table... 4 4.4.2 User Decision Table... 5 4.4.3 Non-User Decision Table... 5 4.5 Enhancement Spot USMD_SSW_SERVICE_PROCESSOR... 6 4.5.1 Create Enhancement Implementation... 7 4.5.2 Create BADI Implementation... 8 4.5.3 Create Filter... 8 4.5.4 Create Interface method if_usmd_ssw_syst_method_caller~call_system_method... 8 4.6 Check Workflow log... 10

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 1. Business Scenario SAP Master Data Governance for Material (MDG-M) provides business processes to find, create, change, and mark material master data for deletion. It supports the governance of material master data in a central hub and the distribution to connected operational and business intelligence systems. The processes are workflow-driven and can include several approval and revision phases, and the collaboration of all users participating in the master data maintenance. This scenario addresses the customer requirement for activation and distribution before the complete maintain process for material create is completed. This How To Guide describes the solution to create automatically a new change request after the activation of the material create change request. 2. Background Information The Business Add-In (BAdI) Calling of System Method for Rule-Based Workflow is used to create the new change request automatically. This Business Add-In (BAdI) is used in the Master Data Governance (CA-MDG) component. You can use this BAdI to implement the calling of a system method in the rule-based workflow. The BAdI uses the method CALL_SYSTEM_METHOD. The input for this BAdI is the change request number and the service name. The method uses the change request number to retrieve data from the change request. By using the service name, it is possible to reuse the same BAdI implementation for multiple service names. For example when two service names are used in the configuration of the same change request workflow, and the user wants to create only one BAdI implementation, having the service name as the input parameter enables you to separate the processing logic based on the service name input. Requirements You have defined the filter value Service Name in view V_USMD201C_SSW. Standard settings For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18). No default BAdI implementation is pre-activated in the standard system. The BAdI is filter-dependent. You need to create a separate implementation for your specific calling of a system method. The BAdI is not designed for multiple use. Activities For information about implementing BAdIs in the context of the Enhancement Concept, see the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework. 3. Prerequisites Relevant SAP Notes: 1597746 1700197 1837696 April 2013 1

... How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4. Step-by-Step Procedure 4.1 Create new Change request type April 2013 2

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.2 Define Service Names 4.3 Status Optional: Create new status April 2013 3

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.4 BRF+ tables Use Customizing or transaction USMD_SSW_RULE - Process Definition of RBWF 4.4.1 Single Value Decision Table April 2013 4

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.4.2 User Decision Table April 2013 5

... How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.4.3 Non-User Decision Table April 2013 6

... How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.5 Enhancement Spot USMD_SSW_SERVICE_PROCESSOR Customizing Or Transaction SE18 - Business Add-Ins: Definitions April 2013 7

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.5.1 Create Enhancement Implementation April 2013 8

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to April 2013 9

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.5.2 Create BADI Implementation 4.5.3 Create Filter 4.5.4 Create Interface method if_usmd_ssw_syst_method_caller~call_system_method April 2013 10

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to For the interface method you can use the default coding from Example Enhancement implementation MDG_BS_MAT_CREATE_SUCCESSOR_CR (Create successor change request for an activated change request) and implementing class CL_MDG_BS_MAT_CREATE_SUCC_CR. April 2013 11

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to 4.6 Check Workflow log You can check with Transaction SWI6 if the synchronous system method was successful. April 2013 12

www.sdn.sap.com/irj/sdn/howtoguides