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 :)
Monday, September 1, 2008
Subscribe to:
Post Comments (Atom)
Archive
-
▼
2008
(74)
-
▼
September
(56)
- FREE DOWNLOAD Business Task Management in Netweaver
- Business Process Monitoring Session in Solution Ma...
- Session Change Modes Netweaver
- Business Framework Architecture-BFA Netweaver
- BRTOOLS Netweaver
- BRBACKUP Netweaver
- BRARCHIVE Netweaver
- BI Workload Stats in Netweaver 7.0 Netweaver
- Automatically Generated Information in BW Netweaver
- Exchanging Metadata in XMI Format Netweaver
- Searching for Metadata Netweaver
- Defining Source System in BI 7.0 Netweaver
- Setting BW Production Client Netweaver
- BSP call : type of termination: RABAX_STATE
- Setting Up BEx Web in BI 7.0 Netweaver
- FREE DOWNLOAD Beginners SAP XI
- Background documentation Business Partner Integrat...
- Background documentation Adding an ABAP System to ...
- Inconsistency in SAP NetWeaver BI in Just 5 Steps
- Assigning Authorizations Netweaver
- Authorization Netweaver
- Editing Predefined Authorizations Netweaver
- Authorization Checks Netweaver
- Authorization Checks in Your Own Developments
- Programming Authorization Checks
- Free Download APO Weeks pdf
- APO - Locking Planning Area Netweaver
- APO - second role causes authorization problems
- APO - tcode /SAPAPO/MC62 - Maintain Characteristic...
- APO Alert Monitor Netweaver
- APO Alert Monitor Netweaver
- APO authorization problem Netweaver
- APO Security netweaver
- APO Security issue Netweaver
- Analysis of hanging situations
- Service Implementation in Java
- Service Testing and Registry PP
- Consuming Services with ABAP PP
- Adjust Roles and Profiles in solution manager
- I have a problem with sending RFC from R/3 to XI
- How do I use 'Apply Control Record Values from Pay...
- XI: IDOC Adapter - EDI_DC40 - demystified
- I can't see my adapters in the adater monitoring a...
- Where can I find J2SE plain Adapter
- How can I access filename from File/FTP Sender Ada...
- Where can I find FAQ on adapters?
- How can I access adapter monitor?
- Testing Sample Adapter
- Dynamic Configuration of Some Communication Channe...
- Troubleshooting - RFC and SOAP scenarios
- Where can I find JAR files for creating java proxies?
- XI: Debug your inbound ABAP Proxy implementation
- Wanna Party ?
- Creation of text table in ABAP Dictationary
- ABAP code sharing make easy
- How many lines of ABAP code are inside of SAP?
-
▼
September
(56)
Translation by Google
Subscription Free
Categories
- ABAP code are inside of SAP?
- ABAP code sharing make easy
- ABAP Dictationary
- Adapters Faqs in XI
- Adjust Roles and Profiles in solution manager
- An in Depth Look at enterprise SOA
- Analysis of hanging situations
- APO Faqs
- APO FREE DOWNLOADS
- Authorizations in BIW
- Avoid Data Inconsistency in SAP NetWeaver BI
- Background documentation
- Background documentation Business Partner Integration
- Beginners SAP XI
- BI
- BI 7.0
- BI 7.0 Web Template
- BI Content
- BI Workload Stats in Netweaver 7.0
- BRARCHIVE
- BRBACKUP
- Brtools for managing Oracle
- Business Framework Architecture BFA
- Business Process Maintenance Session
- Business Process Monitoring Session
- Business Scenarios and Processes
- BW Certification Exam
- BW FAQS
- BW Go Live
- Chain Management
- Change Request Management Roles
- Changes in password rules
- Check Business Processes In/Out
- Client Setting
- Color of SAP GUI windows
- Component Attributes
- Creating a Task
- FREE DOWNLOAD Business Task Management
- InfoPackages
- InfoPackages in BW
- Netweaver Screen Shots
- SAP Documents
- SAP Solution Manager
No comments:
Post a Comment