Sending Additional Files from SAP Netweaver PI to third Party System



Similar documents
SAP Master Data Governance- Hiding fields in the change request User Interface

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

Integrating Easy Document Management System in SAP DMS

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Data Archiving in CRM: a Brief Overview

Understanding HR Schema and PCR with an Example

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

Enterprise Software - Applications, Technologies and Programming

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Process Archiving using NetWeaver Business Process Management

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

HR400 SAP ERP HCM Payroll Configuration

Log Analysis Tool for SAP NetWeaver AS Java

Data Source Enhancement Using User Exit

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

Single Sign-On between SAP Portal and SuccessFactors

Budget Control by Cost Center

Sample Universe on Microsoft OLAP Cube

Third Party Digital Asset Management Integration

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

How to Create a Support Message in SAP Service Marketplace

Consume an External Web Service in a Nutshell with good old ABAP

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

Variable Exit in Sap BI How to Start

K in Identify the differences between the universe design tool and the information design tool

SAP NetWeaver BRM 7.3

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

Learning Series: SAP NetWeaver Process Orchestration, secure connectivity add-on 1c SFTP Adapter

BW Workspaces Use Cases

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

Integration of SAP Netweaver User Management with LDAP

Application Lifecycle Management

User Experience in Custom Apps

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

USDL XG WP3 SAP use case. Kay Kadner

How To Use the ESR Eclipse Tool with the Enterprise Service Repository

Mass Maintenance of Procurement Data in SAP

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

Using User Exit for Variables in BEx Reporting

Configuring Single Sign-on for SAP HANA

ERP Quotation and Sales Order in CRM WebClient UI Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

SAP Sustainability Solutions: Achieving Customer Strategies

Integration of Universal Worklist into Microsoft Office SharePoint

How To Use the BPC Mass User Management Tool in BPC 10.0 NW

Business Process Change Analyzer in SAP Solution Manager 7.1

How-to-Guide: Middleware Settings for Download of IPC Configuration (KB) Data from R/3 to CRM System

How to Schedule Report Execution and Mailing

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

LO Extraction Part 1: SD Application Short Overview

Xcelsius Dashboards on SAP NetWaver BW Implementation Best Practices

Duet Enterprise Add SAP ERP Reports and SAP BI Queries/Workbooks to Duet Enterprise Configuration

Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

Quick Guide EDI/IDoc Interfacing to SAP ECC from External System

Supporting SAP POS Best Practices Setting Log File Sizes and Retention

Learning Series: SAP NetWeaver Process Orchestration, business to business add-on EDI Separator Adapter

SAP DSM/BRFPlus System Architecture Considerations

Accounts Receivable. SAP Best Practices

Sales Planning Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

SAP Portfolio and Project Management

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

SAP Central Process Scheduling (CPS) 8.0 by Redwood

Project Governance The Role Of The Business Process Owner

Intelligent Business Operations Chapter 1: Overview & Strategy

SAP Cloud Strategy - Timeless Software. Frank Stienhans on behalf of Kaj van de Loo SAP

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

Configuring Distribution List in Compliant User Provisioning

Production Subcontracting (External Processing) SAP Best Practices

BW362. SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Run SAP like a Factory

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

Query, Read, Create and Update CLOUD FOR CUSTOMER ODATA SERVICE QUERY, READ, CREATE AND UPDATE

Fixed Asset in SAP Business One 9.0

LO Extraction Part 2 Database Update Logic

OData in a Nutshell. August 2011 INTERNAL

Unified Service Description Language Enabling the Internet of Services

SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial

SAP How-To Guide: Develop a Custom Master Data Object in SAP MDG (Master Data Governance)

AP Integration with BRFplus VERSION V APRIL SAP AG

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

Supplier Master Data Governance

Thread Dump Viewer for SAP NetWeaver AS Java

Finding the Leak Access Logging for Sensitive Data. SAP Product Management Security

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

Ariba Network Integration to SAP ECC

SAP Service Tools for Performance Analysis

How To Configure MDM to Work with Oracle ASM-Based Products

Next Generation Digital Banking with SAP

Analyzing Sales Data for Choosing Forecast Strategies

Implementing SSO between the Enterprise Portal and the EPM Add-In

Introducing the SAP Business One starter package. A Great Start to help you to Streamline Your Small Business

SAP HANA Cloud Integration Document Version: Template Guide for SAP Sales and Operations Planning

Methodology to Implement SAP Process Integration

SAP Best Practices for Subsidiary Integration in One Client Production with Intercompany Replenishment

Posting Messages into XI

Transcription:

Sending Additional Files from SAP Netweaver PI to third Party System Applies to: SAP Netweaver PI. Summary The document describes about a scenario where the requirement is to send multiple files from one source system to target system on the basis of a condition file. Multiple files are extracted from BW and sent in one payload as attachment to third Party system, via SAP Netweaver PI. Author: Anumeha Khandelwal Company: SAP GD, Gurgaon. India. Created on: 7 September 2011 Author Bio Anumeha Khandelwal is a consultant at SAP GD, India. She is a part of SAP PI team and involved in SAP PI implementation projects. 2011 SAP AG 1

Table of Contents Purpose... 3 Abstract... 3 Description... 4 Related Content... 8 Copyright... 9 2011 SAP AG 2

Purpose Abstract The idea to implement this scenario came up when we had a requirement to transfer some files from one Business System to another via the middleware. And the transfer of the files was dependent on a finish file. So, I came up with this idea of sending the files as attachments. This scenario could also be extended to transfer image files as well as all forms of binary files from master data sources for articles to MDM. Five files from BW system are posted on PI server directory and a finish file for eg : done.dat is written to indicate that the five files are written successfully to the directory location and are ready to be transferred to the target system. In the target system again the files should be written first and then done.dat file should be written. The target system has the option to use the file done.dat (case sensitive and not zipped) to start the data import from FTP server. The file has to be empty. Therefore the the file done.dat should be uploaded (case sensitive and not zipped) to the FTP server AFTER all other flat files have been uploaded. A job checks automatically every 10 minutes if there is a new done.dat file on the FTP server. In case that there is a new file the job submits a request and then deletes done.dat from the FTP server. Hereafter the data load is started by the target system. 2011 SAP AG 3

Description The five files are extracted from BW system and are available on PI application server as well as the finish file done.dat is posted. Now we have to pick the files from this location on the basis done.dat file. This can be done by polling for the finish file and sending the actual files as attachments. This is achieved by using File adapter with additional files option in the sender side. The five files should now be posted to the ftp location on target server and the finish file should be written only after the five files have been posted successfully on the target location. This can be achieved by using SOAP axis adapter. The following document will provide details about configuring the sender File adapter for additional files and receiver Soap Axis adapter. Configuring the Sender File adapter: The sender file adapter is configured to pick the finish file (done.dat), which is specified in the File access parameters, and the data files done1.xml, done2.xml done5.xml that is to be sent as an attachment is configured under the Additional File(s) as shown in the screenshot below. In the sender file adapter, you can specify additional files to be included in the PI message as attachments.additional files are transported unchanged without conversion options. Note: The way that the files to be transported are grouped together is defined by the file names. All file names must be identical except for a defined part (such as the suffix). 1. Under File List, enter the name for each additional file. 2. Separate the names of the additional files with a comma (done1,done2,done3.. etc ). The specified names are used as the names of the additional attachments in the PI message and as parameter keys. 3. Enter parameters for the additional files in the table: done1.namepart The name of the additional file is determined from the file name that was assigned for the PI message under File Name. Specify which part of the original file name must be replaced to find additional files. Here.dat = 1.xml.dat = 2.xml etc. If the file done.dat is found as a result of the configuration, this entry means that a search is performed for the file done1.xml, done2.xml etc. 2011 SAP AG 4

Configuring the receiver Soap adapter: To receive the file on the receiver system we will configure the Soap Axis adapter. 1. In the connection parameters give the ftp location against URL and user name password for basic authentication. 2. For file format select Parts So that the main payload and all attachments are put into separate files. 3. Under Payload Extraction, select which part of the XI message to take the payload of the SOAP message from: SOAP Body 4. Do not forget to check the Keep Attachments option. 2011 SAP AG 5

The communication channels are now ready to transfer the files. Configure other objects in the Integration builder to complete the configuration scenario Results 1. Load the five files and the done.dat file on the directory location 2. The files are picked by PI : 3. On Target Location the files are posted in a folder of the same name as the file,the following way: 2011 SAP AG 6

4. The finish file is also written to the target location : 2011 SAP AG 7

Related Content http://help.sap.com/saphelp_nwpi71/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm http://help.sap.com/saphelp_nw04/helpdata/en/45/a3c48c87cd0039e10000000a11466f/content.htm 2011 SAP AG 8

Copyright Copyright 2011 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, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. 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 Oracle Corporation. JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, 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. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. 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. 2011 SAP AG 9