User exit to execute query from layout

Question: Hi
Does anyone know if there's a standard user exit that can execute a query?
_________________
Wxs3

Answer:
I basically want to insert a button in a planning folder that will execute a function with a user exit that will run a BW Analyser query.

Thanks for your help so far.
_________________
Wxs3

Answer:
I dont know how much this program might help, but here it is
SAP_QUERY_TEST. This basically generates a random query from the infocube which could be your transactional infocube, i am not sure how you will be able to integrate a button in your planning layout.Lets ask some gurus , chetan patel whats your opinion buddy?
thanks
Vamshi

Answer:
Hi
Thanks for your reply. I thinkSAP_QUERY_TEST is intended for testing you queries. Not really what we're after, but thanks for the suggestion.
Any others would be welcome.

Answer:
Hey you could do one thing...but i am not sure how you would put this in place, but every screen in SEM has an underlying ABAP program behind it. This is sort of a standard program, may be you could find the name of the standard program for planning folder, and then modify the program to include 2 more programs.

First program would create a button, which will actually execute the second program, i.e SAP_QUERY_TEST, whose paramters are the name of your transactional infocube.
This might sound confusing but i am sure this can be acheived.The good or bad part of this would be modifying a standard program and also u will have tis button feature permanently in the screen of the planning folder.
hope this kind of ignites more ideas for u.
thanks
V

Answer:
Thanks Vamsh. I've used function module UPF_START_BROWSER to start a browser report instead of a Bex report. It seems to be working fine, but it opens up two sessions on the internet.

Thanks
wxs3
Copyright ?2007 - 2008 www.jt77.com