Create a data source and database tables using WSAD
Hi, guys:
the following is from a tutorial:
http://www-106.ibm.com/developerworks/websphere/techjournal/0306_wosnick/wosnick.html
"To create the data source and Cloudscape database tables automatically, right click on the HelloWorldServer in the Servers view, and select the Create tables and data sources menu item. A dialog will then display showing that the data source and database tables were created successfully (Figure 5)."
I am using WSAD 5.0 trial version. I cannot find Create tables and data sources menu item if I right click on the HelloWorldServer in the Servers view. I am wondering if this is because trial version does not have this feature?
regards
This question is a little off topic but you may get a reply. Please note this forum is about Sun's J2EE SDK and its related technologies. You may have better luck posting your question to an IBM specific resource.
Similar Messages
-
Data source and Database table
Hi All,
I am working on BW and i am trying to figure out the linkages between Database table and the data sources in our source system. I need to figure out which database table is linked to a particular datasource. Please guide me on the process.
Thanks and regards,
AnkurHi Ankur,
In your source system look in table ROOSOURCE using SE16 and fill in your DataSource.
The field EXTRACTOR will contain:
- Table/DB-view name (if DS is based on a table -> EXMETHOD = V)
- Function module (EXMETHOD = F1, F2 or FS)
- Domain - fixed values (EXMETHOD = D)
- ABAP Query (EXMETHOD = Q)
When a Function Module is used to extract the data (EXMETHOD F1/F2/FS) you need some ABAP skills to understand the code (SE37). From there you can derive from which table(s) it is getting the data.
Hope this helps...
Grtx
Marco -
Creating new Data Source Error - Database connection Failed
Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
SQL server 2005 is on the same physical server.
The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
The server event viewer shows these errors.
"Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
Any help is appreciated.Datasource for the application.
I have created a sql db for this planning application (my datasource). See my first message for more details.
When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
So, "To create, edit or delete data sources, click Manage Data Source."
This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
SCREEN INFO BELOW
Fields displayed with an asterisk (*) are mandatory.
Data Source Name *:
Data Source Description:
Select Database Platform
Microsoft SQL Server
Application Database
Server * :
Port * :
Database *:
User *:
Password *:
Click "Validate Database Connection"
ERROR ---> Database connection failed.
So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
Thanks in advance. -
How to fetch data from single database table using 2 internal tables.
Hi friends,
i am a new user of ABAP and also SDN.
i need a help.
i want to fetch data from one database table based on primary keys of 2 internal tables. how to put in where clause.
Thanks in advance.hii
refer to following code ..i hope it will help you
SELECT matnr " Material Number
FROM mara
INTO TABLE i_mara
WHERE matnr IN s_matnr.
IF i_mara[] IS NOT INITIAL.
SELECT matnr " Material Number
werks " Plants
prctr " Profit Center
FROM marc
INTO TABLE i_marc
FOR ALL ENTRIES IN i_mara
WHERE matnr = i_mara-matnr
AND werks IN s_werks.
ENDIF. " IF i_mara[] IS NOT INITIAL
i_output = i_marc.
IF i_marc[] IS NOT INITIAL.
SELECT matnr " Material Number
werks " Plants
lgort " Storage Location
FROM mard
INTO TABLE i_mard
FOR ALL ENTRIES IN i_marc
WHERE matnr EQ i_marc-matnr
AND werks EQ i_marc-werks
AND lgort IN s_lgort.
ENDIF. " IF i_mara[] IS NOT INITIAL
regards
twinkal -
How to create XML data source/ and load data from a web service to BI
All,
I m trying to find a 'how to' document (or any document) that shows how to create an XML data source to load data directly from a web service or from an XML file.
I appreciate any help.Hi Mike,
Two more for you:----
/thread/111488 [original link is broken]
http://help.sap.com/saphelp_nw70/helpdata/en/e6/1dd53bb90cbb1ae10000000a11402f/content.htm
Regards,
Suman -
Create a Generic Data Source and deploy a webservice on a domain using WLST
Hello for everyone,
I usually create generic data sources and deploy webservices on a wls domain by using the Administrator Console. I wonder if you can pass me a script sample to do this task by using WSLT. On the other hand, if you can pass me a "quick start" guide about WLST, this would be very helpful.
Additionally, may I be able to create groups, application roles and users to a domain by using WLST?
Thanks for your help.You can use standard infoobjects as well..
You can create a view on those R/3 tables and use this view for creating a generic datsource in RSO2 transaction..
Check the below pdf for delta in generic datasources
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33 -
Fields missing while creating the data source
Hi All
I am using a third party system to pull data in to BI...Actually there was one table where from the other end they had added 2 fields recently...when i checked in development i was able to create the data source for the table along with the new fields..but when i check it in production those newly added 2 fields are missing .. though i am able to see the old fields in the data source the newly added fields are missing..so is there any problem with the refreshment of the table or should we reastart the connection?
Can any one please let me know a solution for this...
Regards
ShilpaHI,
Are you having connectivity like this
BI Dev
BI QA ---> All Three connected to same 3 rd party system
BI Prod
If yes, If it is R3 replicate datasource will help.
Incase of third party system you need to regenerate the datasource.
if it is DB Connect try to go to the source system and connect to database table from BI side and at the top you will have
generate datasource. use that option you will be able to solve.
Else
BI Dev - 3rd party dev
BI prod - 3rd party prod
Try to add 2 new fields in the 3rd party system and generate the datasource as told above.
Thanks
Arun
Edited by: Arunkumar Ramasamy on Sep 14, 2009 9:12 AM -
Get data source schema - List tables has failed
Hi, I am trying to expose tables from a SQL Azure Database to OData feed on power bi's data source setting and I got the following alert:
Get data source schema - List tables and views has failed. Please check Windows Event Log for Gateway Instance (InstanceName1) errors.
Thanks in advance.Hi,
Thank you for your question.
I am trying to involve someone familiar with this topic to further look at this issue.
In the meantime please have a check on the below link and check if it helps.
http://whitepages.unlimitedviz.com/2013/09/power-bi-working-with-the-data-management-gateway/
https://support.office.com/en-us/article/Create-a-Data-Source-and-Enable-OData-Feed-in-Power-BI-Admin-Center-9dbd3091-8961-4564-adf6-2a3aeff0b2b4?ui=en-US&rs=en-US&ad=US
Regards,
Mekh. -
While creating the Data source for Sql server am getting this error?
Hi i new to Power BI sites and office 365,
For my first step
1. i have successful creaeted Gateway in Office 365
2.Now i have creating the Data source for that gateway using Sql server R2
3.While Creating the Data source using the Corresponding gateway i have given and next phase set Credentials phase i have noticed one pop up window and it will shows me like
Data source Settings and below in that window it will show's u the things like
Datasource Name.
Loading......
Credentials type:
Privacy Level:
Failed to verify parameter
I will get this results finally ,so hw should i achive this probelm ,Please let me know if any one knows
So kindly give me the proper answer for this.
RegardsAny suggestions for Chinnarianu?
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
I want to populate data from two database tables into a BAM report. I have created two data objects for the tables and want to create 3rd data object so that it can take the data from the other data objects automatically. Is there any such facility within BAM?
Hi
1. I am not sure if you have option to combine multiple DataObjects like that.
2. For your scenario, on Database side itself, I would recommend Create a VIEW that joins these 2 Tables and pull the required Columns and add required conditions. Verify the VIEW has all the rows expected.
3. Then create DataObject for this View. Once you have DataObject, create the Report.
Thanks
Ravi Jegga -
OWB 10g -- Can't Create Database Links for Data Source and Target
We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
For the database link of data source, we got the following error message:
Testing...
Failed.
SQL Exception
Repository Error:SQL Exception..
Class Name: CacheMediator.
Method Name: getDDEntryFromDB.
Repository Error Message: ORA-12170: TNS:Connect timeout occurred
For the database link of target , we got the following error message:
Testing...
Failed.
API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
Repository Error:SQL Exception..
Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
Method Name: createDBLink(String, String, String, String).
Method Name: -1.
Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
However, we could connect to the two databases (data source and target) using the OWBs utility SQL Plus.
Please help us to solve this problem. Thank you.As I said prior the database link creation should work from within the OWB client (also in 10).
Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
- the use of abnormal characters in the database link name
- long domain name used in as names.default_domain in my sqlnet.ora file
What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not. -
The error below makes absolutely no sense! I'm using Enterprise Core...yet I'm being told I can't use remote data sources:
w3wp!library!8!03/05/2015-19:08:48:: i INFO: Catalog SQL Server Edition = EnterpriseCore
w3wp!library!8!03/05/2015-19:08:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: The feature: "The edition of Reporting
Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.;
Really? This totally contradicts the documentation found here:
https://msdn.microsoft.com/en-us/library/ms157285(v=sql.110).aspx
That article says remote connections are completely supported.
ARGH! Why does this have to be so difficult to setup?!?Hi jeffoliver1000,
According to your description, you are using Enterprise Core edition and you are prompted that you can’t use remote data sources.
In your scenario, we neither ignore your point nor be doubt with what you say. But actually we have met the case before that even though the SQL Server engine is Enterprise but the reporting services is still standard. So I would recommend you to find the
actual edition of reporting services you are using. You can find Reporting Services starting SKU in the Reporting Service logs ( default location: C:\Program Files\Microsoft SQL Server\<instance name>\Reporting Services\LogFiles). For more information,
please refer to the similar thread below:
https://social.technet.microsoft.com/Forums/en-US/f98c2f3e-1a30-4993-ab41-acbc5014f92e/data-driven-subscription-button-not-displayed?forum=sqlreportingservices
By the way, have you installed the other SQL Server edition before?
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
How to load data dynamically into target tables using files as a source
Hi ,
My scenario needs a single interface to load the data of 5 different files into five target tables using a single interface. All target tables have the same structure. It is possible to point to variable source files using ODI. But the same approach is not working with Database tables. I am getting errors while trying to make my target /source table as a dynamic one.
Can anybody suggest anything. The last option would be writing a dynamic PL/SQL block in the KM. Any other suggestions friends ?
Regards,
AtishAfter creating a pair of identical source and target tables, I have carried out the following steps:
I am trying just keeping the target as variable
a)created a one to one interface,
b)tested that it is running.
c)created a variable(type =text),
d)used the variable as #v_name in the resource of the target table datastore.
e)in a package used the variable in a set variable step (first step).
f) used the interface as the second step.
g)executed the same in my context.
the <project_code>.variable_name is not getting substituted in the sql_code that is generated by the KM. My KM is SQL Control Append and following is the code that it generates in the Insert into I$ step:
/* DETECTION_STRATEGY = NOT_EXISTS */
insert /*+ APPEND */ into HR.I$_JOBS_COPY1
JOB_ID,
JOB_TITLE,
MIN_SALARY,
MAX_SALARY,
IND_UPDATE
select
JOBS.JOB_ID JOB_ID,
JOBS.JOB_TITLE JOB_TITLE,
JOBS.MIN_SALARY MIN_SALARY,
JOBS.MAX_SALARY MAX_SALARY,
'I' IND_UPDATE
from HR.JOBS JOBS
where (1=1)
and not exists (
select 'X'
from HR.#PLAYGROUND."v_tab_name" T
where T.JOB_ID = JOBS.JOB_ID
and ((JOBS.JOB_TITLE = T.JOB_TITLE) or (JOBS.JOB_TITLE IS NULL and T.JOB_TITLE IS NULL))
and ((JOBS.MIN_SALARY = T.MIN_SALARY) or (JOBS.MIN_SALARY IS NULL and T.MIN_SALARY IS NULL))
and ((JOBS.MAX_SALARY = T.MAX_SALARY) or (JOBS.MAX_SALARY IS NULL and T.MAX_SALARY IS NULL))
) -
Create two or more data sources and mapping to DSO
Hi,
I´m using SAP Netweaver BI 7.0.
If there are two or three data sources which have to be mapped to DSO which field from Data Sources has to be mapped to which field in DSO?
Is it possible to have only one DSO or should it be three DSOs because of the three Data Sources?
The thing is I have created one view out of three tables. For the view I have created one DSO. Everything worked fine. But now the requirements have changed because of currencies.
The view I have created is now mixing currencies because in the view is only one currency field, which is filled from the three tables. Two tables have different currencies and one table has one currency.
The one currency of the one table is important and should stay like it is.
I´m thinking about something like three different currency key fields in DSO which are mapped from data source. Also for every field of data source mapping with corresponding field in DSO.
Some hints? I have found articles in SDN about creating data sources and so on but they don´t help me in this matter.
Thank you in advance!Thank you guys for explaining! I´m new to SAP BW and trying to better understand.
I`ll try it also with the view. It sounds "easier".
But if I´m doing it with the 3 data sources, that means that for each currency field of the data source I will need an corresponding currency field in the DSO for mapping.
Is it possible to have 3 times the 0Currency field in the DSO and each data source currency field will be mapped to the DSO?
If that would work the 0Currency has to be contained in the key figures.
But if the 0Currency is contained in each key figure will the assignment of currency work correct?
+For example:+
Data Source1:
Turnover in Euro.
(All currency is in Euro)
Data Source2:
Profit in Dollar.
Profit in Euro.
Profit in Yen.
Profit in different currencies available.
Data Source3:
Sales in Dollar.
Sales in Euro.
Sales in Yen.
Sales in different currencies available.
For mapping from DataSources to DSO if it is possible to have 3 times 0Currency in DSO:
Data Source1 currency fiield ---> DSO 0Currency
Data Source2 currency fiield ---> DSO 0Currency
Data Source3 currency fiield ---> DSO 0Currency
Does it make sense? -
How to input data in a database table without knowing in advance table and column configurations
Hi,
I have a problem using LabVIEW for input data (manually) in a SQL database. I have about 40 tables in the database, each of them is related to a specific engine component. I need to create a user interface (maybe visualizing the table with a table control) where the users can insert data in the database table fields. Could someone give me some suggestion on how to do it?
Using the DB tools insert data.vi I need to know in advance the column configuration of the table, but in my database each table has its own structure! So do I have to create 40 different masks, one for every different table?
Thanks in advance.
MichelaI have not actually used the LV SQL Toolkit, but I will try and offer high level ideas :-)
when you have retrieved the construction data for a table, you should be able to use array and cluster indexing to aquire the names of the fieds, enough to create a labelled table on the LV Front panel.
After completing a new entry you can INSERT the entry into the database using the same data.
Is the SQL toolkit an additional purchase, or included in newer versions as standard? If you post a sample of the cluster/array that you retrieve, I could give you a sample VI to give you some pointers in creating the User Interface table
- Cheers, Ed
Maybe you are looking for
-
i have issue with my iphone5, the phone is open and good network signal, but when some one calling me they cant reach me, like the phone is off
-
How do I edit a pdf document?
-
I have at least 2 A/v cables from my digital video camera and other things. I watn to know if there is a way to get these to wrk with the iPod, or if I have to get the apple made A/v cable to connect it. I read something about changiing the yellow an
-
Background: My wife and I share our computers, a G5 iMac and a 7 month old Macbook (used mainly for traveling) which are used both for personal and business( she is a singing teacher). Currently we only have one user account and I handle much of her
-
SQL Help with Time Period vs Time Period Comparison
Hello, I am trying to create a query that will provide me a result set that will have current revenue (based off user selection of time) compared to another set of revenue with a different time period. For example: select a.xx_adm_adv_id, a.xx_editio