Bapi to get data from BW query
Hi,
Does anyone familiar with bapi function to get data from BW query .???
I'm trying to use RS_VC_GET_QUERY_VIEW_DATA_FLAT but i get only the SUM rows of the query
and not the details rows (drill down).
i want to export the data of BW query to table and i need all the query data.
if someone have an example or documention its will be great.
Thanks.
Hi,
Does anyone familiar with bapi function to get data from BW query .???
I'm trying to use RS_VC_GET_QUERY_VIEW_DATA_FLAT but i get only the SUM rows of the query
and not the details rows (drill down).
i want to export the data of BW query to table and i need all the query data.
if someone have an example or documention its will be great.
Thanks.
Similar Messages
-
Get data from bw query to r/3
Hi,
There is a query defined in BW with some variables. The current process is user is executing the query with necessary variables and the query result output is saving as csv file and this file is used in r3 to update the data in r3.
Now we have to make this process automate. We have to get the query result data from BW to R3.
We have a constraint of not using the Open hub method in BW.
Is there any function module or any standard program to get the query result data from BW to r3.
Any help is highly appreicated.able to resolve the issue..
creating trusting RFC connection solved the problem -
hi
experts,
i am developing a report using abap query .(stand t code is s_alr_87012277 it contain more fields but i want only 4 fields , i found 2 but remaining 2 are from structure)
my problem is that debit and credit amount is in structure
how i can get data from structure(FAGL_S_RFSSLD00_LIST )
solbm = debit.
habbm = credit.
report is like
op.
gl acc no, discription, credit amount,debit amount.Hi ajay,
try to use with logical database SDF.
assign the logical database name in info set.
gl acc no - SKA1-SAKNR
debit. - Field: um02h
credit. - field: um02s
discription - SKAT-TXT20
regards,
sateesh. -
Single query to get data from different databases
i need to capture certain fields from certain tables in database 1 and certain fields from certain tables in database 2 into one file using a single SQL statement.
i tried searching on the net
i found that dblinks can help
but iam not sure if ill be able to create dblinks in my situation which is:
i need to get data from oracle to be copied to mysql
this is not a replication acitivity, but i need certain fields from one database and certain from the other
so what iwas thinking is, if i use an sql query to get all the fields (i need around 40) from the different oracle databases and create a singlefile with one insert per select, i can then read that file into mysql
instead of creating multiple sql queries for each table and creating separate files and eventually separate tables in mysql.
can anyone help me here?
or maybe suggest another approach.
thanksHi,
I think dblink is the only option available to get data from different databases. It will work for your case too.
CREATE DATABASE LINK db_link CONNECT TO user_name IDENTIFIED BY password USING 'instance_name'you must have the system privilege 'create database link' to create db links. This way you can get the required data and put it in a table in oracle. But i dont know how to put this data from oracle table to Mysql.
HTH
Muneer -
Powerpivot Error on Refresh -- "We couldn't get data from the data model..."
I'm using Excel 2013 and Windows 8.1. I have a spreadsheet I've been using for over a year, and I've just started getting this error message when I try to refresh the data.
"We couldn't get data from the Data Model. Here's the error message we got:
The 'attributeRelationship' with 'AttributeID' - 'PuttDistCat9' doesn't exist in the collection"
Any idea how I can fix this problem? I haven't changed anything related to that particular attribute. All the data is contained in separate sheets in the workbook, so there are no external sources of data.
Thanks.
JeanThanks for all the suggestions.
I found a slightly older version of the spreadsheet that still refreshes properly, so I don't think I have any issues with the version of Excel or Power Query. (I've had this same error before, and I believe I applied the hotfix at that time.)
I think this problem started after I updated a number of the date filters in the pivot tables. I haven't made any changes to the data model, and the only updates I've made were to add data (which I do all the time), and to change the date filters on
the pivot tables.
As suggested, I added a new pivot table querying one table (the table with the attribute that shows up in the error message), and it worked fine. I can also refresh this pivot table.
Then I tried adding a pivot table which went against several tables in the data model (including the table in question). The pivot table seemed to return that data properly. However, when I tried to refresh it, I got the same error message ("we
couldn't get data from the data model...").
Dany also suggested running the queries one at a time to see which one is in error. Without checking all the pivot tables, it appears that any which use the table "HolePlayedStrokes" generate the error (this is the table with the attribute
mentioned in the error message). Pivot Tables without that particular table seem to refresh OK. Unfortunately, that is the main table in my data model, so most of the pivot tables use it.
Any other suggestions? I'd be happy to send a copy of the spreadsheet.
Thanks for all the help.
Jean -
No data from BW-Query in BO-tools
Hello all
On a newly installed BO XI 3.1 with the SAP integration kit I cannot get data from my existing BW queries.
For example, if I start Xcelsius and add my BW-system as connection I can get the structure of the query (headings) but no data is displayed, neither in the connection's preview tab nor in the web preview.
The same happens if I create a QaaWS on this BW-query - I see the query headings, but not the actual data.
The query shows data if I open it directly in my web browser and it's a really simple one: no variables, no extras, only a few columns and rows.
I use SAP BW 7.01 SP6, XI 3.1 12.3.3 and XCelsius 2008 5.3.4
In SAP BW my user has SAP_ALL as well as BOE Admin & Content producer roles.
I'm relatively new to BO products so I have no idea where to start looking for the cause. Please help!
BR
KananHi
After I found the document "Using Xcelsius 2008 with SAP NetWeaver BW" (http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10ad2489-8956-2d10-f8ab-ed4cce2766da?quicklink=index&overridelayout=true) and followed the steps it works.
It seems as if the error was not in the system but in front of it - a typical case of RTFM, although the manuals are not always easy to find.
sorry & thanks.
BR
Kanan -
How to get data from subsites list of SharePoint 2010 in ssrs
Hi,
Can someone help me on this issue.
I want to create a report using ssrs, I have some of the data in SQL and some of the data in sharepoint list.
First I need to go to SQL and get the data from the table which contains URL for the subsite in sharepoint.
after that I need to go to all the subsites and go to perticulat list in the subsites and get data from that list.
for example, their is a top level site "abc"
it contains sub site "123", "456","567", etc.. All this sub sites contain a list by name "Sample List", Now I need to go to that sub site list(Sample List) and get list-item column say "created By" which
is created on particular date.
in my report, I need to print the sub site "url/Title" which comes from SQL database and list-item column "Created By" of that sub site list "Sample List".
I tried using subreport inside a report by using "Microsoft SharePoint List" as a datasource, but when it comes to real time we don't know how many subsites will be created, so we can't create a datasource for each subsite site.
I guess we need to be using XML as a datasource, but how can we go to particular subsite in query while using XML, since all subsites have list with the same name ?
I appreciate your help.
Thank you,
KishoreHi Kishore,
SQL Server Reporting Services(SSRS) supports expression-based connection strings. This will help us to achieve the goal you mentioned in this case:
Create a new report
Create a Data Source in the report with the connection string like this:
http://server/_vti_bin/lists.asmx (We use static connection string instead of expression-based connection string now, as it is not supported to get fields based on expression-based connection string in design time. We will change it to be expression-based
connection string later)
Create the data set(as you have done using XML query language). Please use list name instead of GUID in the listName parameter.
Design the report(e.g. Add controls to the report)
Now, let's change the connection string to be expression-based. First, please add a parameter to the report, move this parameter to top. This parameter is used to store the sub site name.
Open the Data Source editor, set the connection string to be: ="http://server/" & Parameters!parameterCreatedInStep5.value & "_vti_bin/lists.asmx"
In the main report, pass the sub site name to the report we created above via the parameter created in step5
That is all.
Anyway, this is actually a SQL Server Reporting Service(SSRS) question. You can get better support on this question from:
http://social.technet.microsoft.com/Forums/en/sqlreportingservices/threads
For more information about Expression-Based connection string, please see:
http://msdn.microsoft.com/en-us/library/ms156450.aspx#Expressions
If there is anything unclear, please feel free to ask.
Thanks,
Jinchun Chen
Jin Chen - MSFT -
How to get data from a table in a condition between twomonth
hai friends
I have a query that is i want to get data from a table based on a condition between two months in a format of char column
Ex
I have a column called from_month in the format of 'mon/yyyy'(already converted from date')
then the second column is to_month in the same format 'mon/yyyy'
now i wiil select from_month and to_month like
from month jan/2009
to month mar/2010
how to use between of two months in the format of char.Please tell me how to get two different month between data.Hi,
This may be of help.
Remember Pointless has made a point ;) (worth millions)
If possible , DO NOT store dates as strings or numbers.Let dates be dates.
WITH dat AS
(SELECT ' THIS IS JAN' x,to_char(to_date('01-JAN-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS FEB' x,to_char(to_date('01-FEB-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS MAR' x,to_char(to_date('01-MAR-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS APR' x,to_char(to_date('01-APR-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS MAY' x,to_char(to_date('01-MAY-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS JUN' x,to_char(to_date('01-JUN-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS JUL' x,to_char(to_date('01-JUL-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS AUG' x,to_char(to_date('01-AUG-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS SEP' x,to_char(to_date('01-SEP-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS OCT' x,to_char(to_date('01-OCT-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual UNION
SELECT ' THIS IS NOV' x,to_char(to_date('01-NOV-2009','DD-MON-YYYY'),'mon/yyyy') y FROM dual)
SELECT * FROM dat
WHERE to_date(y,'mon/yyyy') BETWEEN to_date('01 jan 2009','dd mon yyyy') AND to_date('01 mar 2009','dd mon yyyy')Cheers!!!
Bhushan -
Using Get Data From Aggregation event class in SQL Profiler - SSAS 2012
Hi,
I'd like to understand better the use of the Get data from aggregation event class in SQL Profiler to monitor a MDX query and which info provide. Fe, does it return the MDX query? Is it possible to use this event class in order to monitor MDX query vs a
Tabular model?
In the TechNet documentation, this event class is handled briefly.
ThanksHi pscorca,
This event is raised when the storage engine reads data from an aggregation, it may have a negative impact on performance when turned on. If you need to monitor SSAS instance status, we can also use dynamic management view:
Use Dynamic Management Views (DMVs) to Monitor Analysis Services:
http://msdn.microsoft.com/en-us/library/hh230820.aspx
Regards,
Elvis Long
TechNet Community Support -
Transfer Data from a Query to DSO
Hello,
I have an APD to transfer data from a query to a 'Direct update DSO'. The execution of this APD times out since the volume of query data is very high.
Is there an alternate way of transfering data from a query to DSO?
Please suggest.
Thanks!One way would be to extract the data from the existing cube using a function module that would mimic the query level filters and restrictions. That data can be populated into the new cube.
I wud suggest u take the data from a non-aggregated layer (say a DSO below the cube).
Also, check for the possibility of running the APD in multiple runs by using some kind of selection that would sum up to give u the whole data required.
Can u confirm if ur query itself is getting timed out?
-PA1 -
Hello Experts!
I am a beginner in ABAP programming and I have problem with one of my task.
I would like to get all users first and last names from infotype p0002. I've created a class, and method but only thing I've found in the Internet was something like this:
DATA: lt_data TYPE REF TO data,
return LIKE sy-subrc.
FIELD-SYMBOLS: <table> TYPE STANDARD TABLE.
CREATE DATA lt_data TYPE STANDARD TABLE OF PA0002.
ASSIGN lt_data->* TO <table>.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = '3'
infty = '0002'
begda = '18000101'
endda = '99991231'
IMPORTING
subrc = return
TABLES
infty_tab = <table>
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
me_it = <table>.
ENDIF.
any suggestions how I can use it for all users and how to get data from the result? or is it useless for this task? help pleaseHi Andrew,
There is absolutely no problem with the query i.e. everyone have a beginning and it is upon us how we take it to final stage.
Leave things apart, the answer to your query is suggested below.
Structure:
TYPES: Begin of typ_pa0002,
pernr type pernr_d, "Personnel No.
begda type begda, "Begin Date
endda type endda, "End Date
nachn type PAD_NACHN, "Last Name
vorna type PAD_VORNA, "First Name
namzu type namzu, "Salutation
end of typ_pa0002,
typ_t_pa0002 type standard table of typ_pa0002 initial size 0. "Table Type Definition
Data: l_it_pa0002 type typ_t_pa0002, "IT for PA0002 " Internal Table Definiton
lv_pernr type pernr,
lv_begda type sy-datum,
lv_endda type sy-datum.
"Data Declaration
lv_pernr = '3'.
lv_begda =.'18000101'.
lv_endda = '99991231'.
"Data Retieval from PA0002 DB Table
select pernr
begda
endda
nachn
vorna
namzu
from pa0002
into table it_pa0002
where pernr = lv_pernr
and endda GE lv_endda
and begda LE lv_begda.
Please validate the same at your end and let me know in case you require any further inputs from my end.
BR/Thanks
Pranav Agrawal -
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Getting data from external system
Hi,
What other methods that are used to get data from external system to BW? I know that DB Connect is one of the methods. Also, falt files is one of them.
Thanks,
RTHi,
Is there a BAPI that I can look at and start programming to get data from Informatica?
Right now we are using CSV files. Would anyone have sample code for the doing this using BAPI? Appreciate any.
Is there any How to paper to do this?
Thanks,
RT
Message was edited by: Rob Thomas
Message was edited by: Rob Thomas -
Fastest way to get data from Multiple lists across multiple site collections
HI
I need to get data from multiple lists which spread across 20 site collections and need to show it as list view.
I have searched on internet about this and got some info like options would be to use search core APIs or BCS . I can't use search because I want real time data. Not sure of any other ways.
if anybody can provide ideas it would be help.Might LINQ be an option for you? Using
LINQPad and the
SharePoint Connector, you should be able to write a query that'll retrieve this data, from which you can tabulate it. I'm not sure how you'd be able to automate this any further so that it's then imported in as list.
For something more specific, I used a third party tool called the
Lightning Tools Lightning Conductor, which is essence a powerful content roll-up tool. In one of my solutions, I created a calculated column that gave an order / ranking on each item, so that when lists were combined, they'd still have some form of
order. The web part is also fairly customisable and has always proven a useful tool.
Hope that helps.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Jdbc getting data from multiple tables
hi guys
how can i get data from multiple tables in MSAccess
please help>
here is code thata i want to do
i have 3 tables in my MSAccess databace
Stud_O which consist name,surname fields
Stud_I consist address,tel
Stud_E department,faculty fields
Based on this I would guess that you are missing a key field. There is no way to connect the tables.
I make the class to insert data to the tables. But
cant do getting datas from this tables.
can anybody help me in making query
and method that displays reultset strings to the
textBoxes
A select ...
select name,surname from Stud_O. Use the executeQuery() method.
Maybe you are looking for
-
Dear experts, I tried to post the credit memo for partial amount of PO, when I tried for this, system is giving the message "Reverse entry value set automatically for full reversal". But in other client it is accepting to post a credit memo for parti
-
Hi Experts, We are using a custom webdynpro application for the approval of expense claim.If I am clicking the link from UWL, a new window is opened and it is showing a blank page and PDF is not displaying in the browser. I have checked from applicat
-
Is there any way that i would be able to use my imac an external display for my apple tv 2?? i belive i have the right wires to do it but am unable to navigate settings on the imac to get it to work. Hope someone can help George
-
Help needed urgently: Sub-Total from Child Dataset returns 0 value
Hi all, I REALLY need help on this I can't figure it out. I'm using rtf, bi desktop tool 11.1.5. My dataset structure is as follows: G1 Major_Service Strategy Period_Actual Period_Budget G3 WBS_Name --->=Major_Service Task_Name ---->=Strategy Forecas
-
Why am I unable to open many applications on my macbook pro?
Why am I unable to open many applications on my macbook pro?Uu