DB links in Data Services

Hi all,
Environment: Business Objects Data Services XI 3.0, Windows Server 2008 R2, Oracle 10g
Problem Description:
A DB link is defined from Oracle 10g database to another Oracle 10g Database. The tables from the second database can be accessed using the SQL developer. Now in Data Services, a data store is defined on the first database and we were trying to import the tables from the second database using the db link. But we get the below error:
u2018Error: Cannot import the metadata table <name=tablename@dblink>.
Table <tablename@dblink> cannot be imported for datastore <Source>. Possible causes: (1) Table does not exist in the database; (2) Information for import was specified incorrectly. Please check the import information and try again. If the name is case-sensitive in the database (and not all uppercase), enter the name as it appears in the database and use double-quotation marks around the name to preserve the case. (BODI-1112339)
We tried all the possible options. It is working in toad and other SQL tools but we are not able import it in Data Services.
Any help will be appreciated.
Regards,
Sanjay

Richard-1 wrote:
I've hijacked the users password / login as the user / create the db link / reset the users password.
That is ok for a one off.
To do more a better solution would be to try a procedure call.
Here is a link to a couple versions that do what you want:
http://oraganism.wordpress.com/2009/12/02/how-to-create-a-database-link-in-another-users-schema/
http://oradbatips.blogspot.com/2010/01/tip-84-create-private-db-link-for-user.html
Hi and thanks.
The thing is that I know all the passwords but I'd like to only run one script as system or sys and connect to all schemas with private database links and drop them and then create them with new information. Is this at all possible without writing PL/SQL?

Similar Messages

  • Sending a href link through data services

    Hi Ive been tring to send a href link in my chat but it just
    appears in the plain text and not clickable. Does anyone know how
    to do this or if its possible.
    private function sendMessage():void
    var message:AsyncMessage = new AsyncMessage();
    message.body = {userId: userId.text, recipientId:
    dg.selectedItem.userId, text:lbl.htmlText};
    producer.subtopic = dg.selectedItem.userId;
    producer.send(message);
    <mx:Label id="lbl" selectable="true" >
    <mx:htmlText>
    <![CDATA[<a href='event:
    http://www.adobe.com'>Navigate
    to Adobe.com.</a>]]>
    </mx:htmlText>
    </mx:Label>

    Hi,
    If I am correct, as far as the messaging is concerned it is
    just a text which you are passing. If you want the text (Anchor in
    your case) to be work as an anchor, then I think you need to handle
    that when you are displaying the text.
    Hope this helps.

  • LiveCycle Data Services ES Express - Broken Link

    Hi All,
    I am trying to download the above from the Adobe site but the link appears to be broken.
    I am using URL = http://www.adobe.com/cfusion/tdrc/index.cfm?product=livecycle%5Fdataservices
    I created an Adobe account in order to download the "Windows | English" release but I can't get a copy of the software when I click the 'Download' button.
    Does this link work for anyone else?
    Any help is appreciated. I am keen to try the Java Integration via Data Services but can't get started with no software.
    Bryan Galvin
    Software Engineer
    UK

    Bryan,
    I was able to log in and download the "lcds251-win.exe" file from adobe.com
    without any problems from FireFox on Windows.
    I am in the US (east coast) however, perhaps a bad internet connection?
    Tom Jordahl

  • Data Services wizard not creating service

    I am having huge problems with the Data Services wizard.
    I am using Flash Builder 4.6 on a Mac (10.7.2).
    Over the last year I have been working on a couple of proof of concept projects and now want to start work on a production version starting from scratch in a new project.
    The Data Services wizard has worked fine for me in the past, but now I am having serious problems.
    The first problem is the Data/Services window does not update when I create a new service with the wizard. (I am connecting to the Zenfolio Web Service.) If have to close the project and open it before I see the new service in the Data/Services window.
    While this problem is more an inconvenience, more seriously the wizard does not create either the "services" folder or the "valueObjects" folder as it did in the past.
    Now if I right click on a method in the service and select "Create Service Call", it creates the Call Responder but not the call itself.
    The relevant log entry starts with
    !ENTRY com.adobe.flexbuilder.dcrad 4 1 2012-01-12 22:39:20.962
    !MESSAGE Component type services.zfapi.Zfapi not found.
    If I create a "services" folder and copy the zfapi package from one of my previous projects, all works fine.
    This probably gives me a workaround - although I haven't tested this to any extent yet.
    It is very strange and worrying behaviour though.
    regards
    Chris

    OK, here are the log entries created when I try to create the service:
    !ENTRY com.adobe.flexbuilder.dcrad 4 1 2012-01-19 22:16:33.970
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:479)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
              at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addServices(ServicesManager.jav a:476)
              at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:536)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
              at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5781)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
              at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
              at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
              at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
              at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
              at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              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:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
              at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
              at freemarker.log.Logger.getLogger(Logger.java:255)
              at freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
              at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
              at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
              at freemarker.core.Configurable.<init>(Configurable.java:132)
              at freemarker.template.Configuration.<init>(Configuration.java:109)
              at freemarker.template.Configuration.<clinit>(Configuration.java:96)
              at fiber.gen.freemarker.FreemarkerModelGenerator.buildFreemarkerConfiguration(FreemarkerMode lGenerator.java:328)
              at fiber.gen.freemarker.FreemarkerModelGenerator.<init>(FreemarkerModelGenerator.java:85)
              at fiber.gen.freemarker.FreemarkerStructuredTypeGenerator.<init>(FreemarkerStructuredTypeGen erator.java:62)
              at fiber.gen.as.ASClassGenerator.<init>(ASClassGenerator.java:84)
              at fiber.gen.as.vo.SuperGenerator.<init>(SuperGenerator.java:53)
              at fiber.gen.as.vo.ASValueObjectGenerator$2.<init>(ASValueObjectGenerator.java:225)
              at fiber.gen.as.vo.ASValueObjectGenerator.getBaseClassGenerator(ASValueObjectGenerator.java: 222)
              at fiber.gen.as.vo.ASValueObjectGenerator.getTemplateNames(ASValueObjectGenerator.java:392)
              at fiber.gen.as.ASGenerator.getTemplateNames(ASGenerator.java:465)
              at com.adobe.model.core.generators.wrapper.CodeGenerationUtils.getTemplateResources(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.getTemplateResourcesForGene rator(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateCodeForGenerator(Un known Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.internalGenerateAllCodeForM odel(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper$2.run(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateAllCodeForModel(Unk nown Source)
              at com.adobe.flexbuilder.dcrad.core.generation.ASVOGenerator.generate(ASVOGenerator.java:78)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.generateVO(ServicesManager.java :538)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.add(ServicesManager.java:403)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.access$11(ServicesManager.java: 356)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$1.run(ServicesManager.java:484)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
              ... 48 more
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              ... 77 more
    Root exception:
    java.lang.NoClassDefFoundError: org/apache/log4j/Priority
              at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
              at freemarker.log.Logger.getLogger(Logger.java:255)
              at freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
              at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
              at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
              at freemarker.core.Configurable.<init>(Configurable.java:132)
              at freemarker.template.Configuration.<init>(Configuration.java:109)
              at freemarker.template.Configuration.<clinit>(Configuration.java:96)
              at fiber.gen.freemarker.FreemarkerModelGenerator.buildFreemarkerConfiguration(FreemarkerMode lGenerator.java:328)
              at fiber.gen.freemarker.FreemarkerModelGenerator.<init>(FreemarkerModelGenerator.java:85)
              at fiber.gen.freemarker.FreemarkerStructuredTypeGenerator.<init>(FreemarkerStructuredTypeGen erator.java:62)
              at fiber.gen.as.ASClassGenerator.<init>(ASClassGenerator.java:84)
              at fiber.gen.as.vo.SuperGenerator.<init>(SuperGenerator.java:53)
              at fiber.gen.as.vo.ASValueObjectGenerator$2.<init>(ASValueObjectGenerator.java:225)
              at fiber.gen.as.vo.ASValueObjectGenerator.getBaseClassGenerator(ASValueObjectGenerator.java: 222)
              at fiber.gen.as.vo.ASValueObjectGenerator.getTemplateNames(ASValueObjectGenerator.java:392)
              at fiber.gen.as.ASGenerator.getTemplateNames(ASGenerator.java:465)
              at com.adobe.model.core.generators.wrapper.CodeGenerationUtils.getTemplateResources(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.getTemplateResourcesForGene rator(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateCodeForGenerator(Un known Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.internalGenerateAllCodeForM odel(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper$2.run(Unknown Source)
              at com.adobe.model.core.generators.wrapper.CodeGenerationWrapper.generateAllCodeForModel(Unk nown Source)
              at com.adobe.flexbuilder.dcrad.core.generation.ASVOGenerator.generate(ASVOGenerator.java:78)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.generateVO(ServicesManager.java :538)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.add(ServicesManager.java:403)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.access$11(ServicesManager.java: 356)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager$1.run(ServicesManager.java:484)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
              at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
              at com.adobe.flexbuilder.dcrad.core.internal.ServicesManager.addServices(ServicesManager.jav a:476)
              at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:536)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
              at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5781)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
              at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
              at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
              at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
              at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
              at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
              at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
              at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
              at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
              at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              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:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              ... 77 more

  • Calling a web service from BusinessObjects Data Services

    Hi all,
    We are trying to generate a several levels deep structure to prepare the request for a web service call from Data Services. We tried using the Query transformation to map constant values to fields, but as there are nested complex structures, those don't get populated and at runtime we just get an empty request body. We also tried changing the 'optional' and 'occurrence' settings for the structures at every level, but did not help either. Is there any way to create a deep structure manually without getting the input from an XML file or having to create a persistant table, and if we should be using other functions rather than Query step to do so?
    Thanks,
    S. Gokhan Topcu

    Hi
    It is possible to map a heavily nested structure.  The minimum required to this is a row generation and a query transform.  The most important technique is the "make current" option for each level of nesting.
    It is one area that be confusing.  I have written a couple of white papers that walk through the techniques, they are on the SDN here
    Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/101c974c-11f9-2b10-4da5-cd350b7eeda0]
    Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08]
    Good luck!
    Michael

  • Data Services 12.2.1.0 and Oracle 11gR1

    Hello everyone,
    We are using Dataservices 12.2.1.0 and our job server database is on Oracle 10g.
    I would too be interested in anyone's experiences using 11gR1. Is it supported ? compatible ?
    Thank you

    Hi,
    To check the platforms supported for Dataservices 12.2.1.0, please go through the below link:
    http://service.sap.com/pam
    From the above link, select the Data Services and the corresponding version platform support guide.
    Thanks,
    Noor.

  • What are the System pre-requisite for the BODS installation(SAP Data services)

    I am trying to install SAP Data services, please help me to get system pre-requisite. checked in PAM but i couldnot get it.

    Hi Siddhu,
    Please refer to the below SCN Link which will give you all the details and pre-requisites before instalalling DS 4.x
    Tutorial: How to install SAP Data Services 4.2 - Part 1
    Regards
    Arun Sasi

  • Data Services XI3.1 function module files for SAP R/3 is not working

    Hi guys,
    Thank you for the quick response so far. I am very grateful to you all. 
    I got an issue and will try to explain as detail as I could and 
    hope ur guys won't mind. :P
    I pass the functions module to SAP tech guy to install to SAP using CTS 
    method, and using 900086.R63 file type because my chinese client is 
    running SAP on unicode environment.
    My DS installed on my laptop client; job server plus db2 is on HP 
    unix. SAP is on another HP Unix server. The function module I used is 
    supplied from Data Services XI3.1.
    Anyway, the installation is successfully done with GUI wizard windows of 
    SAP Workbench instead of tp command line method.
    1)However, I checked the ZAW0 function group, I opened and can't see any functions
    listed under it, although the table structures ZACTA, ZTAB2048 and other items
    were created.
    2)So I tried to create SAP Datastore, Transport Target, etc and tried to 
    extract file. It failed and log said "can't open file --- 
    /db2/temp/curcode.txt". I checked and SAP working directory /db2/temp didn't have 
    curcode.txt, because the result file supposed to be extracted and stored there. 
    The SAP tech guy checked SAP and cant find generated ABAP program of 
    ZCURCD is running anyway, although my local CURCD ABAP program is 
    created.
    3)Is it the 900086.R63 not complete? Is my function installation correct? I could view data
    on datastore, but just cant run job to extract. Another non-unidcode 900200.S08 group
    has larger file sizes. Should I try to install also this 900200.S08 files? Will it corrupt SAP
    and cause system errors?
    4)After that, I had tried to install the functions manually into ZAW0 
    one by one using cut and paste, however after that, I cant view the data view anymore with 
    error. Besides, I tried to run Check on the functions and they all returned 
    syntax errors, so I cant Activate any of them with SAP. Maybe dependency is missing??
    Then, I deleted the manually installed functions and can view data again, but just cant extract 
    data by job.
    5)Another side issue is all these SAP datastore creation and viewing is  
    through DI 11.5 old installation. The new Data Services X3.1 unable to 
    create datastore with database error, although the function module 
    installed is came from Data Services. Does anyone know the issue?
    Thank you very much to read it patiently. :P

    Hi,
    Thank you for the informative link. It did help a lot in solving the problem.
    (1) to (4) --- The Sap tech guy didnt install the function programs correctly, and he redo the transport again using CTS. Now I can see all the functions inside the function group ZAW0. While for the problem of cannot generate extracted file to SAP working directory for downloading, it is due to unix directory access permission setting. And also have to include the ftp username into SAPSYS user group as the help link suggested.
    (5) For this problem, I reinstalled again the DS with all required components like Server Manager. The network technical guy helped me with the first installation, and the installation was not complete. So now the issue is solved, I can create R/3 Datastore with DS.

  • How can I get rid of a type generated by the Data/Services return type wizard?

    Hi All,
    I have a JSON service that returns an object called "error".  The Data/Services "Configure Return Type" wizard automatically turned this into a class "Error".
    However, this caused over a hundred errors to show up inside the generated classes, "Call to a possibly undefined method Error."  That's because of lines like this:
    throw new Error(propertyName + " is not a data property of entity Agreements"); 
    It's trying to throw a regular "Error" object, but now that there's an "Error" class in the same package, that is taking precedence--and that Error object doesn't have a constructor with a single parameter.  At least, that's what I think is going on.
    I tried to fix it by deleting _ErrorEntityMetadata.as, _Super_Error.as, and Error.as from the valueObjects package.  I then opened the FML file and deleted the definition for the entity "Error" and every reference to the Error entity (class) in my FML file.
    I then changed my JSON service so that it returns an object called "serviceError" instead of just "error".
    But, whenever I re-run the "Configure Return Type" wizard, it regenerates the Error class, even though I've deleted it from everywhere I can find it.  That breaks my project completely!  How can I end this and get Flash Builder to *stop* generating this type!
    In the "Configure Return Type" wizard I very carefully inspected the type of every bit of data coming back to make sure none of them show up as type "Error."  And they don't (as expected, since I changed the object's name to serviceError--now the type of that object is ServiceError.
      -Josh

    I think you are facing this known issue https://bugs.adobe.com/jira/browse/FB-29770
    Please vote it.
    Thanks for the link--I just voted for it.
    To avoid this, in the last page of "Configure Return Type", edit return type name to something else (You can also edit subnodes's name too in the wizard).
    Actually, that's exactly what I saw doing; I apologize if that wasn't clear in my post.
    I closed and restarted Flash Builder, and once I did that Flash Builder stopped generating the Error class.  My guess is that the FML file, even though I had updated it (by deleting all references to the Error class), was cached in some fashion by Flash Builder, and restarting Flash Builder forced it to reread the FML file?
    Additional point of clarification: my understanding is that the FML file stores all the metadata about the services that Flash Builder has been able to figure out so far, and when you run the Configure Return Type wizard, it will regenerate *every* type in the FML file, even if that type is not mentioned anywhere in the particular return value that you are working with.
    Edited to provide additional thoughts on FML file.

  • Best way to restrict data (per consumer-based) in a generic data service

    Hi again!
    In our project, we have a big database and our data services expose data from them. So far, so good.
    However, because of the company's security business process, any consumer needs to approve all the fields they want to use before consuming the data services and also the scope of the query, and not all consumers have the same permissions.
    For example, suppose we have a big table called EMPLOYEES with the following fields (please note that in this fake"table" I am not considering joins and FK's, for the sake of simplicity):
    h3. EMPLOYEES (XML schema element employee)
    ID (not mapped in XML schema)
    NAME (element name)
    LOGIN (element login)
    SUBSIDIARY (element subsidiary)
    DEPARTMENT (element department)
    JOB (element job)
    SALARY (element salary)
    ADDRESS (element address)
    SOCIAL_SECURITY_NUMBER (element socialSecNumber)
    Suppose we have a generic public operation called getEmployeeByLogin($login as xs:string), published in the corporative oracle service bus, that retrieve an employee. Any and every consumer must have their own bus login/password and, based in it, we configure ODSI which elements each consumer will get in the response. So:
    . . . . Consumer1: restricted to see only elements name, login, department, subsidiary
    . . . . Consumer2: restricted to see only elements name, login, department, job, subsidiary
    And so on. Again, so far, so good.
    Our problem: some consumers are allowed to see elements from a specific subsidiary and/or department. Example:
    . . . . Consumer3: restricted to see only elements name, login, department, job, salary ONLY FROM subsidiary "ABC" and department "dept 2"
    . . . . Consumer4: restricted to see only elements name, login, department, job ONLY FROM subsidiaries "ABC", "DEF", "GHI"
    . . . . Consumer5: restricted to see only elements name, login, department, job, salary ONLY FROM subsidiary "MNO", departments "dept 11", "dept 12"
    What would be the best way to attend to these restrictions while using the most generic and reusable solution?
    One answer would be create an operation for each consumer, but I don't want to use this approach unless I have no other alternative.
    I was thinking in creating an abstract level of operations to apply business rules, but I do not know if this is possible or if it is the best solution, because this is kind of hardcoding the solution. Example of this solution:
    . . . . Generic public operation: getEmployeeByLogin($login as xs:string)
    . . . . Specific public operation: getEmployeeByLogin_Consumer3($login as xs:string)
    . . . . Specific public operation: getEmployeeByLogin_Consumer4($login as xs:string)
    . . . . Specific public operation: getEmployeeByLogin_Consumer5($login as xs:string)
    . . . . All public operations above would call the generic private operation: getEmployeeByLogin($login as xs:string, $restrictions as xs:string?):
    . . . . getEmployeeByLogin would call this private operation, passing $restrictions as null.
    . . . . getEmployeeByLogin_Consumer3 would call this private operation, passing $restrictions to read only data from subsidiary "ABC" and department "dept 2".
    . . . . getEmployeeByLogin_Consumer4 would call this private operation, passing $restrictions to read only data from subsidiaries "ABC", "DEF", "GHI".
    . . . . getEmployeeByLogin_Consumer5 would call this private operation, passing $restrictions to read only data from subsidiary "MNO", departments "dept 11", "dept 12"
    What do you think about this scenario? Any idea will be highly appreciated!
    Thank you very much!

    Hi again.
    I am having some difficult trying to build my own XQuery Functions for Security.
    Hitherto, I learnt how to grant permission based in username. Now, I need to implement conditions, like "if username = 'abc', do not show results from department XPTO" and so on, but I am getting erros when I try to reference my xml schema inside the XQuery Functions for Security.
    Could you please tell me where can I get the source project used in the documentation example? I think I can try to find my way if I can study the entire source project. Page 7 of the link you sent me:
    import schema namespace t1 = 'ld:DataServices/CUSTOMER_ORDER' at 'ld:DataServices/Schema/CUSTOMER_ORDER.xsd';
    declare namespace f1 = "ld:CUSTOMER_ORDER";
    declare function f1:secureOrders($order as element(f1:CUSTOMER_ORDER)) as xs:boolean {
         if (fn-bea:is-access-allowed("CUSTOMER_ORDER/LimitAccess", "ld:CUSTOMER_ORDER.ds")) then
              fn:true()
         else if ($order/TotalOrderAmount lt (fn-bea:get-property("total_order_amount", "1000000") cast as xs:decimal)) then
              fn:true()
         else
              fn:false()
    Thank you again!

  • Tutorial to use Debugger in Data services

    Hi there,
    I'm trying to use the debug mode in Data Service 3.2 however I'm not able to make it work, can you guide me to any tutorial or provide any instructions. Thank-you
    Regards,
    samique

    Hi Tanweer,
    Please go to following link (Chap 17.4, Page 580)
    http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_designer_en.pdf
    It'll be almost same for the older version. But still if you want the same in older version, go to designer guide from the documentation which came with the product.(Start->programs->data services->documentation->designer guide)
    Regards,
    Mubashir Hussain

  • SAP R3 Connection in Data Services - Configuration is

    Dear all,
    We are having an error when going through the steps in the configuration of BusinessObjects Data Services 3.2 with R3. The error is in the SAP R3 server.
    Herewith the steps in regular font (based on the SAP BusinessObjects guide) and our output results in bold. If you can take a look on it, it will be great for us.
    To install provided functions using the CTS system:
    1.     Copy the provided transport files to the appropriate directories on the SAP server.
    Installing Functions on the SAP Server Installing the functions using CTS
    Note:
    In these steps, 900XXX.SXX is a variable. To substitute the correct file name for the current release, see the readme.txt file in the ...\DataServices\admin\R3_Functions\transport directory.
    -     Copy R900XXX.SXX to the /usr/sap/trans/data directory.
    -     Copy K900XXX.SXX to the /usr/sap/trans/cofiles directory.
    As we have R3 connection we have moved the R63 file. Complete name of the files are:
    -     R900086.R63
    -     K900086.R63
    2.     Log on to the SAP server and run the transaction /nSE37 to determine if function group ZAW0 already exists. The CTS system will install the Data Services functions into a single function group ZAW0 that it automatically creates on the SAP server if it does not already exist.
    -     If function group ZAW0 exists and contains previously installed Data Services functions, add an unconditional mode 2 option (parameter U2) to the tp import command described in step 4 below (tpimport S<xx>K900<xxx> <SID> U2).
    -     If function group ZAW0 exists and is used for another purpose, modify the transport file to use a different function group (such as ZAW1) to install the Data Services functions. Make sure the function group you use does not already exist in your system.
    -     If you are installing the transport files on a Unicode-enabled SAP server, manually create the function group ZAW0 with the Unicode attribute set.
    In our case we have found there is already a ZAW0 created -> nothing to do in this step
    3.     From a command window, run the following transport command:
    -     tp addtobuffer S<xx>K900<xxx> <SID>
    (where SID is the SAP system ID)
    You receive the response:
    This is tp version <SAP TP and SAP versions> for <database type> database.
    Addtobuffer successful for S<xx>K900<xxx> tp finished with a return code: 0 meaning:
    Everything OK
    This is the command we have run and the error retrieve
    The SID is NDV.
    C:\tp addtobuffer R63k900086 NDV
    This is tp version 372.04.57 (release 700, unicode enabled)
    E-TPSETTINGS could not be opened.
    EXIT
    Error in TPSETTINGS: transdir not set.
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0208
    tp finished with return code: 208
    meaning:
    error in transportprofil (param missing, unknown, ....)
    We have modified the statement with different names for the R63 file, but we didnu2019t success. We are retrieving same error.
    We also have applied the command in the following link:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/etpsettings-could-not-be-opened-875506
    and retrieve another error. The following step would be doing the u201CSAPEVTPATHu201D downloading, but, we are not sure if this would fix the issue or if the issue is related to something else.
    4.     Run the next transport command:
    tp import S<xx>K900<xxx> <SID>
    (where SID is the SAP System ID)
    We couldnu2019t reach this point, as we are having an error in the command below.
    Thanks for your help on this!
    Beatriz Minguez

    There is a problem in the transport file supplied with BODS installation folder. Pls refer to the SAP Note :
    1616269 - Problems when installing Data Services 4.0 SAP transport files (900155.R63)
    We have used the new transport files but we are still getting the below warnings in the log files and it returned with return code 4 :
    Maximum length ("255") for "CHAR" in transparent tables exceeded
    The SAP Note 1446648 - Warning Messages installing SAP R3 transports for Data Services sayou can ignore those warnings but we are still not able to see the ZAW0 Function group in SE37.
    Let me know if you are able to do it successfully.

  • Data Services ORA-00942 table does not exist. Source/Target same DB

    Error: u201CORA-00942: table or view does not existu201D
    Source & Target Datastores in same Oracle DB but different User/Schemas.
    I set up the Data Services Tutorial Source & Target Data bases in ONE Oracle DB using a separate User/Schema for the ODS source DB & TARGET Source DB.
    I then created
    - Source datastore for the ODS DB User/schema
    - Target datastore for the TARGET DB user/Schema.
    I have no problem reading flat files & writing to TARGET datastore tables.
    However, when I read the ODS datasttore source table CUSTOMER & write to the TARGET datastore target table CUST_DIM I get an error: ORA-00942: table or view does not exist.
    I can query the table contents from the Data Flow & see the data in the source data & see the empty target table.
    So the tables exists & there is no security issues from the DS Designer.
    I did find note 1189910 - ERROR: Error Description: An error occurred while creating the result data - Data Insight XI
    Cause
    Multiple engines are being run against the same metadata repository.
    Resolution
    Verify that only one engine is being run against a single metadata repository.
    Has anyone seen this error?
    Or has anyone created a 2 data stores on the SAME DB, but to different User/Schemas?
    Thanks
    Jay Roble

    since you are accessing 2 schema which are on same oracle database, DS engine is trying to optimize and generating an INSERT INTO ... SELECT clause. Since its the same DB, DS Engine is doing a implicit linking of the datastores
    you can see the SQL generated from the Designer, drill down into DF, from the Menu select Validation ->Display Optimised SQL
    to disable this implicit linking, right click on the Dataflow, select properties
    in the properties window, unselect the the option "use database links"

  • Flash Builder 4.5 Auto-Gen Code For PHP Data Service Produces Errors

    Hello
    I'm currently running a fresh install of MAMP on my Mac and when I start a new flex project, add a php data service that pulls from a mysql database I have. Everything works fine until I try to compile. The error I'm getting is 'uid' being the primary key which is a bigint(20). The file _Super_Users.as (auto-gen based on the user table below) reports 2 errors: [Managed] requires uid to be of type 'String'. (same error on 2 lines of code) Now the MySQL table wants it to be a int, the auto gen code seems to want it to be an int as well but for some reason its putting in these requires for String on the getter and setters for 'uid'. The is before I even add any of my own code, just auto-gen then compile.
         * data/source property getters
    [Bindable(event="propertyChange")]
        public function get uid() : int /*error line*/
            return _internal_uid;
         * data/source property setters
        public function set uid(value:int) : void /*error line*/
            var oldValue:int = _internal_uid;
            if (oldValue !== value)
                _internal_uid = value;
    This is what my database looks when I export it:
    CREATE TABLE `users` (
      `uid` bigint(20) unsigned NOT NULL,
      `name` varchar(150) NOT NULL,
      `first_name` varchar(50) NOT NULL,
      `middle_name` varchar(50) NOT NULL,
      `last_name` varchar(50) NOT NULL,
      `gender` tinyint(1) NOT NULL,
      `locale` varchar(5) NOT NULL,
      `link` varchar(255) NOT NULL,
      `username` varchar(50) NOT NULL,
      `email` varchar(255) NOT NULL,
      `picture` varchar(255) NOT NULL,
      `friends` text NOT NULL,
      `created` datetime NOT NULL,
      `updated` datetime NOT NULL,
      PRIMARY KEY (`uid`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    It's empty right now...
    Apache 2.0.64
    MySQL 5.5.9
    PHP 5.2.17 & 5.3.5
    APC 3.1.7
    eAccelerator 0.9.6.1
    XCache 1.2.2 & 1.3.1
    phpMyAdmin 3.3.9.2
    Zend Optimizer 3.3.9
    SQLiteManager 1.2.4
    Freetype 2.4.4
    t1lib 5.1.2
    curl 7.21.3
    jpeg 8c
    libpng-1.5.0
    gd 2.0.34
    libxml 2.7.6
    libxslt 1.1.26
    gettext 0.18.1.1
    libidn 1.17
    iconv 1.13
    mcrypt 2.5.8
    YAZ 4.0.1 & PHP/YAZ 1.0.14
    I tried to give as much info as possible, if you need more let me know...

    I discovered my problem was uid seems to be a built in global or something and was filling in that data field with a bunch of letters and number, like the device id. Because of the letters flex was throwing a fit. So if you're using Facebook API in flex be sure to not go with uid for the user id, which is was facebook api calls it.

  • How to setup Data services to use existing zend application

    The application I'm working on is going to have views created both in Flex and in PHP. Thus, we want to setup the Zend framework so that it can be used for the PHP part of the application and to display views in the browser. We want to setup the AMF gateway so that it's a service provided through a controller in Zend and with the actual service classes hidden from public view in the application folder, and not like the default now seems to assume that you create a folder in your public webroot where the endpoint and all service classes live.
    So the structure we are after is
    Zend_AMF endpoint at http://example.com/services/amf
    Zend folder structure:
    application/controllers/ServiceController.php    // the controller that handles all incoming requests, so acts as the gateway.phpI assume
    application/services/amf/    // contains the actual service classes, e.g. Users.php, Products.php
    public/swf/    // will contain the actual .swf files for the Flex application
    the /public/ folder is set to the webroot with /application/ outside the webroot as per the Zend framework recommendations.
    I would like to use the Data service introspection to generate the Flex code for the services, however the introspection afaik requires the services to be in the /public/ folder or a subfolder there. So how can I make introspection work for a service that lives in /application/services/amf and is accessed through http://example.com/services/amf ?
    Suggestions? links to tutorials?

    Yes, well hopefully this will be supported in the future. In the mean  time, I've noticed that it's only actually when creating the service  and the API for it that you need to have the class inside the web root.  In order to configure the return types and input types you don't need to  go through the standard gateway.php anymore. So, although not ideal,  here's how I do it right now:
    1. I have set up m zend  framework as described in my first post, with my AMF service gateway being a Zend controller and not the gateway.php
    2. I create the service class with the API I need inside the application/services/amf folder. If the service needs to connect to the database then I create a Zend Db Model using the zf command line tool (as per Zend framework practices) and then hook my service class to use that. Which basically means that my service classes are very slim and simple.
    3. When I created the Flex project I created a dummy service using the sample  php, which has set up Flash builder with the default gateway and so on
    4. Once I've created my service class, I copy the file to the default location where Flash Builder wants to create my services. I then strip out any implementing code from the copied file, leaving only the public API and empty methods.
    5. I then create a new service in Flash builder, point it to the stubb class in the default location and let the introspection discover the public api. This will of course mean that all input values and return values are generic objects.
    6. After this is done I delete the stubb class. In the created AS service class I override the service endpoint so that it points to my real gateway controller within the zend framework.
    7. After this is done I can configure the return types and input types using auto discovering. It will connect to the real gateway and ignore the default gateway and thus I can develop against the real endpoint and don't need to create my service classes within the public location of the Zend folder structure.
    It's a bit of a workaround for sure, but since I don't create new services that often and I can have Flash builder update my return types etc. automatically this way, I figure it's worth the extra steps. Still, I would hope that in the future Flash builder will support having the introspection happen on a location outside the projects own web root.

Maybe you are looking for

  • I purchased 2 games from the itunes store and they won't copy to my ipod

    i recently bought Sonic and Sims Pool for my ipod video, 60GB, and whenever i plug in my ipod to update it.. the games don't copy. the songs i have in my itunes do, and the recently updated playlists do, just not the games. someone help!

  • Doubt in Transaction se63

    Hi,     Can any one help me out with transaction se63. ie why it is used , if at all it is used for language translations then how to carry on the process? Thanx in advance.

  • Getting error while creating rows in database

    Hi , I am new to java and currently working on EJBs . The tables i have are ABC and XYZ and their columns are ABC - fk1,fk2 // these make the composite primary key XYZ- fk1 // which is primary key for this table I am trying to create multiple rows in

  • 'Crop' doesn't trim pages as it used to (Acrobat 9 Pro)

    I have a mult-page document with text only in the middle of each page, and with some pages a little larger than others.  I want to crop the unnecessary bordering material and have all pages end up as the same dimensions. In Acrobat 7 I would highligh

  • Compact Flash to Expresscard problem

    I just got a brand new 17" Macbook Pro. Along with it I've purchashed a CF to Expresscard reader to get the images from my Nikon D700 into Aperture. But it's simply not working. When I plug the card into the reader and the reader into the Expresscard