Xml to text scenario
hellow tell me the context objects . wat is the field seperator we hav to mention in receiver fcc communication channel
Hi,
Your ques isn't clear .But just for yr info as per my understanding .
Context objects are special fields within a message usually these are used in correlating messages.Also these can be specified as XPATH structure
Field separators are defined based upon yr message requirement .these can be strings also
Regards,
Similar Messages
-
I'm using Xalan to perform XSLT from XML to text file.
As I need to format the text file with carriage return at the end of every string pattern produced, I declare a variable in my XSL as a new-line character.
It works fine if I use a XSLT GUI tool (based on MS Parser SDK) but not using Xalan parser in my Java program. Somehow the newline charache
Here is a portion of my sample Java program:
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer oTransformer = tFactory.newTransformer(new StreamSource(new File("C:\\actions\\transform\\", sXSLFilename)));
StreamSource oXMLSource = new StreamSource(
new StringReader(new String(aData)), "C:\\xslt\\OFT_COMP.dtd");
StreamResult oResult = new StreamResult(oStrWriter);
oTransformer.setOutputProperty(OutputKeys.METHOD, "text");
oTransformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1");
oTransformer.setOutputProperty(OutputKeys.INDENT, "no");
oTransformer.transform(oXMLSource, oResult);
aOutputXMLData = oStrWriter.toString().getBytes();
Does anybody know what's the problem? Or any other suggestions on performing this kind of "newline" separator?
Thanks in advance.easiest just use a stylesheet to transform the xml to text... and use:
<xsl:text> </xsl:text>
for carriage return -
How to merge multiple XML or Text documents into 1 Word Document?
Hi all,
We're looking for a way to merge multiple XML or Text documents into 1 Word document.
All the XML or Text documents are oriented as a 'Paragraph', meaning smaller pieces of text.
By selecting some of these XML documents, the system should be able to create a new Word document with all the selected text paragraphs included.
The Word document can then be edited for applying a correct lay-out and the document is ready.
Actually, we are trying to do some kind of 'mail merge' but with multiple XML or Text documents!
Has anybody an idea whether something exist already or give us a direction how to proceed?
Thanks in advance,
Pascal DecockYou use Assembler for this purpose.
1) Assembler can be accessed through LC Java API. See http://help.adobe.com/en_US/enterpriseplatform/10.0/programLC/help/index.html
API Quick Starts (Code Examples) > Assembler Service API Quick Starts
2) Last week I posted on generating and merging PDF's from PostScript. Take a look at the assembly service instance in the .lca. Assembler uses DDX (Document Description XML) to describe document construction. NOTE the .lca was developed with ES 3 (aka ADEP). The .lca It contains the most basic DDX.
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="out.pdf">
<PDF source="inDoc1"/>
<PDF source="inDoc2"/>
</PDF>
</DDX>
http://forums.adobe.com/message/4019760#4019760
DDX Reference at http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf
Steve -
Hi all,
for a customer I'm building an xml to IDoc scenario. The xml-file looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<ROOT>
<ROW>
<_5731 />
<_5735 />
<EMPLOYEE_SALARYNR>test</EMPLOYEE_SALARYNR>
</ROW>
</ROOT>
The message type I created in the message mapping looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ROOT xmlns:ns0="http://wartsila.com/i-protect">
<ROW>
<_5731 />
<_5735 />
<EMPLOYEE_SALARYNR>test</EMPLOYEE_SALARYNR>
</ROW>
</ROOT>
My problem is I'm not able to translate the customer xml-file in my message mapping, unless I add the namespace "xmlns:ns0="http://wartsila.com/i-protect"" to the file. I tried to solve the problem by deleting the namespace declaration in the message mapping. After that I receive an error when I import the changed structure into the message mapping.
Is anyone familiair with this problem? Is there someway to add a namespace to the sourcefile or to change the message mapping such a way that it corresponds to the source file?
Thanks in advance!
Regards,
Ivo van EeMy problem is I'm not able to translate the customer xml-file in my message mapping, unless I
add the namespace "xmlns:ns0="http://wartsila.com/i-protect"" to the file. I tried to solve the problem by
deleting the namespace declaration in the message mapping. After that I receive an error when I import
the changed structure into the message mapping.
Since you have created a Message Type corresponding to the sender structure you have the option of deleting the namespace from the Message Type itself.....it is not to be deleted from the message mapping as you mentioned above.....changes made to the MT may cause an initial inconsistency in the mapping......but once done it will be fixed :)...just refer the blog given by Aamir...
Regards,
Abhishek. -
XML Loaded Text Inconsistently Displays Apostrophe
i have a number of dynamic text fields, all of which have
text loaded from their respective xml files.
one of the menu items includes an apostrophe. that apostrophe
shows up in one area of the site but not in another where it is
replaced by ' .
these two sections are identical. both dynamic text boxes
with xml loaded text. one works one doesn't.
i've double checked everything. everything is embedded, i
have no idea what the problem is.
any ideas?
if you want to see what i'm talking about go
here and select WORK. JAMIES
ORGANIC TREATS has no apostrophe because i took it out - it gets
converted to ' in this location. but if you select JAMIES
ORGANIC TREATS the name pops up in the new section correctly WITH
the apostrophe.
they are separate text fields with separate xml files but all
of them are treated the same.
Flash CS3 Flash Player 8 AS2
Mac 10.5*SOLVED*
i went back in and enabled html on the text box and changed
all of the .text to .htmlTxt and it worked. also added the cdata
tags.
but any idea why the apostrophe works correctly in the other
instance? -
Change XML mode text to mode binary
Hi guys,
In PI 7.0 when i do one call to RFC (RFC Receiver) the message between PI and ECC is a XML mode text.
Anbody know how can i change XML mode text to mode binary ? (traffic in my network xml binary instead of xml text)
Can anybody help me, please ?Hi
According to my knowledge its not possible for the RFC receiver adapter if the RFC is the standard one, for other adapters like file we can set this.
Give that File type as Binary in the sender communication channel and test.
Regards
Ramesh -
Hi All,
I am working on XML to RFC scenario. I've few questions.
1) how do I map XML structure with RFC?
2) The incoming XML file contains multiple records while BAPI can handle one record per time so how can I resolve this situation?
Thanks in advance.
Regards,
Chintan>>1) how do I map XML structure with RFC?
In Message mapping and Interface Mapping Choose the source interface as the input XML message type and the target message as the RFC request message and map it.
>>2) The incoming XML file contains multiple records while BAPI can handle one record per time so how can I resolve this situation?
You need to use BPM with mulitimapping. To call the RFC for every record you should define a Block step with mode as ForEach and add the Send step to RFC within the block.
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure By Piyush Gangwal
Thanks
SaNv... -
XML To text conversion and send it through Email
hi,
I have an IDOC -xi - http receiver
1. In HTTP Response (xml based) i get a status code and text in the tag.
The above response has to be appended to a <b>message</b> that should be in the following format(should be in text):
Vendor Name: ABC
PO Number: 123123
Attempt : May 05 2006 3:14 pm - date and time of attempt when it was failed for the first time
Description - This comes from the HTTP Response.
As you see only the description comes from the http response but rest all comes from the idoc structure.
how do i map the above scenario using BPM?
Is there a way where i could store the values for vendor name, po no so that it can be used along with the http response to map to the final structure and email the whole format?
Required structure: (vendor name, po number, description)
idoc(vendor name,po number) -> XI->HTTP Receiver(XML)
HTTP Response(description)-> Map -> Required Structure.
How can i achieve the above?
Thanks,
TirumalEmail them to an account on the iPhone
Get an app for the iPhone that can view and/or edit MS Office files, such as Documents to Go or QuickOffice, or one that can transfer files without editing such as AirSharing.
Use a cloud-based file transfer program such as dropbox -
Generating an XML formated text file
Hi all
I am a PL/SQL programmer and have no idea about XML :-(
I am using ORACLE 10g and my application generates atleast 100 text files a day for customers. These files are manipulated using Utl_File package and gets data from the DB.These files are tab or comma delimeted. Now company wants to give an option to customers to get the same output in XML format. My understanding is that I need to get information from customers first to make the report template for them and then use some XML parser to get data from DB and give an output using that customer's specific template.
I wanna know, if there is any whitepaper or manual that can guide me step by step. I just need to make an idea how the things can go togather and the sequence of operation. I also wanna use only PL/SQL and not Java at this time.
Rashid
Message was edited by:
rashid68check it out at http://www.orafaq.com/faqxml.htm
-
XI 3.0 - XML - IDOC inbound scenario via ftp UTF-8 character encoding
Hi Everyone,
I'm having difficulties with a particular scenario. I receive via the ftp adapter xml files which have a header indicating UTF-8 coding. In SXMB_MONI, i see the cyrillic characters and after mapping the target message payload as well have readable cyrillic characters. The problem comes when i have the SAP-side check the idoc that posted in their system. They see gibberish (i.e ##### #### ### #').
I have already tried changing the XSD definition of the xml to UTF-8 however upon import it automatically changes it to ISO-8859-1. I've tested sending the xml file to XI with an ISO-8859-1 coding header and in SXMB_MONI it's gibberish as well. So i've elminated that from possible problems.
i have checked SM59 on the receiving system and unicode is checked as well.
where could the problem possibly be?
Thank you,
KentHi,
Thank you for the quick reply. however that did not solve it. I believe the Cyrillic character set lies in the UTF-8 set. i mentioned about the ISO to elmiinated its possibility and the problem i face when importing an XSD definition as it automatically changes the encoding to that set. I have confirmed that it should be UTF-8.
I have isolated the problem to between the XI box and the SAP receiving box. in SXMB_MONI, up to the call adapter part, the payload shows the correct characters. upon checking it in the receiving system at tcode "we02", the value is all gibberish. -
InDesign-XML Exporting text that has been deleted
Hey,
After tagging my document in InDesign i deleted some text/pictures/tables. Now whenever i seem to export the same document to XML the old deleted text will export as well? Is there a way to stop this "ghost text" coming back in the export?
Thanks!!!!!Yep--I read your first post too quickly.Sorry about that. Does the tagged structure show up in the structure pane? It should.
I cannot replicate the problem. Anything I delete in my tagged files do not get exported into the resulting XML whether it is recycling imported XML or creating it from scratch in ID.
Can you upload a sample to dropbox.com or another large document sharing site (that does not require membership) and provide a download link? If it is sensitive stuff, feel free to click on my name and email or private message me the download link. I would be happy to take a look.
Oh. You also don't indicate which ID version you are using. Which could be an issue as regards me looking at the file. I stopped upgrading with CS6. I do not think XML or data merging has changed since, well, before CS6, so functionally it shouldn't matter. But if you are using CC, you would need to save out as an IDML for CS6 in order for me to look at it.
Mike -
Replacing special characters from xml document/text inside element
Hi
Is there any way to replace the xml codes to special characters inside an entire xml document/ for a text in element.
I want to get the xml codes to get replaced to respective special character(for any special character)
Please see the sample xml xml element below
<Details>Advance is applicable only for < 1000. This is mentioned in Seller's document</Details>
Thanks in advance .. any help will be highly appreciated.So, just to be sure I understand correctly, you want this :
<Details>Advance is applicable only for < 1000. This is mentioned in Seller's document</Details>
to be converted to :
<Details>Advance is applicable only for < 1000. This is mentioned in Seller's document</Details>
If so, I'll say again : the resulting XML document will be invalid.
Extensible Markup Language (XML) 1.0 (Fifth Edition)
The ampersand character (&) and the left angle bracket (<) MUST NOT appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they MUST be escaped using either numeric character references or the strings " & " and " < " respectively. The right angle bracket (>) may be represented using the string " > ", and MUST, for compatibility, be escaped using either " > " or a character reference when it appears in the string " ]]> " in content, when that string is not marking the end of a CDATA section.
Ask whoever "they" are why they would want to work with not wellformed XML. -
Help need in XML to Proxy scenario
HI Guys,
I have got one scenaio from xml file --> ABAP proxy. This is for SNC integration, Product Acitivity Data. Please have a look the following xml file.
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
<OUTPUT>
<TRANS_HEADER>
<SET_ID>852</SET_ID>
<CNTL_NUMB>0001</CNTL_NUMB>
<CUST_NUMB>3800580</CUST_NUMB>
</TRANS_HEADER>
<H01_XQ>
<XQ01>H</XQ01>
<XQ_Y2K_DATE1>20100601</XQ_Y2K_DATE1>
</H01_XQ>
<Group_N1>
<H02_N1>
<N101>ST</N101>
<N102>SO. CALIF.</N102>
<N103>UL</N103>
<N104>0083967005509</N104>
</H02_N1>
<H02_N1_N4>
<N401>SANBERNARDINO CALIFORNIA</N401>
<N402>CA</N402>
<N403>92407-185</N403>
</H02_N1_N4>
<H02_N1_DTM>
<DTM01>600</DTM01>
<DTM_Y2K_DATE>20100531</DTM_Y2K_DATE>
</H02_N1_DTM>
</Group_N1>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225037</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035569</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355698</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>0</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225052</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035570</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355704</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225078</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035571</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355711</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<S01_CTT>
<CTT01>53</CTT01>
</S01_CTT>
</OUTPUT>
<OUTPUT>
<TRANS_HEADER>
<SET_ID>852</SET_ID>
<CNTL_NUMB>0001</CNTL_NUMB>
<CUST_NUMB>3800580</CUST_NUMB>
</TRANS_HEADER>
<H01_XQ>
<XQ01>H</XQ01>
<XQ_Y2K_DATE1>20100601</XQ_Y2K_DATE1>
</H01_XQ>
<Group_N1>
<H02_N1>
<N101>ST</N101>
<N102>SO. CALIF.</N102>
<N103>UL</N103>
<N104>0083967005509</N104>
</H02_N1>
<H02_N1_N4>
<N401>SANBERNARDINO CALIFORNIA</N401>
<N402>CA</N402>
<N403>92407-185</N403>
</H02_N1_N4>
<H02_N1_DTM>
<DTM01>600</DTM01>
<DTM_Y2K_DATE>20100531</DTM_Y2K_DATE>
</H02_N1_DTM>
</Group_N1>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225037</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035569</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355698</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>0</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225052</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035570</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355704</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225078</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035571</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355711</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<S01_CTT>
<CTT01>53</CTT01>
</S01_CTT>
</OUTPUT>
</ROOT>
1. Can you please tell me, Do we need Multimapping in this?
2. To take this file into PI, do we need to use Ananimity bean parameters to sender file adapter module?
3. the sender side XSD schma as follows is it okay are any change are required
ROOT Complex Type
OUTPUT Element 0..unbounded
TRANS_HEADER Element 0..unbounded
SET_ID Element xsd:string 0..1
CNTL_NUMB Element xsd:string 0..1
CUST_NUMB Element xsd:string 0..1
H01_XQ Element 0..unbounded
XQ01 Element xsd:string 0..1
XQ_Y2K_DATE1 Element xsd:date 0..1
Group_N1 Element 0..unbounded
H02_N1 Element 0..1
N101 Element xsd:string 0..1
N102 Element xsd:string 0..1
N103 Element xsd:string 0..1
N104 Element xsd:string 0..1
H02_N1_N4 Element 0..1
N401 Element xsd:string 0..1
N402 Element xsd:string 0..1
N403 Element xsd:string 0..1
H02_N1_DTM Element 0..1
DTM01 Element xsd:string 0..1
DTM_Y2K_DATE Element xsd:date 0..1
Group_LIN Element 0..unbounded
D01_LIN Element 0..unbounded
LIN02 Element xsd:string 0..1
LIN03 Element xsd:string 0..1
LIN04 Element xsd:string 0..1
LIN05 Element xsd:string 0..1
LIN06 Element xsd:string 0..1
LIN07 Element xsd:string 0..1
LIN08 Element xsd:string 0..1
LIN09 Element xsd:string 0..1
D01_PO4 Element 0..unbounded
P0401 Element xsd:integer 0..1
D01_N9 Element 0..unbounded
N901 Element xsd:string 0..1
N902 Element xsd:string 0..1
Group_ZA Element 0..unbounded
D02_ZA Element 0..unbounded
ZA01 Element xsd:string 0..unbounded
ZA02 Element xsd:decimal 0..unbounded
ZA03 Element xsd:string 0..unbounded
ZA04 Element xsd:string 0..unbounded
ZA05 Element xsd:string 0..unbounded
ZA06 Element xsd:string 0..unbounded
ZA07 Element xsd:string 0..unbounded
ZA08 Element xsd:string 0..unbounded
ZA09 Element xsd:string 0..unbounded
S01_CTT Element 0..unbounded
CTT01 Element xsd:string 0..1
Any kind if help is good.
Regards
Many thanks in advance.
SanHi Abhishek,
Any example scenario do you about this model. I will explain our scenario situation, please give me your idea.
We are doing Customer colloboration on SNC 7.0 with PI 7.11. Everyday customer sales files almost 100 comes individually EDI messages comes in EDI flat file, there is intermediate company will conver EDI flat file into xml messages. This xml file has got first 5 tags header information and the rest 50 to 100 lin items. This kind of header and lin information 3 to 5 messages per one xml.
EX: <RooT>
<OUTPUT> -- 0..unbound
<Header-1> --- 0..1
<Header-2> --- 0..1
<Line -1> 0..n
<Line -7> 0..n
<ZA> 0..1
<ZA> 0..1
<Trailer> 0..1
This is the structure. We need to populate all this customer information into Product Activity Notification on SNC 1..1.
Could you please give me your ideas and recommandations.
Many thanks for your help & effort.
Regards
San -
INTERNAL - AMF_ERROR in XML -- ABAP proxy scenario
Hi Experts,
Can any one help me to solve this following issue please, it is happening while I am executing the scenario between XML File to ABAP Proxy scenario.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">AMF_ERROR</SAP:Code>
<SAP:P1>1</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error when processing message number 1 in package No object type found for the message. Check that the corresponding process is activated An exception has occurred.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>.
This XML message has got 5 Lines Header and more than 100 Lin Items, this kind of Header and Lin item message 3 to 4 in one XML, I am using multi mapping. Message mapping shows working fine, OM also shows working fine. BPM is splitting messages to send messages to ABAP Proxy on SNC 7.0. After I have done all with SDN experts support, still I am having the above issue. can any one experties might help to resolve this?
I will appreciate your support.
Thanks & Regards
SanCan you please explain the solution.
Regards,
Rashi -
Generating CDATA containing XML-like text using XSLT Mapper in OFM 11g
Hi,
One of our partners requires XML to be sent as XML string inside a CDATA section. The use of "real" XML is not an option at the moment. We try to generate something like the following using XSLT/XSLT Mapper in SOA Suite 11g:
<element>
<![CDATA[
<supplierElement1>
<supplierElement2>
etcetera
<supplierElement2>
</supplierElement1>
]]>
</element>
We've tried the following two approaches, so far unsuccessful:
<xsl:template match="/">
<inp1:singleString>
<inp1:input>
<xsl:text disable-output-escaping="yes"><![CDATA[test]]></xsl:text>
</inp1:input
</inp1:singleString>
</xsl:template>
resulting in:
<inp1:singleString xmlns:inp1="http://xmlns.oracle.com/singleString">
<inp1:input><![CDATA[test]]></inp1:input>
</inp1:singleString>
and:
<xsl:output method="xml" indent="yes" cdata-section-elements="input"/>
<xsl:template match="/">
<inp1:singleString>
<input>test</input>
</inp1:singleString>
</xsl:template>
resulting in:
<inp1:singleString xmlns:inp1="http://xmlns.oracle.com/singleString" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<input>test</input>
</inp1:singleString>
Does anyone know how to generate the CDATA section declaratively (within XSLT/XSLT Mapper), without resorting to custom code and parsing as we have to do now?
Thanks!
RonaldThe exact error message I'm getting is :
ABAP XML formatting error in XML node of type "element", name: "abap"
Maybe you are looking for
-
How to change the phone number in icloud
I change my phone number and i nees to change the number in icloud and i don't know how i do this
-
Getting a new CD from publisher is not an option as they would want me to pay for a new one and they are pricey. If possible I would prefer to keep my upgrade to lion but would go back to leopard if there's no other option.
-
How to get the link when right-clicked (for extension development)?
Hi, I want to get the link when I right-click it in a page. I explain: when you right-click a link, you get "Open link in a new window"; this menuitem sends the link to the js function to perform an action and that's exactly what I an looking for Tha
-
Is it possible to change the home button location in the navigation bar?
The Home button is in an inconvenient location and I would like to move it to the left side of the navigation bar.
-
Hi, I'm using Designer 9i and have tried to capture from the server model a package. It appears to work okay but I get the warning that the package does not appear to have a body. The package does contain a body. Any ideas why I'm getting this? David