How to force Cartesian Product for unlineked (DBF) tables
Hello
We have been using CR8.5 for many years and we are just about to perform major upgrade to CR2011. I have, howverm found one strange behavior.
Many of our reports are implemented in following way:
MainTable.DBF (contains reported rows)
ParamTable.DBF (contains one row with some general parameters)
There is no data "link" between these tables but t makes sense to expect that every record from main table will see record from param table.
in CR 8.5 Cartesian product of MainTable X ParamTable was ALWAYS available ad therefore we were able to (for example) hide the details & show only group totals, or display some header information (this can be also done by sub-report).
in CR2011, however, this seems not to be the case anymore. Namely:
any old report that I open in CR2011 has param line available only for the very first record and I was not able to find a way how to change it
if I recreate the report from the scratch, sometimes Cartesian product is "provided" and sometimes not - I really do not know the reason for the decision.
[I have one very ugly workaround: link these two tables with != (not equal operation) between two unrelated fields that can never be the same]
Is there any "solution" to this cause as it blocks us from upgrading to the latest version?
Kind Regards,
Martin Fontan
Hi Martin,
Long story so here's the short one. As of CR 9 we completely redeveloped our database drivers and query engine. We removed all of the "hack" work arounds in our code for DB clients did not follow the rules, this forces the DB makers to fix the client engine and follow ANSII 92 standards. You also can no longer edit the SQL statement.
We have also never supported unlinked tables, CR is a Relational database reporting tool. Us a subreport if you must use an unlinked table, or as you have discovered using a != type.
Other work around is to use a Command, it' sin the Database wizard, write your own SQL, we simply pass it to the client. There is no option directly to set location from a Table to a SQL Command but search here, Brian Dong found a way around this limitation using a CR Wizard.
Thanks
Don
Similar Messages
-
How to force english language for VC BI Iview
Hi,
All developments in BI system are english so when users launch VC BI Iview from the portal what ever the logon language in the portal we would like that users get results in english.
In the VC iview, for parameter Forced Request Language we select value English but it doesn't work.
We don't find other iview parameter which allows to do that.
With BEX WEB template iview, we can do that by setting LANGUAGE=EN for parameter Application Parameters in the
iview.
Do you know how to force English language for VCBI Iview ?
Thanks in advance for your help.
MaiHello,
If you use Delta Links between your portal objects (role, workset, page, iview), make sure that the Forced Request Language is set to "English" on the linked iView (which is only accessible from the page, from the workset, from the role...)
Regards
Arnaud -
How to create transaction code for a Z-table
How to create transaction code for a Z-table?
Se93 --> then which radio button to be selected? and what is the program nam e to be givenHi Sam,
<b>Procedure to create a TCODE for ZTABLE:</b>
Create a table maintainance/View for the Z* Table.
Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
<u><i>Se93 --> then which radio button to be selected</i></u>
Select the parameter transaction as a radio button.
<u><i>what is the program nam e to be given</i></u>
no need to give any program name. Instead you have to give the transaction code name as SM30.
Pls mark the helpful answers.
Thanks
Eswar -
How to delete the line for 300SAP* in table USR02 in SQL Management studio
Hello
I used to delete the line for 300SAP* in table USR02 in SQL Enterprise Manager. After I could log on with pass.
I wander how to delete it in SQL Management studio. When I expand tdatabase it takes so long time and it is uncontrollableHello,
you have to delete the row by a sql statement.
Open a new query and run a script like this:
use <Your SID DB> -- e.g. use PRD
setuser 'your sid in lowercase' --- e.g. setuser 'prd'
delete from USR02 where MANDT = '300' and BNAME = 'sap*'
go
Run a complete backup before deleting data manually.
Regards
Clas -
How to create editable tablecells for a single table row dynamically?
Hi
How to make the cell of a tablerow editable based on flag in backing list object bound to row? I can't decide the editable property while creating table columns. So i can't use setCellFactory() during creation. However setCellFactory() makes all cells in table column editable.How to make non-editable table row cell editable and vice-versa based on flag?hi
good
if you want to create two different view for a same table than you cant give the same name for the same view,otherwise it would allow you to create the view.Try out with different view name as well as the function group name,i hope this ll work.
thanks
mrutyun^ -
How to set dbms_stats parameters for a single table
Hi,
I see that dbms_stats has the following procedure:
PROCEDURE SET_PARAM
Argument Name Type In/Out Default?
PNAME VARCHAR2 IN
PVAL VARCHAR2 IN
Is there a way to change the parameters only for a single table?
I need to set METHOD_OPT=>'FOR ALL COLUMNS SIZE 1' only for a specific table...I'm sorry, mate. It looks like setting individual table preferences was introduced in 11g (and doesn't seem to work all that well).
You can still:
1. Explicitly specify any of the supported parameters by using DBMS_STATS.GATHER_TABLE_STATS() for the individual table and run it along.
2. Write a PL/SQL wrapper for let's say DBMS_STATS.GATHER_SCHEMA_STATS/GATHER_DTABASE_STATS that would gather the stats for the whole schema but ignore this particular table. Then gather the stats for the table with the METHOD_OPT parameter of your choice that could be different from the one used for the rest of the schema.
This could be achieved by locking particular table stats with DBMS_STATS.LOCK_TABLE_STATS, running GATHER_SCHEMA_STATS with force=>FALSE (which is the default). That parameter will make the procedure ignore any tables with locked stats. As the last step of the wrapper you can execute DBMS_STATS.GATHER_TABLE_STATS for the table in question with the desired METHOD_OPT and force=>TRUE.
It's a little more work, but may solve your problem.
Max
Edited by: Max Seleznev on Nov 28, 2012 6:21 PM
Edited by: Max Seleznev on Nov 28, 2012 6:22 PM -
How to create object class for a z table
Hi All,
I have a z table and I want to register the changes of fields should be logged to CDHDR and CDPOS table.
Is this possible?
If yes how can I creat an object class for a z table. I have already checked the change document option in z data element.
Please help.
Regards,
Jeetu
Moderator message: standard functionality, please search for available information/documentation before asking.
locked by: Thomas Zloch on Oct 6, 2010 6:16 PMTcode SCDO. You'll need to create a change document for you Z table and then use the FM created to record the changed data.
-
How to write a procedure for update the table
Hi all
can any body please tell me how to write a procedure to update the table......
I have a table with about 10,000 records...........Now I have add a new column and I want to add values for that like
registration Code Creidits
13213 BBA
1232 MCS
I had add the creidit now i want to update the table.........the new value want to get by SQL like
Creidit = select creidit from othere_table...........
Hope u can understand my problem
Thanks in advance
Regards
Shayan
[email protected]Please try the following --
update Program_reg a
set TotalCreidit = ( select tot_cr <Accroding to your logic>
from Program_reg b
where a.Registration = b.Registration
and a.Enrollment = b.Enrollment
and a.code = b.code
where a.Registration in ( select distinct Registration
from Program_reg );
N.B.: Not Tested....
Regards.
Satyaki De. -
How to Create Authorization Group for SAP Standard Tables
All,
I have 10 standard tables which are required to maintain by the user in Production environment.
Is there any way to create a custom auth group for the standard table?
Is it possible to assign same table in two different auth groups?
Please advice
Thanks,
KoteshMultiple tables can be linked to an auth group, but one table can be linked to only one auth group.
You cannot link one table to more than one auth group.
It is always advised to try to find an existing auth group having tables of same functinality and criticality, before creating a new auth group.
In case you don't have any such auth group, I feel you can create a Z auth group using se16->tbrg.
You can also create auth group using tcode se54. -
How to find the Datasources for the given table names ?
Hi All,
I have an urgent requirement where I ned to find the names of BW Datasources, created for the given table names.
Both the tables and Datasources are in BW system only. I can see the table in SE11 but I am unable to find its associated Datasources in the 'Where Used List'.
Is there any method ?
Will assign points to satisfactory answers.
Regards,
SrinivasHi,
Check this thread on how to find the DS.
I have the field name, please help me find the data source.
Once you identify your DS you find which all Data targets are fed by trying to see the " Show data flow" in RSA1 for this data source.
Hope this helps.
Thanks,
JituK
Edited by: Jitu Krishna on Apr 30, 2008 11:52 AM -
How to make select-option for one inner table
Hi,
Who can teach me to make select-option for a inner table, which let select-option display data from this inner table.
Thanks in advance.Is this what you are looking for?
report zrich_0002.
data: begin of itab occurs 0,
matnr type mara-matnr,
spras type makt-spras,
maktx type makt-maktx,
end of itab.
select-options: s_matnr for itab-matnr.
select-options: s_spras for itab-spras.
start-of-selection.
select mara~matnr makt~spras makt~maktx
into corresponding fields of table itab
from mara
inner join makt
on mara~matnr = makt~matnr
where mara~matnr in s_matnr
and makt~spras in s_spras.
check sy-subrc = 0.
Regards,
Rich Heilman -
How to force a "push" for contacts sync?
In Settings, I use my MobileMe account ONLY for contacts, calendars, and bookmarks, not for e-mail.
I have Fetch New Data set to Push, then Push set to Manually, then in Advanced, my e-mail accounts are set to Fetch (i.e. it'll update my mail only when I launch the Mail app) and my MobileMe account set to Push (i.e. I'd like them to be pushed to the phone).
However, no contacts seem to get pushed to the phone. It's confusing as to how I'm supposed to initiate a manual push. Launching Contacts doesn't update the contacts.
I don't particularly want to set Push to every 15 or 30 minutes, because I don't want to drain battery life. I'd be happy if it sync'ed once a day, but right now it's not syncing at all.
Can someone help me understand how "push" and "manually" work (since there is no "force push right now" button anywhere) and how I can keep my contacts on my iPhone updated regularly automatically?
Should I set MobileMe to Fetch? So that, as in when I launch Mail it updates the mail, when I launch Contacts it will update the Contacts? That would be good enough for me.
(Also, this entire post is about downloading contacts from MobileMe, but I'd also like to make sure the reverse works too -- that if I add a contact or calendar date to my iPhone, it gets synced with MobileMe and later appears on my desktop machine.)Huh. Mine it does happen automatically, both ways.
On the phone, Settings, Mail, Mobile Me account--do you have to set to sync contacts, calendar and bookmarks? Those can be turned off individually (this is in the account detail itself, not under the Fetch/Push setting screen.)
On the computer, System Preferences, Mobile Me, do you have it set to sync automatically?
When I see things not syncing, I generally force a sync from the computer, figuring that triggers the server and so on down the line to the phone. -
How can you block production for a specific product in SNP planning book
Hi All,
Looking for a way to manually indicate a decision to prevent production in a specific cell for a product in the SNP planning book utilizing the supply planning and capacity leveling heuristics. For this requirement the resource would have available capacity during that time period. It also could plan other products in that time period. The requirement is for a planner to manually go into the planning book to somehow indicate that the heuristic should not consider that time period as available for a specific product, while still leaving the resource available for other products.
Has anyone run into this before? Any experience on how to stop a heurisitc from considering a specific time bucket for a specific product as available for orders?
Thanks
-MikeHello Mike,
I haven't tried it yet myself but I kow that there is the option in the Planning Book to manually fix several periods for a specific location product. This will prevent the heuristic from planning these periods for the specified product. For details please have a look in the Online Help for SNP under key word "Order Fixing".
regards
Christian -
How to force RPC-HTTP for RD Gateway?
Our company hosts an application through VMs in Azure and RemoteApp. We encountered an issue where the RemoteApp session would time out after some period of inactivity, which is apparently related to how Azure handles the connections. Microsoft support provided
a workaround by setting HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\RDGClientTransport to 1 on client machines which forces them to connect to the RD Gateway using RPC-HTTP instead of HTTP or UDP. This works great on Windows machines, but clients
who wish to connect using an Apple computer still have the timeout issue. Is there any way to force this setting on the OS X Remote Desktop client? Even better would be some way to fix this on the server side to we wouldn't have to bother with changing settings
on client machines.
Thanks in advance,
AlexUpdate:
Somehow, rpc.nisd_resolv eventually spawns on the Solaris 8 master server as well, not just on the Solaris 10 slaves.
I've confirmed several times that none of the ypserv daemons run with -d, and that YP_INTERDOMAIN is not present in the hosts map.
Anyone know of a way to make rpc.nisd_resolv go away for good? One workaround is to rename /usr/sbin/rpc.nisd_resolv, so ypserv can't exec it. But I would rather use a non-kludgy method, if possible. -
How to take Cartesian product on logical subsets of rows in SELECT query?
Hi All,
I have the following data in seg_tab table.
Seg_no
Seg_value
1
01
2
001
2
002
3
100040
3
100041
3
100042
3
100043
Expected result, which is produced by joining the logical subsets (by seg_no) in rows. The segments can vary, for simplicity it is 3 but it can grow upto any level.
Codes
01.001.100040
01.001.100041
01.001.100042
01.001.100043
01.002.100040
01.002.100041
01.002.100042
01.002.100043
The SQL statements required to create tables and populate it with the data is given below:
CREATE TABLE seg_tab (seg_no NUMBER, seg_value VARCHAR2(10));
--1st Subset
INSERT INTO seg_tab VALUES (1,'01');
--2nd Subset
INSERT INTO seg_tab VALUES (2,'001');
INSERT INTO seg_tab VALUES (2,'002');
--3rd Subset
INSERT INTO seg_tab VALUES (3,'100040');
INSERT INTO seg_tab VALUES (3,'100041');
INSERT INTO seg_tab VALUES (3,'100042');
INSERT INTO seg_tab VALUES (3,'100043');
Any help on guiding how to write the SQL statement will be highly appreciated.
Many Thanks
Kind Regards,
BilalAnother way
with
seg_tab as
(select 1 seg_no,'01' seg_value from dual union all
select 2,'001' from dual union all
select 2,'002' from dual union all
select 3,'100040' from dual union all
select 3,'100041' from dual union all
select 3,'100042' from dual union all
select 3,'100043' from dual
concatenator(seg,codes) as
(select seg_no,seg_value
from seg_tab
where seg_no = 1
union all
select s.seg_no,c.codes || '.' || s.seg_value
from concatenator c,
seg_tab s
where s.seg_no = c.seg + 1
select codes
from concatenator
where seg = (select max(seg_no) from seg_tab)
order by codes
CODES
01.001.100040
01.001.100041
01.001.100042
01.001.100043
01.002.100040
01.002.100041
01.002.100042
01.002.100043
Regards
Etbin
Maybe you are looking for
-
How do I move photos from a collection to a flash drive?
How do I move photos from a collection to a flash drive? I want them in the same order and edited the same as they are in the collection.
-
X11 and X11 applications won't start
I seem to be having a problem getting the X11 application, which I installed from the 'optional installs' package on the OS X installation DVD, working. I originally posted this elsewhere, but was advised to post it here, where people familiar with X
-
We are considering migrating our Forms based applications to Oracle Apex. Does Apex offer all the capabilities that Oracle Forms offers ? What are the gotchas ?
-
I need a lot of green..
I need to create a topo plan, and need a green pallette, with gradual tone changes, from light to dark. Whats the easiest way to get this. Tryed making my own (miss out a lot of tones, so creates jumps in colour). I would like to be able to load a ne
-
Sorry wrong forum... Hi, checking with suim I found out in wich program is used one specific auth. object. Is there some table where I can find this information Programs->Auth. Objects? Thanks. FedeX Edited by: FedeX on Nov 4, 2008 4:35 PM