Matrix Report with variable@incontext not working
I had built a matrix report, using variable@incontext. I'm having a problem with my cell data. It seems that it is always using the value from the first record in the column instead of the actual value.
ie in the example below, the data should make it come out like:
Staff____01____02____03______
Bob_____Bob_________Bob
John____John__John___John
Joe_____Joe___Joe____Joe
but it's coming out like this (the data for John is wrong in column1 and 3 and the data for Joe is wrong in all columns) :
Staff____01____02____03______
Bob_____Bob_________Bob
John____Bob___John___Bob
Joe_____Bob___John___Bob
Staff Column(Down):
<?for-each-group:ROWSET2_ROW;./STAFF_NAME?><?variable@incontext:STAFF;STAFF_NAME?>
<?STAFF_NAME?>
Number Column (Across)
<?for-each-group@cell://ROWSET2_ROW;PERIOD?>
<?sort:current-group()/PERIOD;'ascending';data-type='text'?>
<?if:count(current-group()[STAFF_NAME=$STAFF])?><?STAFF_NAME?><?end if?>
<?end for-each-group?>
<?end for-each-group?>
It looks like the value for '$STAFF' and ?STAFF_NAME are not right when there was data in a previous column.
Can anybody Help me?
Hi,
Can you please help me to solve the problem.
Thanks in Advance
Adina.
Similar Messages
-
Variable@incontext not working
Hi,
i am doing one matrix report in xml, i used "variable@incontext" to get data in proper.
If i have data between the dates given then its fine, if data not exists then the months coming at last of report.
for ex. if have data from 1995 jun , if i ran the report for jun 1995 to ... then fine.
if i ran it for JAN - 1995 to ... then JAN -1995 to MAY -1995 months coming at last.
my requirement is if there is no data exist also i need the months from given date.
please help me to solve the issue.
Thanks in Advance
AdinaThanks you very much for your suggestion, oracle people suggested Patch.Thanks for the update. It would be great if you could share the Patch number with us.
Thanks,
Hussein -
Flex Time with variable tempo not working correctly.
Hey,
Has anyone else noticed that Flex Time doesn't work as intended if you have variable tempo?
To clarify, I recorded a band playing their song and then figured out their various natural tempo changes and adjusted the Global Tempo Track accordingly.
Then, the drummer recorded his part to a click on that track, obviously keeping with the natural tempo changes that the band played to.
Quantization of MIDI works just fine, as in, it matches the increases and decreases in tempo.
However, attempting to quantize an audio track using Flex Time does not work properly.
I was just wondering if there is something that I'm doing wrong or if this is a known bug.
Thanks,
WilliamThank you for your answers!
But there are several Problems using a dummy field in an IDOC structure. We have got a naming convension so that we can't create an IDOC-like structure named ORDRSP.ORDERS05.
But perhaps I am thinking to complex and there is an easier way to add a dummy field to an IDOC structure.
Could you perhaps also suggest a solution for that dummy field problem?
Many thanks and kind regards,
Steven -
Security filter with variable does not work correctly
Helo,
I have one table with this columns (called BI_USERS):
USERBI | REGIONS
XXXX 10,5 -> In this case the user XXX can access the region 10 and 5
AAA 9,7
I use this table to apply the security filters. Fisrt I did a initialization block with the select: SELECT USERBI, REGIONS FROM BI_USERS WHERE USER = :USER
This select populate two variables: variable USER (system variable) and UserRegion (Non-system variable)
After I use the UserRegion variable in the securty filter of the one group of users. For exemple:
Name | Status | Business Model Filter
"Claro"."Historico Saldo Pre-Pago" Enabled "Claro"."Historico Saldo Pre-Pago"."DW_UN_NEG" In(VALUEOF(NQ_SESSION.*UserRegional)* )
But the issue is that the query is not working, because the query created for BIServer no use the IN operator. Seems the IN operator is changed for equal (=).
And the query returs error because the value 10,5 (for example) is not a numeric value.
Anybody could help me, please? I am using the version 10.1.3
Mauricio|||\/||| wrote:
Helo,
I have one table with this columns (called BI_USERS):
USERBI | REGIONS
XXXX 10,5 -> In this case the user XXX can access the region 10 and 5
AAA 9,7
I use this table to apply the security filters. Fisrt I did a initialization block with the select: SELECT USERBI, REGIONS FROM BI_USERS WHERE USER = :USER
This select populate two variables: variable USER (system variable) and UserRegion (Non-system variable)
After I use the UserRegion variable in the securty filter of the one group of users. For exemple:
Name | Status | Business Model Filter
"Claro"."Historico Saldo Pre-Pago" Enabled "Claro"."Historico Saldo Pre-Pago"."DW_UN_NEG" In(VALUEOF(NQ_SESSION.*UserRegional)* )
But the issue is that the query is not working, because the query created for BIServer no use the IN operator. Seems the IN operator is changed for equal (=).
And the query returs error because the value 10,5 (for example) is not a numeric value.
Anybody could help me, please? I am using the version 10.1.3
MauricioHi Mauricio,
First of all you have some syntax errors with your init block:
select USERBI, REGIONS from BI_USERS WHERE upper(USER)=upper(':USER');
Couple things to consider here:
1) Why are you selecting Userbi column from the table? Is USER system session variable not getting populated through other souces like LDAP or default security?
Ans: If your user session variable is getting populated from a different init block, then you dont need to select that column. Then your init block would look something like this:
select 'USERREGIONAL', REGIONS from BI_USERS WHERE upper(USER)=upper(':USER'); - Data Source
Row Wise Initialization - Data Target
Initblock that is populating the user session variable as the order of precedence.
2) If you dont have USER session variable populating from any other source, then your init block would look something like below:
select 'USER', USERBI, "USERREGIONAL', REGIONS from BI_USERS; - Data source
Row Wise Initialization - Data target
After following one of the above two steps, you need to apply the filters on the table.
"Claro"."Historico Saldo Pre-Pago"."DW_UN_NEG" IN(VALUEOF(NQ_SESSION.USERREGIONAL))
Note: Make sure you understand that variables are case sensitive.
Please award points as this is correct answer.
Thanks,
-Amith.
Edited by: Amith on May 10, 2011 3:18 PM -
Refresh Query with variable is not working
I have issue with my query.
0customer -Property (key and text) and Selection parameter
When I place 0customer in the filter area and save the query execute the query and refresh the query I am able to change the customer number parameter values.
Variable has option Can be changed during query execution. Filter value is also not displaying in the report
When I move 0customer in the Row area and save the query -first time it is displaying the selection parameter values and when you hit refresh it will refresh the same query .but it is not populating the selection parameter .
advance thxYou can display values& texts for variables using menu button where you can display the text elements.
Regards
Pradip -
Variable Text not working as dynamic header in Crystal report
Dear Experts,
I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
i already set in Database -> options-> table and fields -> Show Both, but the text variable still not working.
can you help me
Crystal Reports 2008 12.2.0.290
SAP Integration KIT 12.1.0.890
Thanks
LuqmanPost your question BEX and B1 and classic SAP data source issues to the Integration Kit forum
-
Report generation toolkit does not work
Hello,
The report generation toolkit does not work.
It seems to point to the 'Generate Report Data Members.ctl'.
I suppose it has something to do with the wrong set of active X-controls ?
I work with Win 2000 and Office XP
How can i solve this problem ?
Thanks in advance !
Regards
ChristineHello Julien,
Sorry for the late answer
I become a broken arrow, when openening the example Sample Report (Excel).vi
Searching further for the cause of the error it brings me to the sub vi tables.
Print screens in attachment
Regards
Christine
Attachments:
error Ni Reports.doc 67 KB -
12002 The Reporting Web Service is not working.
Hi :)
I have WSUS on Windows Server 2012 std. with Internal Database. Today I've installed 7 updates from patch tuesday and after restart I've got
error 12002 The Reporting Web Service is not working
I can see now that updatet clients can not report their status anymore :(
What's up ? Any suggestion ?
Best regards
NenadHi,
I would start by verifying that the /ReportingWebService resource is properly configured in IIS.
Correct configurations can be found in the WSUS Technical Reference Guide: IIS
Settings for WSUS 3.0 SP2 Web Services.
Also,Under ReportingWebService
Made sure all were set to disabled except for Anonymous Authentication
Anonymous Authentication Enabled
ASP .NET Impersonation Disabled
Basic Authentication Disabled
Forms Authentication Disabled
Windows Authentication Disabled
Regards,
Clarence
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
SELECT INTO ( variable ) STATEMENTS NOT WORKING FOR SYBASE TABLE AS VIEW
Dear Experts,
We have connected our 9i db with Sybase db using Hs connectivity.
and then we have create the view in oracle db for SYBASE_TABLE as SYBASE_TABLE_VIEW.
ALL THE INSERT, UPDATE AND DELETE COMMANDS ARE WORKING BUT THE
select Into (variable) is not working.
Please help to resolve the select into statment which is in BOLD in the below routine
PLEASE NOTE! FORM WAS COMPILED SUCCESSFULLY AND FORM IS RUNNING BUT SELECT INTO COMMAND IS NOT WORKING.
Thanks & Regards
Eidy
PROCEDURE SRBL_INSERT IS
CURSOR SRBL IS
SELECT impno,impcod,impnam
from oracle_table1 a, oracle_table2 b
WHERE a.impcod=b.empcod
v_srpcod varchar2(5);
BEGIN
FOR rec in SRBL loop
begin
select "im_code" into v_impcod
from SYBASE_TABLE_VIEW
where "im_code"=rec.impcod;
exception when no_data_found then
v_srpcod:=null;
end;
END LOOP;
END;
Edited by: Eidy on Aug 16, 2010 11:28 AMhellow
try this.
select "im_code" into v_impcod
from SYBASE_TABLE_VIEW
where "im_code"=rec.impcod;
v_srpcod := v_impcod ;
........ -
Matrix report with group.
dear all,
can anyone guide me how to build a matrix report with group using scott schema.
i can not be able to build a query.
Thanks
Muhammad NadeemThe example given by Oracle (from the above link) using the following SQL for a matrix report is flawed.
SELECT DEPTNO, JOB, SUM(SAL)
FROM EMP
GROUP BY DEPTNO, JOB
ORDER BY DEPTNO, JOB
The SUM function handled by the query restricts you from doing so many things - especially when you want the empty fields to be filled by 0 (by using the Value if Null property).
If the query is changed to ''SELECT DEPTNO, JOB, SAL FROM EMP' , and use the SUM function in the wizard to build the Matrix cell, then the 'Value if Null' property can be used without any issues.
This also makes Section 25.6 (Add zeroes in place of blanks) of the documentation a joke.
Anyway, that's my cents worth.... -
iPod nano 6th generation, syncing with audiobooks does not work now, had been working. Sync test says: No iPod touch, iPhone, or iPad found. Connectivity test OK, no physical problems, iTunes shows the iPod. Any clues what to do?
Hmm.. Thank you for the response.
Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
B-rock -
Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .
Contentmom6 wrote:
Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store. Now try System Preferences > Displays > Detect Displays. You should now be able to select a display mode for the monitor. If it still doesn't work, then I'd check that everything is properly connected. I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
Bob -
FIND with MATCH OFFSET not working
Hi,
I have a statement:
FIND '/' IN <ls_data_package>-/bic/zbib_sysn MATCH OFFSET off2.
this works in all the case except for when <ls_data_package>-/bic/zbib_sysn = SSULTANA-VMC/.
(i.e. when /bic/zbib_sysn = USERID-VMC/, here SSULTANA is the user ID)
*In this case off2 = .
Value of sy-subrc is 0 after this statement is executed
Can some one please point out what I am doing wrong.
Thank you,
CD
Edited by: CSD . on Sep 26, 2008 9:53 PM>FIND with MATCH OFFSET not working
Most unlikely. More likely is that it isn't doing what you think it should be doing. Or you're using it incorrectly!
I can't really follow what your problem is. I assume you mean that you are getting off2 with value 0, when /bic/zbib_sysn contains USERID-VMC/
Can you be a little clearer in what the issue is?
DATA: off2 TYPE i.
FIND '/' IN 'this string /' MATCH OFFSET off2.
WRITE: / sy-subrc, off2.
This little program returns 0 and 12
matt -
Tree Matrix Report with double line heading
Hi,
I am very new to HTML-DB and HTML as well.
I need to create a matrix report with a tree functionality and with two line heading.
Basically This is what I need to generate
REGION1 REGION2 REGION3
COL1 COL2 TOTAL COL1 COL2 TOTAL COL1 COL2 TOTAL
===========================================================
CAT1+
Sub_CAT1
Sub_CAT2
CAT2+
Sub_SCAT3
Sub_SCAT4
Where CAT1 , CAT2 needs to be collapsible rows. SCAT1..SCAT4 are sub categories under main categories.
REGION1.... REGION3 are top level headings. And COL1,COL2 are sub headings under top level headings.
Thanks,
ShriPlease help me on this!
Thanks,
Shri -
Matrix report with two across groups
Hi all,
I am facing a problem in making a multi line matrix report.
actually I need to make a matrix report with two "across groups", but unable to get desired result.
if any body has any idea, please share with me.
regards
AtaNo,
you must have only 1 query which extracts all your data:
A,q1,10
A,q2,20
A,q3,30
B,q1,40
B,q3,50
C,q2,60
C,q3,70
Open report builder and create a new report from wizard.
Select the first option accordingly with your requirements and go next.
Type a name for your report in the title field then select "Matrix" as layout and go next.
Select SQL Query and go next.
Type your query.
Select the data you want on the rows (i.e. A, B, C...) and click on the ">" button in the Matrix Row Fields section, then go next.
Select the data you want on the columns (i.e. q1, q2, q3...) and click on the ">" button in the Matrix Column Fields section, then go next.
Select the data you want on the cells(i.e. 10,20,30...) and click on the "Sum >" button in the Matrix Cell Fields section, then go next.
Add some totals, if you need them.
Go next and finish.
Now you have a report with the following layout:
Q1 Q2 Q3 TOT
A 10 20 30 60
B 40 50 90
C 60 70 130
TOT 50 80 150 280Bye
Raffy
Maybe you are looking for
-
Using same iTunes account with 3 computers?
OK here's my situation... I currently have an iMac with lots of music, movies, and iPhone apps purchased from MY single iTunes account. Is there any way to share/transfer/move/copy from my iMac to either: 1. My MacBook Pro with the SAME iTunes accoun
-
Bootcamp and VMWare Fusion, possible problem with Bootcamp, cant see USB.
Hey, Would really appreciate your help. So I have MBP mid 2010 with the latest version of OSX Mountain Lion and decided to install Windows 7 on it. I gave it to the professional IT guy, who installed Windows 7 through the latest version of VMWare Fus
-
Reg: Fetching default value -
Hi Experts, Need some help in writing a query. Table 'Tab_2' has column 'c3' which checks for its value from 'tab_1' column 'c1' values, and accordingly fetches value from column 'c2'. But if a value from c3 is not present in tab_1 column 'c1', it sh
-
Trouble charging ipod on computer
my ipod is hooked up to a my computer and will only charge while the ipod is updating and then it stops charing. i can't seem to figure out how to charge it up on the computer.
-
Help!!! My Macbook wont turn on!!!
Hi, I just got Macbook yesterday, all working well. I dont know anything about Macs because this is my first machine... was using windows before. Well today, after going on it, I shut it down and went up but later tried turning it on... nothing happe