on 02-01-2006 7:08 AM
Hi,
I am doing a File-to-Idoc scenario.
The names of files will be "Order+TimeStamp.xml".
In the File Comm. Channel Sender I gave the file name
as "Order*" so that it will read all the files starting
with "Order".
I want to store the names of processed files to a ZTable.
Any way to get the name of Currently Processing file.
Can anyone help.
Thanks in Advance
Chemmanz
Hi,
I think in SP15 there is no such options.
I coudn't find any "Adapter Specific settings" in the file adapter(CC).
So any other solution to get the file name.
Regards
Chemmanz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>> Open your SAP BASIS component in IR and in the http://sap.com/xi/XI/System namespace under Adapter Metadata double click on the FILE. In the tree (that is shown on the reight side) search for Adapter-Specific Message Properties. Is it there? If no then try reimporting the SAP BASIS component.
Hi Chemmanz,
You can take it from the payload using userdefined function.
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is there in the file adapter, Click the check box Adapter-Specific Message Properties
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
Regards
Suraj
Chemmanz,
The feature is active from SP14 onwards.
>>> as per this blog we have to set "Adapter Specific Message Properties" .
How can I access the window to set these properties.
You can find these properties in you adapter configuration (FILE/FTP adapter).
For More details...
1. http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm - Sender
2. http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm - Receiver
hi Chemmanz,
1. have a look at my weblog on how to set adapter properties foe sender file adapter:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
2. then with the code below you can get the filename:
(insert this code in a simple user defined function)
try
{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
ourSourceFileName = conf.get(key);
}
catch (Exception e)
{
//return e.toString();
}
return ourSourceFileName;
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.