Query design issue urgent
Hi all,
In Reporting i am having a require where i need to merge some rows.
for example:
pen
Stationary book
paper
first column will define the category of the next column.
and the pen, book, paper r restricted key figures.
plz let me now how can i designed this format.
appreciated with points
Regards
Hi venkat,
thanx for the reply, in the first column v r having stationary which consist of the three different rows
no row here pen
stationary book
no row here paper
from the above 3 rows r merge into a single row.
thanx
Similar Messages
-
BW 3.5, BEx Query designer issue with text of the characteristics
Hi All,
We are currently using BEx 3.5 Query Designer to design the queries. We have one of the ODS on which we are querying for.
We have 3 different types of Customer in this ODS. 0Customer, 0BBP_CUSTOMER and 0GN_CUSTOMER. The problem is when we open this ODS in Query designer we see their text name on the left hand side column where it shows data fields as the same text name Customer.
Now the our Power users have raised the issue that it is very confusing even when there are 3 different technical names for these characteristics.
2 Questions I have.
1) Why is something like this happening? is it some issue with the Patch or something. We will be migrating to new BI soon but in the mean time if I could resolve it that will be the best. Or does it even get resolved with new BI???
2) what is the way in which we can resolve it?
Thanks in advance and points will be given generously.HI BI Consul!
Things like this happen, when it is called customer it could be different customers, 0customer is the standard R/3 customer and 0BBP_customer is objects from CRM and most likely 0GN_Customer might be customer from different system.
Sure, power users should be told which customer is customer and you could also change the discription of the object, to match the definition on the other system. You could also just create z object and replace the existing confusing object with something meaningful to users.
thanks.
Wond -
Hi,
Need help for the following scenerio,
There is data for Year (Numc..2010 we can do this by offset because it is Numc) and Year Quarter(Char..2010 Q1But this char..I think not possible) fields in the cube.But report requirement is last 3 recent Quarters data and previous 6 years of data into report.
FYI..PFA screen,
For ex:
2006
2007
2008
2009
2010
2011
2012 Q1
2012 Q2
2012 Q3
2012 Q4
2013 Q1
2013 Q2
2013 Q3
2013 Q4
2014 Q1
2014 Q2
2014 Q3
2014 Q4
Appreciate your help.
Thanks,
RamDear Ravi,
Could you please check the behaviour in TX RSRT.
This could be bug, also check if the below notes are helpful.
1259625 Query Designer: Texts are not updated or missing
1246021 Structure member texts are not displayed
1229140 Column headers not displayed
1279430 Structure member texts are not displayed
Regards,
Arvind -
Query Designer Issues Post System Copy
Hi All -
We have just performed a system copy from our production to our QA systems. Now, when we trying to view a report from Query Designer in our QA environment, we are being prompted for a username and password - which is trying to log in to our production environment! (I know this because I locked myself out of production trying to log in via our QA Query Designer). We've done all the BDLS runs, updated the RSLOGSYSDEST table poer OSS note 524554, and also updated the tRFC port in WE20. What do we need to do to be able to run a query out of the BW QA system?
Thanks for the assistance.
AbbyHi Abby,
Once you execute the query from designer you will get one URL generated in the explorer address bar here you will have to change the name of your production app server with quality app server then report will be executed on quality server.
But this is temporary solution, you will have to check with your basis team regarding this and they will have to change some setting in system table and next time onward the system will pick proper URL.
Regards,
Durgesh. -
Oracle Forms6i Query Performance issue - Urgent
Hi All,
I'm using oracle forms6i and Oracle DB 9i.
I'm facing the performance issue in query forms.
In detail block form taking long time to load the data.
Form contains 2 non data blocks
1.HDR - 3 input parameters
2.DETAILS - Grid - Details
HDR input fields
1.Company Code
2.Company ACccount No
3.Customer Name
Details Grid is displayed the details.
Here there are 2 tables involved
1.Table1 - 1 crore records
2.Table2 - 4 crore records
In form procedure one cursor bulid and fetch is done directly and assign the values to form block fields.
Below i've pasted the query
SELECT
t1.entry_dt,
t2.authoriser_code,
t1.company_code,
t1.company_ac_no
initcap(t1.customer_name) cust_name,
t2.agreement_no
t1.customer_id
FROM
table1 t1,
table2 t2
WHERE
(t2.trans_no = t1.trans_no or t2.temp_trans_no = t1.trans_no)
AND t1.company_code = nvl(:hdr.l_company_code,t1.company_code)
AND t1.company_ac_no = nvl(:hdr.l_company_ac_no,t1.company_ac_no)
AND lower(t1.customer_name) LIKE lower(nvl('%'||:hdr.l_customer_name||'%' ,t1.customer_name))
GROUP BY
t2.authoriser_code,
t1.company_code,
t1.company_ac_no,
t1.customer_name,
t2.agreement_no,
t1.customer_id;
Where Clause Analysis
1.Condition 1 OR operator (In table2 two different columbs are compared with one column in table)
2.Like Operator
3.All the columns has index but not used properly always full table scan
4.NVL chk
5.If i run the qry in backend means coming little fast,front end very slow
Input Parameter - Query retrival data - limit
Only compnay code means record count will be 50 - 500 records -
Only compnay code and comp ac number means record count will be 1-5
Only compnay code,omp ac number and customer name means record count will be 1 - 5 records
I have tried following ways
1.Split the query using UNIOIN (OR clause seaparted) - Nested loops COST 850 , Nested loops COST 750 - index by row id - cost is 160 ,index by row id - cost is 152 full table access.................................
2.Dynamic SQL build - 'DBMS_SQL.DEFINE COLUMN .....
3.Given onlu one input parameter - Nested loops COST 780 , Nested loops COST 780 - index by row id - cost is 148 ,index by row id - cost is 152 full table access.................................
Still im facing the same issue.
Please help me out on this.
Thanks and Regards,
Oracle1001Sudhakar P wrote:
the below query its take more than one minute while updating the records through pro*c.
Execute 562238 161.03 174.15 7 3932677 2274833 562238Hi Sudhakar,
If the database is capable of executing 562,238 update statements in one minute, then that's pretty good, don't you think.
Your real problem is in the application code which probably looks something like this in pseudocode:
for i in (some set containing 562,238 rows)
loop
<your update statement with all the bind variables>
end loop;If you transform your code to do a single update statement, you'll gain a lot of seconds.
Regards,
Rob. -
ERD Design Issue Urgent help needed .
Hi ,
I'm designing a movie theatre system . I was drawing the ERD Diagram but I'm stuck .
One theatre can have many movies and One movie can be run on many shows .So I have created seperate Theatre and Movie tables and another associative table containing only MovieID and Theatre ID .
Now number of shows in a theatre are fixed .. Morning ,Evening and Night .
The problem comes when I want to find which movie is running on which theatre and what is the show timimg . If I create another table as show table having theatre id and showid (say 1 is Morning and so on ) then how to relate that with movie .I tried a lot but not being able to find out .
How will I design the tables so that they are in 3rd Normal form .Its a bit urgent.
Please help me out .
Regards,
Rahul .Hi Rahul
If I were you, then to make it flexible i would have tables for
1) Theatre
2) Movie
3) Show
4) movie_show_theatre_mapping
And according to your design it should be
1) Theatre
2) Movie
3) Show table with foreign key to theatre
4) Show_movie_mapping
Here you can find the movie timing at a particular theatre by quering
show_movie_mapping and show table where theatre id is a foreign key in show table.
Regards -
Hi ,
I have got a new reuirement, Could you please help me out how can we achieve this.
The data in the cube looks below:
Product
Customer
Start Date
End Date
Amount
P1
Cust1
23-Apr-12
13-May-12
20
P1
Cust2
05-May-12
13-May-12
40
P2
Cust3
12-Sep-12
15-Sep-12
50
P2
CUst4
19-Oct-12
22-Oct-12
70
Initially, the report looks in the following manner.
Product
<5 days
>5 days and <= 10 days
>10 days
Amount
P1
0
20
40
60
P2
120
0
0
120
When i drill down the Customer, then the report should be like this.
Product
Customer
<5 days
>5 days and <= 10 days
>10 days
Amount
P1
Cust1
0
0
20
20
P1
Cust2
0
40
0
40
P2
Cust3
50
0
0
50
P2
CUst4
70
0
0
70
In the query desinger, what i have done means. I have add the Prodcut in row and Account as free characteristic.
1. Create a formula to calculte the difference between start and end date.
2. Create a formula for all the buckets and if the difference between those days is < 5 days then it will falls into Bucket1 ( < 5 days) and so on.
When i execute the report the report looks like.
Product
<5 days
>5 days and <= 10 days
>10 days
Amount
P1
0
0
60
60
P2
120
0
0
120
Instead of 20 comes into bucket2 (>5 days and < 10 days) , all the cummaltive comes in bucket 3 ( > 10 days).
Could you please help me out how can i solve it.
TIAAre your dates of type KF ?
IF not then you must have converted them into KF to calculate the difference with the help of formula variable with replacement path.Then it is mandatory to keep the dates in rows otherwise it does not work properly.
And the formula should be something like this for calculating the amount based on difference of days:
(Difference>5)AND(Difference<=10)*Amount
Hope this helps.
Regards,
AL -
Query Designer Issue (Variables)
Hello,
I'm trying to create an input query in BI-IP, with 2 característics in rows (untill here evrything works fine).
I'm having problems in creating the columns the way client want. It's a plan query, so the Client wants to Plan his budget monthly for the next year (I've created a mandatory Interval Variable ready for input based on 0FISCPER) if i run the query at this point, it runs, doesn't give results because there are no values.
The problem is that the Client wants to see the Acumulated Real Amount of the previous year in a column before the monthly ones! This is where the query stucks. I assign another variable i've created for cumulative values, and assigned an offset of -1 to that variable
Does anyone knows how to solve this or has any idea so we can start a conversation over here! I'm quite in a hurry as the project is reaching it's end.
Thanks"The problem is that the Client wants to see the Acumulated Real Amount of the previous year in a column before the monthly ones! This is where the query stucks."
I didnot get that...
When u want to see the Accumulated Real amount of previous year
y do u need to create a variable for it....
for e.g. if i have to do i will do it following way...
Client wants tos ee the Amount of Last year and Current year
i will insert Amount in Columns
right click and say edit
now bring time chars... ofiscper
now restrict it with interval variable , ready for input...
save and hit okey
i will copy the whole amount and paste it below
now i will go to variable restrict screen and then set offset as -1
is this what you did....
if yes... then how does the data corresponds in BW system
logint to rsa1
goto ur cube
right click and hit display data
see what u are seeing....
go to rsrt
run and execute ur query
it will display how each column value is getting calculated
if there is no relevant data then i t will nt show
if there is then u need to redesign variables...
if u r using mandatory variable in columns of keyfigures
dont use 0fiscper in Free chars/Selection screen -
BI experts.
1. The issue is that I have to identify from a key figure KF1 column the max value
2 I have to subtract from the max the value from each raw into a new column FKF.
Now in order to go from KF1 to (formula result ) FKF I have created a column that shows me the maximum in each for the column KF1 using local calculations. but when I subtract well it seem actually to use the original value of the raw.
Therefore, I would appreciate if you could help me to find out the maximum from a column and use it to find the difference on each raw between that found maximum and the original value on each raw.... eg (could follow what i done so far or different method).
peter 5
alfy 6
sam 7
Ana 9
result would be
.........kF1 ....MAX....FKF
peter.... 5 ......9 .... 4
alfy.....6......9 ......3
sam...... 7 ......9 ...... 2
Ana ......9......9......0
THANK YOU.
I
Message was edited by:
AlfonsoYou need to create the Max value for the KF1 using MAX(KF1,0)
once you have done that, you can do a difference between the Max Value and the KF1 using Absolute value to avoid - minus.
then you will be done.
thanks.
Wond -
Query design issue??
Hi all,
Is there anyway that I can design a report for this case: customers's sale values in the past one year and for those customer who don't have any sales in past one year, then I want to their lastest sales data to fill in the past one year. For example:
If the report run by monthly (001-012/2005) for customers, customer A, B,C have sales data for 001-012/200 and customer D only have sales data for 001-012/2004 , then the sales report is 001-012/2005 and will cover these 4 customers and customer D's sales data (001-012/2004) needs to fill in 001-012/2005 period.
Thanks
J.Hi,
I am afraid it is not possible do it BEx. Because there should be some validation for customer 'C' and finding a solution may be a bit complicated in BEx I believe.
One option is can go for a customer exit and validate using some logic like below:
If there is no data at all for the given periods getting data from previous periods. Need to brain strom to achieve this...
Message was edited by: AVR - IGA -
Hi,
I have a question regarding a query design issue I was faced with today. I was asked to designed a Query, however all the fields required are all defined as characteristics but I would like to display one as a key figure. I would have a characteristic for a row, the column also for a characteristic and have another characteristic displayed instead of the key figured Is that possible?
Thanks for any feedbackHi Serge,
This question would be more appripriate -- and you will get a quicker answer -- in the BI Forums. Please open your question there.
Best Regards,
Matt -
Authorization issue in bex query designer
hi all , my SAP GUI version is 7.10 , patch 17. , i am facing this issue regarding the ,I have been analyzing a data target for a new requirement , but i am facing problem accessing the reports created on the same data target. i am able to open the previous report in the analyzer built on this data target , but when i tried to edit it using the query designer , the stats message appear as follows
message: Authorization change not available for query ' voice of customer.
.INFO: new functions :'xxxx' can not be edited in the query designer
i am facing this problem in all the queries related to VOC ,. please help me in solving this.Hi raghukan,
This is may be due to the authorization but still you can check the consistency check for these queries using RSRV.
Regards,
Amit -
Issue opening BEx query in Query designer
Hi Expert,
I am facing issue while trying to open a query in the BEx query designer. The query designer opens, then i search for the query and double click to open it. The system hangs there and the query never opens up.
System details BW 7.3 SP9
Please let me know how to resolve this issue.
Thanks,
AnupamaHi Anupama,
Check your system SAP GUI is latest one or not.
If not ,then uninstall your existing SAP GUI along with all Bex client tool(ex -Analyser,Query Designer,etc) and install latest one.
I already faced same issue .so your problem will solved after doing above steps.
Regards,
Rajesh -
Report Designer - Issue in inserting the query
Hi
I'm facing problem when inserting the query in the Report Designer. Following is the steps I take to create new report in report designer.
1. Developed the query in Bex Analyzer.
2. Click on new in Report Desginer.
3. Click on 'Insert Data Provider'.
4. And at this point it self system throw a message saying that "Do you really want to delete this section? Query will be removed if it is not used in any other section.'
Has anybody come across thos type of issue.
Please advice if I'm going wrong any where.
Regards
RohiniHi,
You mean you have created query in query designer right....
because a query/workbook.query view created bt Bex abalyzer can't be a data taregt for report designer
Cheers,
Swapna.G -
Issue with Broadcasting and Publish query to Portal from query Designer
Dear all,
I have created a standard template ZWT_STANDARD_TEMPLATE in WAD and I have added this for Adhoc Analysis in 'Set Standard Web templated' RSCUSTV27.
For Broadcasting I have added 0BROADCASTING_TEMPLATE70.
I have problems with my broadcasting as well as publishing the Query in Portal.
When I use a Broadcast to Email - it opens a new window with my standard template(ZWT_STANDARD_TEMPLATE ) I have added. No data though.
Same thing happens for publishing too...When I publish the query to portal from Query Designer or WAD it takes me to the same window with my standard web template. No data though.
I think both are related to the same issue. Its with broadcasting.
What is the default template for Broadcasting in NW2004s? Below is the url I have included when I do it from Query designer. Its actually starting the Command - START_BROADCASTER70 but I dont know if it has to do a SOURCE_QUERY=ZCOPA_C03_FAST_PAYABLES. Could anyone compare it with your urls
http://pgdep00:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex3x?system=SAP_BW&CMD=START_BROADCASTER70&SOURCE_QUERY=ZCOPA_C03_FAST_PAYABLES&START_WIZARD=X&DISTRIBUTION_TYPE=PCD_EXPORT
This is the url for publishing from WAD
http://fndef00:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex3x?system=SAP_BW&CMD=START_BROADCASTER70&SOURCE_TEMPLATE=ZWT_FAST_PAYABLES&START_WIZARD=X&DISTRIBUTION_TYPE=PCD_EXPORT
Any help would be highly appreciated.
Thanks,
KKHi KK,
Did you solve your problem, i am also having the same issue. Please let me know if you have solved this issue.
Thanks,
Kumar
Maybe you are looking for
-
I had purchased a Nokia E6-00 in September 2012 in Bangalore. It was working well until the beginning of November when the mobile refused to load, switching it on taking it up to the Nokia Welcome screen and switches off after that. I took it to the
-
Verify Operation Failed and Other Issues
Adobe Reader X 10.1.1 is not working correctly on my computer which is running Windows XP Professional Service Pack 3. I have several symptoms. 1. If I am able to open a pdf file on my hard drive I get this error message: "Verify operation failed.
-
Having issues here iTunes and QuickTime on Windows here. Installing them leaves the message: 'Could not open Key: HKEYLOCALMACHINE\Software\Classes\QuickTime.qt\DefaultIcon' I presume this means there is problems creating the icon for the progam and
-
Offline Servicing of OS fails (failed to find properties of file 5)
Hi, I'm unable to get the Offline Update Servicing of the OS to work. In the OfflineServicingMgr.log I Keep getting: Failed to get update applicability. Dism.exe command line is below:"C:\Windows\system32\cmd.exe" /q /c ""D:\Microsoft\Windows Kits\8.
-
I´ve had my iPhone4 for about 6 months now but a few weeks ago actually was the first time I used it to make some clips. But when I watch them the day after, there is no sound? All you can hear is noise. No sound either on the phone or the computer,