Finally (from SP14) we can receive a file do something with it inside XI
and send it back with the same name. No need for writing adapter modules,
no need for variable substitution - SAP gave us a new, easy solution to this issue.
From XI 3.0 SP14 we can use Adapter Specific Message Properties.
Now not only can we use the filename of the received file but we can also change it
inside our mapping (using graphical mapping for example).
Let's see how the scenario works:
Step 1
Inside your file/FTP adapter we can now set "Adapter Specific Message Properties"
which tell the adapter to include those properties inside the SOAP message sent to XI
from the adapter. Because we want to see the whole example we can start by setting all of them.
Step 2
The file/FTP receiver adapter must also know that he has to use those new properties
so we also have to set them on the receiver's side.
Step 3
Because we also want to get the filename inside our mapping we have to create a user defined function
which will return the filename and map it to one of our XML tags.
The code shown above just takes the filename so we can map it, if you'd like to change it
have a look at the code provided by SAP: Accessing Adapter-Specific Properties
When we run our file to file scenario we can now see that there's a new section called DynamicConfiguration....
...which is being populated with some values.
When we take a look at our outbound message we can see that one of our tags has the filename value.
Later on we can check our FTP folder to find out that the created file has exacly the same name
as the file from the sender adapter.
Easy wasn't it? This example just shows that SAP listens to us (developers)
to make our lives a little bit easier :)
Indians Earn 25000 Monthly.Easy Form Filling Jobs
Monday, December 10, 2007
How can I access filename from File/FTP Sender Adapter
Labels:
Adapters Faqs in XI
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(729)
-
▼
December
(386)
- SOA
- Business Process Management
- Enabling Application-to-Application Processes
- How to guides - XI for NW 2004s
- SAP XI How To Documents
- 8 Lessons Learned from an SAP CRM 2005 Data Migrat...
- Expand Target Groups Using SAP BW Data in Segment ...
- First Look: SAP CRM Service On-Demand
- Best Practices for Transferring Data from SD to SA...
- Why Not Use Business Server Pages?
- SAP CRM Marketing On-Demand: Wave 3 and 4 Updates
- SAP E-Commerce for mySAP CRM: Integrate Your E-Com...
- SAP CRM 2005 or SAP CRM 2007: Which is Best For You?
- From Siebel to SAP CRM: How Dow Corning Switched i...
- Publish SAP BI Content More Easily with SAP Enterp...
- Create Web Services Quickly with the New Web Servi...
- Quickly Build Impressive Dashboards in SAP BW 3.5
- Data Mining with the Analysis Process Designer in ...
- Make Sure That User-Defined Statuses Appear in SAP...
- What’s New with mySAP CRM 2005 Marketing: Coupon M...
- Avoid Data Inconsistency in SAP NetWeaver BI in Ju...
- BEx Information Broadcasting in SAP BW 3.5 Puts Us...
- Use SAP NetWeaver BI as an ESA-Oriented Data Source
- Query SAP NetWeaver BI’s Metadata and Result Sets ...
- What's Coming in 2004
- Optimize FI-GL Processing with Intelligent Lookup ...
- Open Hub Transformation Meets Complex Business Req...
- Effectively Gather BW Functional Requirements
- Use Selective Deletion to Substitute InfoCube Char...
- Use Selective Deletion to Substitute InfoCube Char...
- Use Reverse Loading to Substitute InfoCube Charact...
- Rolling Off Data from Data Targets: Which Process ...
- Empower Your End Users with Accurate BW Reports
- Save Time and Resources by Managing Excel Workbook...
- How to Copy Process Chains
- Modify BW-BPS Web Interfaces with JavaScript to In...
- Refine BW Querying with Real-Time Data
- R/3 Can Be Your One-Stop Shop for BEx Web Reports
- Use Virtual Time Hierarchies for Flexible Reportin...
- Display Text Longer Than 60 Characters in Web Queries
- Take the Guesswork Out of 0CALWEEK Selection
- Three Methods for Editing DataStore Object Data Wi...
- Use IDocs to Retrieve a Failed Request Job
- Maximize Your Query Optimization Options in BW
- Uncover New Insight into Your Customers with mySAP...
- SAP NetWeaver 2004s SR1 Java on Windows: MS SQL Se...
- SAP NetWeaver 2004s Java on Windows pdf
- PDF Devloper Workplace
- [PDF]
- Application Log Answers Key Questions About Applic...
- Find the Best Leads and Uncover Potential Customer...
- 6 Steps to Enhance a CRM DataSource Using a BDoc BAdI
- Directly Populate User-Defined Hierarchies
- Simplify Data Distribution with the Open Hub Process
- Data Modeling Strategies to Avoid Data Inaccuracy ...
- Implement Custom Process Types in Process Chains f...
- Data Modeling Strategies to Avoid Data Inaccuracy ...
- Optimize BW’s Data Modeling Capabilities with BPS
- Data Modeling Strategies to Avoid Data Inaccuracy ...
- Visual Composer 7.0’s BI Extension Kit Offers New ...
- How to Add Custom Fields to a Fixed Asset
- Discover the Logic and Parameter Changes in the Ne...
- Plan for and Implement SAP Learning Solution’s Aut...
- Express Planning Gives Managers Access to Plan Dat...
- Expedite Your BI Implementation with SAP Best Prac...
- View Your Profit and Loss Data and Analyze Your In...
- Plan For and Implement SAP Learning Solution
- Prepare Your Data for Better Reporting with Start ...
- Create Unparalleled Analytical Applications with S...
- Set Up Users for SAP Biller Direct the Right Way
- mySAP CRM Analytics Harnesses SAP NetWeaver BI Ana...
- Layer SAP xApp Analytics on Top of SAP SEM for a S...
- Choose the Appropriate SAP NetWeaver BI and mySAP ...
- Initiate and Track the Planning Process with Colla...
- New Analysis Authorizations Ease Administration
- SAP NetWeaver 2004s Simplifies Architecture for Tr...
- What’s New in SAP NetWeaver 2004s Business Content
- Enhance Web Analyzer in SAP NetWeaver 2004s for Ad...
- What’s New in the BI Front End: Part 2
- What’s New in the BI Back End
- What’s New in the BI Front End: Part 1
- How to Migrate Transformation Logic to SAP NetWeav...
- Custom Program Grants Users Easy Access to Both BE...
- How to Migrate to the New DataSource Concept in SA...
- Data Upload Feature Enhances Sarbanes-Oxley Consol...
- mySAP solution manager (SOLMAN):
- mySAP PLM logistics:
- mySAP logistics reports:
- mySAP human capital management:
- mySAP financial accounting (FI):
- mySAP financial accounting (FI):
- mySAP accounting reports:
- My SAP Basis Overview
- CO T-Codes
- T-codes
- SAP Solution Manager
- SAP NetWeaver
- XI/PI: sender IDOC adapter packaging ?
- JDBC Connectivity with Webdynpro and Max DB
- Visual Abap : Creating Selection screen
-
▼
December
(386)
No comments:
Post a Comment