File system location of cFolders file mat_Attributes.xml
Hi
Where is the file mat_Attributes.xml located for editing cFolders material types?
Thanks, Senthil
Hi Senthil,
have a look at the cFolders configuration guide:
http://help.sap.com/SCENARIOS_BUS2005/helpdata/EN/30/d0473dd7b1b366e10000000a114084/frameset.htm
and
http://help.sap.com/SCENARIOS_BUS2005/helpdata/EN/74/b7c8483062604e8d6ffbc408ad5e91/frameset.htm
Regards
Peter
Similar Messages
-
Add schema location and version to the XML file header
HI, I used XMLBean to generate a XML file:
<?xml version="1.0" encoding="UTF-8"?>
<bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2">
</bo:TXLife>
I need add a schema location, a version, another name space so the header looks
like:
<?xml version="1.0" encoding="UTF-8"?>
<bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2"
xmlns:xsd="http://www.w3.com/2001/XMLSchema"
xmlns:xsi="http://www.w3.com/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.iit.com/schema/Schema29.xsd"
version="2.9">
</bo:TXLife>
Thanks,Thanks Steve.
Your right, it seems that I can't access the attribute or in this case add it
by just editing the xsd. At least I haven't found a way to do that.
The cursor solution works ok, but we'll have to add that code to every transformation
etc.
Timo
"Steve Traut" <[email protected]> wrote:
Hello Timo -- Unless your schema defines the attribute as part of the
element you want to edit, I don't think you'll get access to the attribute
through JavaBeans-style accessors.
If you have any feedback about why the cursor won't work in your situation,
though, I'd love to hear it.
Steve
"Timo Lukumaa" <[email protected]> wrote in message
news:[email protected]...
Hello, where having a similar problem. We need a schema locationdefinition so
that XML is valid. We can edit the xsd files and add stuff there, wouldthere
be a way to do that with out the cursor? This cursor solution isn'ttoo
nice..
"Steve Traut" <[email protected]> wrote:
Henry -- You'll need an XmlCursor for inserting attributes that aren't
defined in your schema. Try something like the following.
TXLifeDocument txLifeDoc = TXLifeDocument.Factory.newInstance();
TXLife txLife = txLifeDoc.addNewTXLife();
// Create a cursor and move it to where you want to start inserting
attributes.
XmlCursor cursor = txLife.newCursor();
cursor.toFirstContentToken();
cursor.toLastAttribute();
// Insert your attributes.
cursor.insertAttributeWithValue("schemaLocation","http://www.w3.com/2001/XM
L
Schema-instance", "http://www.iit.com/schema/Schema29.xsd");
cursor.insertAttributeWithValue("version", "2.9");
cursor.insertNamespace("xsi",
"http://www.w3.com/2001/XMLSchema-instance");
cursor.insertNamespace("xsd", "http://www.w3.com/2001/XMLSchema");
// Dispose of the cursor.
cursor.dispose();
Steve
"Henry Niu" <[email protected]> wrote in message
news:[email protected]...
HI, I used XMLBean to generate a XML file:
<?xml version="1.0" encoding="UTF-8"?>
<bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2">
</bo:TXLife>
I need add a schema location, a version, another name space so theheader
looks
like:
<?xml version="1.0" encoding="UTF-8"?>
<bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2"
xmlns:xsd="http://www.w3.com/2001/XMLSchema"
xmlns:xsi="http://www.w3.com/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.iit.com/schema/Schema29.xsd"
version="2.9">
</bo:TXLife>
Thanks, -
Newbee question:
From the tutorial "Handling Flat File and COBOL Copybook Sources in Mappings", I imported the metadata for ETL_OWNER. It contains file locations such as SRC_FLAT_FILES_LOCATION but I cannot find any way to view its path in the file system. I created my own file locations where I can specify a path in the Create File System Location wizard, but afterwards, I can neither inspect nor change the path.
Thanks for help
SebastianThank's for help, I am simply not used to the user interface. The Connections Explorer seems to have disappeared in 11gR2 but the Locations node still exists, listing all file locations. However, the property inspector does not display the file's path, somewhat counterintuitively. Double-klicking the file location opens the Edit window containing the path.
-
XSLT Mapping to convert u201C.CSVu201D file into XML Structure.
Hi All,
I wanted to know can we use XSLT Mapping to convert u201C.CSVu201D file into XML Structure.
I am communicating between two XI Systems. First XI system is going to give u201C.CSVu201D file as main document. I need to post IDOC Corresponding to this. So what I want to do is read this u201C.CSVu201D file (Main document in payload) and first convet it into XML and then use second mapping which will convert XML to IDOC.
I know this is possible with JAVA Mapping but just wanted to confirm can we do this with XSLT mapping as well?
Regards,
GouriHi Amit,
I know this way it shd work as i am able see other XSLT files. But this particular file is not visible.
I am copying following code only in sample.xslt file.
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fn="fn"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
version="2.0" exclude-result-prefixes="xs fn">
<xsl:output indent="yes" encoding="US-ASCII" />
<xsl:param name="pathToCSV" select="'file:///c:/csv.csv'" />
<xsl:function name="fn:getTokens" as="xs:string+">
<xsl:param name="str" as="xs:string" />
<xsl:analyze-string select="concat($str, ',')" regex='(("["]*")+|[,]*),'>
<xsl:matching-substring>
<xsl:sequence select='replace(regex-group(1), "^""|""$|("")""", "$1")' />
</xsl:matching-substring>
</xsl:analyze-string>
</xsl:function>
<xsl:template match="/" name="main">
<xsl:choose>
<xsl:when test="unparsed-text-available($pathToCSV)">
<xsl:variable name="csv" select="unparsed-text($pathToCSV)" />
<xsl:variable name="lines" select="tokenize($csv, ' ')" as="xs:string+" />
<xsl:variable name="elemNames" select="fn:getTokens($lines[1])" as="xs:string+" />
<root>
<xsl:for-each select="$lines[position() > 1]">
<row>
<xsl:variable name="lineItems" select="fn:getTokens(.)" as="xs:string+" />
<xsl:for-each select="$elemNames">
<xsl:variable name="pos" select="position()" />
<elem name="{.}">
<xsl:value-of select="$lineItems[$pos]" />
</elem>
</xsl:for-each>
</row>
</xsl:for-each>
</root>
</xsl:when>
<xsl:otherwise>
<xsl:text>Cannot locate : </xsl:text><xsl:value-of select="$pathToCSV" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Is this correct?
-Gouri -
Hi all,
I have low experience with XI but I have created a scenario XML file to XML file (reference wiki.sdn.sap.com) where sender e receiver files are located into XI folders . The steps defined are :
product;
software component;
technical system (thirdy-part);
business system;
import sofware component into integration repository;
namespaces;
data type (sender/receiver);
message type;
message interface;
message mapping;
interface mapping;
configuration scenario into integration config.;
assign business system;
communication channel;
file adapter with source e destination directory (folder XI), file name e processing parameters;
receiver and interface determination
sender and receiver agreement.
When put the input file into sender folder I don't have output file and sxmb_moni is empty for XML message.
Thanks in advance.
MikiHi Maurizio,
you don't see anything entering inside your sxmb_monitoring: do you mean that the payload is empty or that you don't see any messages in the overview table?
If you don't see any messages, this means that in the message is not send from your adapter engine towards your integration engine.
Check wether:
1) your communication is set up properly and is active
2) your communication channel is functioning correctly via communication channel monitoring in the runtime workbench (goto the integration builder --> runtime workbench --> Component monitoring --> click on display --> click on adapter engine --> click on communication channel monitoring --> search for you communication channel and check for errors.
3) check your sender agreement
If you have an empty payload, check your payload in the first step of your message pipeline and check wether the payload has the expected layout.
Kind regards
Joris -
Publishing swf file with xml feed
I am working in actionscript 3 trying to create a flash banner ad that will be put on multiple sites. The ad will grab a rss feed and display a number from that feed insie the banner ad. The Flash file works fine on my local computer when I test it. The feed is showing up just fine in the ad. When I publish the ad for the web and test it out on my server, the feed does not display in the ad. I have checked to make sure network access is selected in the publish settings. I also have a crossdomain.xml policy file on the server with the feed. My server is listed in the policy to allow access. I keep thinking I am overlooking something, but can't figure it out. Any help would be greatly appreciated.
Here is the code for the action script:
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest =
new URLRequest("http://www.rssfeed.com/rssfeed");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(e:Event):void{
var rssXML:XML=new XML(e.target.data);
trace (rssXML);
if (rssXML.channel.item[0].description >= 61)
{rssXML.channel.item[0].description="60+"}
testXML.text=rssXML.channel.item[0].description;
Here is the crossdomain.xml policy file:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="domain.net"/>
<allow-access-from domain="www.domain.net"/>
<allow-access-from domain="anotherdomain.com"/>
<allow-access-from domain="www.anotherdomain.com"/>
<allow-access-from domain="yetanotherdomain.com>"/>
<allow-access-from domain="www.yetanotherdomain.com>"/>
</cross-domain-policy>
Message was edited by: WRGrun262try:
Security.loadPolicyFile("http://www.rssfeed.com/crossdomain.xml");
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest =
new URLRequest(http://www.rssfeed.com/rssfeed);
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(e:Event):void{
var rssXML:XML=new XML(e.target.data);
trace (rssXML);
if (rssXML.channel.item[0].description >= 61)
{rssXML.channel.item[0].description=60+}
testXML.text=rssXML.channel.item[0].description;
this should be crossdomain.xml in the rssfeed.com root directory
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="domain.net"/>
<allow-access-from domain="www.domain.net"/>
<allow-access-from domain="anotherdomain.com"/>
<allow-access-from domain="www.anotherdomain.com"/>
<allow-access-from domain="yetanotherdomain.com>/>
<allow-access-from domain="www.yetanotherdomain.com>/>
</cross-domain-policy>
Message was edited by: WRGrun262 -
How to generate MT100 file in XML ?
How to generate MT100 file in XML ?
Dear All,
Base: We are working on ECC 6.0 version and developing B2B with bank.
Requirement: For B2B bank requires payment orders in MT100 format wrapped in XML.
At Present: I am using PMW format MT100(standard) in payment method. With the use of this format system is generating MT100 text file.
In this standard PMW format MT100, check box for u201Dmapping using DME engineu201D is not selected.
My Try: I change in format output from file to XML in Payment Media Format (T. Code OBPM1), but it doesnu2019t work.
In data medium display (T. Code FDTA) system is showing the following error.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'file:///C:/Users/888881/AppData/Local/Microsoft/Wind...
In view source system is showing only this,
<?xml version="1.0" encoding="utf-8"?>
My Question: How to generate MT100 file in XML ?
Should I have to create DME Format Tree in ( T. Code DMEE ) and create new Payment Media Format (T. Code OBPM1), with the mapping using DME engine ?
Please give your valuable suggesions,
Thank you,
RonyHi Prabhu,
The program SAPFPAYM generates the payment Medium on the basis of your configuration and background settings, this program does not bydefault give the output in the XML.
Varient creation for the PMW in T. Code OBPM4, use the same program, which i already done it, even without this it is not be possible to create any payment Medium.
Regards,
Rony -
B2b unable to pick the file from xml gateway
Hi All,
I am taking a scenario where B2B picks the files from xml gateway and drop the files in FTP folder. I modified the XML gateway inbound and outbound, i has given my user credentials(unmae, host ,pwd ,sid, port). In agreement in the place of internal delivery channel i has given XML gateway outbound.
Still its unable to pick the files from xml gateway.
Clarify my understanding please
While b2b picks the files from xml gateway, It will pick from ECX_Inbound or ECX_Outbound?
Here i am attaching the logs:
2010.01.15 at 07:32:51:101: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
2010.01.15 at 07:32:56:366: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
2010.01.15 at 07:32:56:369: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
2010.01.15 at 07:32:56:392: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration obtained
2010.01.15 at 07:32:56:395: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
2010.01.15 at 07:32:56:547: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
2010.01.15 at 07:32:56:821: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
2010.01.15 at 07:32:56:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
2010.01.15 at 07:32:56:826: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
2010.01.15 at 07:32:56:829: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
2010.01.15 at 07:32:56:832: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
2010.01.15 at 07:32:56:835: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
2010.01.15 at 07:32:56:837: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
2010.01.15 at 07:32:56:840: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
2010.01.15 at 07:32:56:842: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
2010.01.15 at 07:32:56:845: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
2010.01.15 at 07:32:56:848: B2BStarter thread: B2B - (INFORMATION) Repository:print: [10] Custom Document over Internet
2010.01.15 at 07:32:56:851: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
2010.01.15 at 07:32:56:853: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
2010.01.15 at 07:32:56:856: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
2010.01.15 at 07:32:57:649: B2BStarter thread: B2B - (DEBUG) Repository:constructCertSQL SELECT cert.ID, cert.CLASSTYPE FROM TIP_Certificate_ra cert, TIP_Party_ra party, TIP_DocumentExchange_ra docex WHERE cert.ID = docex.signingcredential AND cert.tradingpartner = party.ID AND party.ishosted != 'Y'
2010.01.15 at 07:32:57:785: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
2010.01.15 at 07:32:58:077: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
2010.01.15 at 07:32:58:824: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
2010.01.15 at 07:32:58:827: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
2010.01.15 at 07:32:58:831: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
2010.01.15 at 07:32:58:891: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
2010.01.15 at 07:32:59:010: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
2010.01.15 at 07:32:59:013: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
2010.01.15 at 07:32:59:038: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
2010.01.15 at 07:32:59:041: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
2010.01.15 at 07:32:59:043: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
2010.01.15 at 07:32:59:046: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
2010.01.15 at 07:32:59:059: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = ERROR
2010.01.15 at 07:32:59:294: B2BStarter thread: B2B - (DEBUG) Repository:Repository:getDeliveryEndPointList() Wallet Location /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
2010.01.15 at 07:32:59:297: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: No Archive dir
2010.01.15 at 07:32:59:300: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: marker :false
2010.01.15 at 07:32:59:314: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO
2010.01.15 at 07:32:59:322: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO file.receiver.wallet_location = /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
file.receiver.wallet_password = *****
file.receiver.polling_interval = 5
file.receiver.path = /ftpdata/elshad1/ice/infile/850/PO
file.receiver.marker = false
marker = false
ccc = false
file.receiver.channel_mask = None
file.receiver.minimum_age = 0
filename_format = %FROM_PARTY%_%TIMESTAMP%.dat
file.receiver.van = false
file.sender.channel_mask = None
file.receiver.user = eiced1
PROTOCOL_ENDPOINT = null
file.receiver.password = *****
file.receiver.preserve_filename = false
transport_callout_waittime = 30
preserve_filename = false
file.receiver.ccc = false
van = false
polling_interval = 5
2010.01.15 at 07:32:59:491: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Emerson_Robin_FTP_TransportServer < ftp > < Emerson >]
2010.01.15 at 07:32:59:858: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
2010.01.15 at 07:32:59:864: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = ERROR
2010.01.15 at 07:32:59:949: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Outbound - initialize
2010.01.15 at 07:32:59:953: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Obtaining outbound connection...
2010.01.15 at 07:32:59:956: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
2010.01.15 at 07:32:59:960: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound username: apps
2010.01.15 at 07:33:04:319: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:33:04 GMT+00:00 2010 Outbound - initialize exit
2010.01.15 at 07:33:04:322: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2010.01.15 at 07:33:04:326: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2010.01.15 at 07:33:04:329: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2010.01.15 at 07:33:04:332: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2010.01.15 at 07:33:04:335: B2BStarter thread: B2B8:15:32:157: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:32 GMT+00:00 2010 inbound username: apps
2010.01.15 at 08:15:33:757: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 inbound initialize exit
2010.01.15 at 08:15:33:761: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Outbound - initialize
2010.01.15 at 08:15:33:764: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Obtaining outbound connection...
2010.01.15 at 08:15:33:767: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
2010.01.15 at 08:15:33:770: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound username: apps
2010.01.15 at 08:15:34:473: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:34 GMT+00:00 2010 Outbound - initialize exit
2010.01.15 at 08:15:34:476: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2010.01.15 at 08:15:34:479: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2010.01.15 at 08:15:34:481: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2010.01.15 at 08:15:34:484: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2010.01.15 at 08:15:34:487: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
2010.01.15 at 08:15:35:928: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
2010.01.15 at 08:15:36:132: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
2010.01.15 at 08:15:36:139: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
regards
cnuAnuj,
The log which i placed on top, thats the complete log and DC log is given below
2010.01.18 at 12:58:06:117: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:11:130: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:16:143: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:21:153: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:26:169: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:31:164: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:36:173: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:41:182: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:46:194: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:51:210: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:58:56:217: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:01:244: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:06:254: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:11:256: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:16:283: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:21:276: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:26:285: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:31:297: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:36:314: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:41:324: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:46:327: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:51:341: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 12:59:56:352: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
2010.01.18 at 13:00:01:359: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered -
Message Mapping Error in Text File to XML file Scenario
Hi Gurus,
This is Sudheer...I am New to SAP-PI......
Below link is File to File Scenario(Text File to XML File)...
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/basicFileAdapterContentConversion
I am facing Message Mapping Error....I am not able to map the fileds...
Please help me.
-SudheerThanks Shabarish & Manisha for your reply....
Ya I am getting error while I am testing in IR....
I dont know how to map the fields that shown given below...
Message Type --- Message Type
Record Employee
Header EmployeeID
Key Name
EmpID Company
Name Phone
Company Prior_Employer
Phone Company
Detail Location
Key
Company
Location -
How to use 3rd party jar files for xml transform
Hi all,
Am using OAS9.0.4 and I deployed my .ear successfully.
In my application am using 4 jar files for xml transformation. (xerces.jar, xalan.jar, xml-apis.jar,xercesImpl.jar)
OAS has its own xmlparserv2.jar file. Its using this jar file for transforming xml data and not even looking for above mentioned 4 jar files.
In opmn.xml, I provided these 4 jar files in to class path. Then also it didn't effect my output.
I also tried as put these 4 jar files into j2ee\home\applib directory, but o result.
Can anybody tell me where should I keep these 4 jar files in OAS and OAS should use these 4 jar files instead of its own xmlparserv2.jar for transforming data.
Thanks in Anticipation,
Regards,
RKAdd the Xbootclasspath variable in the java-options field. It will somewhat look like the following in your opmn.xml file
<process-type id="<OC4J Instance Name>" module-id="OC4J">
<module-data>
<category id="start-parameters">
<data id="java-options value="........... -Xbootclasspath^/a:<location of your jar files>" />
Ensure to use th ^/a (append) signature
Regards,
Chirag -
Classpath related problem:properties file/workshopLogCfg.xml
Hi,
I'm using wrokshop8.1. I want to use the config xml file workshopLogCfg.xml for log4j
But when I tried to use DOMConfigurator.configure("workshopLogCfg.xml "),I got java.io.FileNotFoundExcedption,apprently it's not in the classpath---but it's under WL_HOME/common/lib----isn't it a default place the workshop will look into it? How can I specify it in the classpath within workshop(if not use commandline when start the weblogic server) or other ways to do that?
A similar problem is,I need to read some parameters from a properties file to my program,where to put this properties file?I even tried to jar only this single properties file and put the jar in the Libraries of the Applciation in the workshop,but still get 'file not found' error---how can make it be in the classpath?
Thanks a lot,
-Yixin
I'm believe that Java property -Dlog4j.configuration=%WL_HOME%\common\lib\workshopLogCfg.xml is registed to JVM during startup WebLogic.
I think you should try to get config log4j by following example, it may eliminate the classpath problem.
is it ans your question.
Yos L.
Example1:
String log4jFileName = System.getProperty("log4j.configuration");
DOMConfigurator.configure(log4jFileName);
Example2: Iif you use WorkShop & WebService, in JWS file you can obtain logger by -
Logger logger = context.getLogger("async.HelloWorldAsync");
logger.debug("about to start timer");
// all we do here is start the timer.
helloDelay.start();
logger.debug("timer started");
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/reference/configfiles/con_knexLogCfg_xml_ConfigurationFile.html -
Where to find files ci_types.xml and ci_tables.xml?
We have installed Mobile Travel Expense and are wanting to add a custom help list for the field REASON. The documentation from 'Enhancement Guide' says we must create tables in both SAP R/3 and Mobile Travel Expenses Repository (files ci_types.xml, ci_tables.xml). I have not found these files ???
Hello,
i made an enhancement with Mobile Time. There the same files are used to enhance the repository on the client.
In the described files you have to declare the database tables. Build a package and add the files in correct way(More about this, see Enhancement Guide).
The structure of the package(zip-file) must look like:
wwwroot\te_customer\extensions\ci_tables.xml
wwwroot\te_customer\extensions\ci_types.xml
After up-and download with WebConsole and restart of ME the declared tables are ready to use on the client.
For test you can add the files manually to:
...SAPMobileEngine\webapps\me\WEB-INF\wwwroot\te_customer\extensions
(don't forget to restart the ME)
The declared tables will be created and filled with content until the next synchronisation.
The location of the created table content is:
SAPMobileEngine\webapps\me\WEB-INF\wwwroot\te_data\customer\database\<name_of_declared_table.xml>
Nice regards
Daniel -
Hi friends,
How can i do PDF file to XML scenario in XI.
Please help me in this
Thanks in advance
SreediviaHi All,
We can convert PDF to XML using Java mapping. Below is the basic code for that:-
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
package Shubham1;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.parser.PdfTextExtractor;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.StreamTransformation;
* @author shubham.e.agarwal
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
public class Shubham2 implements StreamTransformation{
private Map map = null;
private AbstractTrace trace = null;
public void setParameter(Map arg0) {
map = arg0; // Store reference to the mapping parameters
if (map == null) {
this.map = new HashMap();
/*public static void main(String[] args) { //FOR EXTERNAL STANDALONE TESTING
try {
FileInputStream fin = new FileInputStream ("C:\\test.pdf"); //INPUT FILE (PAYLOAD)
FileOutputStream fout = new FileOutputStream ("C:/Users/Shubham.e.agarwal/My Documents/pdfXML.xml"); //OUTPUT FILE (PAYLOAD)
Shubham2 mapping = new Shubham2();
mapping.execute(fin, fout);
catch (Exception e1) {
e1.printStackTrace();
public void execute(InputStream inputstream, OutputStream outputstream) {
try {
String msgType = "MT_shubham"; //A dummy Message type, please change it as per your requirement.
String nameSpace = "http://Shubham"; //A dummy namespace, please change it as per your requirement.
String str;
str="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\">";
str = str + "\n<Record>";
PdfReader reader = new PdfReader(inputstream);
PdfTextExtractor pdf = new PdfTextExtractor(reader);
str = str + pdf.getTextFromPage(1);
str= str+"\n</Record>"+"\n</ns0:MT_shubham>";
byte by[] = str.getBytes();
outputstream.write(by);
reader.close();
outputstream.close();
System.out.println(str);
catch(Exception e){
e.printStackTrace(); -
How to store xml data into file in xml format through java program?
HI Friends,
Please let me know
How to store xml data into file in xml format through java program?
thanks......
can discuss further at messenger.....
Avanish Kumar Singh
Software Engineer,
Samsung India Development Center,
Bangalore--560001.
[email protected]Hi i need to write the data from an XML file to a Microsoft SQL SErver database!
i got a piece of code from the net which allows me to parse th file:
import java.io.IOException;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
import org.apache.xerces.parsers.SAXParser;
import java.lang.*;
public class MySaxParser extends DefaultHandler
private static int INDENT = 4;
private static String attList = "";
public static void main(String[] argv)
if (argv.length != 1)
System.out.println("Usage: java MySaxParser [URI]");
System.exit(0);
String uri = argv[0];
try
XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
MySaxParser MySaxParserInstance = new MySaxParser();
parser.setContentHandler(MySaxParserInstance);
parser.parse(uri);
catch(IOException ioe)
ioe.printStackTrace();
catch(SAXException saxe)
saxe.printStackTrace();
private int idx = 0;
public void characters(char[] ch, int start, int length)
throws SAXException
String s = new String(ch, start, length);
if (ch[0] == '\n')
return;
System.out.println(getIndent() + " Value: " + s);
public void endDocument() throws SAXException
idx -= INDENT;
public void endElement(String uri, String localName, String qName) throws SAXException
if (!attList.equals(""))
System.out.println(getIndent() + " Attributes: " + attList);
attList = "";
System.out.println(getIndent() + "end document");
idx -= INDENT;
public void startDocument() throws SAXException
idx += INDENT;
public void startElement(String uri,
String localName,
String qName,
Attributes attributes) throws SAXException
idx += INDENT;
System.out.println('\n' + getIndent() + "start element: " + localName);
if (localName.compareTo("Machine") == 0)
System.out.println("YES");
if (attributes.getLength() > 0)
idx += INDENT;
for (int i = 0; i < attributes.getLength(); i++)
attList = attList + attributes.getLocalName(i) + " = " + attributes.getValue(i);
if (i < (attributes.getLength() - 1))
attList = attList + ", ";
idx-= INDENT;
private String getIndent()
StringBuffer sb = new StringBuffer();
for (int i = 0; i < idx; i++)
sb.append(" ");
return sb.toString();
}// END PRGM
Now , am not a very good Java DEv. and i need to find a soln. to this prob within 1 week.
The next step is to write the data to the DB.
Am sending an example of my file:
<Start>
<Machine>
<Hostname> IPCServer </Hostname>
<HostID> 80c04499 </HostID>
<MachineType> sun4u [ID 466748 kern.info] Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 360MHz) </MachineType>
<CPU> UltraSPARC-IIi at 360 MHz </CPU>
<Memory> RAM : 512 MB </Memory>
<HostAdapter>
<HA> kern.info] </HA>
</HostAdapter>
<Harddisks>
<HD>
<HD1> c0t0d0 ctrl kern.info] target 0 lun 0 </HD1>
<HD2> ST38420A 8.2 GB </HD2>
</HD>
</Harddisks>
<GraphicCard> m64B : PCI PGX 8-bit +Accel. </GraphicCard>
<NetworkType> hme0 : Fast-Ethernet </NetworkType>
<EthernetAddress> 09:00:30:C1:34:90 </EthernetAddress>
<IPAddress> 149.51.23.140 </IPAddress>
</Machine>
</Start>
Note that i can have more than 1 machines (meaning that i have to loop thru the file to be able to write to the DB)
Cal u tellme what to do!
Even better- do u have a piece of code that will help me understand and implement the database writing portion?
I badly need help here.
THANX -
Bridge opening office files with xml converter
Adobe Bridge CS3 is opening all my excel files with xml converter and promting me to save as. How do I switch it to default to Microsoft Excel when opening these files?
These options are handled in the Bridge prefs under File Associations, but if I remember correctly this is somewhat limited in CS3 since it only handles Adobe files that install their associations. Any other file type is handled by whatever the opoerating system offers. Well, you can always look and give it a try...
Mylenium
Maybe you are looking for
-
CS5 ISSUE - STORIES NOT LOCKING ALL THE TIME IN INCOPY
I have an issue where sometimes we will have one user open a story and it will NOT show it as being locked (pencil with line through it). The majority of the time it will, but seems to happen too often and I see it being a problem this coming weeken
-
FI Cube for G/L and Cost Center Restriction
Hi, We are trying to build a finance report that provides items like overhead, revenue, expenses etc. We started working with cube 0FIGL_C01 but there does not appear to be a way to restrict by cost centers. Basically, we have a list of G/L accounts
-
Copy PO order in SRM not replicating new net price in ECC (SAP SRM 7.0 )
Hello - I'm in SRM 7.0 SRM Server 701 level 4 and ECC 6.0 I I'm copying an already order PO from POWL (copy), I change the Gross Price in SRM from X to Y and I order the new PO. I go to ME23n in ECC and the NET_PRICE value on the PO is still X even t
-
I am getting a pop up message each time I open a page in my Google browser. I cannot access the page unless I cancel the message first. I use a SIM card on my IPad 2, but it also does this on a friends ipad as well with a different IOS version and on
-
Configuring SAP Credit management interfaces in PI 7.0
Hi all, I am working on PI 7.0 instance and have an issue while trying to connect Accounts receivable accounting with SAP Credit Management. Did anybody configure this kind of interfaces (Credit cOMMITMENT & Credit Payment) so that they could be inte