BI 7.0 : Refresh of only one Query with VBA in a MultiQueryWorkbook
Does anyone know how to refresh only one query with VBA in a Workbook with several queries on different sheets?
Hello together,
thanks for your replies.
In the backend EHP1 is installed and I think we don't need an extra update for the frontend. But in the VBA code of the frontend the code didn't changed.
Our BEX Analyzer Addin version is: 7100.4.1100.34
BEx Patch Level is: Support Package 11 Revision 1606
The VBA code is:
Public Function SAPBEXrefresh(allQueries As Boolean, Optional atCell As Range) As Integer
'In the 7.0 Analyzer, ALL the items in the workbook can be refreshed, but refreshing
'a query individually is not supported
On Error Resume Next
extErrorBegin ("3.x API SAPBEXRefresh called")
If allQueries = True Then
Common.MenuRefresh
SAPBEXrefresh = 0
Else
SAPBEXrefresh = 700
p_extErrorText = "With 7.0, this API is partly supported to refresh ALL items in the workbook, NOT an individual Query"
End If
extErrorEnd
End Function
As you can see a individually query with this VBA code is still not supported.
Does anyone know how to change this code or if we need a special update?
Daniel
Edited by: Marc Schlipphak on Jan 19, 2010 7:35 PM
Similar Messages
-
Had problem with DSL, now have only one tab with favicon matching that tab.
After a storm I had a problem with my U-Verse DSL. I lost access and got a message that it may be due to a problem with the filters on my phones, fax or satellite box. I disconnected all the items that had filters. I was then able to click on a link that AT&T had sent on the message and I got a response, I previously could not get a response because I had no connection. I got pack to the pages on all my tabs by hitting the back arrow on each one. I now have only one tab with favicon matching this WEB site for that tab, the rest all have the AT&T globe. I tried refresh and also opening a new tab and then going to one of the sites.
This problem is on a different PC that the one I am on now. It has version 21, and is Window 7 Home Premium. I have pasted the trouble shooting info from that PC.Hello,
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
Did this fix your problems? Please report back to us!
Thank you. -
Condition that takes only one row with the maximum cost of the maximum date
I have to the following query
SELECT distinct b.segment1 ||'.'|| b.segment2 as ITEM,
so.vendor_site_id as SUPPLIER,
'VE' as ORIGIN_COUNTRY_ID,
replace(round(l.mto_costo_neto/l.can_unidades_empaque,2),',','.') as UNIT_COST,
5 as lead_time,
null as pickup_lead_time,
l.can_unidades_empaque as supp_pack_size,
1 as inner_pack_size,
'C' as round_lvl,
50 as ROUND_TO_INNER_PCT,
50 as ROUND_TO_CASE_PCT,
50 as ROUND_TO_LAYER_PCT,
50 as ROUND_TO_PALLET_PCT,
null as MIN_ORDER_QTY,
null as MAX_ORDER_QTY,
'FLAT' as PACKING_METHOD,
'N' as PRIMARY_SUPP_IND,
'Y' as PRIMARY_COUNTRY_IND,
case when b.primary_unit_of_measure like '%KG%' then 'KG'
when b.primary_unit_of_measure like '%Kg%' then 'KG'
when b.primary_unit_of_measure like '%UND%' then 'EA'
when b.primary_unit_of_measure = 'Kilogramo' then 'KG'
when b.primary_unit_of_measure = 'Litro' then 'L'
when b.primary_unit_of_measure = 'Unidad' then 'EA'
else null
end as DEFAULT_UOP,
1 as TI,
1 as HI,
null as SUPP_HIER_TYPE_1,
null as SUPP_HIER_LVL_1,
null as SUPP_HIER_TYPE_2,
null as SUPP_HIER_LVL_2,
null as SUPP_HIER_TYPE_3,
null as SUPP_HIER_LVL_3,
null as CREATE_DATETIME,
null as LAST_UPDATE_DATETIME,
null as LAST_UPDATE_ID,
case when b.primary_unit_of_measure like '%KG%' then 'KG'
when b.primary_unit_of_measure like '%Kg%' then 'KG'
when b.primary_unit_of_measure like '%UND%' then 'EA'
when b.primary_unit_of_measure = 'Kilogramo' then 'KG'
when b.primary_unit_of_measure = 'Litro' then 'L'
when b.primary_unit_of_measure = 'Unidad' then 'EA'
else null
end as COST_UOM,
null as TOLERANCE_TYPE,
null as MAX_TOLERANCE,
null as MIN_TOLERANCE
FROM mrp.mrp_sr_assignments sr , MRP.MRP_SR_RECEIPT_ORG ro , MRP.MRP_SR_SOURCE_ORG so,
inv.mtl_system_items_b b, lcm.cmp_lineas_cotizacion l
WHERE sr.SOURCING_RULE_ID = ro.SOURCING_RULE_ID
and ro.SR_RECEIPT_ID = so.SR_RECEIPT_ID
and sr.inventory_item_id in ((select inventory_item_id from TMP.VIVERES_VEGETALES)
UNION ALL
(select inventory_item_id from TMP.GENERICOS)
UNION ALL
(select inventory_item_id from TMP.HIJOS_GENERICOS))
and sr.inventory_item_id = b.inventory_item_id
and b.organization_id = 136
and sr.inventory_item_id = l.cod_producto_idI need to agregate the following condition
For example, The following query
SELECT l2.fec_ini_vigencia_costo, l2.mto_costo_neto, l2.can_unidades_empaque, l2.cod_producto,
REPLACE(ROUND(l2.mto_costo_neto/l2.can_unidades_empaque,2),',','.') costo_unidad
from cmp_lineas_cotizacion l2
order by cod_producto, fec_ini_vigencia_costo desc, mto_costo_neto descgenerate
FEC_INI_VIGENCIA_COSTO MTO_COSTO_NETO CAN_UNIDADES_EMPAQUE COD_PRODUCTO COSTO_UNIDAD
17/06/2010 382.56 12 1.1000008 31.88 -- THIS ONE
17/06/2010 382.56 12 1.1000008 31.88
17/06/2010 371.0832 12 1.1000008 30.92
17/06/2010 371.0832 12 1.1000008 30.92
18/05/2009 382.56 12 1.1000008 31.88
04/05/2009 245.82 12 1.1000008 20.49
13/04/2009 382.56 12 1.1000008 31.88
23/03/2009 373.2072 12 1.1000008 31.1
23/03/2009 373.2072 12 1.1000008 31.1I need to take only one row with the maximum FEC_INI_VIGENCIA with the maximum COSTO_UNIDAD of the table lcm.cmp_lineas_cotizacion l, which is calculated with the formula ROUND(l2.mto_costo_neto/l2.can_unidades_empaque,2)A better example
I need only one row the maximum COSTO_UNIDAD for the maximum FEC_INI_VIGENCIA for every cod_producto_id in the table lcm.cmp_lineas_cotizacion
I need to take these values
FEC_INI_VIGENCIA_COSTO MTO_COSTO_NETO CAN_UNIDADES_EMPAQUE COD_PRODUCTO_ID COSTO_UNIDAD
17/06/2010 382.56 12 1.1000008 31.88 -- THIS!
17/06/2010 382.56 12 1.1000008 31.88
17/06/2010 371.0832 12 1.1000008 30.92
17/06/2010 371.0832 12 1.1000008 30.92
18/05/2009 382.56 12 1.1000008 31.88
04/05/2009 245.82 12 1.1000008 20.49
13/04/2009 382.56 12 1.1000008 31.88
17/06/2010 382.56 12 1.1000008 31.88
17/06/2010 382.56 12 1.1000008 31.88
17/06/2010 371.0832 12 1.1000008 30.92
17/06/2010 371.0832 12 1.1000008 30.92
18/05/2009 382.56 12 1.1000008 31.88
04/05/2009 245.82 12 1.1000008 20.49
13/04/2009 382.56 12 1.1000008 31.88
27/10/2010 1171.549344 12 1.1000009 97.63 -- THIS!
13/10/2010 1171.549344 12 1.1000009 97.63
06/09/2010 1171.549344 12 1.1000009 97.63
02/08/2010 1048.825056 12 1.1000009 87.4
28/07/2010 754.8 12 1.1000009 62.9
27/07/2010 614.04 12 1.1000009 51.17
21/06/2010 954.84 12 1.1000009 79.57
27/05/2010 614.04 12 1.1000009 51.17
07/07/2009 1143.17 12 1.1000010 95.26
28/03/2009 1143.17 12 1.1000010 95.26
27/10/2008 1744.644672 12 1.1000010 145.39
01/07/2008 1690.12224 12 1.1000010 140.84
07/07/2009 1143.17 12 1.1000010 95.26 --THIS!
28/03/2009 1143.17 12 1.1000010 95.26
27/10/2008 1744.644672 12 1.1000010 145.39
01/07/2008 1690.12224 12 1.1000010 140.84
07/07/2009 1143.17 12 1.1000010 95.26
28/03/2009 1143.17 12 1.1000010 95.26
27/10/2008 1744.644672 12 1.1000010 145.39
01/07/2008 1690.12224 12 1.1000010 140.84 -
I can see only one Printer with Apple Talk, but there are five ???
I have a problem on only one mac, with the Apple Talk. We have over 100 Macintosh and all the other machines see the five printers. But this one can only see "one" printer???
What is this? We change the switch port but nothing.
Can i delete any chaches oder preferences to clear the printers???
The problem Mac have 10.3.9Have you added the other printers to the problem mac?
If you have then my guess is that it is a network issue. How are the printers and macs networked? -
Is there a way to back up only one folder (with a lot of sub folders)
Then I recomend against using Time Machine.
I suggest you check out Carbon Copy Cloner instead.
Personally I see that as a false economy to not back up everything.
Allan -
EA2: Code is generated for only one column with Domain check constraint.
I created a Domain with a Value List (Y or N - Yes or No) and used that domain for two columns in the same table. But for only one column (the last one) the check appears in the generated DDL.
After I enabled the "Use Domain Constraints" both checks appear in the DDL, but one as an inline check constraint and one as an "Alter table add contraint.."
Once I changed the naming Template for the check constraint, both constraints are generated as an Alter table clause. The inline check constraint is only generated when the name of the constraint (according to the template) is too long. It would be nice if I could choose if I want an inline or a separate check constraint definition.
Edited by: Roel on Nov 23, 2010 11:55 AM
Edited by: Roel on Nov 23, 2010 12:02 PMI logged ER for that
Philip -
How to generate a delayed retriggerable pulse using only one counter with PXI 6070E card
Hi
I have a problem in generating a retriggerable delayed pulse with a single counter(triggered through a signal at gate) using PXI 6070E card. VI was developed in NI LabVIEW traditional DAQ Ver.7.1. I have used the "delayed pulse generator config" VI and a "Start counter" & "Stop counter" VIs for the purpose. But there is no output seen at the out terminal of counter. So I introduced a "wait" VI and set it to 1 sec. Now the pulse output appears but some pulses are missing mometarily after every 1 sec interval. (any solution for this)
I have gone through a few similar requests in the forum but they suggest either to use two counters or to generate a finite pulse train which does'nt fit my application. Moreover PXI 6070E has only 2 counter timers. I am already using one counter to measure the frequency of a pulse train(signal 1). The application requires to generate a delayed retriggerable pulse for every pulse in signal 1. So I have only one counter left.
Can I measure the frequency of signal 1 by analog means.? so that I can use two counters for pulse generation. (Signal 1 is a TTL signal).
Request some help.
Thanks in Advance
RegardsA finite pulse train (N_Pulses >= 2) does require the use of 2 counters on most of our older hardware including your 6070E. If you're just talking about generating a single retriggerable pulse, you would only need one counter.
Here's an example in Traditional DAQ that shows you how to set a retriggerable pulse generation (it also allows you to adjust the characteristics of the pulse on-the-fly).
If you're writing a new program, you might consider switching to DAQmx as it supports NI's latest hardware and recent OSes should you ever need to upgrade. Traditional NI DAQ is no longer in active development. Here's an example of how to implement a retriggerable pulse generation in DAQmx. You should take note that you can't use the two drivers to simultaneously talk to the same piece of hardware, although you should be able to go back and forth by resetting the Traditional DAQ driver before switching to DAQmx.
Best Regards,
John Passiak -
Problem sending only one byte with ibwrt()
If I send only one byte of data with ibwrt() command, it doesn't work with whatever settings (EOS,EOI,..) I chose. I got the error (ENOL : no listener).
Did somebody get the same problem ?ENOL indicates that there is no listener on the bus. This is probably not related to the settings on the controller. Are you correctly addressing a device to be a listener? If so, is there some indication on the device that it is addressed to listen?
Also, your post seems to indicate that sending more than one byte works. Is this true? -
Ipad 3 is syncing only one way with outlook 2010
I am seeing calendar items that I add in Outlook 2010 added to the Ipad. However, appointments added in Ipad are not being added to Outlook.
I have not checked contacts (All were added to the Ipad).But I have not tried adding a new contact yet.
Is this normal behavior? If not, how do I get it to work properly?
Pastor JohnIt appears that I can't edit my original question. So here is new information. It is syncing. However, the contacts are syncing with my personal folders. The calendar is syncing from Outlook to Ipad from my personal folders. However, the calendar is syncing to Outlook in a hotmail calendar in the profile that I didn't know existed. How do I get it set right.
I tried to select the calendar. However only one calendar is available in itunes. It must be the correct calendar as it is syncing fine. So how do I get ipad to sync back to the personal folders calendar instead of the hotmail calendar in my profile?
Pastor John -
IPad - only one site with "Apple Configuration"
Hi,
for a virtual art exhibition, visitors may to see only one specific website on iPad (no other applications running).
I'm trying to use "web clips" option profile in Configuration Apple software... but doesn't work.
This is right solution?
Thank you!ps. should be possible to use ipad only in one website..
-
on the iphone 4 when i plug in my head phones to liston to music i can only hear out of one side and when im on a call with the same headphones i can hear out of both sides
Submit your feedback to Apple requesting such a feature:
http://www.apple.com/feedback -
Both Myself and my 2 children have an iphone and ipad each but only 1 computer and itunes account( 1 apple id) is there away to have 3 itunes accounts on 1 computer as we are all sick of get each other apps and contacts messages, ect.
Do your children have separate user accounts on the shared mac? They can have their own user accounts with their own AppleIDs, but you could put the iTunes Library into a shared folder, or better an external drive with the ignore ownership option set.
-
Is there anyway of tracking my ipad using only the apple id account that I used on it?
It hadn't hardly been used for anything other than updating to iOS7 recently...No, sorry, there is no way you can get that information. The police perhaps could, but it would probably require a court order and it's unlikely the police will go to those lengths unless they have reason to believe that this theft was not an isolated instance and hence worth more of their time than the single theft of an iPod.
Even if they got the ID, it may well just be yours. Apple's registration database often contains such errors; I get the same message for some of my devices when I know I registered them to my Apple ID and the devices are all still right here.
Regards. -
Can I have calendar alerts for only one calendar with multiple calendars?
My wife has multiple calendars on her iPhone (mine and hers), but she would like to receive alerts/notifications only for the items on her calendar. Is this possible? (This seems to be the opposite problem from what this person experienced: http://discussions.apple.com/thread.jspa?messageID=8479193.)
We sync with Outlook on a PC via iTunes.I have the very same problem. In our company, we have shared CalDAV calendars for every employee. I receive and sync those to my Mac and to my iPhone/iPod Touch; on both platforms I only want alerts for my personal appointments, and not to get alerted when my colleagues have a business lunch.
Interestingly, in iCal on Mac OS X, there is an option "Ignore Alarms" for every single shared calendar, and I can cherry-pick those that I want to get alerted about. This is exactly the behavior I want on the iPhone, too, which regrettably is not possible (yet?).
The other option would be to forbid alarms in shared calendars for everybody, which is not feasible, too, because people might want to get alarms without having to duplicate the date to some personal calendar first.
So if anyone has a practical solution to this problem, I'd be happy to hear about it. Thanks!
--Alex. -
Keeping only one row with information from several rows?
Hi,
I have a table with companies. The companies appearing more then once in the table, with different information in different columns. How do I keep one row from each company with all information..?
Example:
Company State City Country
CompA WA Seattle null
CompA null null USA
CompB null null USA
CompB TX null null
...and so on.
And I want out of this:
CompA WA Seattle USA
CompB TX null USA
Any tips?declare @temp table
company char(6),
state char(10),
city char(20),
country char(10))
insert into @temp values ('CompA','WA','Seattle',null),('CompA',null,null,'USA')
,('CompB','Tx',null,null),('CompB',null,null,'USA')
select max(company),MAX(state),MAX(city),MAX(country) from @temp
group by company
--Prashanth
Maybe you are looking for
-
I have installed and used "App Trailers on my iphone and about two months ago they suspended my account due to irregular activity, I have done nothing wrong and keep sending them email about this but they do not respond and still have my account on s
-
Dear Experts, blocking in miro 1. manual block-I heard we can block at header level or item level,where ever u block the whole invoice will get blocked then whats the use of block at item level. 2. where are these blocks in the miro screen,i was unab
-
EDI partner profile not maintained.
I am currently working on BI 7 and on trying to install ODS from BC its giving me error that <b>EDI partner Profile is not maintained.</b> Can somebody please send me the documents on how to maintain EDI partner profile for transferring data from ODS
-
Hi, Currently when I want to re-submit the invoice items through SO01, none of the items are moving into re-submission bucket. Where should I look into the system to get this in working. Process : SO01 All items get display Which ever want to re-subm
-
875 neo 50% cpu usage while idle
It becomes slower than a 1 gig machine. This happens every now and then with my new unit. Slows everything down. :( win 2000 sp 3 875 neo fis2r P4 3.06 HT enabled 4x512 ddr333 kingston 1 maxtor pata drive C 2 seagate sata drives 1 seagate scsi drive