Query Designer 3.5 / Link in the Query
Hello,
I want in a Report a link, whats shows a Document for hole Queries and maybe a Main Document. I start the Query, then i want to
click on a link and see some document..
How can i realize it ???
Thanks...
Thanks.
I have this properties for the second column :
But the result is :
Column1 = 1 Column2 = SUMGT column1 Expected result
Line 1 1 1 3
Line 2 1 2 3
Line 3 1 3 3
Similar Messages
-
My query prompts does not appear in the Query prompt order list!
Dear colleagues,
All of my query prompts does not appear in the Query prompt order list in properties of the query. It seems random which of them that appears there and not.
This makes it impossible for me to control or change the order of prompts, instead they order themselves alphabetically.
Is this some kind of bug? Is there a fix for this problem?
Regards
SiljeHi Stratos,
We use Edge.
Correction- we use Enterprise, changed a few months ago!
By the way, we heard about a bug that probarly causes the problem.
If the query has ever had a prompt containing 'Between', all prompts created afterwards will not appear in the prompt order list! Even if the between-prompt is deleted.. We still havent heard about a fix for this, please contact me if you hear anyting. It is not an option to create all the queries from scratch again!
Silje
Edited by: Silje Mari Sunde on Oct 22, 2009 9:24 AM -
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 -
Query Designer - Not able to "Save" the entered data
Hi Folks,
I've created a planning-enabled query in BI 7.0 Query designer. When I execute (in the web), it allows me to make manual entries. However, there's no standard "Save" button to save/update the values.
The cube is Real-Time and the query I built is on an aggregation level defined for this cube.
Any help will be appreciated,
Thanks
BarisHi,
you need to define your save button.
-> if you execute your query in the designer you can only display. To save your data you need to create a workbook in the analyser with your planquery in it and define a save button.
D -
Morning all,
I've just been assigned a report-related project but I have not created much of anything in C# or .Net before!
I was wondering if someone could help me get started. Here are the specifications:
Basically, I am to create an automated report application. I have the query and I will include it further down
in this post. The page is to have a couple blanks to specify the Start Date and End Date and replace those dates in the query, and generate the report. What I need some help on is how to make the SQL query work in the application which I will connect to the
intended database to generate the report (basic I know, but I'm new at this) on Visual Studio 2010. I also need some help on programming the Start Date blank and End Date blank so that what the user types in for those blanks will replace the date fields in
the SQL query, then generate the report with the new dates.
I appreciate the help!
The SQL query and what the dates are replacing:
select
PTH.INST_ID ,
PTH.EMPLOYEE_ID,
DBH.HR_DEDUCTION_AND_BENEFITS_CODE,
replace(DB.DESCRIPTION,',',''),
DB.WITHHOLDING_LIABILITY_ACCOUNT_MASK,
DBH.HR_DEDUCTION_AND_BENEFITS_ID,
DBH.CHECK_DATE,
DBH.CHECK_NO,
DBH.FIN_INST_ACCT_ID,
replace(replace (DBH.COMMENT,CHAR(10),' '),CHAR(13),' '),
DBH.HR_DEDUCTION_AND_BENEFIT_CYCLE_CODE,
DBH.LENGTH,
DBH.EMPLOYEE_COMPUTED_AMOUNT,
DBH.EMPLOYEE_BANK_ROUTING_NUMBER,
DBH.EMPLOYEE_ACCOUNT_TYPE,
DBH.EMPLOYEE_ACCOUNT_NUMBER,
DBH.EMPLOYER_COMPUTED_AMOUNT,
DBH.EMPLOYEE_GROSS_AMOUNT,
DBH.EMPLOYER_GROSS_AMOUNT,
DBH.PAYROLL_EXCLUDE,
PTH.VOID_DATE,
PTH.BATCH_QUEUE_ID,
B.BATCH_CODE,
BQ.FY,
BQ.END_DATE,
BQ.COMMENTS,
BQ.BATCH_CRITERIA_USED,
BP.COLUMN_VALUE,
PTH.REPLACEMENT,
P.LAST_NAME,
P.FIRST_NAME,
P.MIDDLE_NAME
from PY_EMPLOYEE_TAX_HISTORY PTH
INNER JOIN PERSON_EMPLOYEE PE ON
PE.INST_ID=PTH.INST_ID AND
PE.EMPLOYEE_ID=PTH.EMPLOYEE_ID
INNER JOIN PERSON P ON
PE.INST_ID=P.INST_ID AND
PE.PERSON_ID=P.PERSON_ID
LEFT JOIN HR_EMPLOYEE_DEDUCTIONS_AND_BENEFITS_HISTORY DBH ON
PTH.INST_ID=DBH.INST_ID AND
PTH.CHECK_DATE=DBH.CHECK_DATE AND
PTH.CHECK_NO=DBH.CHECK_NO AND
PTH.EMPLOYEE_ID=DBH.EMPLOYEE_ID
LEFT JOIN HR_DEDUCTION_AND_BENEFITS DB ON
DB.INST_ID=DBH.INST_ID AND
DB.HR_DEDUCTION_AND_BENEFITS_CODE=DBH.HR_DEDUCTION_AND_BENEFITS_CODE
LEFT JOIN BATCH_QUEUE BQ ON
PTH.BATCH_QUEUE_ID=BQ.BATCH_QUEUE_ID
LEFT JOIN BATCH B ON
B.BATCH_CODE=BQ.BATCH_CODE
LEFT JOIN BATCH_PARAMETER BP ON
BQ.BATCH_QUEUE_ID=BP.BATCH_QUEUE_ID
AND BP.COLUMN_NAME = 'SUPPRESS_DIRECT_DEPOSIT'
------Please change the WHERE condition for date range of the month you need to run this for.
WHERE PTH.CHECK_DATE >='07/01/2013'
AND PTH.CHECK_DATE <='07/31/2013'
and BQ.BATCH_CODE='BAT_PY_PAYCALC'
and bq.fy=2014
ORDER BY PTH.INST_ID ,
PTH.EMPLOYEE_ID,
DBH.HR_DEDUCTION_AND_BENEFITS_CODE,
DBH.CHECK_DATETry this code. The Server name will be the same name when you use SQL Server Management Studio (SSMS). It is in the login window for SSMS. I assume you are using SQLSTANDARD (not SQLEXPRESS) which is in the connection string in the code
below. I also assume you have remote connection allowed in the database.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace ConsoleApplication1
class Program
const string DATABASE = "Enter Database Name Here";
const string SERVER = "Enter Server Name Here";
static void Main(string[] args)
DateTime startDate = DateTime.Parse("07/01/2013");
string startDateStr = startDate.ToString("MM/dd/yyyy");
DateTime endDate = new DateTime(startDate.Year, startDate.Month + 1, 1).AddDays(-1);
string endDateStr = endDate.ToString("MM/dd/yyyy");
string connStr = string.Format("Server={0}\\SQLSTANDARD;Database={1};Trusted_Connection= True;", SERVER,DATABASE);
string SQL = string.Format(
"select\n" +
" PTH.INST_ID\n" +
",PTH.EMPLOYEE_ID\n" +
",DBH.HR_DEDUCTION_AND_BENEFITS_CODE,\n" +
",replace(DB.DESCRIPTION,',','')\n" +
",DB.WITHHOLDING_LIABILITY_ACCOUNT_MASK\n" +
",DBH.HR_DEDUCTION_AND_BENEFITS_ID\n" +
",DBH.CHECK_DATE\n" +
",DBH.CHECK_NO\n" +
",DBH.FIN_INST_ACCT_ID\n" +
",replace(replace (DBH.COMMENT,CHAR(10),' '),CHAR(13),' ')\n" +
",DBH.HR_DEDUCTION_AND_BENEFIT_CYCLE_CODE\n" +
",DBH.LENGTH\n" +
",DBH.EMPLOYEE_COMPUTED_AMOUNT\n" +
",DBH.EMPLOYEE_BANK_ROUTING_NUMBER\n" +
",DBH.EMPLOYEE_ACCOUNT_TYPE\n" +
",DBH.EMPLOYEE_ACCOUNT_NUMBER\n" +
",DBH.EMPLOYER_COMPUTED_AMOUNT\n" +
",DBH.EMPLOYEE_GROSS_AMOUNT\n" +
",DBH.EMPLOYER_GROSS_AMOUNT\n" +
",DBH.PAYROLL_EXCLUDE\n" +
",PTH.VOID_DATE\n" +
",PTH.BATCH_QUEUE_ID\n" +
",B.BATCH_CODE\n" +
",BQ.FY\n" +
",BQ.END_DATE\n" +
",BQ.COMMENTS\n" +
",BQ.BATCH_CRITERIA_USED\n" +
",BP.COLUMN_VALUE\n" +
",PTH.REPLACEMENT\n" +
",P.LAST_NAME\n" +
",P.FIRST_NAME\n" +
",P.MIDDLE_NAME\n" +
" from PY_EMPLOYEE_TAX_HISTORY PTH\n" +
" INNER JOIN PERSON_EMPLOYEE PE ON\n" +
" PE.INST_ID=PTH.INST_ID AND\n" +
" PE.EMPLOYEE_ID=PTH.EMPLOYEE_ID\n" +
" INNER JOIN PERSON P ON\n" +
" PE.INST_ID=P.INST_ID AND\n" +
" PE.PERSON_ID=P.PERSON_ID\n" +
" LEFT JOIN HR_EMPLOYEE_DEDUCTIONS_AND_BENEFITS_HISTORY DBH ON\n" +
" PTH.INST_ID=DBH.INST_ID AND\n" +
" PTH.CHECK_DATE=DBH.CHECK_DATE AND\n" +
" PTH.CHECK_NO=DBH.CHECK_NO AND\n" +
" PTH.EMPLOYEE_ID=DBH.EMPLOYEE_ID\n" +
" LEFT JOIN HR_DEDUCTION_AND_BENEFITS DB ON\n" +
" DB.INST_ID=DBH.INST_ID AND\n" +
" DB.HR_DEDUCTION_AND_BENEFITS_CODE=DBH.HR_DEDUCTION_AND_BENEFITS_CODE\n" +
" LEFT JOIN BATCH_QUEUE BQ ON\n" +
" PTH.BATCH_QUEUE_ID=BQ.BATCH_QUEUE_ID\n" +
" LEFT JOIN BATCH B ON\n" +
" B.BATCH_CODE=BQ.BATCH_CODE\n" +
" LEFT JOIN BATCH_PARAMETER BP ON\n" +
" BQ.BATCH_QUEUE_ID=BP.BATCH_QUEUE_ID\n" +
" AND BP.COLUMN_NAME = 'SUPPRESS_DIRECT_DEPOSIT'\n" +
" WHERE PTH.CHECK_DATE >='{0}'\n" +
" AND PTH.CHECK_DATE <='{1}'\n" +
" and BQ.BATCH_CODE='BAT_PY_PAYCALC'\n" +
" and bq.fy=2014\n" +
" ORDER BY PTH.INST_ID\n" +
",PTH.EMPLOYEE_ID\n" +
",DBH.HR_DEDUCTION_AND_BENEFITS_CODE\n" +
",DBH.CHECK_DATE", startDateStr, endDateStr);
SqlDataAdapter adapter = new SqlDataAdapter(SQL, connStr);
DataTable dt = new DataTable();
adapter.Fill(dt);
jdweng
Could you elaborate more on what this code does in general?
Does it generate a table with the data between specified dates? If so, where is the table shown?
Where does one enter in the specified start and end dates on the Web Application? Do I have to create start and end date blanks and link them to the code for it to work?
Sorry for the inconvenience - I'm just really new at this. Thanks! -
Bex Query: Too many table names in the query The maximum allowable is 256
Hi Experts,
I need your help, Im working on a Query using a multiprovider of 2 datastores, I need to work with cells to assign specific acconts values to specific rows and columns, so I was creating a Structure with elements from a Hierarchy, but I get this error when I'm half way of the structure:
"Too many table names in the query. The maximum allowable is 256.Incorrect syntax near ')'.Incorrect syntax near 'O1'."
Any idea what is happening? is ti possible to fix it? do I need to ask for a modification of my Infoproviders? Some one told me is possible to combine 2 querys, is it true?
Thanks a lot for your time and pacience.Hi,
The maximum allowable limit is 256 holds true. It is the max no. of characteristics and key figures that can be used in the column side. While creating a structure, you create key figures (restricted or calculated) and formulas etc.. The objects that you use to create these should not be more than 256.
http://help.sap.com/saphelp_nw70/helpdata/EN/4d/e2bebb41da1d42917100471b364efa/frameset.htm
Not sure if combination of 2 query's is possible. You can use RRI. Or have a woorkbook with 2 queries.
Hope it helps. -
Reasons why a query timeout would fail to cancel the query
Let's say I am running an SQL query via JDBC and then I hit the query timeout I had set on the session. 9 times out of 10 Oracle complies and I get hit with a ORA-01013 user canceled query, as I would expect. But sometimes, it seems the database just doesn't abide by my request. Is that possible? I know it's a "request", so is it truly a request and not a demand? :) Can the database choose to not obey the request or could it be in some state where it cannot comply even if it wanted to?
Oracle Enterprise Edition 10.2.0.3.0. The application is my application, a Java application that uses Hibernate sessions to communicate with the database in read only mode. I have a query timeout set on the Query object for a particular query. On my instance (Oracle 11g) i never see the occurrence. Oracle always cancels the query with an ORA-01013 right at exactly the 3 minute timeout. On their Oracle 10 instance, we see examples of the query surviving the cancel request and running as long as 10 minutes.
-
Function module to create query view from technical name of the query ?
Hi Experts,
I am trying to create webservice definition using function module.
In this code, I am calling function module 'RSCRMBW_REPORT' which requires query view name ( we can see this in RSCRM_BAPI) as a value for parameter i_reportuid.
For the time being I am hardcoding the value but I need to use a function module which will convert techincal name of query into query view.
Can anyone have any idea about the above requirement? Or is there any other way to solve the problem?
Thanks in advance
Shamkant
Edited by: SHAMKANT SONAWANE on Apr 7, 2009 5:38 AMHi,
You can use FMs CONVERSION_EXIT_GENID_INPUT and CONVERSION_EXIT_GENID_OUTPUT to get query view.
First call FM CONVERSION_EXIT_GENID_INPUT with parameter input as query technical name then it will return Output in the form of GENID .
Pass this GENID as input parameter to FM CONVERSION_EXIT_GENID_OUTPUT to get query view as output.
Eg :
Test for function group RRI5
Function module CONVERSION_EXIT_GENID_INPUT
Uppercase/Lowercase
Runtime: 6,652 Microseconds
Import parameters Value
INPUT Y0IC_C03_Q0018_2
Export parameters Value
OUTPUT 4D1I916ID7TWS1CK27154WYZ8
Test for function group RRI5
Function module CONVERSION_EXIT_GENID_OUTPUT
Uppercase/Lowercase
Runtime: 2,818 Microseconds
Import parameters Value
INPUT 4D1I916ID7TWS1CK27154WYZ8
Export parameters Value
OUTPUT 0IC_C03/Y0IC_C03_Q0018_2
0IC_C03/Y0IC_C03_Q0018_2 is expected query view.
Hope it helps...
regards,
Raju -
Set up a link in Query Designer
How expert,
i would like to set up a link in Query Designer so that by running the query in Bex Analyzer the user can see the link and connect to it directly.
Any idea?
Thank you in Advance for your Input.
CheersHi,
in rsbbs you define your query as sender object. Then you create jump targets in there. You will get a list of possible target types such as r/3 transactions, other queries and also web sites.....
Select the appropriate type and enter the value for it. These targets will be available by right clicking on the query result using the option 'jump to' or 'goto'.
Siggi -
What are the error messages that turns up while working query designer?
hi all,
Can anyone list me out what are the erros turns up while working on query designer. and how to debug it.
Can any one send me docs to my email id [email protected]
thanxs in advance
regds
hariHi Hari,
Error for example:
-. The BW server has deactivated this version of the query designer
-. This version of the query designer is not supported by the BI server
-. Activex component in business explorer selector
regards
@jay -
The BI report created by Query designer does not display all columns
Dear Experts,
I have created a BI report using the Query Designer.
When I execute the query, only 6 columns have been displayed.
The total columns are 12. I need to display all 12 columns at the first instance.
Could any one help me to resolve this problem?
Thank you very much!
ArthurHi Athul,
Thanks for your reply.
There is not marked for '.Supress Zero' in the Rows and Columns.
And I did not check for 'Hide repeated values' in the Display tab.
Any other place you could suggest to verify?
Thanks
Arthur -
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 -
BEx: In Query Design I can't EXPAND Dim to select Char (missing + sign)
Hi,
I am in BI 7, but created some queries in RRMX i.e. the 3.x query designer.
I went back to create a new query and I see my InfoArea but no means to expand it to select a cube, missing + sign and I can't expand the InfoArea.
When I managed to open one of the old queries, in the query design, I see my design but all the Dimensions are missing the + sign and I can't expand them to select characteristics;
In the same token, I can't expand the KEY Figure tree to select key figures, etc.
Any help?Hello Amanda,
1) a There is no such rule as when to use query designer or analyzer. Essentially creating a query is done in query designer only. The only thing when using analyser to open query designer is that you can directly go to that query and change it and run the same in the analyser(Excel). To change a query when you directly go to query designer, you need to open the query manually using the "open query" button and you cant execute the report in excel from there(only web). As you can see there is no real difference, in my personal experience using query designer and then running the query on the web is much faster than using the analyser. Also excel has a limit of 65536 rows after which you cant really display the result. There is no such limit in the web analyser.
b) Report designer is just for creating reports that look good when they are printed basically. You can refer the following link for more info.[http://help.sap.com/saphelp_nw70/helpdata/en/43/5fc0680a876b7de10000000a422035/frameset.htm]
2) There may be a problem with maybe the patch level or something. No real idea why this is occuring. You can definitely open the report in excel using the BI7 analyser. Programs -> Business explorer ->Analyzer.
Regards. -
Query Designer on Netweaver 2004s ABAP Sneak Preview
Hello Folks,
I have installed the ABAP sneakpreview, and have activated the BW on client 001.
Most things work well, but i am having problems with starting the Query Designer. I logon to the query designer, but nothing starts up.
In SM50 i see a lot of frontend objects being activated, but after this i do not see the Query Designer coming up. Does anyone have a clue.
Thanks & Best Regards,
Dabre
Message was edited by: DabreHi Dabre,
To work with BI 7 Query designer you have to downlaod latest patches of SAPGUI. Also you need to have MS OFFICE 2003 and .NEt framework installed.
Also check the blog to active your Bex settings in BI 7.
/people/prakash.darji/blog/2006/07/26/troubleshoot-the-sap-netweaver-2004s-bi-frontend-installation
Cheers
Praveen -
Unable to run query from BEx query designer
Hello,
I am connecting remotely to clients environment. I am not able to run query from Bex query designer. System generates IE window with URL
http://server.com:50300/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=ZCOPCM02_Q017&VARIABLE_SCREEN=X&DUMMY=9
but query result isnt shown.
Internet Explorer cannot display the webpage.
What kind of setting do I need to change to get query working?
thanksHi Comandante,
If you are not able to Execute the Query using Query designer, you can also execute the query using RRMX or RSRT transaction for now until the issue with the query designer is solved ..
Hope it helps!
Regards,
Pavan
Maybe you are looking for
-
All, I have the following code While executing system is pointing to sy-tabix, but the data I am getting in the READ statement is from last record in the internal table report z_9699_30. tables : eket. types : begin of ty_eket. include struc
-
Error while checking and executing a report
Hello, I am executing a report made on a multiprovider, on checking the query gives an error (BRAIN 299) 'System error in program CL_RSR_LFMM & form GET_CHANM-01-' What could be the problem?
-
Issue in Iviews creation in portal
Hi, I am working on Portal 7.01 SP3.I am facing problem in creating iviews. When I want to create new iviews I go to "Content Administration" > Select appropriate folder under PCD > Right-click, select "New" > "iView" > Here I get the option to
-
Adobe Connecting Recordings, audio out of sync or missing
Over 30% of our recordings have issues. Either the audio/video/power points are out of sync and/or the audio will be missing and the video is frozen. With the upgrade to Ver8 our live events are 95% successful, we don't see audio/video issues durin
-
When I clicked Refreshed button or pressed F5 Button.Page Refresh is not happening in xhtml.Instead it call the same action method. can u provide me the solution for page refresh in xhtml Edited by: 814412 on 22-Nov-2010 05:41