How-To Guide Document Version: 1411 2014.12.15 How to Configure an Example SAP Cloud Applications Studio (PDI) Solution for SAP Cloud for Customer
How to configure an example SAP Cloud Applications Studio (PDI) solution 2 Copyright 2014 SAP SE 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 SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global.sap.com/corporateen/legal/copyright/index.epx#trademark for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company 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. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE s or its affiliated companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
How to configure an example SAP Cloud Applications Studio (PDI) solution 3 Content 1 Introduction... 4 1.1 Business Scenario... 4 1.2 Prerequisites... 4 2 Create PDI Admin/Development User... 5 3 Connect to SAP Cloud for Customer using SAP Cloud Application Studio... 8 4 Create Solution using Solution Template... 10
How to configure an example SAP Cloud Applications Studio (PDI) solution 4 1 Introduction 1.1 Business Scenario This document describes how to configure a customer specific solution using the SAP Cloud Applications Studio (PDI) for SAP Cloud for Customer. For your ease solution template is provided that enables an ECC sales order search within SAP Cloud for Customer. 1.2 Prerequisites SAP ERP The ERP system must contain the following ABAP components: 1. SAP_BASIS 700 SP18 or higher 2. SAP_APPL 600 SP15 or higher SAP PI SAP Process Integration 7.11 or higher is needed and it is always recommended to install the latest support package. SAP Cloud for Customer Initial setup and configuration was already performed in tenant as it is mentioned in the SAP Cloud for Customer Administrator Guide Communication system for ECC is created SAP Cloud Application Studio <latest version and should match with the version of SAP Cloud for Customer tenant>
How to configure an example SAP Cloud Applications Studio (PDI) solution 5 2 Create PDI Admin/Development User. 1. Connect to the SAP Cloud for Customer system using an internet browser and open the Business Configuration work center and select Implementation Projects. 2. For the First Implementation project click Open Activity List. 3. Under Prepare tab, choose Define Administrators for Project Team. 4. Choose the Create Service Agents link. 5. Enter the First Name and Last Name and click Save.
How to configure an example SAP Cloud Applications Studio (PDI) solution 6 6. Click Request User. 7. Close the opened pages. 8. Navigate to Application and User Management Business Users. 9. Click Go to see all the business users. 10. Select the user created before and choose Edit Attributes. 11. Maintain the user ID, password and click Save. 12. Click Edit Access Rights.
How to configure an example SAP Cloud Applications Studio (PDI) solution 7 13. Under the tab, Work Center and View Assignment, make the below assignment by selecting the required check box. Click Save.
How to configure an example SAP Cloud Applications Studio (PDI) solution 8 3 Connect to SAP Cloud for Customer using SAP Cloud Application Studio Pre-requisite You have installed SAP Cloud Application Studio. You can download this tool from the Software download center using the link https://websmp201.sap-ag.de/swdc. Navigate to Installations and Upgrades Browse Our download Catalog SAP Cloud Solutions SAP Cloud Application Studio SAP Cloud App Studio<latest version>. 1. Launch the SAP Cloud Application Studio from the installed programs. 2. If the SAP Cloud for Customer system is already added, then skip the following steps 3& 4 and log on directly as described in step 5. Else, add the system first as described below. 3. From the menu Administration choose Options and Settings. 4. Navigate to menu SAP General, and under the Connectivity tab add the SAP Cloud for customer system name and host name. Maintain the other settings as shown below and click OK. 5. Click the Log On button to connect to the repository.
How to configure an example SAP Cloud Applications Studio (PDI) solution 9 6. Choose the system from the dropdown and enter the PDI User ID created above and password and click OK. 7. You are now connected to the SAP Cloud for Customer system and you should be able to see My Solutions content as shown below.
How to configure an example SAP Cloud Applications Studio (PDI) solution 10 4 Create Solution using Solution Template 1. Download the zip file of the solution template from the SCN page http://scn.sap.com/docs/doc-60105 and save it locally on your desktop. 2. Open the SAP Cloud Application Studio if not already opened and log on to the SAP Cloud for Customer repository. 3. Right click on My Solutions and choose Create Solution. 4. Enter the mandatory fields and for the Solution Type, choose Customer-Specific Solution and for the Deployment Unit choose Customer Relationship Management. Click OK. 5. Solution CustomerTicketForSalesOrder is created under My Solutions node. 6. Open the Implementation Manager window from the Administration menu in the Studio.
How to configure an example SAP Cloud Applications Studio (PDI) solution 11 7. Click on Import Solution template button in Implementation Manager window. 8. Select the solution template zip file downloaded before and click Open. 9. All the objects of the solution template will be imported into the solution as shown below.
How to configure an example SAP Cloud Applications Studio (PDI) solution 12 10. Activate all the items of the solution by right clicking on the Solution Activate All Items. 11. Next, Open the UI Designer by double clicking on the UI component ECCDocumentsSearch_EC.EC.uicomponent. 12. The UI Designer screen opens.
How to configure an example SAP Cloud Applications Studio (PDI) solution 13 13. From the View menu in UI Designer open the Configuration Explorer. 14. In Configuration Explorer, open the Ticket TI by double clicking on the component in UI Designer. This can be found within the node structure BYD_COD ServiceOnDemand AgentWorkspace COD_SEOD_Agent_Workspace_TI
How to configure an example SAP Cloud Applications Studio (PDI) solution 14 15. From the View menu in UI Designer open the Extensibility Explorer. 16. Click on ViewSwitchNavigator anchor in extensibility explorer and select the button Add View with embedded component. 17. Enter the Tab Title. For example, Assign ECC Sales Order. Choose the browse button to select the Embedded Component.
How to configure an example SAP Cloud Applications Studio (PDI) solution 15 18. Select the component under the node <PDI Solution Name>_MAIN SRC UI and click OK. In this case the component is ECCDocumentsSearch_EC. 19. Click Bind to configure the navigation parameters. The Source UI will be Ticket thing inspector and target UI will be embedded component. Data from the ticket will be passed to the embedded component. 20. For the Outport field choose Ticket_Info_Out and for the Import field choose Initialize as shown below. 21. To bind the parameters, select the outport parameter, for example ExternalCustomerID and select inport parameter, example BuyerPartyID and click Bind. The value gets copied in the below table as shown
How to configure an example SAP Cloud Applications Studio (PDI) solution 16 22. Repeat the step to bind TicketID with ParentDocumentID and SalesOrganizationID with SalesOrganisationID as shown below. Click OK. 23. Click Apply. 24. Confirm the dialog box.
How to configure an example SAP Cloud Applications Studio (PDI) solution 17 25. Choose the Save and Activate button to activate the UI Model. The UI changes will then be merged into Ticket TI. 26. Deploy the business configuration scoping element. To do so, right click on the solution and choose Deploy Business Configuration. 27. Click OK to deploy All content of the solution. 28. Login to SAP Cloud for Customer tenant and open the Business Configuration work center and click Go to see the details of the deployed BC scoping element. 29. Enter external in the search field and click Go. You will see the deployed BC scope element External Document Search with status Not In Scope.
How to configure an example SAP Cloud Applications Studio (PDI) solution 18 30. To include this functionality, change the scoping of BC implementation project by clicking on All Current Projects. 31. Click Edit Project Scope. 32. Click Next twice. 33. Under Scoping tab, ensure the below scoping is checked as shown. Sales Account and Activity Management Account Management. 34. Click Next.
How to configure an example SAP Cloud Applications Studio (PDI) solution 19 35. Expand the scoping element Sales Account and Activity Management Account Management and mark In Scope for the Group External Document Search. 36. Click Next and confirm the dialog box. 37. Click Finish and then Close. 38. Under the Administrator work center, click on Communication Arrangements.
How to configure an example SAP Cloud Applications Studio (PDI) solution 20 39. Create the communication arrangement for the communication scenario QuerySalesOrders. To do this follow the steps described in integration guide of SAP ERP and SAP Cloud for Customer via NW PI or HCI based on your middleware. Use the following properties for the communication arrangement. Communication method: Direct Connection Application Protocol: Web Service Authentication Method: User ID and Password Enter User credentials having access to the web service. Based on the configured middleware, maintain the web service end point path in the Path field of Advanced Settings. Below is an example path if PI is the configured middleware : /XISOAPAdapter/MessageServlet?senderParty=&senderService=<Business System of SAP Cloud for Customer>&receiverParty=&receiverService=&interface=QuerySalesOrderBasicDataOut&interface Namespace=http://sap.com/xi/BYD_COD/Global&sap-client=<ECC client> Below is an example path if HCI is the configured middleware: /cxf/cod/erp/salesorder_request 40. Check if the communication arrangement is created properly by clicking on Check service and Check Connection. Ping to the ECC Web Service should be successful.
How to configure an example SAP Cloud Applications Studio (PDI) solution 21