Structre in Query designer
Hi All,
I want to make a query with Customer_id in row and by using a structure in columns i want to display the name of Customer and its associated document type, so i created a structure and added the customer name and document type characterstic there, and a bydefault key figure structure is there that contains a key which i have hidden out for not displaying. Now my problem is that im not getting any thing in the output of my query except the customer_id and the key figure nothing is from my structure. Can anyone please help me out ? its urgent
Thanks
Hi Preetha,
I dont think you'll be able to list the customer names against each customer ID if you place the cust names in column. because whatever characterisitc you put in columns will be displayed as column headings. only the Key figures will be displayed against each characteristic in tabular format. As mentioned in the above replies you'll have to place the cust name and doc type in in rows itself.
please let me know if you come across any other solution for this.
Regards,
Rit
Similar Messages
-
Structres and cells in Bex query designer?? urgent plz
hi experts,
could you please give me the useful info. regarding structres and cells with the examples.
thanks in advance
regards
vadlamudi1. In the Query Designer, choose Cells (open) from the toolbar or use the menu option under View to reach the Cell Editor functions.
2. You can now use four different functions.
New Selection
u2022 Select a cell in the Cells dialog box, and use the right mouse
button to choose New Selection.
u2022 Define the required selection.
u2022 Enter a description for the selection and choose OK.
New Formula
u2022 Select a cell in the Cell dialog box, and use the right mouse button to choose New Formula.
u2022 Define the required formula. Enter a description for the formula
and choose OK.
New Cell Reference
Each cell that you define can be reused in formulas. If you want to reuse the value of the implicit generic cell definition that automatically occurs at the intersection of two structure parts of a query, select this cell in the Cell Definition dialog box, and choose New Cell Reference using the right mouse button. The description arising from the two structure parts
automatically appears in the cell. You can now refer to this cell.
Additional cells
Click on the cell adjacent to the Help Cells and choose the required option if you need additional cells for auxiliary selections or formulas which are not already included in the query structure you have defined from the construction of rows and columns.
Ashok -
IF and ABS condition statement in BEX query designer
Hi,
I would like to ask the best way for me to produce an acceptable result from Excel IF and ABS Condition statement.
The condition statement that I have on my Excel file is
=IF((A2-B2)>0,ABS(A2-B2),0)
I'm trying multiple times to reproduce this in BEX Query designer, unfortunately I'm getting a bad result or unacceptable formula.
Anyone who could help me with my issue?
Thanks,
ArnoldHi Arnold,
Thank you,
Nanda -
Text value is not getting displayed in Query designer !!
Dear experts..,
i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact text value but after generating the report instead of text value , key value is getting displayed....so how can i get text instead of key value??
please help me friends....
i have posted in OSS mesage also...i got a reply like...even i didnt understand his reply too...what he is trying to say?
whether can i get text display or not???
can any one help me in this regard???
SAP Reply----
Hello kumar,
After another analysis I have to inform you about general concept of
"compounded characteristics".
A compounded characteristic bounds two characteristics. The technical
name is generated by both technical names of the two characteristics
combined by two underlines "__".
An individual text is only available for one single combination of both
characteristics.
Example:
=======
Compounded characteristic "Famous family name" is a combination of
characteristic "COUNTRY" & "ETHNIC". Technical name: COUNTRY__ETHNIC
Values for Country: USA, Australia
Values for Ethnic: Asian, Latino
Possible value combinations with individual text:
USA & Asian; text: "Ling"
USA & Latino; text: "Sanchez"
Australia & Asian; text: "Chu"
Australia & Latino; text: "Garcia"
(Keep in mind the individual text only valid for the specific
combination.)
In analogy to the issue that you reported, you want to restrict this
compounded characteristic. In the window where you select the restrictedvalue (called Selector) you'll see on the left hand side all available
combinations of the characters with an individual text.
You select family name "Chu" and drag'n'drop it to the right side.
Actually you can only restrict the right compounded characteristic. In
our example you would restrict on characteristic "ETHNIC" with value
"Asian". (When you switch on technical names this comes more clear). Thetext "Chu" is displayed in the context of Selector because you selected
value combination Australia & Asian. But in the end it's just a
placeholder(!) for any combination of characteristic "ETHNIC" and value
#Asian#; in our example it could be USA & Asian "Ling" or Australia &
Asian "Chu").
By leaving the Selector the individual text is gone because now the
context is lost between the two characteristics. You have just a
restriction on characteristic "ETHNIC" with value "Asian". An individualtext can't be displayed because the compounded characteristic is not
specified for this restriction.
You're right, it is confusing when "loosing" the text of a restriction.
But accoring to the concepts of the compounded characteristics it
is a correct behavior.Hi anandkumar,
I belive this issue can be resolved by changing the Query proprties for the perticular field.
Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
__Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
Hope this helps you!!
Best Regards,
Maruthi -
Master data is not getting displayed in the Query Designer
Hi,
I have a DSO in which I have an InfoObject called Emp No. in the Data Field.
The Emp.No is being maintained as master with (Emp Name, Address, Telephone No, DOB) as attributes.
I have loaded the data in the Emp. No. master. Then tried loading the transaction data in DSO.
The Emp.No is there in the DSO active data, but in the query designer its not getting displayed.
Hope its clear.
Please help.
ThanksHi,
I have brought the Emp. No. in the Key Field and also have activate the master data again.
Yet my Query Designer doesn't have the Emp. No.
I have done a full load for both Master and Transaction.
Please advice me what the other alternative.
Thanks -
Error while trying to Open and Delete a BEx Query in Query Designer.
Hi Experts,
I have been facing this issue with BEx Query in Designer mode for a couple of days now in Development Environment in BI 7.0.
I would like to Delete an unwanted BEx Query because I need to give it's name to another BEx Query.
Whenever I try to Open this Query in BEx Query Designer to Delete, it gives out an error saying:
"An error occurred while communicating with the BI server.
As a result of this error, the system has been
disconnected from the BI server.
Detailed Description:
STOP: Program error is class SAPMSSY1 method : UNCAUGHT_EXCEPTION
STOP: System eror in program CL_RSR and form GET_CHANMID-01 - (see long text)"
Details text is as below:
Diagnosis
This internal error is an intended termination resulting from a program state that is not permitted.
Procedure
Analyze the situation and inform SAP.
If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
I have tried with SAP Note 899572, but still it's the same.
Has anyone faced similar issue? Could you please let me know if you have better ideas or solution?
Your time is much appreciated.
Thanks,
ChanduArun - Thanks a million. You saved me Nine. It worked.
Could you also please tell me how to rename (Technical) a Query or is it still "Save the Query As" the only way...?
Points already assigned.
Thanks,
Chandu -
Error while opening a query in query designer
Hello all,
There is an issue with the BEx Query Designer. A user is facing the following error while he tries to open a query using the Query Designer.
Error:
Error Group
RFC_ERROR_COMMUNICATION
Message
Connect to SAP gateway failed
Connect_PM GWHOST=10.233.0.167, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR partner '10.233.0.167:3300' not reached
TIME Wed Nov 26 16:35:58 2008
RELEASE 710
COMPONENT NI (network interface)
VERSION 39
RC -10
MODULE nixxi.cpp
LINE 2985
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 1
Please help me in resolving this issue.
Regards,
Shahid Ahmed.Connect to SAP gateway failed
You cant connect to gataway, may be it's down to (if you have
some issues going on the server
Regards. -
Not able to enter data in query designer
hi
can any one help, i created a input ready query on multi provider contain both standered and real time cube, here real time cube not contain any data.
when i created layout by taking 2 chracteristics and 2 key figures from real time cube it give me like " no data available".
what i have to do here to enter data to realtime cube key figureFirst check if you have created aggregate level.
Second check the loading behavior setting on the Realtime infocube- it must be set to "Real- Time Data Target can be planned, data loading not allowed'.
Third, query must be also input ready- in other words set the Selections (key figures) to input ready in Query designer.
Finaly, when you open context menu over the query, Bex Analyzer' Analysis grid, you can check the input ready settings for every cell if you want. If you did all steps, mentioned in the text above, input ready check box will be automatically checked for every cell of input enabled keyfigures...
Alex. -
Error publishing Query designer report to Web
Hi all,
I am facing error after executing the query in query designer in BI 7. The query fails to open in web and points to standard url:
http://portal-dmb.wdf.sap.corp:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=EX4_TBW20&VARIABLE_SCREEN=X&DUMMY=7
"Link appears broken"
Initially I have configured the web connectivity using the How to guide and carried out config in SMICM as well as SICF (activating BW node). If I enter the url from SMICM manually in IE, it would prompt for user/password for BI server and successfully logs on.
The issue only lies when publishing query from Query designer to web. Please advise if I have missed out some config here.
Thanks.Hi,
check this notes/links if you have done all steps:
SAP NetWeaver 2004s: Setting Up BEx Web
SAP Note Number: [917950|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_sys/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393137393530%7d]
[Setting up BEx Web - Short Track|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00c4742a-3a4b-2b10-b4ae-b03d08bcde6e]
BI 2004s: Checking Java Connections Web Application Designer
SAP Note Number: [989525|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393839353235%7d]
Regards
Andreas -
Hello,
I have following scenario in Query Designer:
There is only one characteristic Material in row and 3 calculated Key figures in column Price (Current Year), Price (Current Year -1), Price (Current Year -2). The User gives the current year as Input Variable. It works so far fine.
Query Output looks like:
MATERIAL | PRICE (CURENT Y) | PRICE (CURRENT Y-1) | PRICE (CURRENT Y-2)
1234 |10|20|--
2345|10||
3456|12|--|23
4653|12|13|14
7564|--|2|5
6452|||8
7362||7|
You can see that at least one value of PRICE Current Year/Current Year-1/Current Year-2 per Material is always filled. All Prices are in EUR.
Now my requirement is that I have to build a new Calculated Key Figure in Query designer which should calculate the minimum value of PRICE Current Year/Current Year-1/Current Year-2 per Material.
The new Query Output should look like this:
MATERIAL | MINIMUM (PRICE CURRENT Y to CURRENT Y-2)
1234 |10
2345|10
3456|12
4653|12
7564|2
6452|8
7362|7
I have tried to use Mathematic Function MIN but couldnu2019t get success as few cells are empty. So I cannot use function MIN. When I add empty cell with 0 then the minimum value calculates incorrect. It only works when all 3 cells are filled. How I can solve this problem in Query Designer?
Many thanks for the help.
Edited by: Moha Nan on Aug 26, 2011 1:07 PMHi Moha Nan,
Try this:
PRICE CURRENT Y *
((PRICE CURRENT Y NE 0) *
((PRICE CURRENT Y-1 NE 0) * (PRICE CURRENT Y < PRICE CURRENT Y-1) + (PRICE CURRENT Y-1 == 0))
((PRICE CURRENT Y-2 NE 0) * (PRICE CURRENT Y < PRICE CURRENT Y-2) + (PRICE CURRENT Y-2 == 0)))
+
PRICE CURRENT Y-1 *
((PRICE CURRENT Y-1 NE 0) *
((PRICE CURRENT Y NE 0) * (PRICE CURRENT Y-1 < PRICE CURRENT Y) + (PRICE CURRENT Y == 0))
((PRICE CURRENT Y-2 NE 0) * (PRICE CURRENT Y-1 < PRICE CURRENT Y-2) + (PRICE CURRENT Y-2 == 0)))
+
PRICE CURRENT Y-2 *
((PRICE CURRENT Y-2 NE 0) *
((PRICE CURRENT Y-1 NE 0) * (PRICE CURRENT Y-2 < PRICE CURRENT Y-1) + (PRICE CURRENT Y-1 == 0))
((PRICE CURRENT Y NE 0) * (PRICE CURRENT Y-2 < PRICE CURRENT Y) + (PRICE CURRENT Y == 0)))
replace the NE with the not equal to sign, the post forum doesn't seem to accept thos signs.
Kind regards,
Alex -
Exception in BEX Query Designer 7.10 when restricting dataprovider in filte
Hello,
when I build a query in the Query Designer 7.10 and try to restrict the infoprovider in the filter
to access a mulitprovider I get the exception:
"Unhandled exception has occurred in your application.....
Index was out of range........"
Our System:
Windows XP Servicepack 2
.Net 2.0 Serivcepack 1
Office 2003
SAP GUI 7.10 Patchlevel 9
BI Addon + Serivcepack 7
BW 3.5 Addon + Servicepack 4
Netweaver 7.00 packagelevel 11
Has anybody seen the same erro or a oss note which fixes this problem?
Thanks.
Regards, Lars.Hi,
I have not encountered this problem in the last days. We have made an upgrade
in the support package level from 11 to 16 for Netweaver Basis and 12 to 18 for
Netweaver BI. Sometimes there can arise problems when the support package level
of the Application Server is to low in comparision to the SAP GUI.
Maybe this was the problem. I am not sure.
I would advise you to install the latest upgrades of your SAP GUI and keep the application
server on a high support package level.
Sorry, I can't give any other hint.
Regards, Lars. -
Authorization in BEx Query Designer: "read only" for definitions of variables
Hello,
I`m developing a concept of authorizations for key user who should be able to maintain certain
objects in the query designer. For other objects they should have access “read only”.
The users have authorizations to design new queries. They should be able to use existing variables
(SAP Business Content ( 0*) and customer variables (z*). On this point, I have a problem: in the selection window of the query designer there are only buttons to create, to delete and to edit a variable.
The user must have authorizations for changing, although he just wants to look for the definition
of a variable (if he wants to see their basic or global settings before using the variable).
I can´t find a possibility to switch from “edit” to “read only”.
The users should only see and apply variables from others (SAP, collegues), but he mustn´t be able to
change them.
The user needs the following authorization objects: S_RS_COMP , activity =02 (change), also
authorization object S_RS_COMP1. If I give the users only activity 03 (display),
the user get the message: “display not allowed”.
Is there any possibility to give a key user the authorization to display all variables with
their definitions?
Best regards
Ricarda SeybHi raghukan,
This is may be due to the authorization but still you can check the consistency check for these queries using RSRV.
Regards,
Amit -
Message in BEx Query Designer Formula
Hi Experts,
I need to display message based on the value of the formula result. For Example:
If K.F1 =<2.5 Then <Message: ODD>
ElseIF K.F1 >2.5 Then <Message: Even>
Else
<Message: Determine the value>
EndIF
Thease above messages would be build in the formula column of BEx query designer
Thanks and really appreciate your response.
Regards,
WaseemHello,
I have done the same funtionality with the help of workbook.
May be experts can guide us how to display messages in the formula column of BEx query designer.
Thanks.
With regards,
Anand Kumar -
Drilldown in BeX Query Designer
Hello,
I am new in SAP. I am having problem creating Drill down. I have this report where all the data is Transactional data. So I haven't created any Master Data. So I won't be able to use Navigational Attribute for Drill down purpose and I don't want to use Hierarchy. Is there any possibility of getting the Drill down in BeX Query Designer? Any help will be appreciated.
Warm Regards,
DebayanHi Debayan,
first of all, what is your requirement to create a drill down?
A drill down in BEx query means showing additional information from report output. There are 3 ways to drill down a query in BEx
1. Master data-Navigational Attributes
2. Master data- Hierarchies
3. Free characteristics
As you dont have any master data in the report (which is very strange) you can use the additional characteristics provided in the 'Free characteristics' to see how the drill down works in BEx.
Please share your exact requirement.
Hope this helps.
-Swati. -
Division in bex query designer
Hi experts,
I have a strange problem in bex query designer. I am trying to calculate margin in % but the calculation gives the wrong result.
The two figures I try to calculate are -25124 and -91248 (figures in 1000 NOK)
The result should be (-25124/-91248)100 = 27,53* (when formula entered in excel)
I have tried the following in Bex query designer
-25124 %A -91248 = -0,02753%
(-25124/-91248)*100 = 0,02753
What might be the problem here?Thanks again for your answer,
I will try to explain my report (requirement from the business user)
Actual (KF)----
Budget (KF)
Sales-- -91248--
-77153
FSP-- -25124--
-18918
Margin % -
(FSP Actual/Sales Actual) 100---(FSP Budget/Sales Budget)100
Dim
Dim
Result
The margin is calculated in the cells in the bex query designer to differentiate between actual and budget. There is no option to calculate the margin in the columns as this would influence all other rows aswell.
Maybe you are looking for
-
Facetime on Mac Pro with Logitech Webcam
I have a Logitech webcam that works just fine with Skype on my Mac Pro running the newest Snow Leopard. But, the new Beta Facetime for our computers is NOT finding my webcam. Is there something that I am missing?
-
My 32GB WiFi iPad is 3 months old. Last night I downloaded a book and read for a while - then I turned it off, and plugged it in to charge overnight (as I have done routinely). In the morning it turned on briefly - and then when dead. It will not sta
-
Subscription charge appears one year late
About a year ago, I signed up for a subscription. Being so long ago, I can't remember any details. It didn't seem to work because I never saw any minute balance nor even an indicator of an active subscription. Back in May (I think), I saw some strang
-
Adding a field to result recording worklist selection screen
Hi, I am just wondering if there is a way to permanently add the production order (QALS-AUFNR) field into transaction QE51N as a selection field. Presently this field is only available in the dynamic selection screen. 1 - Is there a way to do this? I
-
Disable/Grey out all objects on the FP.
Is there a VI or an invoke node method that disables & enables all controls in the FP? I know you can use control refs for all the FP ojects but maybe you know of an alternative. I am using an event stucture that fills a queue. When my queue gets ful