VBA and Bex 7- Event to use in VB code BEFORE Query Refresh ?
Gurus.. is there a Bex Event that I can use to 'intercept' a Refresh Query command to Bex and run some VBA first ? I'm trying to find a way to solve the analysis grid overlap problem when two queries are provided on one Excel worksheet, and navigation takes place.
I've been able to figure out how to bring the results areas together (by deleting blank rows between them), but I'd like to be able to add a chunk of blank rows between analysis grids before the queries actually refresh.
Hi Charlie,
if you're interested:
I've found a way to move the areas after the refresh - using the callback event.
The logic is generally:
- Check where analysis-grid for DP1 ends
- Leave some empty lines
- Move the offset of DP2 here.
- Repeat the same for further DP's.
There's only one hatch: I've got some trouble to reactivate the BEx-context-menu after this momvement.
So far I found only the workaround "do another refresh" to solve this issue; that's ok but not 'beautiful'.
Let me know if you need further input.
Maybe you've got an idea for my issue:
I'm looking for a way to execute the a routine only once after refresh - even if there are multiple queries in a workbook.
The problem is that I do not know the order of the query-refresh or any flag that I could use to identifiy the "last query to be processed in this refresh-run".
Kind regards,
Marco
Similar Messages
-
Problem in event handling using oo abap code
Hi,
My requirement is i need to disply 3 blocks in ALV format.I have done that.Now my problem is if i double click on aufnr of the first block, it should call the transaction code. I have written the code in oo abap but i have used function modules for ALV.Now my doubt is 'How to write an event once the user double click on the particular field of the first block, it should call the tcode " using object oriented code.
How to populate the heading for each block using oo abap code.
Thanks & Regards
Anushi.....
Use Double_click event handler method of class cl_gui_alv_grid of first block....
if not solved .
Send me Your program lines ...........
Best Regards
Prabhakar -
Automatic Generation of JMS event generator using WLST script
is there any way to create and deploy JMS event generator using WLST script. i am using weblogic server 10.3.1
You could see this informantion here:
http://docs.oracle.com/cd/E14981_01/wli/docs1031/deploy/cluster.html#wp1519038 -
Problem in shuffling the button and puting image on button in the same code
I'm trying to make 16 block puzzel game. The following code is showing desired output when I'm running it in textpad but it's showing the output in eclipse. Please tell me the reason behind it.
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
public class Puzzel extends JFrame{
JButton[] arr = new JButton[15];
public Puzzel(){
Image image;
Toolkit toolkit= Toolkit.getDefaultToolkit();
image=toolkit.getImage("icon.jpg");
ImageIcon icon=new ImageIcon("icon.jpg");
setIconImage(image);
setTitle("Puzzal");
JMenuItem pic = new JMenuItem("Solved");
pic.setMnemonic('a');
JMenuItem pict = new JMenuItem("Solved");
pict.setMnemonic('a');
JPanel jp = new JPanel(new GridLayout(4,4));
ArrayList list = new ArrayList();
for(int x = 0; x < arr.length; x++)
arr[x] = new JButton("Button "+(x+1));
list.add(arr[x]);
Collections.shuffle(list);
for(int x = 0; x < list.size(); x++)
jp.add((JButton)list.get(x));
getContentPane().add(jp);
pack();
public static void main(String[] args){
new Puzzel().setVisible(true);}
}I want to add image on these buttons and I have tried it using the following code but its not running on eclipse but working fine when run through textpad. I dont know how to use it with shuffel.
setLayout(new GridLayout(4,4));
JButton img1 = new JButton("1.jpg", new ImageIcon("1.jpg"));
getContentPane().add(img1);In the future Swing related questions should be posted in the Swing forum.
I have tried it using the following code but its not running on eclipse I have no idea what "not running" means, but I'm assuming you are having trouble reading the image files.
Read the section from the Swing tutorial on [How to Use Icons|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html] for the proper way to read images so that is works in all environments. -
How to execute a report using a transaction code?
Hi team,
I am new in ABAP and I want to do a very simple report and then call this report using a transaction code.
Steps:
1) create the report (SE38)
the report is: Z_DEMO
2) generate a transaction code for this report (SE93)
note: the transaction code is ZDEMO
3) call the transaction generated on step 2
When I execute the report using SE38, everythig is ok and the records are inserted in my table zdemo2.
But when I call my transaction ZDEMO there is no insertion. Why?
The report ask for parameters and then fowards me to SAP's main menu.
Thanks,
Walter.
The report is:
REPORT Z_DEMO.
tables: zdemo2.
parameters:
nombre like zdemo2-nombre,
edad like zdemo2-edad.
data:
begin of tabla occurs 0,
nombre like zdemo2-nombre,
edad like zdemo2-edad,
end of tabla.
zdemo2-nombre = nombre.
zdemo2-edad = edad.
insert zdemo2.Hi,
While creating the transaction for your program
1>Make sure u give the program name and screen number
2>Important thing is a option "GUI SUPPORT"
Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
Thank you. -
Does anyone know how to bypass the pass code after updating iPad to ios7? I've never used a pass code before and now it asks me for one. Also, my iPad is now disabled due to too many attempts to unlock it. Any help would be greatly appreciated.
Hi,
Follow the steps here to recover a disabled iPad:
http://support.apple.com/kb/ht1212
Hope it helps -
I wish to use VBA and Excel to programmatically open numbered Dreamweaver HTML (CS5) and find and replace text in the code view of these files, save and close them.
I have 5000 associations between Find: x0001 and Replace: y0001 in an Excel sheet.
I have the VBA written but do not know how to open, close and save the code view of the ####.html files. Please ... and thank you...
[email protected]This is actually the code view of file ####.html that I wish to find and replace programmatically where #### is a four digit number cataloguing each painting.... In 1995 I thought this was clever... maybe not so clever now :>)) Thank you for whatever you can do Rob!
!####.jpg!
h2. "Name####"
Oils on acrylic foundation commercial canvas - . xx X xx (inches) Started
Back of the Painting In Progress </p> </body> </html>
Warmest regards,
Phil the Forecaster, http://philtheforecaster.blogspot.ca/ and http://phils-market.blogspot.ca/ -
When I open up iphoto and click on the events tab then double click on an event, it used to show minis of all the photos in that event. Now it shows only one photo at a time. How do I get it back? Can you help?
On the bottom bar of the window (on the left iPhoto 11, on the right in other versions) note the slider. Drag it left.
Regards
TD -
Performace Issue using Crystal Report For enterprise and BEx Queries
Hi all;
We are generating the following error stack when trying to build a report on top of a BEX query using Crystal Report for Enterprise :
|7C4F8ECE44034DB897AD88D6F98B028B3|2011 12 12 17:24:21.277|+0100|>>|E| |crj|20380| 56|ModalContext | |2|0|0|0|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|-|-|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|Cut2PbOe3UdzgckPBHn8spEab|||||||||com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
java.lang.AssertionError
at com.businessobjects.foundation.logging.log4j.Log4jLogger.assertTrue(Log4jLogger.java:52)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.newInfoObject(InfoObjects.java:576)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpackHelper(InfoObjects.java:548)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:489)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:464)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1484)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1464)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.unpackAll(InternalInfoStore.java:910)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:944)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:929)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query_aroundBody24(InternalInfoStore.java:798)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:1)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody20(InfoStore.java:175)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody21$advice(InfoStore.java:42)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:1)
at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getConnectionObject(OlapCmsSecuredConnectionService.java:125)
at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getOlapSecuredConnection(OlapCmsSecuredConnectionService.java:191)
at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getOlapConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:83)
at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:60)
at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:193)
at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:176)
at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.provideUniverseFromCms(DirectOlapAccessDataProviderBuilder.java:63)
at com.businessobjects.dsl.services.datasource.impl.AbstractUniverseProvider.provideUniverse(AbstractUniverseProvider.java:41)
at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateQuerySpecDataProvider(AbstractDataProviderBuilder.java:119)
at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateDataProvider(AbstractDataProviderBuilder.java:106)
at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.addDataProvider(AbstractDataProviderBuilder.java:49)
at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:56)
at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
at com.crystaldecisions.reports.dsl.shared.DSLTransientUniverseServiceProvider.createSessionServicesHelper(DSLTransientUniverseServiceProvider.java:72)
at com.crystaldecisions.reports.dsl.shared.DSLServiceProvider.createSessionServices(DSLServiceProvider.java:428)
at com.businessobjects.crystalreports.designer.qpintegration.DSLUtilities.getServiceProvider(DSLUtilities.java:279)
at com.businessobjects.crystalreports.designer.qpintegration.InitializeDSLRunnable.run(InitializeDSLRunnable.java:82)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Here seems to be that a plugin is not loaded : com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
could this affect the performance of Crystal Reports for Enterprise and how could I fix this ?
Best Regards
AnisVenkat,
Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 > Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
K
Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM -
Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book. Cannot turn these off. They repeat several times per session and every time computer is used. How to diagnose this?
First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
If you have more than one user account, these instructions must be carried out as an administrator.
Launch the Console application.
Step 1
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
Step 2
Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful. -
I was editing photos (iPhoto) and events were shown as 1 Event per line, preceeded by the > triangle, that I could click and open the event to see the photos.
I was collapsing all the events so I had a nice list by date, and was naming each event.
Then I hit something, and the 1-line per event went away, and now instead of showing events as a list,
it shows events as "icons" with the key photo etc.
How do I get back to listing events as a LIST ?? Like in the Finder window, where you can see
files as Icons, Lists, Columns, or CoverFlow.
All I can see now is the "Icons" view, I want the "Lists" view.
Anyone seen the "Lists" view ?? and how to get back to it?
ThanksI found the answer here: https://discussions.apple.com/message/17430153#17430153
Select VIEW menu item, then click "EVENT TITLES"
To Collapse all the List sub-item details, cursor on one triangle, then ALT-CLICK and they all close up producing a useful listing;. -
Add application and document level events using javascript
Hi All,
I need to do some validation in the preprint event of the pdf document. There are samples available using the UI and adding the script in the script dialog, but my requirement is that i need to map the 'preprint' event and event handler to the pdf document using pure javascript code without the UI. Any help would be greatly helpful. Thanks in advance.
Regards,
CharanYou can write a document-level function into the actions handlers using the doc.setAction() method from a folder-level script, but one folder-level script cannot create another.
Suppose you have a folder-level function triggered by a menu item, and it has collected a reference to the active document as oDoc:
var myScript = 'console.println("I am about to be printed and I have " + this.numPages + " pages" );';
oDoc.setAction("WillPrint",myScript); -
I have recently updated to iPhoto 9.2.1, more by accident I guess. In the older version of iPhoto when I imported photos and gave the event his own name (for exampample "110723 birthday son 2011"), this name was also used in the "masterfile", so I could find the file by his name ("110723 birthday son 2011") in the "masterfile" on my HD and copy and paste it from there to other computers.
In the new version the file gets stored under a seemingly random number, which does not give me any information about the content.
Is there a way to fix this? Would it be different in apperture?
Thanks
HaraldI have Iphoto '09, version 8.1.2 (424). I am having an identical problem. All my pictures are imported into Iphoto when I downloaded them from my camera. Until recently, I thought that the pictures were actually saved in the library. Since I need to crop my pictures for the web, and Iphoto doesn't do that, I purchased Photoshop Elements to do that. To my surprise, when I try to get a picture from Iphoto to Photoshop, it can't be done. That was when I realized, after wasting a lot of time, that the photos are not in the Iphoto library.
I started naming the pictures on Iphoto so I had a recognizable file name to open on Photoshop. Couldn't find it. I looked in the Backup folder and the Transfer software folder (I have a Nikon camera), and the names I entered in the Iphoto display, could not be found.
When I am trying to upload a photo to the web, I get the Finder folder showing with an active folder called "Photos" under "Media", which only displays Iphoto and PhotoBooth. This is a folder name that I cannot find in my HD anywhere when I look for it. If I edit a picture with Photoshop, I am not going to save it back to Iphoto (not sure whether it will work properly). How do I get my folder of edited photos to show when I want to upload a picture to the web?
Where (the name of the folder) do I find the pictures I see displayed on the Iphoto library, including any name changes, keywords added, and so on? -
Whats is the use of SM64 Tcode?? and about Trigger Event???
Hi
Whats is the use of SM64 Tcode?? and about Trigger Event???
Can anyone tell me??
Thanks & Regards
SenthilHi,
When scheduling a background job, you can specify it to start "after event".
If you do so, you'll have to create an event in SM62.
If a job is scheduled after event event and you trigger the event with SM64, the job will start.
Events can be raised by external systems in SAP by sending a command to a SAP application server. You can also raise event in any program using function mosule BP_EVENT_RAISE.
hope this helps....
Olivier. -
I was trying to connect my ipad and iphone using icloud. After signing in on both devices I clicked merge. I went to check my calendar and all my events were gone. Is there any way I can get my events back?
Check to see if they are on your calendar on icloud.com. If they aren't, all you can do is try to restore to your last backup, although it isn't clear that calendar events are included in the iCloud backup.
Maybe you are looking for
-
I was just casually on my iPod and I put it in sleep mode really quick and when I went to use it again, it wouldn't pull up the Lock Screen! All I want to do is update it, but now I can't...anyone got any advice for this specific situation?
-
I restart my computer and the AppStore still says I need to restart to install. I've tried many times with failure. I have restarted manually, through the appstore, and on the Apple Menu.
-
When every I try to play music, it says the error code 805a193. I looked up this error code on Bing, and it says it occurs when you try to download an app. Please help, trying to listen to my music, and this is the second major problem with a Nokia 9
-
Firefox Sync not syncing everything
I have firefox sync running on two computers, one with windows 7, the other is a xubuntu. The xubuntu one has never synced properly. The bookmarks seem to sync fine, but I also want the addons. On a few occasions, I've said to wipe everything on the
-
VPN: Unable to see server files, download Email attachments
I recently installed the Apani Contivity VPN client in order to connect my home iMac with my company's servers. The Apani product was the client specified by my company. I can access the company's servers, but cannot see individual files. According t