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
My GT70 sometimes is very slow and sluggish to respond when it is awoken from sleep mode. Browsers become unresponsive (hyperlinks don't register as links and require multiple clicks to respond) and internet gets very slow. Speedtest.net reports  .50 [More]
Hi, Can anyone explain the difference between BAPI and BADI?Hi Naveen, BAPI - It is nothing, but a FM which is used to load the data into SAP system. The data may be from the Legacy system. BADI - They are the enhancement which can be applied to the [More]
Hi Experts, How do I throw errors in web UI. I am enhancing a component/view. I want to display errors if some conditions don't satisfy. Warm Regards, AbdullahSolved it this way. Credit to  Fabian Joiris  and his reply in this [thread|Show BAdI error [More]
I am looking for a recommendation for an all purpose 10g reference bookHi, a good complete reference of 10g Database can be found at: http://www.amazon.com/exec/obidos/ASIN/0072253517/oracleinternetse Regards, SimonRead other 3 answers [More]
hi all i installed IDS 10g but i dont know what is the report_server name how can i know it ? thanksIts what ever name you gave when you ran; rwserver -install <servername> autostart=yes Assuming that your running IDS on Windows, you should be able [More]
I installed j2sdk1.4.2_11 on my PC . My operating system is XP Home. I wrote a small command line program just to see if it was working. "javac " and it compiled When I used the "java" command to run the program I got the following err [More]
Hi Experts, There is no tab of inspection stock in UD screen. I am trying to post stock from quality to unrest. from UD screen for lot origin 10. Please help.hi, There are basically two types of inspection Stock relevant inspection and Non stock rele [More]
Hi, I transfered my CS5 I purchased less than 2 years ago from my old Mac to my New MacBook Air and it call for Error 6 requesting to be reinstalled.  I do not have the CD software that came with my package and don't have any screenames relating to A [More]
I own a Macbook Pro I purchased in March 2008 and recently when I work in Adobe CS3 products (Photoshop,InDesign and Illustrator) it has been running slowly, also when I save things in photoshop with a high resolution it will not let me save saying n [More]
    I would like to find away to light an LED when the vi is in a state indicating on the fron panel what point it is in, any ideas. Attachments: timedBackbone.vi ‏77 KBWell, a single LED alone will not show you what state it is in. It has only two s [More]