Sitemap

Amicuk Programming Answers

Xml file in dynamic file name in file receiver adapter

2015-10-11   Views:0

Advertisement

Hi, I'm doing the dynamic file name in file receiver adapter. I have done as per instructed in /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i All turned out okay. I have got the file name I require. Except that t

Hi,
I'm doing the dynamic file name in file receiver adapter. I have done as per instructed in /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
All turned out okay. I have got the file name I require. Except that the file format is XML and I need to suppress the filename node occupied by the dynamic file name.
The content conversion mentioned in /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12, does not seem to solve my problem. As it is only for file format other than the XML one, because we only do the content conversion if we want to "convert" the format of the content from XML to the other format.
Does anybody have the solution to my problem? thanks in advance

The replay answer
Advertisement
Thank you Raj for the direction
The way to do it is :
1. In ID, advanced tab, put a check on the adapter-specific message attributes - file name.
2. Put a "*" on the file name scheme
3. In IR, create a UDF to set up target file name :
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
// set up file name for receiver adapter
String SourceFileName = conf.get(key);
conf.put(key, TargetFileName);
return " ";
4. Map the above UDF to the header level of the target structure.
Regards,
Idi

Go to See the other 13 answers

Xml file in dynamic file name in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm doing the dynamic file name in file receiver adapter. I have done as per instructed in /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i All turned out okay. I have got the file name I require. Except that t[More]

Dynamic Configuration - Set Directory Path for File Receiver Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, I have a question regarding the dynamic configuration for the file adapter. Is it possible to set a directory path without a message mapping for the file receiver adapter? the problem is that I want to import a pdf document. this pdf docu[More]

Decrypt and unzip a File + read a XML file received into the ZIP

Category:DefaultRelease time:2015-10-11Views:130

Hello, I need your help to develop some a complex Biztalk application. Here're my needs : Our Busness partner send us a zip file cripted with a standard PGP(Pretty Goof Privacy). The zip containts an XML file that i have to deal it, and some attachme[More]

Variable Substitution File Receiver Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am in the process of implementing a scenario involving the conversion of a .jpg file to .bmp. In my scenario, I'd like to the .bmp file name to be dynamically controlled; therefore, I have used the Variable Substitution option in the File Recei[More]

File Receiver Adapter - time stamp in front possible ?

Category:DefaultRelease time:2015-10-11Views:130

Hi all together, is it possible with the file receiver adapter to add a time stamp in front of the filename? f.ex. <timestamp>_SUFFIX.dat With file creation mode "use timestamp" and file name scheme SUFFIX_.dat it will create SUFFIX_<ti[More]

Content Conversion Parameter in File Receiver Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I have created one File Receiver Adapter with Message Protocol 'File Content Conversion' and with the following configuration: Recordset Structure: Message Message.fieldFixedLengths: 1000 My Message Type is: LogErro_MT   Message (Type: String[More]

File Receiver Adapter - Content Conversion

Category:DefaultRelease time:2015-10-11Views:130

Dear All, We are using <b>DB to file Scenario</b>.We are using File Content conversion to get a File Comma Separated. Data is picked up from the DB and our payload before getting in to File adapter is given below.   <?xml version="1.0&[More]

File Receiver Adapter - Writing Attachments

Category:DefaultRelease time:2015-10-11Views:130

Hello Folks, i received a SOAP Message with some attachments. Now i want to write these files into a file system. No i have seen, that the file receiver adapter has no support for attachments. is there any solution for that? Thanks for answers. Best[More]

Error in file receiver adapter (Directory does not exist / cannot be create

Category:DefaultRelease time:2015-10-11Views:130

I have a NFS reiceiver file NFS adapter with target directory: 10.128.68.38\arbo2000\UploadPinfos\arbodev if I run this line in windows, windows access to this folder. Full Error log: Receiver Adapter v2123 for Party '', Service 'BS_0000_ARBO_DEV': C[More]

Whats the use of 'Maximum Councurrency' in File Receiver adapter?

Category:DefaultRelease time:2015-10-11Views:130

Hi All,         Whats the use of 'Maximum Councurrency' in File Receiver adapter? XierHello, Refer the  below thread and check it out my reply . I gave for JDBC adapter, but the concept is same for File/JDBC. Re: JDBC Adapter - One Connection prior t[More]

Operating system command in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter. I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system. So h[More]

Hot
Hi PI & IBM I Gurus, We are having the SXI_CACHE issue in our PI 7.11 SPS04 system. When we try to do the delta cache refresh through SXI_CACHE, it is returning the error SQL 0904 - Resource limit exceeded. When we try to do the full cache refresh, i [More]
I hear there are sites as complicated and financially up there, Blogcasts, and all kind of sites that I could try to get involved with to have a place where I can try to get the traffic from watching the Video Rapid Blogs. I am not sure of the techno [More]
Hi, I have created an interface source from 2 different CSV files. Do I need to generate 2 different scenarios or one scenario with variable to pass 2 file names one after the other 2 CSVs are of same type Thanks for the helpStep1. Create an Interfac [More]
Hi Experts, I need to send invoice to two email ids. I made a set up in vv31 by setting the transmission medium 7 but it doesn't work. The customer is asking that when i do invoice it should go to two email address. Which output type i should take? K [More]
Hi Joined bt a month ago and getting screwed over already.  I rung bt and ordered bt business total broadband "UNLIMITED" but when i got the letters from bt i find out that the women who i spoke to has put it on 50gb a month and not unlimited. s [More]
hi, we have 2 clients 800 and 810 in the same server. we have created a function module in 800 and wrote a simple select statement to fetch data from VBAK table and made it REMOTE.And i am fetching the data from 810 to  update a table in 800.     Whe [More]
Hi gurus, EP 6.0 SP20 R/3 4.7 BW 3.5 BP 60.1 I have a few issues configuring the BW reports in MSS. Apart from condifuring SSO is there antything else thatis required to configure the MSS BW reports. I am getting various types of errors on various BW [More]
music downloads seem to be stuck, not making progressI'd report the problem to the iTunes Store, then. Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and c [More]
I'm currently running a playlist of albums on my ZVM, but only get through about an hour's worth on the way into work, then pause. By the time I restart (usually that evening or the next morning) the ZVM needs to be taken out of standby, picks up the [More]
what config setting controls graying out the following fields on infotype 0001 (should not be open to edit / change) Personnel Subarea Positin Payroll Area etc (PA / OM components integrated)Hi Matt, First, check the module pool and screen number of [More]