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
I'm doing a project whose final output will be a set of DVD's which will never be broadcast. I really like the color look I've achieved for my clips, but when I check my scopes, they're outside broadcast safe, both up and down. If the output will nev [More]
Hi there, I know this issue must crop up a lot due to its confusing nature but I would really appreciate it if someone could explain what settings I should be using in Photoshop to get accurate colours. I had a look around and couldn't find any other [More]
Hi, Which transaction can I use to view history of a Network Activity on a WBS element? I want to know when were changes made on an activity, e.g. when it was REL or TECO etc, and by whom. Thanks. PS_PS01YOu can get the same in all the PS Transaction [More]
Hi all I am getting Sql error 3113, system logs are below: i checked tablespaces are having enough space. can anybody tell what is this prob SQL error 3114 . Work processes in reconnect status        SQL error 3113 . Work processes in reconnect statu [More]
Greetings Experts, I have a scenario where i have to map an account for the General Modifier PRU under Transaction PRD in OBYC. But, the client would like to understand why SAP requries an account under 'PRU'. Under what circumstances SAP will try to [More]
I have my iTunes library on an older computer and want to move it to my new lap top.  I read about using an iPOD to facilitate the transfer, but I only have an iPOD touch, and it CANNOT be used for this function.  Does anyone know how I can do this w [More]
I have bought PhotoS El 6 and 7 on my computer. How do I change the edit in Photoshop El 6 to see 7 instead of 6. Thanks, LZ.You have to use the 32bit version of IE to make it work.<br /><br />There is no Flash yet for 64bit browsers.<br /& [More]
I am using Flash CS4 10.0.2 on OS X 10.6.3. I have a Flash project in a dir: $ ll [email protected] 1  jfassett   jfassett   4.5K  8 Apr 18:04 Navigation.as [email protected] 1  jfassett   jfassett    59K  8 Apr 16:44 Navigation.fla [email protected] 1  jfassett   jfa [More]
I recently noticed that about half my pictures are missing from my Photo moments, specifically the entire year of 2012 is not appearing in my "moments". If I go to my camera roll the pictures are there but for some reason they arent showing up i [More]
If i ritght click on workspace, a wizard will be opened with basic propeties and Coustom properties, even though i created workspacefolder,workspace why wizard shows empty  properties. Actually in basic properties it should show 1)creation date 2)cre [More]