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.
San
Hi 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
Similar Messages
-
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 -
Help needed with xml to flat file conversion
Hi all,
I am doing a webservice (SOAP) to file scenario. The file I get into the target directory is as below.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_Test_interface xmlns:ns1="http://test_namespace.co.uk"><fieldA>0000012345</fieldA><fieldB></fieldB><fieldC>0010203040</fieldC><transaction_type>NEW</transaction_type><transaction_date>2011/08/21</transaction_date><sales data>PARTNERS (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</sales data></ns1:MT_Test_interface>
But I want it to be a plain text file like below, not an xml file.
0000012345
0010203040
NEW
2011/08/21
PARTNERS
(((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))
What are all the modules I need and also the parameters and their values please?
Any help is appreciated.
Thanks.
Ramesh.Thanks guys.
My xml now is like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_test xmlns:ns1="http://test.co.uk">
- <REPORT>
<company_number>0000043239</company_number>
<transaction_type>CREATE</transaction_type>
<transaction_date>2011/08/21</transaction_date>
<sales_data>Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</Partners>
</REPORT>
</ns1:MT_test>
I am using the content conversion as below:
Recordset Structure: REPORT
Name: REPORT.addHeaderLine Value: 1
Name: REPORT.fieldSeparator Value: ,
Name: REPORT.endSeparator Value: 'nl'
Name: company_number.endSeparator Value: 'nl'
and I am getting the result as:
company_number,transaction_type,transaction_date,sales_data
0000043239,CREATE,2011/08/21,Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
But I want file like this:
company_number,transaction_type,transaction_date,sales_data
0000043239
CREATE
2011/08/21
Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
What will be the CC parameters please?
Many thanks.
Ramesh. -
Hi,
I am working first time on XML report bursting concept.
I have two remit to addresses in my report xml. I nedd to burst my report at address level.
This is my report xml:
<ARXSGPO>
<LIST_G_SETUP>
<G_SETUP>
<LIST_G_STATEMENT>
<G_STATEMENT>
<LIST_G_AMOUNT_DUE>
<G_AMOUNT_DUE>
<LIST_G_LINE_CLUSTER>
<G_LINE_CLUSTER>
</G_AMOUNT_DUE>
</LIST_G_AMOUNT_DUE>
<LIST_G_1>
<G_1>
<CF_REMIT_TO_ADDRESS1>Phoenix Centre </CF_REMIT_TO_ADDRESS1>
<CF_REMIT_TO_ADDRESS2>Millenium Way West</CF_REMIT_TO_ADDRESS2>
<CF_REMIT_TO_ADDRESS3 />
<CF_REMIT_TO_ADDRESS4 />
<CF_REMIT_TO_ADDRESS5 />
</G_STATEMENT>
<G_STATEMENT>
<LIST_G_AMOUNT_DUE>
<G_AMOUNT_DUE>
<LIST_G_LINE_CLUSTER>
<G_LINE_CLUSTER>
</G_LINE_CLUSTER>
</LIST_G_LINE_CLUSTER>
</G_AMOUNT_DUE>
<LIST_G_1>
<G_1>
<CF_REMIT_TO_ADDRESS1>Second Avenue</CF_REMIT_TO_ADDRESS1>
<CF_REMIT_TO_ADDRESS2>Poynton Industrial Estate </CF_REMIT_TO_ADDRESS2>
<CF_REMIT_TO_ADDRESS3 />
<CF_REMIT_TO_ADDRESS4 />
<CF_REMIT_TO_ADDRESS5 />
</G_SETUP>
</LIST_G_SETUP>
</ARXSGPO>
I am defining my control file like this.
<?xml version="1.0" encoding="UTF-8" ?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="ARXSGPO/LIST_G_SETUP/G_SETUP/LIST_G_STATEMENT/G_STATEMENT/LIST_G_AMOUNT_DUE/G_AMOUNT_DUE/
LIST_G_LINE_CLUSTERG_LINE_CLUSTER/LIST_G_1/G_1/CF_REMIT_TO_ADDRESS1">
<xapi:delivery>
<xapi:print id="printer1" printer="ipp://ipgpc1.us.oracle.com:631/printers/printer_p6op286a" copies="1" />
</xapi:delivery>
<xapi:document output-type="pdf" delivery="printer1">
<xapi:template type="rtf" location="location="/disk3/oracle/viscomn/java/oracle/apps/fnd/cp/sample/statement.rtf" filter=".//G_1[INTERNAL_NOTES='PRINTER']" />
</xapi:document>
</xapi:request>
</xapi:requestset>
1) Can I use CF_REMIT_TO_ADDRESS1 in the attribute select under the request element
2) In Database I have two printers attached for these addresses. I need to send output directly to printer. How can I differentiate details of
printer in control file for each address?
Please help me in this.
Thanks in advanceHi,
Thanks for your reply. when I am running my request I am getting java.lang.NullPointerException from Bursting program.
Details of log file.
Request ID: 6355955All
Parameters: ReportRequestID=6355950:
DebugFlag=YReport
Req ID: 6355950Debug Flag: Y
Updating request description
Updated description
Retrieving XML request informationNode Name:ORADB02
Preparing parameters
null output =/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355955.out
inputfilename =/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355950.out
Data XML File:/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355950.out
Set Bursting parameters..Temp.
Directory:/ora_code3/db04/db04comn/temp/[010808_021907137][][STATEMENT]
Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 ProductionStart bursting process..[010808_021907140][][STATEMENT] /ora_code3/db04/db04comn/temp/[010808_021907146][][STATEMENT] BurstingProcessor ::: Property Key ---> burstng-source[010808_021907146][][STATEMENT] Inside burstingConfigParser[010808_021907150][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================--
Exception
null
java.lang.NullPointerException at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingStartElement(BurstingProcessorEngine.java:1417) at oracle.apps.xdo.batch.BurstingProcessorEngine.startElement(BurstingProcessorEngine.java:1110) at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
Please help me.
Thanks -
Urgent help needed for XML Tags using XMLForest()
Folks
I need some urgent help regarding getting use defined tag in your
XML output.
For this I am using XMLElement and XMLForest which seems to work fine
when used at the SQL prompt but when used in a procedure throws and error
SQL> Select SYS_XMLAGG(XMLElement("SDI",
XMLForest(sdi_num)))
From sdi
where sdi_num = 22261;- WORKS FINE
But when used in a procedure,doesnt seem to work
Declare
queryCtx DBMS_XMLQuery.ctxType;
v_xml VARCHAR2(32767);
v_xmlClob CLOB;
BEGIN
v_xml:='Select SYS_XMLAGG(XMLElement("SDI",
XMLFOREST(sdi_num)))
From sdi
where sdi_num = 22261';
queryCtx :=DBMS_XMLQuery.newContext(v_xml);
v_xmlClob :=DBMS_XMLQuery.getXML(queryCtx);
display_xml(v_xmlClob);
End;
CREATE OR REPLACE PROCEDURE display_xml(result IN OUT NOCOPY CLOB)
AS
xmlstr varchar2(32767);
line varchar2(2000);
BEGIN
xmlstr:=dbms_lob.SUBSTR(result,32767);
LOOP
EXIT WHEN xmlstr is null;
line :=substr(xmlstr,1,instr(xmlstr,chr(10))-1);
dbms_output.put_line('.'||line);
xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
END LOOP;
end;
SQL> /
.<?xml version = '1.0'?>
.<ERROR>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an
XML tag name.</ERROR>
PL/SQL procedure successfully completed.
SQL>HELP is appreciated as to where I am going wrong?Hi,
if you want to transform something to something else, you should declare, what is your source.
I would prefer to use plain XSL-Transformations, because you have a lot more options to transform your source and you can even better determine, how your output should looks like.
Kind regards,
Hendrik -
Help needed in XML Bursting to set printer details
Hi,
In xml bursting to set the printer details, we need to Specify the printer attribute as a URI such as:"ipp://myprintserver:631/printers/printername"
Here I am getting printername dynamically from report. But I am
not understanding "ipp://myprintserver:631/printers". Here What I have to give?
Please help me in this.
Thanks in advance.Which environment are you trying this in ? In Enterprise server, bursting is defined by a SQL query which can be run against the table that you want. So you can even populate the printer name from your query. So the URI, ipp://myprintserver:631/printers/printername" is the syntax. In your case you have to create this string in your SQL query by concatenating the parts "ipp://" + printername + ":631/". If there is a name to the printer in the printserver, then that too can be concatenated.
In case this is in EBS , the same has to be done in the control file. -
We have xml like below.
<?xml version="1.0" encoding="UTF-8" ?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi/">
<xapi:request select="/XXARXSGPO/LIST_G_SETUP/G_SETUP/LIST_G_CUST_NUM/G_CUST_NUM">
<xapi:delivery>
<xapi:filesystem output="${INSTANCE}/java/oracle/apps/xxod/arstatements/${SITE_USE_ID}"/>
</xapi:delivery>
<xapi:document output-type= "pdf">
<xapi:template type="rtf" location="/app/ebs/atgsidev02/gsidev02cust/xxcomn/java/oracle/apps/xxod/XXARPRST.rtf">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
In the above code {INSTANCE} is having value '/app/ebs/atgsidev02/gsidev02cust/xxcomn'. Now we need to replace with the same variable {INSTANCE} in the <xapi:template type=..........> tag also. We tried with
<xapi:template type="rtf" location="${INSTANCE}/java/oracle/apps/xxod/XXARPRST.rtf">.
But it is not recognizing the INSTANCE value.
Any help on this appreciated.
Thanks,
SambaHi,
The INSTANCE is a tag and having the value '/app/ebs/atgsidev02/gsidev02cust/xxcomn'. So I need to pass this string dynamically to the
<xapi:document output-type= "pdf">
<xapi:template type="rtf" location="/app/ebs/atgsidev02/gsidev02cust/xxcomn/java/oracle/apps/xxod/XXARPRST.rtf">
</xapi:template>
</xapi:document>
So for the above one I replaced the INSTANCE as follows.
<xapi:document output-type= "pdf">
<xapi:template type="rtf"
location="${INSTANCE}/java/oracle/apps/xxod/XXARPRST.rtf">
</xapi:template>
</xapi:document>
But this one is not working.
Pls help me this is very high priority to me.
Thanks,
Samba -
Help needed in Idoc To File Scenario
Hi Experts,
My scenario is Idoc to File.
Here my job is to convert the purchase order idoc into xml file.
In this there are three conditions.
converting the standard PO into xml file
(ii) converting the PO with serial number into xml file
(iii) converting the PO using serial number with subcontracting into xml file
so what I feel is I need to create one scenario and based on the condition that particular PO will convert into xml file.
Conditions:
if no condition is specified then it is standard PO first case
(ii) if field tdline ne space then it is PO with serial number second case
(iii) if field pstyp eq 3 then it is PO using serial number with subcontracting third case.
Please guide how to do this scenario.
IR:
1) how many data types I need to create
2) how many message types I need to create
3) how many message interfaces I need to create
4) how many message mappings I need to create
5) how many message interfaces I need to create
ID:
1) how many receiver determinations I need to create
2) how many interface determinations I need create
3) how many receiver agreements I need to create
And where to write the conditions at message mapping level or at receiver determination level.
Kindly provide solution to every point.
Regards,
Venkat.1) if no condition is specified then it is standard PO first case
2) if field tdline ne space then it is PO with serial number second case
3) if field pstyp eq 3 then it is PO using serial number with subcontracting third case.
you have to create
1. outbound ( IDOC)
2. 3 Inbound (same MT)
create 3 mapping program each for 1 condition
create 3 interface mappings
ID:
1 reveri BS.
3 Interface determinations, so 3 receiver agrement.......
you can put the condition on the mapping or in the condition tab of the interface determinations. -
Help needed in XML Form Builder
Hi All,
I require your help in XML form .
when we create a XML form in Builder we can define some caption values such as $sap_user , $ locDate which displays the
user id and date in the respective field when the form is opened.
I need to dispaly the phone number,department etc from the LDAP /UME to my from .
How can i get it .
Please help.
Regards,
NiteshWhich environment are you trying this in ? In Enterprise server, bursting is defined by a SQL query which can be run against the table that you want. So you can even populate the printer name from your query. So the URI, ipp://myprintserver:631/printers/printername" is the syntax. In your case you have to create this string in your SQL query by concatenating the parts "ipp://" + printername + ":631/". If there is a name to the printer in the printserver, then that too can be concatenated.
In case this is in EBS , the same has to be done in the control file. -
Immediate help needed with XML Parser
I am currently running Oracle 8i and trying to use the XML utilities. Just to make sure things are working, I tried a very simple program. I followed the xslsample.sql code that was supplied by Oracle. Code is as follows:
declare
p xmlparser.parser;
begin
p := xmlparser.newparser;
end;
When the code executes, I get a PLS-00201: identifier 'XMLPARSER.PARSER' must be declared. Anyone have any ideas on what is going on and how to fix it? Any assistance would be greatly appreciated. You can email directly if you wish since I am really under a tight timeline to get these utilities to work correctly.Michael,
Seems to be some problem with privileges. XMLPARSER is owned by SYS. You will need to grant execute access from SYS to the user under which you are trying to compile the procedure. It might be useful to create a public synonym and then grant access.
Hope this helps. -
hi,
i need to make a list in which all the list items will come
from xml file. these items will also be clickable so that they open
a new respective hyperlink on click. i need something like
www.sponky.com ' s portfolio list. can somebody please help me? i
really need your help.
thanks,
gauravI'm hoping I understand what you're doing... I would probably
do it all in one frame and just toggle the .visible property of the
subcategory list after the first one has been clicked, but there's
no rules about how you do it.
Without being sure, I think what you may have done is put a
second "copy" of the category list on another keyframe, which
replaces the previous instance. By taking away the second copy it
should work. If that's not the case, then I'm stumped... otherwise
read on.
So if you have the category list in its own layer, just have
it in frame one, on frame 2 of the same layer have a frame but
not a keyframe. This will mean the instance in frame one is
still the same one when the playhead gets to frame 2.
And have the subCategory list on a separate layer, it appears
on frame 2...
BTW the .getSelectedItem() method of the list reminds me of
flash mx... is that the version you're using (curiosity only I
don't think its relevant, because its obviously working). -
Help Needed with XML Attribute Access (Bold/Italics)
Hi,
I have a form that displays data in livecycle designer. When someone imports an xml file into the form in Adobe Acrobat it should be able to display some data as bolded and some italicized based on the xml file.
Here is the sample xml file
<Table1>
<Row1>
<Cell1 style="none">1</Cell1>
<Cell2 style="bold">2</Cell2>
<Cell3 style="italics">3</Cell3>
</Row1>
</Table1>
And the output should be:
1 2 3
Can someone please help! If the xml file should be designed differently please let me know.
Thank you!Paul,
Thanks for the help! I tried it out and it worked. One last question please. According to your explanation I added to the xml file the tags
<body xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xmlns="http://www.w3.org/1999/xhtml" xfa:APIVersion="Acroform:2.7.0.0" xfa:spec="2.1">
<p style="font-weight:bold;">2</p>
</body>
do I need to place this body tag around each number or can I place it in one location in the xml file?
Thanks again. -
Help needed creating Web Service Proxy with SSL
Hi All, I really need your help. I need to create a Web Service proxy for a web service which is SSL enabled and developed in Netbeans. I have been given keystore as well as certificates files and I have copied "keystore.jks" in my c:\Documents and Settings\<user> and the certifcates to <JAVA_HOME>\jre\lib\security\cacerts. Now when I run the Proxy creation wizard and give the location of the WSDL file, JDeveloper gives an error "Error importing schemas: Default SSL Context init failed: Invalid keystore format". Can anyone please guide me what I am doing wrong here. I will appreciate your help.
Thanks in advance.
JohnI am using JDeveloper 10.1.3.3.0. Thanks Heaps
-
Help needed adding xml into website
I am looking for some help adding a few .xml files into my
website using Dreamweaver
First ..I would like to add the following RDS.xml file below.
I would like it to go into a box that is 100 x 100 px
<?xml version="1.0" encoding="utf-8" ?>
- <Playing station="HAWK">
- <item type="MUS">
<DateTime>Thu 10:52AM</DateTime>
<Cart />
<Artist>THE ROLLING STONES</Artist>
<SongTitle>JUMPIN' JACK FLASH</SongTitle>
</item>
</Playing>
Second ..an event.xml file that will scroll info with box
dimensions of 400 px w x 30 px h.
Both xml files would be on my site in a user_files folder
Any help would be greatly appreciated. Rob> To use Dreamweaver, you'll need to write some code to
transform the XML
> into
> HTML. What code to write will depend on the server-side
scripting language
> you are using.
It means that you can't just plop in XML in the middle of
your HTML. Your
pages are HTML, so the XML needs to be transformed in to HTML
first. There
are various ways to do this. Are you using PHP? ASP? Etc.
Once we know that,
we can narrow down a solution for you.
-Darrel -
Help Needed Importing XML into a Database
Hi:
I'm new to Appleworks databases. I would like to create a database by importing records from a large XML file containing thousands of records. Is there a user's guide (or something else) I could read to help me do this? I have the schema for the XML file.
Thanks,
-AstraPointI'm new to Appleworks databases. I would like to
create a database by importing records from a large
XML file containing thousands of records. Is there a
user's guide (or something else) I could read to help
me do this? I have the schema for the XML file.
AppleWorks is a flat-file database and not a relational database. It will import ASCII text files ie tab-delimited data (TSV file format).
You need to write an XSL template to convert your XML data into a TSV or CSV. I'd be surprised if there already wasn't the basics of a XSL template that could do this on Google.
Maybe you are looking for
-
Upgraded from Snow Leopard to ML, now cannot login!
Hello, I installed a new 1TB drive in my Mac Pro today. All I have is a Snow Leopard DVD so I did a fresh install of that to the new HD, and then upgraded to Mountain Lion using a burned DVD from another Mac. After installing it restarted and it ca
-
I can't permanently delete a calendar
I use Calendar 6.0 in Mountain Lion 10.8.3 and Calendar on iOS 6.1.3 and connect via cable to iTunes 11.0.2 (25) 64 bit. iCloud is turned off. During Sync, there is a calendar that I deleted a month ago that normally does not show up on Calendars o
-
I went to update my ipod touch and it said it may take an hour. so i left it plugged in over night. in the morning the ipod was frozen. it had the apple logo and the loading bar. i reset the ipod and it stays at the same screen. i just restored it, r
-
OS X 10.9.4 Mavericks: Waking Up Unprompted While Sleeping
I am running OS X 10.9.4 Mavericks on a 27-inch Mid 2011 iMac. Prior to upgrading to Mavericks, I would go to System Preferences_Energy Saver and set Display Sleep to 1 minute. This would keep the computer screen turned off at night, but would allow
-
Database file: forms disapeared but size of file remained
After saving a Star Office database file the computer closed down due to powe management setting. At opening the file again, the forms contained in it are invisible. How can I make them visible again?