Read a database Oracle from BW for reports
Hi gurus, i want to know ,if it is possible, to read data that i have in an Oracle database from my BW.
I want to know if it is possible or if i must to load the data into BW.
TY
Hi,
Several alternatives:
- Load the data (not so nice)
- Create your own Data source in BW with extraction function module. In the FM you will SELECT <fields> FROM <yourORASchema>.<table/view>.
Create a flexible InfoSource with your objects.
Create a SAP Virtual cube (Remote) with your ISource.
- Virtual Cube with services but it is quite a hassle...
It denpends on the data (amount of records) and the number of fields.
Keep in mind that the system will fetch your data from Oracle for each navigational step...
good luck!
hope that helps,
Olivier.
Similar Messages
-
How do I sign into adobe digital editions to read a book purchased from kobo for my iPad
How do I sign into adobe digital editions to start reading a book purchased from kobo for my iPad ?
Adobe Digital Editions is not available for an iPad. It's only on Macintosh and Windows platforms.
-
Delete L.H.S spaces from field in database table but not for Report
Dear Experts
I m facing a problem...actaually i have replaced 999 by blank in a field of database table record.
Like : 999 abcde
999999 hjklmn
9999 klplmj
99999 hjsfhh
I have replaced 9 by blank. and using CONDENSE statement i have avoid the left hand side spaces of 9 in the database table.
Means the data is updated in database table following below using Condense.
Like: abcde
hjklmn
klplmj
hjsfhh
Now, the problem is that these spaces is showing in the Report. The left hand side spaces is not deleting from the Report. But these spaces is not showing in the databse table.
Plz tell me wat is the reason and wat is the solution to avoid these space from the Report.
Note: That field is Character Field. KNA1-STRAS
Thanks and Regards,
SwapnikaHello
Try to use
SHIFT c LEFT DELETING LEADING SPACE.
instead of
CONDENSE... -
HOWTO configure parameter options in oracle apps R11i for reports ??
Hello
I've developed a character report with orientation = landscape ,width=180 and height=66 on my laptop.It takes FROM DATE & TO DATE input from user which are passed to the sql query.
KINDLY GUIDE ME IN CONFIGURING PARAMETERS OPTIONS TO RUN THIS REPORT IN ORACLE APPLICATIONS 11i.
More what would the Token Option be in my case.
I'm pasting the sql query and the last line indicated in bold takes parameter.I'm working in the HR & PAYROLL SCHEMA.
SELECT DISTINCT
PAPF.PERSON_ID AS "PERSON_ID",
PAPF.BUSINESS_GROUP_ID,
PAPF.TITLE,
PAPF.FIRST_NAME,
PAPF.MIDDLE_NAMES,
PAPF.LAST_NAME,
PGD.SEGMENT4 AS "GRADE",
PPG.SEGMENT1 AS "GROUP_NAME",
PPG.SEGMENT2 AS "DEPARTMENT",
PPEMP.PEM_ATTRIBUTE8 AS "PREVIOUS_SALARY",
PAC.SEGMENT2 AS "SALARY_OFFERED",
PQFS.TITLE AS "QUALIFICATIONS",
(SELECT
SUM(PPEMP.PEM_INFORMATION1)
FROM
PER_PREVIOUS_EMPLOYERS PPEMP
WHERE
PPEMP.PERSON_ID=PAPF.PERSON_ID
AND PPEMP.BUSINESS_GROUP_ID=3788
) AS "RELEVANT_EXPERIENCE",
(SELECT
SUM(PPEMP.PERIOD_YEARS) ||' '||'Y'||' '|| SUM(PPEMP.PERIOD_MONTHS)||' '||'M'
FROM
PER_PREVIOUS_EMPLOYERS PPEMP
WHERE
PPEMP.PERSON_ID=PAPF.PERSON_ID
AND PPEMP.BUSINESS_GROUP_ID=3788
) AS "TOTAL_EXPERIENCE",
(SELECT PJD.SEGMENT4
FROM
PER_JOBS PJ,
PER_JOB_DEFINITIONS PJD
WHERE PAPF.PERSON_ID=PAAF.PERSON_ID
AND PAAF.JOB_ID=PJ.JOB_ID
AND PJ.JOB_DEFINITION_ID = PJD.JOB_DEFINITION_ID
AND PJ.BUSINESS_GROUP_ID = 3788) AS "FUNCTIONAL_TITLE"
FROM
PER_ALL_PEOPLE_F PAPF,
PER_ALL_ASSIGNMENTS_F PAAF,
PER_JOBS PJ,
PER_JOB_DEFINITIONS PJD,
PAY_PEOPLE_GROUPS PPG,
PER_GRADES PG,
PER_GRADE_DEFINITIONS PGD,
PER_QUALIFICATIONS PQFS,
PER_PREVIOUS_EMPLOYERS PPEMP,
HR_ALL_ORGANIZATION_UNITS HRAOU,
PER_PERSON_ANALYSES PPALYS,
PER_ANALYSIS_CRITERIA PAC,
APPS.FND_ID_FLEX_STRUCTURES FIFS,
HR_LOCATIONS_ALL HLA,
PER_APPLICATIONS PA
WHERE PAPF.PERSON_ID = PAAF.PERSON_ID
AND PAAF.GRADE_ID = PG.GRADE_ID
AND PG.GRADE_DEFINITION_ID = PGD.GRADE_DEFINITION_ID
AND PAAF.PEOPLE_GROUP_ID = PPG.PEOPLE_GROUP_ID
AND PAAF.JOB_ID (+)=PJ.JOB_ID
AND PJ.JOB_DEFINITION_ID (+)=PJD.JOB_DEFINITION_ID
AND PQFS.PERSON_ID (+)= PAPF.PERSON_ID
AND PPEMP.PERSON_ID (+)= PAPF.PERSON_ID
AND HRAOU.ORGANIZATION_ID (+)= PAAF.ORGANIZATION_ID
AND PAPF.BUSINESS_GROUP_ID=3788
AND PAPF.EFFECTIVE_END_DATE=TO_DATE('31/12/4712','DD/MM/RRRR')
AND PAAF.EFFECTIVE_END_DATE=TO_DATE('31/12/4712','DD/MM/RRRR')
AND PAPF.CURRENT_APPLICANT_FLAG='Y'
AND PAAF.ASSIGNMENT_TYPE='A'
--AND HRAOU.ORGANIZATION_ID = PAAF.ORGANIZATION_ID
AND nvl(PPEMP.END_DATE,TO_DATE('31/12/4712','DD/MM/RRRR'))=nvl((SELECT MAX(END_DATE)
FROM PER_PREVIOUS_EMPLOYERS P
WHERE PPEMP.PERSON_ID=P.PERSON_ID),TO_DATE('31/12/4712','DD/MM/RRRR'))
AND PAPF.PERSON_ID=PPALYS.PERSON_ID
AND PPALYS.ANALYSIS_CRITERIA_ID=PAC.ANALYSIS_CRITERIA_ID
AND FIFS.ID_FLEX_NUM=PAC.ID_FLEX_NUM
AND FIFS.STRUCTURE_VIEW_NAME='HIRING APPROVAL'
AND HLA.LOCATION_ID=PAAF.LOCATION_ID
AND PA.PERSON_ID=PAAF.PERSON_ID
AND PAPF.EFFECTIVE_START_DATE between :From_Date And :To_DateHi Dinesh
I have some bad news for you I'm afraid. Discoverer workbooks are not stored as SQL definitions, they are stored as BLOBs within the database. It is therefore not possibly to write any sort of query to interrogate the inner workings of a workbook. The only way to do this is to open each workbook in turn and analyze it.
Sorry to be the bringer of bad news
Best wishes
Michael -
How can I connect to my database ORACLE from JavafX?
Hi! ¿Anybody have a example to learn how could connect my ORACLE database from my javafx application?
Just use JDBC like you do in a regular Java program.
Either you translate the code to JavaFX (creating Java objects, etc.) or you do a Java layer to simplify access. -
CMC cannot save database configuration from a crystal report using WS
Hi all
I have a report in Crystal reports which is using a web service as a datasource. All works fine since web services is not using ws-security but when I deploy my report on CMC i can not save database configuracion. This is because i don't want it to prompt me for the logon credentials.
thanksHi Manish,
thanks for your answer. Unfortunately I'm still stuck in this matter.
Does this happen with the sample reports too? I think it will be a good approach to try this to see if your system is behaving differently for sample reports and reports published from outside
I did not really try this, but viewing and editing my reports in Crystal Reports 2008 Designer works perfectly fine. As well can the user view my reports in the InfoViewApp.
Also, does it revert to the login screen setting immediately after you click Save or does it show the setting as changed after clicking Save but, does not retain it when you come back and check the report settings again?
The data is reverted immediately after clicking "Save"
Kind reagrds
Wolfgang -
Using values returned from SQL for Report column names
I am building reports against our TFS development db.
One of the reports tracks days spent (Dwell Time) in various status categories (eg: New, Assigned, In Development, Hold, etc) for a given "ticket".
For a fixed list of values from {Work Item].System_State, I can send the results (days in Assigned) to the column named (Assigned) for each status for each event in the [Work Item History], and then sum them for each ticket as:
Ticket ID New Assigned InDev etc
1230001 2 0 0 ...
1230001 0 1 2 ....
SUM 2 1 2 ....
However, I have many different Projects, each of which use their own Status names.
I don't want to duplicate the same basic report, if I can avoid it.
How can I name and generate this data for the unique Status list for each Project?
Simplest analog is: name = First(Fields!Status.Value, "TFSdb")
and allows value for a column name (category) as: =IIF(Fields!Status.Value = First(Fields!Status.Value, "TFSdb"), Fields!Days.Value, 0)
However this fails beause:
1. It only delivers the FIRST status value, and,
2. I cannot SUM an expression which is itself an aggregate (using First).RRapport,
Is this still an issue?
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Integrating any database (oracle or sql) for user repository of EP6.0
Hi all,
We have a EP6.0 SP9 installation.
<b>Has one tried integrating any db like oracle or sql with EP6.0?</b>
Suppose, I have a user table in some xyz database (like Oracle or SQL) with all user main information as the fields like fname, lname, ***, age etc and then try connecting your SAP EP to this database for user management. Like if any user want to login to SAP EP the user id and password should be matched against this DB .. and if I create a new user it should be created in this DB.
I think we need to change one xml file called "<b>dataSourceConfiguration_database_only.xml</b>". Is this the right data Source Configuration file? I don't know what/how to change in it to make point to my ORACLE or SQL database.
What else should i do? Any ideas?
Please help regarding this.
Thanks in advance,
<b>Regards,
Sai Krishna.</b>Hi All,
Any idea??? Any solutions???
Please help me..
<b>Regards,
Sai Krishna.</b> -
my friend has an iphone 4 and believes her messages on her phone have been hacked as and ex boyfriend has contacted her telling her who she has spoken to and read the message she has for the past week, is this possible and how can she stop this?
ThanksYou're welcome.
Ask her if they shared an Apple ID to download iTunes Store content such as apps and music?
If not, he knows the password for her Apple ID email address.
She can create a new Apple ID with this link.
https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleIdForIK B?localang=en_US&path=
She needs to create a new email address first as well.
Tell her not to use any security questions that her ex knows or may know.
After she has created a new Apple ID, on her iPhone go to Settings > Messages > Send & Receive > Apple ID.
Select the Apple ID and at the menu window that appears, select Sign Out.
She signs back in at the same location with her new Apple ID to register her iPhone phone number with her new Apple ID and this will prevent her ex from having access to all iMessages that she sends and receives. -
Problem with using database link from oracle 7 to oracle 9i
Hi To Every One
I have two oracle database oracle 7.3.4.0.1 and oracle 9i 9.2.0.1.0.
and the tns alias to connect to oracle 9i database is oracle9i and tns
alias to oracle 7 database is oracle7.I have no problem in connect to
these database using these tns aliases from either database.The tns
alias for oracle 7 is available in tnsnames.ora file of oracle9i and
tns alias for oracle 9i is available in tnsnames.ora file of oracle 7.
So there is no connection problem from each other.Connection is
working fine for each other but the problem with database links is
like this
Problem:
when i create database link from oracle9i user or public database link
from oracle9i for oracle7 user like this
SQL ORACLE9I >CREATE DATABASE LINK ORACLE7 CONNECT TO <ORACLE7USER>
IDENTIFIED BY <PASSWORD> USING 'ORACLE7';
OR
SQL ORACLE9I >CREATE PUBLIC DATABASE LINK ORACLE7 CONNECT TO <ORACLE7USER>
IDENTIFIED BY <PASSWORD> USING 'ORACLE7';
The links get created sucessfully but when i write command like
SQL ORACLE9I> DESC <ORACLE7USER_NAME>.<ORACLE7USER_TABLENAME>@ORACLE7
I RECEIVE A ORACLE ERROR LIKE
ORA-12663 SERVICE REQUIRED BY CLIENT IS NOT AVAILABLE ON THE SERVER.
OR IF MY COMMAND IS LIKE
SQL ORACLE9I> SELECT <FEILD_NAME> FROM
<ORACLE7USER_NAME>.<ORACLE7USER_TABLENAME>@ORACLE7;
I RECEIVE AN ORACLE ERROR LIKE
ORA-01002 FETCH OUT OF SEQUENCE.
ORA-02063: preceding line from ORACLE7
BUT IF I CREATE A LINK FROM ORACLE7 USER FOR ORACLE9I USER
IT WORKS FINE.
PLZ HELP ME WHAT IS THE PROBLEM THAT THE LINK FOR ORACLE 7 IS NOT WORKING WHEN
IT IS BEING CREATED FROM ORACLE9I.
Thank u.Oracle 9.2.0 does not support connectivity to Oracle 7. The newest version that will support this is 9.0.1.
-
Best practice for database calls from Java components?
I have a java component that encapsulates some complex database logic. In unit tests, I pass in a jdbc connection.
Is there a way to pass in a database connection from PBL for a database defined as an External Resource in an ALBPM project? That way, I can test it using the "abstract" definition in the project and know that when it is deployed to production it will use the concrete definition. And, I won't have to maintain a separate configuration of the JDBC url.
Is there a better way to do this? Or is it possible?
Thanks,
ToddHi Bruno,
The main issue with the combination of stateful session beans and servlets is the servlet threading model.
It is dangerous to store a stateful session bean reference in servlet instance state, since the servlet instance
can be accessed concurrently, yet a stateful session bean reference is intended to be used by only one
client.
As you point out, one alternative is to store the reference in the HttpSession. That associates the reference
with a particular client, which matches the stateful session bean programming model. -
Hi !!
I have to create a report,which would be called from a form, and I require your help to code a query for a complex logic involving two tables. My application is on Oracle8i and Developer6. The table structures and their values are as below:
Table1
(Main-Part, Sub-Part is a composite key)
MainPart Sub-part
M0001 S0001
M0001 S0002
M0001 S0003
M0002 S0004
M0002 S0101
M0002 S0909
M0003 S1909
Table2 (Part is a primary key)
Part Qty-in-store qty-in-prodn qty-rejected
M0001 10 10 10
S0001 1 10 1
M0003 1 1 1
M0002 2 1 2
S0004 3 2 5
S0003 1 1 8
S0002 10 11 12
S0101 100 200 100
The requirement is that for every fetch of the Main-Sub part pair from table1, details should be fetched from the table2. Since the Main-Sub part pair is a composite key in table1, details from Table2 should be fetched only once for a repeating Main part but as many times for the number of sub-parts. For example, although M0001 is repeated 3 times in table1, it's details should be fetched only once from table2 whereas for the sub-parts of M0001(S0001, S0002, S0003) details should be fetched from table2 for each sub-part.
I tried a query which first fetches the details for the main-part, and in the repeating frame I put formula columns(with appropriate select stmts) for sub-parts. This approach I feel could affect performance because select statement is fired as many times as the number of formula columns.
My report should look like this
============================================================
Part qty-in-store qty-in-prodn qty-rejected
============================================================
M0001 10 10 10
S0001 1 10 1
S0002 10 11 12
S0003 1 1 8
Total 22 32 31
M0002 2 1 2
S0004 3 2 5
S0101 100 200 100
Total 105 203 107
I would like your help to know if there is another way to code a query(or queries) in report builder which will help me solve this above requirement.
Also, is it possibe to do an Update operation on a Database Table from within a report, bcos the totals as shown above need to be updated to the table?
Thanks in advance for the help?
Regards,
AjayJohn,
I believe this is to create the column types in BIRT. Can you open a
bugzilla entry to look at this?
Jason
On 7/27/2010 10:45 AM, john mcteague wrote:
> I have resolved this by changing config.xml in oda-jdbc.jar to use
> policy 1 for the jConnect driver.
>
> Policy 2 executes the query with a maxrows of 1, gets the metadata then
> executes the query again with the desired number of rows.
> Does anyone know why jConnect was set to policy 2 in the first place? -
How to introduce data in a database oracle
how to introduce data in a database oracle from a text fields using jsp pages.
supposing :
my text field is nombreText
my database fields is nombre_cliente
�how guards-how saves!
please.....http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/
-
A Query regarding calling a DB procedure from a Crystal report
Hi,
Please tell me how can we call a database procedure from a crystal report (crystal report XI)?
I tried by selecting the procedure as a data source for the report; but its giving me an error "Invalid Argument Provided".
The procedure contains a single Update table statement. Could anyone please help me to resolve this problem as early as possible ?
Thanks & Regards,
Priyashree Katkar.Duplicate of
Crystal reports with a DB procedure
Closing and locking this thread
Ludek -
Is it possible to read a mySQL database from an ABAP report?
We have some information stored in a mySQL database which is now required on ABAP reports.
Is it possible to read the mySQL database from an ABAP report? I'm still a bit confused on that.
So far I have setup DBCO with information about the mySQL server using MMS as the DBS because mySQL was not an option. I have made sure we have the latest dbmssslib.dll installed.
When I try to run the following code
EXEC SQL.
CONNECT TO :con
ENDEXEC.
I get error: SQL Server does not exist or access denied.
Then I have tried to connect using the function CHECK_CONNECTION_SDB.
I get the following messages in the return table:
1 OS-AppServ:Windows NT
2 dbmcli_neg: no_client_software
3 dbmrfc_c_neg: no_client_software
4 dbmrfc_s_neg: no_client_software
5 sql_neg
6 work_proc: 1
Does anyone know what I need to do to connect to the mySQL database.
Thank you
KarenThank you for your reply. I've gone through all the documentation you sent and much more and I'm still not sure what the problem is.
One thing that concerns me is that this all relates to MS SQL server and I'm trying to link to a mySQL database. Is this even possible?
Some posts talk about changing Oracle settings and having J2EE installed. Is this necessary to connect to a mySQL database via ABAP?
Which user should I enter into DBCO? Is it the mySQL server user or a SAP user? Does the person in charge of the mySQL database need to add any permissions for SAP to access the database or is that done by the user in DBCO?
Does anyone have any more advice?
Thank you
Karen
Also, does anyone know what the messages from the CHECK_CONNECTION_SDB function mean
1 OS-AppServ:Windows NT
2 dbmcli_neg: no_client_software
3 dbmrfc_c_neg: no_client_software
4 dbmrfc_s_neg: no_client_software
5 sql_neg
6 work_proc: 1
Edited by: Karen Dean on Oct 6, 2009 4:44 AM
Maybe you are looking for
-
Hi Gurus, I have recently started working on SOA 11g and I tried to install it in my machine.. Everything got installed fine without an error. Below are the component versions: 1. Database : 11.1.0.6.0 2. RCU Version : 11.1.1.3.3 3. Weblogic Server :
-
Audio dropout once we bought a subscription...
The audio is dropping out in my sequence like crazy. mid clip, sometimes switching between clips. It was all running fine this morning. The only thing that has changed is that we were running the trial and now have the subscription... I also installe
-
Not able to install flash player
I am trying to isntall adobe flash player. My operating system is microsoft XP. My customer id # is 238840432. I am having a difficult time installing this flash player. Please help me.
-
Error-"Enter a business place under Basic data" in bapi_acc_document_post
Hi, I am trying to post a document using bapi_acc_document_post and Bapi is throwing an error message : Enter a business place under "Basic data" .How can I resolve/skip this. Please help. Thanks, Sheel
-
Integrating Flex created SWF into Flash project
Hi all, Hopefully some one here will be able to help. I am using Flash CS4 so I was hoping this would work fine as it can target the flex library. I have a contact form created in flex which uses the accordion component and flex's great validate func