on 01-09-2007 6:46 PM
Hello,
I have this configuration in a sender file adapter:
File adapter java class
classname=com.sap.aii.messaging.adapter.ModuleXMB2File
mode=XMB2FILE
##Adress for XMB endpoint
XMB.httpPort=8000 <- Para XI desarrollo
XMB.httpService=/tmp <- Directorio de XI
##File Adapter specific parameters
file.createDir=1
file.targetDir=/DATOS/INTERFACES/RRHH <- Directorio de R/3
file.targetFilename=XXXX0*.txt
#file.writeMode=addTimeStamp
##xml conversion properties if mode XMB2FILEWITHCONVERSION is specified
#xml.addHeaderLine=0
#xml.headerLine=
#xml.fieldFixedLengths=15,25
#xml.fieldSeparator=;
I just wanted to add the Adapter-Specific parameter but I do not how to do it, for keeping the Filename.
Can anyone help me?
Thanks in advanced,
Luis
Hi Luis,
are you using j2se plain file adapter?
on this page:
http://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm
only j2ee adapters are listed - maybe there's no possibility to use it with j2se
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adapter-Specific Message Attributes for J2SE File Sender adapter will be available for XI 3.0 SP20. (Coming in CW 16)
You can use file name and directory.
The parameter is:
file.messageAttributes=<name,directory>
The J2SE receiver file adapter will not support ASMA.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi -
There's a checkbox for Adapter Specific Attributes in the config. Just check it and the available options come up. Select File Name and this will add the File Name attribute to the DynamicConfiguration header element of your XI message.
What do you plan to do with it?
Jin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moorthy,
I know I can do it like that, but for some reasons I can not use that way, so the only way for me for moving one file from R/3 to XI, was the one described above, and it works fien if I set a Filename in my file receiver channel in XI.
But if I set adapter specific options in the receiver I got an error, because there is no dynamic configuration in the xml message header...So I need to configure the sender adapter in the R/3 for setting that parameter up .
Michal in the help link that u give I couldnt find anything useful...
Thanks anyway,
Luis
Hi Luis -
This does look like the j2se adapter engine config as Michal points out. Are you using j2se adapter engine? For j2se adapter engine, the ASMA feature is not available.
As Moorthy suggests, the easiest way would be to mount or share the R/3 file system so that your central J2EE adapter engine has visibility to it and can be configured to pick up the file from the R/3 system.
Regards,
Jin
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.