Data Source  not found

Hi EveryBody
I deploy jtds sql server2000 driver successfully
then I deploy datasource providing drivername successfully
after that I am using it in my web/hibernate application.
I use it in hibernate.cfg.xml file like
<property name="connection.datasource">java:comp/env/YTSQLS2K</property>
where "YTSQLS2K" is the name of deployed datasource.
When I start to deploy the application on the SAP jee 5 Server. The exception is produce in the file in following location
C:\SAP\SS1\JC00\j2ee\cluster\server0\log\defaultTrace.0.trc
Caused by: org.hibernate.HibernateException: Could not find datasource
        at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
        at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
        at com.yousifi.hibernate.util.HibernateUtil.<clinit>(HibernateUtil.java:21)
        ... 47 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of YTSQLS2K.
        at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:650)
        at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
        at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:266)
        at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:286)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
        ... 54 more
Is there any entry require in the web.xml file or anywhere else to find "YTSQLS2K"(DataSource).
Thank You,
Best Regards,
Syed Saifuddin

Hi EveryBody
Now the datasource is found but a jdbc transaction error occur when I deploy the application on the server .
Below is the stack trace
#SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: Cannot commit transaction from this connection of "YTSQLS2K" DataSource. This resource participates in a local or distributed transaction.
#SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: Cannot initiate transaction from a connection of "YTSQLS2K" DataSource. Local or distributed transaction has already started.
#SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: Cannot commit transaction from this connection of "YTSQLS2K" DataSource. This resource participates in a local or distributed transaction.
Any idea about it
I use the jdbc version in datasource <jdbc-1.x>
is there a need to replace it with <jdbc-2.0>
Thank You
Syed Saifuddin

Similar Messages

  • File data source not found with guest login???

    Hello everybody,
    i'm working with BIP 10.1.3.2.1 on Win2003/Tomcat.
    Everytime if i call a report with a file data source directly via url or in the gui via guest login i get the following error message: "File data source not found: <file data source name>".
    If i use a login in the gui which have the explizit permision to use this data source then there is no problem. Well at this point u might say then use this account, but - if i call a similar report with a database data source directly via url or guest login in the gui everything works fine. So, where is the point? Any ideas?
    Best regards
    Ralf Kanis

    Hi guys,
    I'm running into exactly the same issue. The problem seems to occur only when the report being accessed by guest is a file data source. The only other option I could think of is setting up SSO for BIP and the application issuing the URL to the report.
    Could'nt find anything else in the documentation or known issues list that might fix this without having to setup Single Sign On. Any further luck with your investigation? I'd appreciate any feedback.
    Thanks
    Jonathan Cruz

  • 0PROD_HIER_ATTR data source not found in the BI content

    Hi,
    we are trying to load product hierarchy data into sap bi,related to sd,but we dint find any standard data source related to 0PROD_HIER_ATTR in rsa5,but we can find the stadard business content in bi side to the same.
    we can only find 0PROD_HIER_TXT but not the attribute.
    we have ECC 6.0 and sap netweaver 7.0 Enahnce pack 1.
    what would be the approach in loading product hierarchy related to sd,pls suggest me with a work around process.
    Thanks in advance.

    Hi,
    Check these:----
    Load Product Hierarchy from Flat file (xl sheet)
    Hierarchy using a flat file for a master data load.
    http://help.sap.com/saphelp_nw70/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
    /people/sergedaniel.knapp/blog/2010/12/02/the-new-sap-netweaver-bw-730-hierarchy-framework
    The first and second links may be helpful.....
    Regards,
    Suman

  • Ctbw data source not found in source system

    hi,
    by reading and posting couple of threads i was finally able to create a data source in ctbw
    0MATERIAL_ATTR  800  001 MARA  ATTR  1CL_OMAT002
    so i went to rsa3 and tried to test this data source 1CL_OMAT002
    i am getting error in this way
    <b>DataSource 1CL_OMAT002 is not defined in the source system</b>
    can anyone suggest me how to proceed further
    and also if the above problem is resolved what should i do in bw side
    should i replicate 0MATERIAL_ATTR or 1CL_OMAT002 or both?

    Hi,
    Have you generated the data source after creation.
    in CTBW you will have to click on "generate data source" after you have created and saved the data source.It will activate all the classes used in that data sources.
    Once done go to RSO2 and give your data source name there and see if this data source appears there with it's field or not...if not then your data source is not getting generated properly.
    Try this and once successful then go to RSA3 and try to extarct data.
    Thanks

  • Data source not found and no default driver

    Using java application with JDBC to communicate with ACCESS database. Using User DNS, able to commuicate with DB using the same PC.
    The application is been shared therefore people in the network will be abled to use the application. Error(subject) appear when trying to use other PC to use the application.
    Anyway to solve it??

    have you created DSN on those network systems pointing to the database...
    to use the database from the network system you have to create
    DSN on every system you want your database to be used from
    like if ur DSN name "myDSN" that points to UserDB.mdb database stored on ABC system then you need to a DSN named "myDSN" on every network system...
    select Network option to point to network databse...
    the best way to do this is..
    Create an RMI/Socket server that acts as middle tier between user system and databse.
    by this way u don't have to create DSN on every sytem...

  • Report Generation Toolkit (Word) : How to use correctly bookmark and cross-reference without "Error! Reference source not found"

    Hi,
    I try to generate a report using a template. In my template I use some cross-reference to refer to one bookmark. For exemple in the first page I created a bookmark for my name and in the header I created a cross-reference refer to my name. The problems is when I run my VI the bookmark actualise perfectly but the cross-reference refer to the bookmark can't actualise with the same value and generates an error : "Error! Reference source not found".
    Can somebody help me please!
    Nki
    Solved!
    Go to Solution.
    Attachments:
    01.jpg ‏72 KB

    Hi,
    When i create the word template, the bookmaks and the cross-reference referred to the bookmark update correctely. The problem is when I try to change the bookmark using "report generation from template vi" the bookmark change but not the cross-reference and the error generated is "Error! Reference source not found". 
    I make coople reasherch and i think they have no solution for this because : "if the text in a heading referred to in a cross-reference is revised, the cross-reference to the heading may no longer work" (http://office.microsoft.com/en-us/word-help/troubleshoot-cross-references-HP005189368.aspx).
    To "resolved" this problem I create an other bookmark in the template who have the same value white the principle bookmark.   
    I use Labview 2011 and Micosoft office 2010.

  • Error in setting up debugging: Source not found for Catalina.createStartDigester() line: 280

    I am trying to set up the development environment using Portal (5.0.4), Eclipse and Tomcat-4.1.30-LE. I've set up Eclipse according to the instruction of "Debugging portal source code: Eclipse".
    I got the following error when I select "Run | Debug" in Eclipse and Tomcat won't start.
    Source not found for Catalina.createStartDigester() line: 280
    Has anyone seen this before? How do fix it?

    maybe this is just because there is no source code for the JCO Classes. I don't think SAP ships JCO Classes with source Infos for debugging.
    In debugging i would suggest just not to step into the JCO Methods.
    franz

  • Debugger: 'Source Not Found"

    I have a simple WebDyn Pro application that works fine on my local J2EE engine, but would like to see the execution of one of my methods in debug mode.
    I setup my break points and run the application in debug mode and start executing the program line by line on my local J2EE engine. The first few lines work fine, but then I get a "Source Not Found" error for the <b>Node.class</b>
    The full error is message is:
    <b>The source attachment does not contain the source for the file Node.class. You can change the source attachment by clicking Change Attached Source Below</b>
    Clicking on the "Change Attached Source" button shows the following location variable path:
    <b>WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_progmodel.jar</b>
    and below that, the full path is shown
    <b>C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.webdynpro.runtime\lib\_webdynpro_progmodel.jar
    </b>
    I have do have the <b>_webdynpro_progmodel.jar</b> file in the above mentioned folder, so why am I getting this error?
    Thanks in adavnce,
    Stefan

    Maksim,
    Im wondering if there is a way I can avoid having to go through the node class(and others) when I am debugging.
    I would like to only have to go through my own classes and skip the rest. I tried the step filter, but that did not help. I have the following in my filter configurartion
    com.ibm.*
    com.sap.*
    com.sun.*
    java.*
    javax.*
    org.omg.*
    sun.*
    sunw.*
    java.lang.ClassLoader
    Thanks again,
    Stefan

  • WSUS SP2; SCCM 2012 SP1; Sync failed: WSUS update source not found

    Hi,
    I have installed the Fresh SCCM 2012 SP1 and WSUS 3.0 SP2 + KB2720211 + KB2734608. However, still the Sync is getting failed. This is what I am getting in the wsyncmgr and WCM logs:
    wsyncmgr:
    Sync failed: WSUS update source not found on site PR1. Please refer to WCM.log for configuration error details.. Source: getSiteUpdateSource
    SMS_WSUS_SYNC_MANAGER 1/9/2015 12:00:00 PM
    3668 (0x0E54)
    STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=ABC.XYZ.net SITE=PR1 PID=2724 TID=3668 GMTDATE=Fri Jan 09 18:00:00.537 2015 ISTR0="getSiteUpdateSource" ISTR1="WSUS update source not found
    on site PR1. Please refer to WCM.log for configuration error details." ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
    SMS_WSUS_SYNC_MANAGER 1/9/2015 12:00:00 PM
    3668 (0x0E54)
    Sync failed. Will retry in 60 minutes SMS_WSUS_SYNC_MANAGER
    1/9/2015 12:00:00 PM 3668 (0x0E54)
    WCM:
    Checking for supported version of WSUS (min WSUS 3.0 SP2 + KB2720211 + KB2734608)
    SMS_WSUS_CONFIGURATION_MANAGER 1/9/2015 11:19:03 AM
    4176 (0x1050)
    Checking runtime v2.0.50727... SMS_WSUS_CONFIGURATION_MANAGER
    1/9/2015 11:19:03 AM 4176 (0x1050)
    Did not find supported version of assembly Microsoft.UpdateServices.Administration.
    SMS_WSUS_CONFIGURATION_MANAGER 1/9/2015 11:19:03 AM
    4176 (0x1050)
    Checking runtime v4.0.30319... SMS_WSUS_CONFIGURATION_MANAGER
    1/9/2015 11:19:03 AM 4176 (0x1050)
    Did not find supported version of assembly Microsoft.UpdateServices.Administration.
    SMS_WSUS_CONFIGURATION_MANAGER 1/9/2015 11:19:03 AM
    4176 (0x1050)
    Supported WSUS version not found SMS_WSUS_CONFIGURATION_MANAGER
    1/9/2015 11:19:03 AM 4176 (0x1050)
    STATMSG: ID=6607 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=ABC.XYZ.net SITE=PR1 PID=2724 TID=4176 GMTDATE=Fri Jan 09 17:19:03.489 2015 ISTR0="DEF.XYZ.net" ISTR1="" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
    SMS_WSUS_CONFIGURATION_MANAGER 1/9/2015 11:19:03 AM
    4176 (0x1050)
    Remote configuration failed on WSUS Server.
    SMS_WSUS_CONFIGURATION_MANAGER 1/9/2015 11:19:03 AM
    4176 (0x1050)
    STATMSG: ID=6600 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=ABC.XYZ.net SITE=PR1 PID=2724 TID=4176 GMTDATE=Fri Jan 09 17:19:03.515 2015 ISTR0="DEF.XYZ.net" ISTR1="" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
    SMS_WSUS_CONFIGURATION_MANAGER 1/9/2015 11:19:03 AM
    4176 (0x1050)
    I have used the default port numbers 80 and 443 still the sync is failing. Please provide your advise to fix this issue.
    Regards,
    Malwinder

    WCM:
    Checking for supported version of WSUS (min WSUS 3.0 SP2 + KB2720211 + KB2734608)
    It's not only a matter of installing the console, but also those hotfixes on a remote server ...
    Torsten Meringer | http://www.mssccmfaq.de

  • Source Not Found Error while Debugging

    Hello,
    I get annoying Errors while debugging a midlet. I reinstalled all programms an created a new midlet suite + midlet but the error is still there and the Midlet doesnt start.
    i got Eclipse Version: 3.2.2, Eclipse ME 1.6.6, the newest WTK 2.5 and java.vm.version=1.6.0-b105.
    I configured everything like www.eclipseme.org says it would be correct.
    Running a Midlet works fine.
    The bug opens an Helper.class file which says:
    Class File Editor: Source not found: "The Jar of this classfile belongs to the container J2ME library [ Sun Java (TM) Wireless Toolkit 2.5 for CLDC/MediaControl]. To configure the source attachment, go directly to the corresponding configuration page (For example for JRE go to 'Installed JRE#s page in references).
    Any clou how to fix this?? I need to debug my midlet :-/
    THANKS!
    Byby
    pako

    Hi,
    I just had the same problem and navigated to this page here in hope for a solution...
    However I've solved the problem now. On Eclipse, do the following.
    1) Right-click on the added Jar-file (which is producing the problem)
    2) On the popup-menu choose "Build Path" and "Configure Build Path..."
    3) On the opening preference window, click the checkbox of the Jar
    This is probably necessary because the jar has to be exported such that the simulator is able to execute it.
    Greets,
    Juri
    http://juri-strumpflohner.blogspot.com

  • Could not automatically scale X because monitoring data was not found

    I have never been able to get Auto-Scaling by CPU to work.  I have created new cloud services, waited days before setting it up, but this warning always gets generated when it tries to scale:
    Could not automatically scale XXX because monitoring data was not found
    The cpu data displays on the monitoring tab and the auto scale configuration screen.

    Hi wikek,
    Thanks for your posting!
    Is your question similar with this post(http://stackoverflow.com/q/19730570 )? I am not sure but it is possible that the cloud service and VM has had maintainence on yesterday, please see this comment form
    Azure dashboard (http://azure.microsoft.com/en-us/status/#history ):
    Starting at 2nd Sep, 22:18 PM UTC to 3rd Sep, 03:45 AM UTC, a very limited subset of customers using Cloud Services and Virtual Machines in West US may have experienced intermittent errors or timeouts when attempting to access services. The issue was
    intermittent, and customers would likely have been successful when retrying a request. Engineers have validated that full service availability has been restored to our West US customers. This incident is now mitigated.
    It could leverage the VM or Cloud service performances. And I suggest you  can contact with azure support to resolve this issue.
    http://www.windowsazure.com/en-us/support/contact/
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error 1311 source not found

    All Basis,
    Any idea on this,
    When tyring to open a Excel from SAP, the Error 1311 source not found  throws up.

    hello folks,
    I have Windows XP home Firefox v1.0.6.
    removed old java in Add/Remove programs.
    cleared the "Temporary Internet Files" folder that contained C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5.
    tried to load jre-1_5_0_04-windows-i586-p-iftw.exe for the third time, and the install still hangs up.
    J2SE Runtime Environment 5.0 Update Installer Information : Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\2XFKL4VY\je150000[1].cab. Verify that the file exists and that you can access it.
    and,
    Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\EEIDPHGA\jp150040[1].cab. Verify that the file exists and that you can access it.
    here's the thing, I cannot surf to "Content.IE5" folder in my "Local Settings\Temporary Internet Files" folder, but I can plug in the directory in the address bar of Windows Explorer & see the "Content.IE5" folder.
    I do not see "je150000[1].cab" or "je150000[1].cab" in there.
    Am I using the wrong program to fresh install Java for Firefox in XP?
    Is there something wrong with my operating system?
    monitoring this thread.....
    thanx.

  • Source not found: The source attachment does not contain the source........

    Source not found: The source attachment does not contain the source for the file ClassLoader.Class
    Hey,
    I'm running eclipse Version: 3.2.2 Build id: M20070212-1330, on a Vista Home Premium Toshiba laptop. Everything was working fine before i installed the Java JDK 5 and JDK 6. Now all of sudden when i try to run one my programs that worked in the past i get the following error:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Exception in thread "main"
    I'm not sure where to go from here...I've looked up a few articles that mention going into some system.ini files...etc... to make sure the variable are ok but i feel like i'm getting in over my head.
    Thanks in advance for your thoughts,
    Struggling to Run

    Ok...after I thought everything was going well enough.... problems are arising.
    Here's where I'm at and that will include how i got a "nano" error. After a lot of late night messing around I ended up installing a few important component that seem to have done some good. Firstly i installed j2sdk-1_4_2_18-windows-i586-p and ended up with a few good things. Windows was happy when i changed the path variables in the environment setting to point to the newly created c:\program files\java\j2re1.4.2_18\bin folder. This allowed me to start up eclipse properly and use some functions in CMD. In CMD when i use the command java -version it reads Java version 1_.4_.2_1_8. Next i installed the j2sdk-1_4_2_13 jre 1.6.0 environment and ended up with a new folder in C:\Program Files\Java\jre1.6.0 as well.
    with the two environments installed i thought i was ready fro the next step.
    I got started on eclipse and now that it was opening i was feeling good. Next i opened window --> preferences --> java --> installed jre's and i started adding things like crazy. My current list of comprised of many things which I'm certain should all be there at this point so I'll list them:
    j2sdk1.4.2_13 - C:\j2sdk1.4.2_13
    j2re1.4.2_18 - C:\Program Files\Java\j2re1.4.2_18
    j2sdk1.4.2_18 - C:\j2sdk1.4.2_18\jre
    j2sdk1.6.0 - C:\Program Files\Java\jre1.6.0
    jdk1.6.0 - C:\Program Files\Java\jdk1.6.0
    I've set the preferred jre to be set to jdk1.6.0 - C:\Program Files\Java\jdk1.6.0 and it seems to work for all of my programs that do not have the input.scanner. However for the projects that do have this method i get a few different errors:
    1___________
    java.lang.NoClassDefFoundError: couponCounter/CouponCounter
    Exception in thread "main"
    2__________
    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
         Syntax error, insert "}" to complete ClassBody
         at BensCalculator.main(BensCalculator.java:112)
    Now i feel like the second error is lying to me because i know that bit of code is written properly.... i believe it is related to a problem not locating the proper classes.
    Anyhow I'm still pushing along but some help at this point would be much appreciated. It's very weird some things with the scanner are working now..... I don't know I'm not totally convinced yet everything is OK.
    Thank you

  • Help Me "Data Source - Not User Data Source"

    Hi All!
    I have written an addon in Service Call Form To add new Matrix in this form with code as follows:
    Dim oLink As SAPbouiCOM.LinkedButton
    oFormServiceCall = SBO_Application.Forms.GetFormByTypeAndCount(60110, 1)
            oItem = oFormServiceCall.Items.Item("159")
            oNewItem = oFormServiceCall.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
            oNewItem.Left = oItem.Left
            oNewItem.Width = oItem.Width
            oNewItem.Top = oItem.Top
            oNewItem.Height = oItem.Height
            oNewItem.FromPane = 8
            oNewItem.ToPane = 8
            oMatrix = oNewItem.Specific
            oColumns = oMatrix.Columns
            oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "#"
            oColumn.Width = 20
            oColumn.Editable = False
            '// Add a column for BP Card Code
            oColumn = oColumns.Add("callID", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oColumn.TitleObject.Caption = "Call ID"
            oColumn.Width = 20
            oColumn.Editable = True
            oColumn = oColumns.Add("subject", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Subject"
            oColumn.Width = 120
            oColumn.Editable = True
            oColumn = oColumns.Add("customer", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oColumn.TitleObject.Caption = "Cust.Code"
            oColumn.Width = 30
            oColumn.Editable = True
            '// Link the column to the BP master data system form
            oLink = oColumn.ExtendedObject
            oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
            oColumn = oColumns.Add("custmrName", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Cust.Name"
            oColumn.Width = 120
            oColumn.Editable = True
            oColumn = oColumns.Add("itemCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oColumn.TitleObject.Caption = "Item Code"
            oColumn.Width = 30
            oColumn.Editable = True
            oLink = oColumn.ExtendedObject
            oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
            oColumn = oColumns.Add("itemName", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "Item Name"
            oColumn.Width = 100
            oColumn.Editable = True
    And code to bind data to matrix
    oDBDataSource = oFormServiceCall.DataSources.DBDataSources.Add("OSCL")
            'oUserDataSource = oFormServiceCall.DataSources.UserDataSources.Add("OSCL", SAPbouiCOM.BoDataType.dt_LONG_TEXT)
            oColumn = oColumns.Item("callID")
            oColumn.DataBind.SetBound(True, "OSCL", "callID")
            oColumn = oColumns.Item("subject")
            oColumn.DataBind.SetBound(True, "OSCL", "subject")
            oColumn = oColumns.Item("customer")
            oColumn.DataBind.SetBound(True, "OSCL", "customer")
            oColumn = oColumns.Item("custmrName")
            oColumn.DataBind.SetBound(True, "OSCL", "custmrName")
            oColumn = oColumns.Item("itemCode")
            oColumn.DataBind.SetBound(True, "OSCL", "itemCode")
            oColumn = oColumns.Item("itemName")
            oColumn.DataBind.SetBound(True, "OSCL", "itemName")
    But It's error when Run at the row is bold. This error:
    oColumn.DataBind.SetBound(True, "OSCL", "callID")     Run-time exception thrown : System.Runtime.InteropServices.COMException - Data Source - Not User Data Source
    Please help me fix problem.
    Thanks
    Edited by: Tao lao on Mar 5, 2008 3:10 AM

    I think, u can't bind the system table system columns to the column of the matrix in the form which is bound to the same table.(though, m not sure on this.) service call is by default bound to OSCL. If u try creating a user defined column in OSCL and then bind it, it works. but, if CallId is already bound on form, and u r bnding it one more time, it will give you error.

  • Org.apache.tomcat.TcpConnection source not found error.

    Hi,
    When I tried to remotely debug a servlet with Sun's J2EEServer, instead of stopping at the breakpoint the Jdev31 stopped at this line:
    //JDeveloper API Decompiler STUB ...
    and when I pressed F8 a messagebox appeared:
    org.apache.tomcat.TcpConnection source not found.
    I think that I have missed someting installing the JDev.
    Your prompt help is higly appreciated,
    Reza

    Hi,
    I just had the same problem and navigated to this page here in hope for a solution...
    However I've solved the problem now. On Eclipse, do the following.
    1) Right-click on the added Jar-file (which is producing the problem)
    2) On the popup-menu choose "Build Path" and "Configure Build Path..."
    3) On the opening preference window, click the checkbox of the Jar
    This is probably necessary because the jar has to be exported such that the simulator is able to execute it.
    Greets,
    Juri
    http://juri-strumpflohner.blogspot.com

Maybe you are looking for