File Adapter - Adapter Specific Config
Can we change FTP Server Dynamically using Adapter Specific configurations if we can modify SourceFTPHost in the dynamic Configuration ?
Hi
No. I believe in a sender adapter, you can indeed add the message specific attibutes such as hostname to the message header but that is AFTER the message has already been received. You can only use them dynamically in the receiver adapter,
rgds
dirk
Similar Messages
-
File adapter specific message attributes
Hi,
If we check ASMA of file adapter ......all the information corresponding to that attributes will be available in the SOAP header. If we check ASMA in the receiver file adapter then receiver file adapter will pick those values from the SOAP header and will assign to the target file.
Even we can directly set the target file name by accessing the system parameters through UDF.
please correct me if my understanding is wrong.
thanks
kumarHi Kumar,
<i>If we check ASMA of file adapter ......all the information corresponding to that attributes will be available in the SOAP header</i>
Every adapter has a defined set of attributes, which are described individually as part of the configuration for each of the adapters. So these attributes would be visible. And better to call it Message Header instead of SOAP header.
<i>If we check ASMA in the receiver file adapter then receiver file adapter will pick those values from the SOAP header and will assign to the target file.</i>
Yes, if mapping of these attributes are done.
<i>Even we can directly set the target file name by accessing the system parameters through UDF.</i>
Yes
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
<i>[Reward points if helpful]</i>
Regards,
Prateek -
I am trying to send a file to XI engine at port 8080 and I am getting this log in my File adapter.
13:51:06 (4023): File adapter initialized successfully
13:51:06 (4007): File adapter started
13:51:31 (4050): ERROR: Unexpected exception "java.lang.NullPointerException" occurred
Please let me know how I can overcome the error 4050. I could see the service active in SMICM transaction. Please let me know.
Thanks
Here is my adapter config info.
file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
mode=FILE2XMB
Integration Engine address and document settings (example, see docu)
XMB.TargetURL=http://doiweb03:8080/sap/xi/engine?type=entry
XMB.SenderBusinessSystem=XD1
XMB.SenderInterfaceNamespace=http://www.doi.gov/FBMS/FileTOFile
XMB.SenderInterfaceName=OutMI
XMB.ReceiverBusinessSystem=RD1_CUA
XMB.Client=100
XMB.Language=English
XMB.User=ZFILEADPTR
XMB.Password=***********
XMB.ContentKind=T
XMB.ContentType=text/plain
XMB.QualityOfService=EO
ftp.host=10.192.32.200
ftp.port=21
ftp.user=XIDEMO
ftp.password=*****
ftp.connection=perFileTransfer
ftp.mode=Text
##File Adapter specific parameters (example, see docu)
file.sourceDir=/data
file.sourceFilename=.
file.processingMode=archiveWithTimestamp
file.archiveDir=c:/temp
file.pollInterval=10
file.processingLocked=YESHi Ramesh,
Are you sure the XI port is 8080 instead of 8000 (check it in xi config)?
Since you are sending a file to XI, the sender system is the business system name defined in SLD for your file adapter, not the XI name (XD1).
Hope this helps.
Hart -
Adapter-Specific Message Attributes
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,
LuisHi 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 -
Question about J2SE-File-Adapter
Hallo,
i would send with the J2SE-File-Adapter a *.CSV to SAP XI.
The structure in the SAP XI is:
PlaintMaintenanceMessagetype
......Datasource..................string
......Data
..........item
..............EquipmentID.............string
..............FunktionalLocation......string
..............Data....................string
..............Time....................string
The *.csv File structure is:
6ATESTDEMOYVES,
1234,
Limo,
20060105,
122030,
The configuration of the J2SE-File-Adapter is:
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHROWCONVERSION
##File Adapter specific parameters (example, see docu)
##file.type=BIN
file.type=TXT
file.encoding=UTF-8
xml.documentName=ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender"
xml.structureTitle=6ATESTDEMOYVES
xml.processFieldNames=fromConfiguration
xml.fieldSeparator=;
xml.fieldNames=Datasource,EpuipmentID,FunctionalLocation,Data,Time
But it not runing! Can anybody help me? Are any How to guide to send a *.csv with the J2SE-File-Adapter.
Thanks laura
With the XML File it works. But there are ofer 40000 records in the *.csv, and i will not create this in *.xml!
The structure of the XML.File are:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Datasource>6ATESTDEMOYVES</Datasource>
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</item>
<item>
<EpuipmentID>1235</EpuipmentID>
<FunctionalLocation>Bier</FunctionalLocation>
<Data>20060106</Data>
<Time>122031</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>Hi Laura,
You can navigate thru these links to get more information:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
Cheers,
Chandra -
Receiver File Adapter Alerts.....
Hi Gurus,
I need to configure Receiver File Adapter specific alerts....to test the alerts ...i am just giving wrong credentials for FTP....
But..wot I c is that the alert is received after the predefined no. of retries(6 nos) in Comm Channel Monitoring are completed in an interval of 5 mins each..ie I am getting the alert after 30 mins...but if I stop the channel ..I get the alert instantly b4 the first retry starts......
Wot is the diffence btw the 2 cases???The behavior is perfect.
When Adapter tries to send the message to target and if some error with channel parameters or target system then the processing will be marked as error only when all the retries are done....in your case after 6 attempts....this can be configured.
However when you stop the channel the message is not passed from IE to AE and you get the error in first instance itself....you might get the error information in SXMB_MONI....there is no retry limit for this part...it will be tried only once
The first alert is due to error in AE and the second error is due to error in IE
If you want to get the alert if first retry itself is in error then configure the retry interval to 1.
Regards,
Abhishek. -
Hi all,
I need a help to access the Adapter Specific Messages in
UDF.
I have seen all the help/fourms and blogs for this. I
got only the File Adapter Specific Messages. My need is
to use this feature for other adapters too.
As the first step, I have few doubts on using it.
1. To access the adapter specific messges, initially we
need to set the runtime
constant "DYNAMIC_CONFIGURATION". After that we need to
set the DynamicConfigurationKey by the following
statement.
DynamicConfigurationKey key =
DynamicConfigurationKey.create
("http://sap.com/xi/XI/System/File","FileName");
This is specific to the File Adapter. In this statement,
<i>http://sap.com/xi/XI/System/File</i> is the name
space of the adapter meta data.
And <i>FileName</i> is the technical name of the
attribute.
Where we need to find out the technical name? Is it the
same name near to the check box when we set the adatper
specific attributes in the communciation channel or is
it something different. If it is the same name as it is
in the communciation channel, then is it case sensitive?
Regards,
Prasad UHi Stefan,
How to overwrite the PIPInstanceIdentifier in the Service Header of RNIF adapter in receiver side.
I have tried RNIF module setting by using Process Instance Identifier: "Proc Inst Identifier" with the following code :
Processing Sequence:
1. AF_Modules/DynamicConfigurationBean / Local Enterprise Bean /
write http://sap.com/xi/XI/System/RNIF "Proc Inst Identifier"
module.rnif_id
But it can't overwrite the pipInstanceId of serviceheader
Any help on this will highly be appreciated.
Regards,
Rick -
Hi,
I have inbound file adapter and when i run the test, the XML message displays the following error
HTTP_STATUS_CODE_NEQ_OK
HTTP status code 401 : Unauthorized
please do help me .
thankxHi,
Yes, i m using standalone xi2.0 , the configuration code is as below
file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
mode=FILE2XMB
Integration Engine address and document settings (example, see docu)
XMB.TargetURL=http://<host:port>/sap/xi/engine?type=entry
XMB.User=XIAPPLUSER
XMB.Password=XIPASS
#XMB.SenderBusinessSystem=ExtAdapterSender
XMB.SenderBusinessSystem=b2
#XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
XMB.SenderInterfaceNamespace=int1
XMB.SenderInterfaceName=FILEINBOUND
XMB.ReceiverBusinessSystem=b1
#XMB.ContentKind=B
XMB.ContentKind=T
XMB.ContentType=text/xml
XMB.QualityOfService=EO
##File Adapter specific parameters (example, see docu)
file.sourceDir=c:/temp
file.sourceFilename=test.txt
file.processingMode=archive
file.archiveDir=c:/temp_archive
file.pollInterval=0
##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
#xml.fieldFixedLengths=15,25
#xml.processFieldNames=notAvailable
xml.fieldSeparator=~
Please let me whether this is correct or im missing some configuration.
thankx -
How can i get the XSLT code from xi, it is possible?
Thanks
YvesYes that is right!
I try ist, but it does not work!
Here the structure of the sender in XI in XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>sdf</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>
an this is the structure of the J2SE-File-Adapter:
file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHSTRUCTURECONVERSION
#mode=FILE2XMB
Integration Engine address and document settings (example, see docu)
XI.TargetURL=http://dauxsaph.da.doehler.com:8000/sap/xi/engine?type=entry
XI.User=******
XI.Password=*****
XI.QualityOfService=EO
XI.SenderParty=
XI.SenderService=Plant_Maintenance_Sender
XI.ReceiverService=BW1CLNT001
XI.Interface=PlantMaintenanceMessageInterface
XI.InterfaceNamespace=http://doehler.com/sapxi/krausdemosender
file.sourceDir=C:/temp_bw
file.sourceFilename=fehler*
file.processingMode=delete
#file.retryInterval=20
file.pollInterval=5
##File Adapter specific parameters (example, see docu)
#file.type=BIN
file.type=TXT
#file.type=XML
file.encoding=UTF-8
xml.documentName=<ns:PlaintMaintenanceMessagetype xmls:ns="http://doehler.com/sapxi/krausdemosender">
#xml.documentName=http://doehler.com/sapxi/krausdemosender
xml.recordsetName=Data
xml.recordsetStructure=item,1
xml.item.fieldNames=EpuipmentID,FunctionalLocation,Data,Time
xml.item.fieldSeparator=,
#xml.keyFieldName=EquipmentID
#xml.keyFieldType=CaseSensitiveString
#xml.item.keyFieldValue=1234.
but it does not work why?
thanks yves
Message was edited by: Kraus Yves -
Read from a config file in File Adapter in SOA Suite 11g
I want to read from a config file in order to determine whether to archive or delete the file after processing using file adapter in SOA Suite 11g. How do i do that.
only part i replied on was the part of how to read a file
but i think in your case you could do the next
use the sync file adapter to read in the file during your process
based on this content you set a variable "myOutputDirectory"
then create a file adapter (write) which will store the file on file system
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CIACICFD
4.3.2.2.5 Specifying a Dynamic Outbound File Name
and use that (jca.file.Directory) property to store the file either on the archive location or the delete location -
IDOC to FILE Scenario-Error in defining Adapter specific Identfier
Hi All,
I am configuring IDOC to FILE scenario where IDOC will be send from ECC to PI System.I did following configuration
I created RFC,PORT,LS and Partner Profile on R/3 System. I had maintained SLD and IR. In ID I created Configuration scenario and business system.When I click on menu->Adapter specific Identfier where I want to specify IDOC Adapter and RFC Adapter. But it is not allowing to edit it is not editable. As we provide LOGICAL SYSTEM,sender system ID and client number of the sender system.Hi Kavi,
I assume you correctly filled the Logical System of your Business System in the SLD...
Then in Integration Direction, use menu "SLD clear cache".
Always in Integration Direction, open your Business System, go to menu "adapter specific identifier", and... close to button "close", you should have another button like something ''check'' or "compare to SLD' or ''retreive SDL data'' (I have not an openned PI to check the right term). Use this button to get value stored in SLD to this local definition.
Mickael -
Purpose of adapter specific message atributes at sender,reciever file adapt
hi.
i want know birefly about adapter specific message atributes at sender ,reciever adapters.
and what would be the result if we enable this adpspecmessatb checkbox
waiting for your response.
bye.
regards.
seeta ram.hi santosh .
thanks for yor your answer.
but when i mapped constant a to the udf and mapped to target and while iam testing i got the error like
10:38:30 Start of test
Compilation of MM_SapIsuTo3rdpartyAccountStatementExtraction successful Runtime exception during processing target field mapping /ns0:MT_SapisuTo3rdpartyAccountStatementExtraction/accstmtdetails/body/status. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8] com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MT_SapisuTo3rdpartyAccountStatementExtraction/accstmtdetails/body/status. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8] at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:350) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8] at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:282) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:282) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:312) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.NullPointerException at com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_.filename$(_MM_SapIsuTo3rdpartyAccountStatementExtraction_.java:119) ... 26 more RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MT_SapisuTo3rdpartyAccountStatementExtraction/accstmtdetails/body/status. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_SapIsuTo3rdpartyAccountStatementExtraction_ method filename$[a, com.sap.aii.mappingtool.tf3.rt.Context@421badd8]
10:38:37 End of test
what would be the reason for this.
waiting for u r response.
bye.
regards.
seeta ram. -
No Adapter Engine value in File Adapter Config
Hello,
When we configured File adapter in Integration Directory we noticed that ADAPTER ENGINE pull down is empty.
I cannot assign any value to Adapter Engine field.
It is a new test system and should all be configured already. I wonder if this is ok or not. My experience was that I should be able to see Adapter Engine there??
Moreover Adapter Engine field has a red star which means is mandatory field but I am not sure...?!
I will appreciate any directions from experienced or xi basis people.
ThanksFollow the steps given in this BLOG for adapter enginer coming in ID -
Adapter Engine cannot be found in Integration Directory
Gud Luck !! -
Directory specification for File Adapter
Hello,
I would like to ask if it is possible to determine a directory where message is saved for file adapter based on message content.
E.g. I have general directory (GD) under which I would like to save a messages in directories with are called based on vendor number what is part of a message.
So a message would be saved in
...\GD\vendor number\file name.
In case that vendor number directory is not created yet I need to create it.
I know that in file adapter a directory name is constant and file name can differ based on settings.
This behaviour is in Business Connector enabled through possibility to write an "user-exit" in Java for directory determination.
Is something similar possible in XI ?
We are currently running on XI 3.0 with external adapter engine version 2.0 but to use internal adapter engine is no problem for me.
Thank you for your advice.
Marian MorzolHi Marian,
You can do this with content based routing in the interface determination, but then you have to create a new interface/channel for every extra directory.
Cheers,
Frank -
Multiple Exclusion Criteria[Exclusion Mask] in Sender File Adapter
Hello All,
I have a requirement to specify multiple exclusion criteria in the 'Exclusion Mask' property of a Sender File Adapter, i.e. I need to pick up files that correspond to 111*.txt from a specified source directory, but I would also want to exclude specific individual files that go by the following names:-111ACC.txt, 111INV.txt & 111PUR.txt.
I have tried the following - Specified 111*.txt in the 'File Name' field and in the 'Exclusion Mask' field specified ACC, INV & PUR - the exclusion criteria separated by commas. But this does not seem to work. All the 111* files are getting picked up.
Have gone through a couple of weblogs that deal with exclusion masks, but they do not talk about multiple exclusion criteria.
Is there any other way I could accomplish this?
Thanks,
AnandHi,
Try this config.
Give *.txt in filename. and Directory as <YourDir>
In exclusion mask give 111ACC.txt
Below this there will be a table. Add two Entries
Dont add anything to FilenameMask.
Directory ->FileNameMask--->ExclusionMask
<yourDir>->--->111INV.txt
<YourDir>->--->111PUR.txt
Try this and get back.
Regards,
Sudharshan
Message was edited by:
Sudharshan Aravamudan
Maybe you are looking for
-
I received a new IPOD nano for CHristmas. Itunes shows it there on summary, it is showing with the eject symbol. However, when I go to file/sync, it allows me to transfer purchases but not sync it. It also does not show up in my playlist like my ol
-
TS3988 how to turn off the passcode after phone is located
how to turn off the pass code after you have found your phone with i cloud
-
Album Artwork - expand on screen while playing the song
How do I get the album artwork to show on my ipod screen while it is playing the song? As in-- fill up the whole screen (expand) instead of on the left side? (While the song is playing) I have the silver 120g iPod classic. Thank you in advance!!
-
Hi, I'm trying to figure out how to edit theme pages. t's hard to explain.. take a look at my blog, http://web.mac.com/sharonabaja the far left side has a light orange stripe down the side. I can't find anywhere how to select it to either delete it o
-
Hai experts, In the block there are three kinds wahich are 1.Standard 2.Parforeach and 3.Foreach i want the details about all the three and where we use and when we use such block types.