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 company just gave out iPads for use to all field employees. My coworkers and I currently have an Outlook shared calendar that we utilize for scheduling our work. We can not access the shared calendars on our iPads, therefore I would like to create [More]
Hi, I am creating a query on a infoset which is based in FIGL ODS and Sales cube. I have to create a open item report where in i have to put restrictions on Clearing date. For which i was looking for variable 0P_KEYD3 and i didnt found as per other t [More]
I've had three Comcast techies to my house since switching over to their triple play offer. Today, I finally got connected to the Internet, through their cable wired into my house, and connecting their modem to my Mac mini (which does not have wirele [More]
hi every body , can any body provide me a solution for extracting the OT01 data from kna1 table where the OT01 ends with the string 'town' . exe : the O/P should be midTOWN newTOWN there is one more query i am not able to execute the following statem [More]
My membership renews June 11, 2014.  I pay monthly, presently, but I want to pay annually, if it is cheaper.  How do I proceed?You can choose the options in : Manage your membership and payments | Creative Cloud In case the issue is unresolved, you c [More]
hi all, i have some columns select org_port,org_pname,dis_port,dis_pname,fin_port,fin_pname from table where conditioni have to use these same columns in two three places. shall i use these columns in multiple columns or i have to select these column [More]
hi everyone well im desesperate :S im getting crazy! Step for making servlets: writing servlets ( well done ) compile the servlets ( well done ) next steps :S �? i know i have to tell the server where are the servlets and one way is to deploy, to dep [More]
i just got a macally IceCam2 which i want to use with iChat. my problem is that i keep get the message "camera is in use by another application" however, no other applications are open. i've installed the most current updates and ugrades but sti [More]
I see a lot of problems on here with imap/pop and gmail, but not one that addresses my issue so... Cableone recently "partnered" with google gmail to handle their email. I didn't realize it until I went in to set up a short term email for my hus [More]
I am trying to provide a schedule return date based upon an Issued Date value The problem is that I only want the estimated return date value to include working days (6 to be precise), which are Monday to Friday. Any assistance in disregarding weeken [More]