Not able to create XML from an existing relational database
Hi,
I am trying to create and xml from an existing relational database. I am not able to get any XML data, I receive "XMLTYPE()" as the result.
Here's the query -
SQL> select o.order_id, XMLELEMENT("order", XMLATTRIBUTES(o.order_id as ID)) AS "result" from order_
info o where order_id=2793;
ORDER_ID
result()
+2793+
XMLTYPE()
I was expecting to get +<order id=2793 />+ instead of XMLTYPE().
I am using -
SQLPlus: Release 9.0.1.0.1*
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
I have also run some checks to confirm XML DB installation -
SQL> select 1 from all_users where username = 'XDB';
+1+
+1+
SQL> desc RESOURCE_VIEW;
Name Null? Type
RES SYS.XMLTYPE
ANY_PATH VARCHAR2(4000)
RESID RAW(16)
I think, I have something wrong with installation or configuration.
Any idea about what have I done wrong here?
Works fine now. Got the result "<order ID="2793"></order>".
Thanks. :-)
Similar Messages
-
Users are not able to create POs from PRs having Production Order (F)
Hi Gurus
Users are not able to create POs from PRs having Production Order (F) as creation indicator.
Whenever we are trying to convert the PR to PO we are getting the error message "Requisition has different doc. type NB and item cat. >&<" based on the below OSS# 938154 condition for the creation indicator type F.
Would you please investigate and advise what OSS notes are required to be able to use item category L (subcontracting) on a PO for a requisition generated from a network activity via Procurement Type = "Preliminary requisition for WBS element".
Thanks,
Sada.Hi Ajay & Andra
Whenever we are trying to convert the PR to PO we are getting the error message "Requisition has different doc. type NB and item cat. >&<" based on the below OSS# 938154 condition for the creation indicator type Production order (F).
Our Business requirement as shown below.
1).The problem - we currently have no way to "direct requisition" an item to be procured via subcontracting - only itu2019s possible via MRP.
2).These behaviors are inconsistent as the requisition process should not impact the procurement process. Can we find a way to influence the creation indicator on the requisition so that it does not appear as a production order?
Please suggest any alternate method for achieving this.
Thanks & Regards
Sada -
Not able to genrate xml from rdf if formula column is returning 6000chrs
Hi All,
can anybody help me in this matter.
I am using report 6i to devlop report then registered it to apps with a rtf template and in that report there is a formula column and used to return text more than 10000 chars. but if there is more than 6000 chars are returning from this formula column is not not able to genrate xml.
error we are getting is
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The following tags were not closed: XXCUS_POPR, LIST_G_PO_HEADER_ID1, G_PO_HEADER_ID1, CF_LONG_TEXT. Error processing resou...
Any help will be apreciated.
thnx
Harry.What is the application release?
Can you find any details about the error in the OPP log file?
Please search MOS website for "Cannot view XML input using XSL style sheet" and go through the docs.
Thanks,
Hussein -
Not able to create Lead from IC agent role
Hi Experts,
I am finding an strange problem while creating lead.I am uisng CRM2007.
I am able to create Lead with Business Role as Marketing Professional, but not able to create the Lead with IC agent buisness role. I had created a new Transaction type for this. WE have given the full authorization to the PFCG role attached to this business role but still i am not able to create.
Its giving an error Message '' No Transaction Type Available ''
Please suggest what i am missing in the configuration.
Regards
Arun Kumarhi arun kumar,
Goto SPRO CRM->transaction>basic settings>define transaction types.
Select the transaction type that you are using for lead and in "channel" entires select interaction center webclient.this will allow you to create the lead in interaction center webclient.
thanks
giri -
Not Able to Create Lead from IC Agnet Role
Hi Experts,
I am finding an strange problem while creating lead. I am able to create Lead with Business Role as Marketing Professional, but not able to create the Lead with IC agent buisness role. I had created a new Transaction type for this. WE have given the full authorization to the PFCG role attached to this business role but still i am not able to create.
Its giving an error Message '' No Transaction Type Available ''
Please suggest what i am missing in the configuration.
Regards
Arun KumarHi,
Have you done relevant configuration for your transaction type in Business Transaction Profile. If not, you need to include your Lead Transaction type in the Business Transaction Profile that is assigned to your Business Role.
Path for Business Transaction Profile
CRM -> Interaction Center WebClient -> Business Transaction -> Define Business Transaction Profile
Select your Business Transaction Profile (one assigned to your Business Role
Select "Dependent Business Transaction" and ensure that your Lead Transaction Type is assigned here.
I am sure this will help resolve this issue.
Regards,
Deepak -
Dear All,
We have a scenario with our client.
The user has created a Delivery from PO. Then he did GI. After which he created a new GR document wrt the same delivery through movement type 101.Then he canceled the GR using movement type 102. Now he wants to recreate the GR through movement type 101 but he is not able to do so.
He is receiving the message that PO has no items.
We tried to replicate the similar scenario in our test environment.
We are able to follow all the steps for one of the delivery we created but we failed to create GR for a delivery document after the GI. We are alos receiving the same message i.e PO has no items.
Please help us to solve this if you have any clue .
Warm Regards,
Ajay Das.I think the scenario your are talking about is Stock Transfer where one plant A create a PO and material delivery is done from the other Plant B (with movement type 641)
When u are doing GR at Plant A then u have to give reference of outbound delivery number only which was created at Plant B.
Please check that you have all required authorizations and also your are selecting the correct Delivery number
Hope this will help you
Enjoyyyyyyyyy
Akshit -
Not able to create DIR from PR line Item
Dear Friends,
I have Cretaed Doc Type "CON" and entered "EBAN - Purchase Req. Item" in the object link and in Create Document I have mentioned " 1 - Create simple document".
When I try to create a DIR from PR Line Item, there is no option or a logo in the Popup where I can click and create DIR from The Object PR Line Item.
I get the create Document icon in WBS element for same document type.
Can anybody guide me the if I have missed any config.
With Warm Regards
Mangesh Pande
Edited by: MANGESH PANDE on May 23, 2011 11:33 AMScreen calling is controlled by MM module -
check
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=68747578
I dont think its possible to create document from PR -
I m not able to create xml file in Java Project
hi all,
I have created one java project just to try with Ant Builder. I have created one class inside it. and now i m creating an XML file inside that project.
But as soon as i try to create the File -> New -> File and give the .xml extention of the file this gives error into the project.
Will you suggest me the solution for that?
Thanks in advance.Assuming that you are facing this problem in NDS, here is the solution.
Go to Windows--> Preferences --> WorkBench -->File Associations
In the File Types list select *.xml
This will display the default associated XML editor as
XML Editor(default) in the bottom list box.
Click on add button near the bottom list box and select Text Editor, click Ok.You will see one more entry in the list box as "Text Editor".
Select this entry and click on the default button.
Click Ok and close the preferences dialogue.
Now create a new xml file.You wont see the error this time.
Please note that this will treat all simple xml files you will create as TEXT Files and always open with Text Editor.You can override this behaviour with right click on the file and select appropriate editor from the "Open With" context menu.
The error you are talking about is because the XML editor tries to check well-formedness and basic syntax rules for the file that you newly created, actually is a noce feature of the IDE.
Rgds,
Amol -
Not able to create supplier from SRM 7.0 portal
Hi all,
I am trying to create a supplier from SRM 7.0 portal .I provided all the details and while I am saving I am getting an error
Enter the business partner number.
I gave LOCAL8 as partner number in company data basic data and in supplier data tab I am provinding vendor as LOCAL8.
While I am saving I am getting an error Enter the business partner number.
The supplier is also not getting saved in the system.
Thanks and rgeards,
RajeshHi,
Please verify the following details - it may resolve your issue.
In transaction PPOMV_BBP under the attributes for your vendor group, please ensure attributes are adapted properly so that only one system is affected. (I mean only local system entry should be there).
Please check the customizing settings for the customizing path - SAP Supplier Relationship Management --> SRM Server --> Technical Basic Settings --> Settings for Supplier Synchronization
Especially the settings for "Information on Automatic Download from Marketplace" are important as the maintained value there are automatically taken into consideration for various transactions like BBPGETVD (Vendor replication) etc
For example:
Entry under Vendor Root column should be proper and without any spaces in between -u201CVGXXXXXXXXu201D
While creating the vendor, the normal system behaviour is that the content of field 'Central Organisational Object for Bidder' is determined automatically by the system. Please verify whether it is getting derived automatically.
Regards,
Guru -
Not able to create a message from satellite system
Hello Everyone.
We have been working on Solution Manager .We have managed with successfull installation,Uploaded required support packages,configured the system according to SAP Solution Manager Guide.
Faced with some problem regarding support desk,we are not able to create a message from satellite system to Solution Manager.
Note : Error Message related to this problem is ....
<b>"Error in Local Message System : External number assignment, Enter notification num message was not Created."</b>
Thanks in advance.
Regards,
Nimesh V . MasterHi, you need to check the number ranges for the notifications and make sure they are correct. Look in the IMG of the SAP Solution Manager system for the instructions. You also need to make sure that the Service Desk BC Sets are activated if you are NOT on 4.0 and SP Stack 09+. In the later SPs much of this configuration from the IMG is automated in the wizard.
-
Not able to create a java class included in custom jar from script
Hi,
We need to call a third-party web service from within SAP Sourcing and so we have created and deployed a custom JAR. However I am not able to create any of the custom classes included in this object. I have created a simple JAR file having just a "Hello World" message and got our BASIS team to deploy this (they deployed using the steps mentioned in Installation Guide Section 4.2.4 - we are using Sourcing Wave 9). I have added the required import statement in my test script and included this line:
HelloWorld test = new HelloWorld();
When this script executes, it gives the error:
Class:HelloWorld not found in namespace.
Can you please give your suggestions on how to fix this error?
Thanks,
GayathriThe issue was fixed after including the custom jar in esourcing90/lib folder and redeploying
-
Not Able to create ODBC Connections to AS400 DB2 from OWB 11g
Hi,
Currently i am in the process of setting up of database connections to AS400 DB2 Database from Oracle Warehouse Builder 11g.
I installed Oracle 11.1.0.6.0 and upgraded to 11.1.0.7.0.
I am able to create database links manually but not able to create using oracle warehouse builder.
The error i am getting error
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL7973 - SQL create package for DG4ODBCFBA in REMOTEDB has failed.
ORA-02063: preceding 2 lines from OWB_82
I am trying different methods from the last 2 days.
Please help me in this situation.
Thanks.
Salih KMMy Http server port is 7777. used that , it doesn't work. Using 7101(admin server port) also doesn't work.
Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.
1 of 8 tests successful.
Both the cases only HTTP is success.
Thanks
Manish -
i am not able to transfer emails from outlook 2007 in Windows 8 to outlook 2011 in Mac. I export .pst file to my hard drive from win 8 and then import in outlook 11 in mac, the folders including subfolders are created but there are hardly one email. Please help
Post your question in the MS Mac forums since it's their software you're having issues with:
http://answers.microsoft.com/en-us/mac -
Inbound document not able to created from an outbound message EDI
Dear all,
Our inbound delivery was not able to create automatically during GI for an outbound delivery. Our inbound delivery is created via an EDI output type in the header of the outbound delivery as soon as the GI is posted.
All along, all the inbound docs are able to generate. However, for this particular outbound document, which has already GI, does not trigger the inbound document creation, and I notice that the output type message having a red light status in the message output.
When I checked the error processing log on this output message type (i.e. the red status), error message said
No goods receiving point for the combination of plant 1120 and stor.loc.
Message no. VL377
Diagnosis
No goods receiving point could be found for plant 1120 and storage location for the inbound delivery item. The delivery should still take place for the goods receiving point .
System Response
The system does not permit creation of and/or changes to the inbound delivery item.
Procedure for System Administration
Check your settings in Customizing for Determining the goods receiving point.
The funny thing is I check the SPRO setup (i.e. Assign Goods Receiving Points for Inbound Deliveries), and I notice that the goods receipt point has been assigned and configured. Further, other Delivery Order which is having the same data, does not generate such error in the message output, and the inbound is able to create.
WHy?
thanks.
Edited by: tuffy on May 12, 2011 12:04 PMHi Sudhir,
This is a production thus, I don't want to save the inbound delivery, but it seem no problem of creating it, I will have the business create it.
So, how do i debug the idoc?
at first how do I find the idoc number of the failed transaction as when i go to the output message (i.e. in DO header) and check the processing log, system said..
Object 0082658402 (i.e. DO number)
output type: Stk Transfe Crte Deliv
Processing log for program /spe/sto_id_processing
no goods receiving point for the combination of plant 1120 and stor loc
no inbound delivery create for the replenishment order
There is IDOC no for this faild message (though GI is incurs)?
thanks. -
Not able to create J2EE user DDIC in portal
Hi All,
I am trying to configure the BI 7.0 system in EP 7.0. My systems are running on Windows 2003 32 bit edition. SP level is SPS11 & SP10
I have configured the UME where datasource is ABAP system. After using the supportdesk tool I am getting the below three erros in the system.
Import of Web Templates in active version will fail because the J2EE user DDIC is not properly mapped to an ABAP user other than DDIC Maintain a user mapping for J2EE user DDIC - see note 945055 for details
Check could not be executed because retrieval of WebAS ABAP settings failed Check connectivity to WebAS ABAP and make sure the ABAP coding correction from note 937697 is applied in the latest version available
Check could not be executed because retrieval of WebAS ABAP settings failed Check connectivity to WebAS ABAP and make sure the ABAP coding correction from note 937697 is applied in the latest version available
To resolve these issues i tried to create user id DDIC in portal but I am not able to create it. It is giving below error
A user with the specified logon ID already exists; choose a different, unique logon ID
As it is trying to create this user id in ABAP datasource. Please let me know how to create DDIC in J2EE engine where ABAP is the datasource.
Please help me resolve this issue.
Thanks,
ShamboHi,
In defaulttrace.trc I am getting the below errors
#1.5#00055D4A98DC0061000004BC00001610000460FCEAE15F00#1232539295495#com.sap.ip.bi.preexecutionservices.PreexecutionservicesRfcService#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.preexecutionservices.PreexecutionservicesRfcService#Administrator#9873####403302b0e7b311ddbd4500055d4a98dc#SAPEngine_Application_Thread[impl:3]_27##0#0#Fatal#1#/Applications/BI#Plain###Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: SAX Exception
com.sap.ip.bi.base.exception.BIBaseRuntimeException: SAX Exception
at com.sap.ip.bi.webapplications.runtime.preexecution.impl.PreexecutionDispatcher$DocumentAnalysis.createMutableDocument(PreexecutionDispatcher.java:93)
at com.sap.ip.bi.webapplications.runtime.preexecution.impl.PreexecutionDispatcher.validateDocument(PreexecutionDispatcher.java:571)
at com.sap.ip.bi.preexecutionservices.PreexecutionservicesRfcService.handleRequestForRSWR_PREEXECUTION_PROXY(PreexecutionservicesRfcService.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.handleServiceRequestGeneric(BIServicesRfcDispatcherService.java:283)
at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:177)
at com.sap.ip.bi.portalrfc.services.BIRfcService.handleRequest(BIRfcService.java:235)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:341)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0_0.processFunction(PRTRFCRemoteObjectImpl0_0.java:118)
at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy119.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:59)(:main:, row=1, col=59) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:59)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at com.sap.ip.bi.webapplications.runtime.preexecution.impl.PreexecutionDispatcher$DocumentAnalysis.createMutableDocument(PreexecutionDispatcher.java:85)
... 28 more
Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:59)
at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1590)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1710)
at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:165)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
... 30 more
#1.5#00055D4A98DC0061000004BF00001610000460FCEAE18738#1232539295511#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.base.application.message.impl.MessageBase#Administrator#9873####403302b0e7b311ddbd4500055d4a98dc#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#/Applications/BI#Plain###A message was generated:
ERROR
Transformer exception while transforming BEx Web templates
com.sap.ip.bi.deploytime.BISP2Jsp SAPXMLTransformer
SAX Exception
Transformer exception while transforming BEx Web templates
com.sap.ip.bi.deploytime.BISP2Jsp SAPXMLTransformer
SAX Exception#
Maybe you are looking for
-
Upload data from excel to application server
Hi all, Is there any process to upload data from excel to application server other than reading the data from excel to z program through gui_upload and transferring the data to application server. I want to run background job for a BDC program with t
-
I tend to offload a full card 32GB of images on my SSD on my laptop and start having the computer import and change to DNG while on the drive home. Then when I get back into the office I make virtual copies of images and edit those. As I understand t
-
Session Sharing between Portal and Baja servlet(UIX)
Hi guys, I'm having real trouble trying to share a portal session with an external servlet session, in order to enable some file upload functionality. I found an older post (Re: cannot do a select on a table which mentioned a couple of pre-reqs for d
-
Stopping cluster due to unhandled exception: java.lang.ArrayIndexOutOfBound
We had this problem in production where one node among the 16 node cluster terminated with this error. 2013-04-12 11:39:00.533/1139.283 Oracle Coherence EE 3.6.1.4 <Warning> (thread=PacketPublisher, member=4): Experienced a 12316 ms communication del
-
Did anyone else here preorder the 3gs through AT&T to pick up at the store on friday? I did because I couldn't guarantee that anyone would be home for delivery on Friday. I paid at an AT&T store on Saturday (before the announcement that the pre-order