How to Generate a MDX statement using a BEX query
Hello,
Is there any possiblity in BW to generate a MDX statement using a BEx query?
Thanks,
Ravi
BW does not generate any MDX statement for Bex query.I have tried ample number of times to acheive this but failed.
Like an Infocube the Query is also an object where in you can write MDX queries on BEx Queries.
As it is I never found BW rendering MDX queries.But with MDX queries you can get something but how far it helps I don't know.
RSCRM_BAPI is obsolete and it is recommended to use RSCRM_REPORT somewhere I have read ,but when I went to that transaction I never found that "MDX" button at all.
It was converted to "OLAP Check" which gave me some warning on the key figures and that's it.
Somehow I feel BW is not comfortable with MDX.
Regs
Gopi
Similar Messages
-
How to generate new perner number using Abap Code in pa0002. what is the fu
how to generate new perner number using Abap Code in pa0002. what is the function Module used.
hi
define internal number ranges for ur implementation then when u run PA 40 do not input any employee number , system will generate the employee number automatically.
Regards
sameer -
How we generate Surrogate Keys without using identify column
Hi All,
How we generate Surrogate Keys without using identify column.
Regards,
ManishThere are various options
1.IDENTITY columns - simplest to implement
2. Using NEWID(), NEWSEQUENTIALID() functions (if you want to use GUID values as surrogate keys)
3. SEQUENCE object (if SQL 2012 and above)
4. Using custom functions to generate keys yourself
This is an good article which compares use of GUIDs against integers as surrogate keys
http://blog.jonathanoliver.com/integers-vs-guids-and-natural-vs-surrogate-keys/
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Issue: When using BW Bex query analyzer users cannot change reporting queries. Any attempt to change queries results in errors.
Error: BEx Query Designer: Run-time error '-2147221499 (80040005) Fatal Error - Terminating
Impact: Business reporting is currently being negatively impacted because users cannot modify queries, cannot change filters for fiscal period and fiscal year.
OS / MS Office Suite being used: Vista & Office 2007
Backend System: BW 2.0B
Frontend System: Being a large organization, we have a controlled environment wherein all users will have the following applications installed by default:
1. SAP Client Base 7.10
2. SAP BW 3.5 Patch 4
3. SAP BI 7.10 Patch 900
4. SAP GUI 7.10 Patch 12
Does anyone has any idea as to why we are getting this error? Is it a Vista issue? Is it a front-end issue?Just a thought - did you guys apply any Microsoft security patches before this started happening - we had a similar issue in other SAP application due to MS security update. Raise an OSS with SAP
-
How to generate csv ouput by using a procedure
Hi All,
How do I generate a csv (comma separate value) output by using procedure. I have 2 SQL statements in my procedure, I need to generate a csv file with the result set of 2 SQL's. For Example;
I have the following 2 SQL's in my procedure
Cursor emp_det Is Select * From emp where sal < 4000;
Cursor sal_det Is Select e.* from emp e,dept d where d.dname = 'SALES'
My requirement is to generate a csv ouput with the result set of cursors emp_det & sal_det. How can I generate a csv ouput by using PL/SQL. I could generate the same by using tools like TOAD & PL/SQL Developer. But I need to generate csv output by using PL/SQL only...Your help would be more appreciated.use tom kyte's dump_csv.
create or replace function dump_csv( p_query in varchar2,
p_separator in varchar2
default ',',
p_dir in varchar2 ,
p_filename in varchar2 )
return number
AUTHID CURRENT_USER
is
l_output utl_file.file_type;
l_theCursor integer default dbms_sql.open_cursor;
l_columnValue varchar2(2000);
l_status integer;
l_colCnt number default 0;
l_separator varchar2(10) default '';
l_cnt number default 0;
l_colDesc dbms_sql.DESC_TAB;
begin
l_output := utl_file.fopen( p_dir, p_filename, 'w' );
dbms_sql.parse( l_theCursor, p_query, dbms_sql.native );
for i in 1 .. 255 loop
begin
dbms_sql.define_column( l_theCursor, i,
l_columnValue, 2000 );
l_colCnt := i;
exception
when others then
if ( sqlcode = -1007 ) then exit;
else
raise;
end if;
end;
end loop;
dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
l_status := dbms_sql.execute(l_theCursor);
dbms_sql.describe_columns(l_theCursor,l_colCnt, l_colDesc);
l_separator := '';
for lColCnt in 1..l_colCnt
loop
utl_file.put( l_output, l_separator || '"' || Upper(l_colDesc(lColCnt).col_name) || '"');
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
loop
exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
l_separator := '';
for i in 1 .. l_colCnt loop
dbms_sql.column_value( l_theCursor, i,
l_columnValue );
utl_file.put( l_output, l_separator || '"' ||
l_columnValue || '"');
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
l_cnt := l_cnt+1;
end loop;
dbms_sql.close_cursor(l_theCursor);
utl_file.fclose( l_output );
return l_cnt;
end dump_csv;Thanks,
Karthick. -
Generate SQL Insert Statement using EXPORTED dmp file
Dear DBAs,
Kindly inform me that is it possible to generate SQL script file using the exported file dmp,
I am looking for some option in import utility that generates script without import any rows in the database
Secondly is there any other way to check the validity of exported dmp file data validity without importing it back into the database.
Regards,
AsifHi Satish,
Yes you are correct the insert into statements won't be avaliable using either the indexfile or the show parameter.I had given these two options as per his 1st post requirement where he had mentioned
>
it possible to generate SQL script file using the exported file dmp,I am looking for some option in import utility that generates script without import any rows in the database
>
So, i thought he needed to see whats all objects are in the .dmp
Apologies for my 2nd post.
Anand -
How To Generate Early watch report Using SDCCN
Hi Guys,
Can any body please provide me brief knowledge on " how to generate an Early Watch Report using SDCCN"
infact i have searched in the forums but not very much clear.
Thanks,
LAXThis may not be the appropriate forum for this question. You may want to consider posting your question on the SAP NetWeaver Administration forum instead.
Having said that, the following may help:
OSS Note 763561 - Service Data Control Center (SDCCN) - FAQ -
How to generate I&Q data using NI5640R card?
Hi there,
I know how to generate a chirp using the NI5640R card (because there is a "chirp" generation function/block), But i dont know how to generate the I and Q components of the chirp. Could someone please help me with generating the I and Q components of a chirp (i.e, Can you please make a VI that generates the I and Q components of a chirp and give it to me).
Any help regarding this will be grately appreciated.
Thanks,
Sandeep.
Sandeep Palreddy, Graduate Research Assistance
The Microwave Remote Sensing Laboratory (MIRSL)
University of Massachusetts
151 Holdsworth Way
Amherst MA 01003-9284If the chirp signal you are generating is all real valued, there will be no Q component.
-
How to Generate 250 Users Conference using Lync 2013 Stress and Performance Tool
How to Generate 250 Users N-way IM Conference using Lync 2013 Stress and Performance Tool.
Please Let know the configurations to generate the XMLs. We are not able to create more than 70 users N-way IM conference though during configuration, we opted for 300 users conference for Large Conference (in custom setting).
The tool somehow does not create the number of participants as indicated. Is there any way to troubleshoot why it's not generating the expected load.Hi,
Would you please elaborate more about your Lync environment?
Please check if you meet the following configuration requirements:
Set the MaxMeetingSize option to 1000. (The default is 250.)
Set the AllowLargeMeetings option to True.
Set the EnableAppDesktopSharing option to None.
Set the AllowUserToScheduleMeetingsWithAppSharing option to False.
Set the AllowSharedNotes option to False.
Set the AllowAnnotations option to False.
Set the DisablePowerPointAnnotations option to True.
Set the AllowMultiview option to False.
Set the EnableMultiviewJoin option to False.
More details:
http://technet.microsoft.com/en-us/library/jj205074.aspx
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
How to generate a PDF output using batch file in 10G
Hello,
I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
Can someone please look at the syntax below and let me know where I am going wrong.
I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
Thanks
IQ
Contents of .bat file follow
ECHO Opening parameter form. Please do not close this window.
C:\
FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
CD C:\Users\Documents
RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
DESNAME=C:\Users\\%FILENAME% PRINTJOB =NORwconverter is not used to run reports:
rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
I think you mean rwrun:
rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
This bat file has to run on the server. There is no Reports installation on the client anymore.
If you want to run a report from a client, you can make a bat file that calls the report url
See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710 -
How to generate a PDF report using ADF RichTable?
Hi,
I am using JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I am displaying my data from db in a JSF Fragment(JSFF) using ADF RichTable component. Actually now I want to generate a PDF report using that data shown in the table on click of a Generate Button. Can anyone please provide me code or sample for that?
Thanks,
Vikashttp://kohlivikram.blogspot.com/2009/04/generate-pdf-report-in-adf.html
Thanks,
Navaneeth -
How to generate interrupts on TC using a 6601 timer
Need to generate interrupts on TC using a 6601 timer board in Linux. Have enabled the proper interrupt enable bits in the timer registers and can poll on the TC acknowledge bit to see it set when TC occurs, but am not able to generate an interrupt on TC. Is there a procedure or bits to be set in the pci interface to allow TC interrupts to be passed on to the processor. Am able to program the timers at the register level and am sure that I can access the timers and program them.
Bill B:
Is there anyplace I can get the docs for the registers not included in the PCI-6601/6602 RLP manual?
Apparently this global-interrupt etc register and several others are not listed in the RLP. Maybe there is a newer version which includes all the info?
Thanks,
Bob
[email protected] -
Error when generating the SQL statement while running the Query
Hello SDN Mates,
Am using three cubes in one infoset and build a query on that. Intially it was running fine, but now am getting error generating the SQL statement. Can you please throw some light on this. Your idea would be highly appreciated.
Thanks and Regards
Arun SHi Arun
is there any change in the objects (Check also the consistency of infoobject ) included in infoset, just make sure those are active, open the query in designer and check if no error/warning message are present
Thanks
Tripple k -
How I can delete a row using a simple query?
SZSLIFE_SPRIDEN_PIDM SZSLIFE_SGBSTDN_TERM_CODE_EFF SZSLIFE_SLRRASG_BLDG_CODE SZSLIFE_SLRRASG_ROOM_NUMBER SZSLIFE_SLRRASG_BEGIN_DATE SZSLIFE_SLRRASG_END_DATE
48547 199890
48547 199990
48547 199990 BLU 205 09/03/1999 12/23/1999
48547 200010
48547 200010 BLU 205 01/25/2000 05/25/2000
48547 200090
48547 200090 MOR 406 09/03/2000 12/23/2000
48547 200110
48547 200110 MOR 406 01/25/2001 05/25/2001
48547 200190
48547 200210
48547 200290
48547 200310
48547 200390
48547 200410
48547 200610
Here is what a simple question is probably for some of you; I can not get this to work. I need to delete all the rows that are duplicate like row #2 with the same SZSLIFE_SGBSTDN_TERM_CODE_EFF but with not
SZSLIFE_SLRRASG_BLDG_CODE and SZSLIFE_SLRRASG_ROOM_NUMBER
I need to write a code where it counts the SZSLIFE_SGBSTDN_TERM_CODE_EFF and if it have the same (2 times.
I need to delete the row without SZSLIFE_SLRRASG_BLDG_CODE and SZSLIFE_SLRRASG_ROOM_NUMBER
The SZSLIFE_SLRRASG_BLDG_CODE NEEDS to be not null, because I do an insert in this table I need to be able to insert null values.
How I can use a simple query where I can delete all the duplicate records without bldg_code and room number…
Here is the table description
SZSLIFE_SPRIDEN_PIDM NUMBER(8)
SZSLIFE_SPRIDEN_ID VARCHAR2(10)
SZSLIFE_SPRIDEN_LAST_NAME VARCHAR2(60)
SZSLIFE_SPRIDEN_FIRST_NAME VARCHAR2(60)
SZSLIFE_SPRIDEN_MI VARCHAR2(15)
SZSLIFE_SGBSTDN_TERM_CODE_EFF VARCHAR2(6)
SZSLIFE_SGBSTDN_STST_CODE VARCHAR2(2)
SZSLIFE_STVSTST_DESC VARCHAR2(30)
SZSLIFE_SGBSTDN_STYP_CODE VARCHAR2(2)
SZSLIFE_STVSTYP_DESC VARCHAR2(30)
SZSLIFE_SGBSTDN_LEVL_CODE VARCHAR2(2)
SZSLIFE_STVLEVL_DESC VARCHAR2(30)
SZSLIFE_SGBSTDN_RESD_CODE VARCHAR2(10)
SZSLIFE_STVRESD_DESC VARCHAR2(40)
SZSLIFE_SLRRASG_BLDG_CODE VARCHAR2(10)
SZSLIFE_SLRRASG_ROOM_NUMBER VARCHAR2(10)
SZSLIFE_SLRRASG_BEGIN_DATE VARCHAR2(12)
SZSLIFE_SLRRASG_END_DATE VARCHAR2(12)
SLRRASG_ASCD_CODE VARCHAR2(2)
I will appreciate any help!
SLRRASG_ROLL_IND VARCHAR2(2)Thank you very much Sandeep, this works!
1 DELETE SZSLIFE_TEMP2
2 WHERE
3 SZSLIFE_SGBSTDN_TERM_CODE_EFF
4 IN
5 (SELECT SZSLIFE_SGBSTDN_TERM_CODE_EFF
6 FROM SZSLIFE_TEMP2
7 GROUP BY
8 SZSLIFE_SGBSTDN_TERM_CODE_EFF
9 HAVING COUNT(*) > 1)
10 AND
11* SZSLIFE_SLRRASG_BLDG_CODE = ' '
12 /
4 rows deleted.
The only thing here is that the SZSLIFE_SLRRASG_BLDG_CODE can not be defined as a a NULL, so I can not use
where SZSLIFE_SLRRASG_BLDG_CODE is null
Here is how those two columns are define:
SZSLIFE_SLRRASG_BLDG_CODE VARCHAR2(10)
SZSLIFE_SLRRASG_ROOM_NUMBER VARCHAR2(10)
So,
my question is it will be safe to do SZSLIFE_SLRRASG_BLDG_CODE = ' ' ?
Again, it works, it deleted the rfows that I wanted...
Thank you very much!!!
Rogelio -
How to bulid a Crystal report based on Bex query as source
Hi,
I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
Thanks,Hi
The Crystal Reports are integrated with BW such that the query built in BW can be used to bulit Crystal Reports on them.
After launching the Crystal Reports, you will have and option : "Open reprt from BW" whcih will help you in opening the BW Queries and create Crystal Reports.
Also in the Menu there is an optin SAP-->Create New Report from a Query
Regards, Hyma
Edited by: Hymavathi Yanamadala on Aug 13, 2009 5:52 AM
Maybe you are looking for
-
Deploy Adobe Creative Cloud Issue
Hi, I am creating application of Adobe Creative Cloud in SCCM 2012 R2. In the User Experience I selected "Install for System" like other applications. When I install it from Software Center, Software Center closes itself in the end of installation (
-
I upgraded 10.6.8 SMC Version (system): 1.12f5 to SMC Version (system): 1.16f11 and HP p2015 printer is nolonger recognized. on the latest update. I have another similar macbook pro that is running with the older version and it will access the printe
-
HP Envy 14 Beats Edition Equalizer Presets deleted
So I have had my Envy 14 Beats Edition for awhile now (5 months). It has been causing me problems, but the one that is bothering me the most currently is the fact that my Equalizer no longer works. A few weeks ago I set all settings in my equalizer
-
Facetime HD camera blurry? (early 2011 iMac)
Using Photobooth and iChat, I'm comparing the camera in my new early-2011 iMac (27" i7) with the camera on my older, late-2007 model iMac. The newer camera simply looks ... blurry to me. Both if I'm up-close or sitting far back from the camera. Hard
-
Is there any software which allows a PC-formatted iPod to be used on a mac and have songs uploaded to it? Or vice-versa for that matter. The reason I ask? My wife uses a PC at work and we have a mac at home. She has iTunes on both and would like to a