Alternative data source for EO and VO

It is usually the requirement to customize the Entity Objects and View Objects so that they can work with data sources different than database schema objects (tables, views,...), some examples are Web Service or Oracle Coherence cache.
I have developed mini projects using both data sources mentioned, by overriding relevant methods in the implementation EO and VO classes. There is one limitation I realize when developing these projects. Although both the EO and VO rely directly and completely on the alternative data sources (Web Service and Coherence), still there must be a schema object existing in the local database to back the EO and VO. This is because I still have to call super methods from ViewObjImpl and EntityImpl, and these methods are still doing some operations with the schema objects, and without these objects, ORA-00942: table or view does not exist will be thrown.
For example, after overriding executeQueryForCollection in ViewObjImpl to take data from web service, it is still necessary to call super.executeQueryForCollection so that data will actually appear on the web page, and without the schema objects, this method will throw ORA-00942.
My question is, is there any way to completely eliminate the need of schema objects in EO and VO? I know the answer (if exist) will be complicated but I'm willing to explore.
Thanks.

Thanks Timo,
I figured out how to achieve this.
Basically when creating the EO, I did not specify the schema object in the first step, and for each attribute that I created in the wizard, I also unchecked the checkbox "persistent". I could then create VO based on this EO and override all the necessary methods in the EO and VO so they can do CRUD operations via Web Service.
In the case of only creating an VO (read-only, for retrieving/reading data only), I could also mark each attribute as "transient" by checking a checkbox in the creation wizard.
Edited by: nhd on May 7, 2013 8:01 PM

Similar Messages

  • Standard data sources for Delivery and Purchase order quantity.

    Hi gurus ,
    Are there any standard data sources available for Delivery and Purchase Order quantity in Purchasing area .
    Thanks in advance .

    Hi,
    If you are looking for SD Scenario: Check this : https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E
    Happy Tony

  • Question - Best practice data source for Vs2008 and Crystal Reports 2008

    I have posted a question here
    CR2008 using data from .NET data provider (ADO.NET DATASET from a .DLL)
    but think that perhaps I need general community advise on best practice with data sources.
    In Crystal reports I can choose the data source location from any number of connection types, eg ado.net(xml), com, oledb, odbc.
    Now in regard to the post, the reports have all been created in Crxi 6.3, upgraded to Crystal XI and now Im using the latest and greatest. I wrote the Crystal Reports 6.3/ XI reports back in the day to do the following: The Reports use a function from COM Object which returns an ADO recordset which is then consumed fine.
    So I don't want to rewrite all these reports, of which there are many.
    I would like to know if any developers are actually using .NET Class libraries to return ADO.NET datasets via the method call or if you are connecting directly to XML data via whatever source ( disk, web service, http request etc).
    I have not been able to eliminate the problem listed in the post mentioned above, which is that the Crystal Report is calling the .NET class library method twice before displaying the data. I have confirmed this by debugging the class lib.
    So any guidance or tips is appreciated.
    Thanks

    This is already being discuss in one of your other threads. Let's close this one out and concentrate on the one I've already replied to.
    Thanks

  • Data Blocks - Different data source for Query  and DML

    Would anyone please tell me if it is possible in a BLOCK to define a stored procedure for queriying and a table for DML operations or vice-versa at the SAME time.
    If possible how do you do it using DATA BLOCK WIZARD? If you select your block to be based on stored procedure then it gives only stored procedure options for Querying and DML operations in next few screens.
    Also, suppose I used a stored procedure defined in a block for insert operations, is it implicitly called by INSERT RECORD function key in default menu? How does it take values from different fields on its own?

    Hi Deepon,
    We get data from both BSIK(open items)and BSAK (cleared items). Obviously if a accounting doc is not cleared it would be in open items and vice versa..
    Go through the help link for more information..
    http://help.sap.com/saphelp_bw33/helpdata/en/90/10e73a86e99c77e10000000a114084/frameset.htm
    Regards
    Manga(Assign points if it helps)
    Message was edited by: Manga

  • OIM 9.1.0.2 - Weblogic JDBC Multi Data Sources for Oracle RAC

    Does OIM OIM 9.1.0.2 BP07 support Weblogic JDBC Multi Data Sources (Services>JDBC>Multi Data Sources) for Oracle RAC instead of inserting the "Oracle RAC JDBC URL" on JDBC Data Sources for xlDS and xlXADS (Services>JDBC>Data Sources> xlDS|xlXADS > Connection Poll> URL) ?
    If yes, is there are any other modifications that need to be made on OIM, or just changing the data sources?

    Yes, it's supported. You install against one instance directly of the Rac Server. Then you update the config.xml file and the jdbc resource in your weblogic server with the full rac address. It is documented for installation against RAC. http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/database.htm#insertedID2
    -Kevin

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Creation of a generic extractor and data source for the FAGLFLEXA table

    Hi All,
    Need to create a generic extractor and data source for the FAGLFLEXA table to support AR reporting. This table contains the necessary profit center information to perform LOB reporting against the AR data.
    Please advice on how to do this.
    Regards, Vishal

    Hi Vishal,
    Its seems a simple a work out.
    1.Go to RSO2 & choose the relevant option ie. whether you want to create Transactional DS, Master Data DS or Text DS.
    2. Name it accordingly & then create.
    3. Give description to it & then give table name FAGLFLEXA.
    4. Save it & activate. If you need it to be delta enabled then click over Delta & you can choose accordingly.
    If you still face some problem then do mail me at [email protected]
    Assign points if helpful
    Regards,
    Himanshu

  • What are the data sources for 0FIGL_V10 cube Balance Sheet and Profit& Loss

    What are the data sources for 0FIGL_V10 (G/L (New): Balance Sheet and Profit and Loss) cube. and whether we can install business content regarding this.
    Please help me out.
    thanks,
    sapsdnhelp

    Hi,
    Check this:-------
    Urgent: Relevant Master Data Data Sources for FI-GL  & FI-AP
    http://help.sap.com/saphelp_nw04/helpdata/en/04/47a46e4e81ab4281bfb3bbd14825ca/frameset.htm
    Regards,
    Suman
    Edited by: Suman Chakravarthy on Sep 28, 2011 7:33 AM

  • Data source for Deposit Advice (XML) and Live CheckWrite (XML) reports

    Hello All,
    We need to customize the Deposit Advice (XML) and Live Check Write(XML) reports to accomodate a few business requirements. We already have customizations for these reports in non-XML versions. For Ex: USPAYPST.rdf for Deposit Advice report. As these non-XML RDF reports are going to be unsupported by Oracle soon, we need to customize the XML versions of these report available in R12.1.3.
    As these reports are kicked off by the PYUGEN spawned program, therefore I need information on the data source for these reports as soon as possible.
    Looking forward to your prompt help.
    Thanks,
    Rahul

    Now, I have anew problem here. I modified the USPAYPST.rdf report for Deposit Advice and then changed concurrent program output to XML from Text.
    I attached a RTF template to the concurrent program to have the output in XML.
    When I run Deposit Invoice Report from the SRS window, it finishes off normally and log file says the number of records processed but no output file is generated.
    I also tried looking into the XML generated through View XMl and there too no output file is generated.
    I am confused if the Deposit Advice program can only generate Text output. As PYUGEN is the executable for this report, I have no idea if XML file can even be generated.
    All pointers to this issue are welcome.
    Thanks,
    Rahul

  • Data source for deposit advice xml and check writer xml

    Could someone please tell me where I can find the data source for the Deposit Advice XML and Check Writer XML programs. Since these executables are now a spawned process (PYUGEN), I don't know how to get to the data source. I was able before to look at the queries in PAYUSPST.rdf and PAYUSCHK.rdf. Where are these queries located now? Any help is appreaciated.

    Hi All,
    I applyied the patch 6399100 and i got the seeded Check Writer (XML) and Deposit Advice (XML) programs.Im able to run the Check Writer (XML) with Parameter (Check Style :Seeded Archive Check Writer Template ) but where as the im unable to run the Deposit Advice (XML) due to Error msg: "No enties found for list of vales"for the 'Check Style' Parameter.
    And for the above (only for Deposit Advice) i am not able to ecexute the SQL script given in the Doc ID : 459306.1 due to the error msg : cannot insert NULL into ("HR"."PAY_REPORT_CATEGORIES"."REPORT_GROUP_ID") if i see query the select * from apps.pay_report_categories where short_name like 'ARCHIVE%' there is no record exixts for ARCHIVE_DEPOSIT....
    for this we required any other patch/setups.
    And is the "Third Pary Check" will support XML Publisher ??
    Any respose will be greatly appriciated.
    Thanks,
    Madhu
    Message was edited by:
    user589951

  • How to find unsued Transfer Rules and Data Sources for a Master Table...??

    How to find unsued Transfer Rules and Data Sources for a Master Table...?? My requirement is i need to delete those Transfer rules and Data Sources which are not in use

    Hi
    Go to manage of the Text or attirbute of the master data object, see what are being loaded daily from there and delete the remaining.
    Cheer
    Ans as expected, Please reward

  • Use View Object with Alternative Data Sources in View Link

    In my case, I created a view object based on alternative data source (not with SQL query). I have setQuery(null) in the override create() function for this View Object. When I use this View Object at the destination end of the View Link, the setQuery(null) will raise Jbo-26016 exception (You cannot set customer query (calling setQuery()) on a view object if it is the detail view object in a master detail view link.) which does not allow me to do that. I looked Avrom's Framework for Database API-Based ADF BC, in which he override the DBTransaction and CallableStatement in order to intercept the default query clause set by the View Link. I'd like to see if there is any alternative ways to achieve my objective?

    Just following up what I found so far. I'm trying to use customized View Object based on alternative data source at the destination end of View Link with ADF 10.1.3.
    1. For the View Object at the destination end of View Link, I can not call setQuery() which will raise Jbo-26016 exception.
    2. I can omit the setQuery(null) call in my customized ViewObjectImpl, and as long as there is no SQL statement in the View Definition XML, it won't cause problem when calling the executeQueryForCollection() of the super class.
    3. The override executeQueryForCollection() must call the super.executeQueryForCollection() in order to get appropriate result (I tried to skip the call and it does not give back any results)
    4. The funny thing is, when I make getQuery() call in my customized ViewObjectImpl (I'm just trying to double check if the Query object is clean or not), the query object is set to "SELECT FROM" following the getQuery() call, and which causes the exceptions when I call super.exeuteQueryForCollection(). I found out later from the Javadoc API which is implemented in that way.
    So I guess my case is resolved by not making specific call to setQuery(null).

  • Unable to generate "Export data source" for Master data infoobject

    Hi Gurus,
    I'm in BW 3.5
    I need to generate "Export data source" for a master data info object.
    I followed below steps:
        I ticked the checkbox "Characterist. is export data source" in the master data Info object maintenance screen.
        In the Infosource area, for the desired Infoobject --> Right click --> Generate export datasource --> a dialog box displays saying "The generation of DataSource  was successful"
    Problem:
    Even after refreshing, etc.. I couldn't find the generated datasource 8**** for the above master data. I also tried to replicate the datasource from the myself source system, but couldn't find it even there. I don't know where the generated export data source is hiding ???
    Could anyone please help ????
    Thanks,
    Venkat

    Hi Venkat,
    I guess that after creating an export datasource for infoobject this DS should appear in the RSA1-Source systems - MYSELF - datasource overview (with name starting with 8). Since it's a datamart, it should appear also as system generated infosource. And in this case you would be able to assign in URs of data target the appropriate infosource (make sure that in Infoproviders tab of RSA1 you have inserted your infoobject as a data target).
    However, there are some bugs related to export data source. CHeck if you see you export data source in RSA6.
    If you don't see it - consider applying OSS Note #816892 - "30BSP26: Export DS for master data is not generated".
    Note #876845 - "30BSP29: InfoObject change: Export DataSource not adjusted" is also may be useful.
    -Vikram

  • Standard BI Data Source for FMGLFLEXT

    Hello Friends,
    The standard data source for the Financials New Legder is 0FI_GL_10 General Ledger: Leading Ledger Balances, which fetches the data from the FAGLFLEXT Table using the Extract Structure FAGL_EXTSTRUCT_LEAD. However there has been a migration of the FAGL table to FMGL table. And now the FAGLFLEXT is no longer populated with any FI postings data. And the new table which is getting the update is the FMGLFLEXT Table. GL Migration from FAGL to FMGL is a standard procedure. However I am not finding any Standard Data Source to fetch the data from the FMGLFLEXT Table.
    Can anybody let me know if there is any standard datasource for this or should we create a custom data source to fetch the data from FMGLFLEXT using the FMGL_EXTSTRUCT_LEAD Extract Structure.
    Appreciate help in this regard.
    VB

    Hello,
    The requirement is resolved by the following:
    If you want to use your own totals table (in this scenario FMGLFLEXT) as your basis, you first have to create the corresponding extraction structure using transaction FAGLBW01. In this way, all fields of the totals table are transferred into the extraction structure. Further In the OLTP system, call up transaction FAGLBW03 and Configure the DataSource and save your settings.
    http://help.sap.com/saphelp_nw70/helpdata/en/be/928f40f5767d17e10000000a1550b0/frameset.htm
    Regards,
    VB

  • Standard Data Source for FMGLFLEXT Table

    Hello Friends,
    The standard data source for the Financials New Legder is 0FI_GL_10 General Ledger: Leading Ledger Balances, which fetches the data from the FAGLFLEXT Table using the Extract Structure FAGL_EXTSTRUCT_LEAD. However there has been a migration of the FAGL table to FMGL table. And now the FAGLFLEXT is no longer populated with any FI postings data. And the new table which is getting the update is the FMGLFLEXT Table. GL Migration from FAGL to FMGL is a standard procedure. However I am not finding any Standard Data Source to fetch the data from the FMGLFLEXT Table.
    Can anybody let me know if there is any standard datasource for this or should we create a custom data source to fetch the data from FMGLFLEXT using the FMGL_EXTSTRUCT_LEAD Extract Structure.
    Appreciate help in this regard.
    VB

    Hello Sasi and Kirun,
    Thanks for your reply,
    The requirement is resolved by the following:
    If you want to use your own totals table (in this scenario FMGLFLEXT) as your basis, you first have to create the corresponding extraction structure using transaction FAGLBW01. In this way, all fields of the totals table are transferred into the extraction structure. Further In the OLTP system, call up transaction FAGLBW03 and Configure the DataSource and save your settings.
    http://help.sap.com/saphelp_nw70/helpdata/en/be/928f40f5767d17e10000000a1550b0/frameset.htm
    Regards,
    VB

Maybe you are looking for

  • Need GOP / UEFI Vbios N660 TF 2GD5/OC

    NVIDIA Firmware Update Utility (Version 5.134) Adapter: GeForce GTX 660      (10DE,11C0,1462,2871) H:--:NRM B:01,PCI,D:00,F:00 The display may go *BLANK* on and off for up to 10 seconds during access to the EEPROM depending on your display adapter an

  • Thinkpad Yoga 14 Wifi Slow

    Just picked a up TPYoga 14 and very happy with the laptop except for the Wifi.  I compared it to a 2 year old i3 hp and the speeds were half as fast.  40mbps vs 20 Mbps.  Any suggestions to speed up the wifi.  Thanks mucho.

  • Sample "Products" Demo glitch????

    Within the 1.3 release sample, there is a file: /demos/products/index.html that on line 20 has a call: quote: <link href="css/accordion.css" rel="stylesheet" type="text/css" /> Problems: 1. There is no CSS directory within the "/demos/products/" dire

  • Can send photos in message, but not recieve?

    Seem to be able to send photos in messaging, but not able to recieve messages with photos or videos. Any help?

  • JOptionPane help please - I'd be v. grateful

    Hi, Can you help me please? I'm just learning Java and was curious if it's possible to change the font color of text in a MessageDialog? For example, if I was saying something like JoptionPane.showMessageDialog(null, "\n I have 2 cats" + "\n I have 1