on 01-16-2006 3:31 PM
How can i get the XSLT code from xi, it is possible?
Thanks
Yves
Hi,
>>How can i get the XSLT code from xi, it is possible?
what exactly are you looking for??
naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You do not configure any sender adapter in XI directory, when you use J2SE adapter.
You have to configure the content conversion directly in the J2SE adapter.
See here:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
Regards
Stefan
Yes 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
Hi Yves,
When all records are identical I recommend using the simple conversion:
mode=FILE2XMBWITHROWCONVERSION
...
xml.documentName=PlaintMaintenanceMessagetype
xml.documentNamespace=http://doehler.com/sapxi/krausdemosender
xml.structureTitle=Data
xml.processFieldNames=fromConfiguration
xml.fieldNames=EpuipmentID,FunctionalLocation,Data,Time
xml.fieldSeparator=,
Your output would look like this:
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Data>
<EpuipmentID>1235</EpuipmentID>
<FunctionalLocation>Cola</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</Data>
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</Data>
</ns:PlaintMaintenanceMessagetype>
Would that work for you?
Stefan
This is for when you have different structures like:
xml.recordsetStructure=item,*,anythingElse,*
xml.item.fieldNames=EpuipmentID,FunctionalLocation,Data,Time
xml.anythingElse.fieldNames=anyName
Here you can determine with your key fields, whether a line belongs to structure item or anythingElse.
When your line are the same structure in all cases, it is not possible to do so, as I assume there is no field with the same value in all lines.
Regards
Stefan
It is run,
but i change it:
mode=FILE2XMBWITHROWCONVERSION
...
xml.documentName=PlaintMaintenanceMessagetype
xml.documentNamespace=http://doehler.com/sapxi/krausdemosender
xml.structureTitle=Data
xml.processFieldNames=fromConfiguration
xml.fieldNames=EpuipmentID,FunctionalLocation,Data,Time
xml.fieldSeparator=,
xml.endSeparator=;
this are runing by:
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122031</Time>
</Data>
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Yves</FunctionalLocation>
<Data>20060105</Data>
<Time>122031</Time>
</Data>
</ns:PlaintMaintenanceMessagetype>
but not by:
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122031</Time>
</Data>
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Saft</FunctionalLocation>
<Data>20060105</Data>
<Time>122031</Time>
</Data>
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Bier</FunctionalLocation>
<Data>20060105</Data>
<Time>122031</Time>
</Data>
<Data>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Cola</FunctionalLocation>
<Data>20060105</Data>
<Time>122031</Time>
</Data>
</ns:PlaintMaintenanceMessagetype>
Why??
Thanks
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.