on 06-15-2004 8:16 AM
Hello there,
We need to include the name of the source file from the file adapter, into the XML message within XI.
e.g. "interfacefile.dat" -> <filename>interfacefile.dat</filename> in the XML (possibly in the SOAP header?)
We can then use this filename for content based mappings.
Would this be done in the dispatcher?
Does anyone know how to code this in java?
Thanks,
Shawn.
Hi Oli,
Thanks for the information. I read the article and I was hoping to use this exit to invoke an xsl to pull in the file name to my xml structure. What file adapter mode did use? How did you pass the fileName object to your xml structure?
Thanks,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello together,
in the »SAP Developer Network« I found an article, in which is documented how to write an user-exit in a file-adapter. In this documentation is always explained on which way you've got the filename of the actually parsed file. I have generate an own user-exit and it works fine.
the name of the article is:
How to Write a User-Exit Using the
Dispatcher of the File Adapter
Author is Willium Li.
Bye Oli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
this is also interesting for us. If somebody has a solution for this, let me know this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shawn,
Did you find a solution for this? I'm trying to accomplish the same mapping and was hoping you had found a solution. I believe the only way is through the dispatcher but I wanted to know if you used xsl or java and how?
Thanks,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.