How to disconnect a web BEx session encapsulated into a BSP ?
Hello,
I have built a statefull BSP application aimed at displaying BW queries results.
This BSP is composed of many frames. Into one frame, I have to display a web BEx session (like the BEx displays query results through an internet browser).
Into this frame, the following type of URL is called :
http://server:port/sap/bw/BEx?sap-language=EN?cmd=ldoc?infocube=<my info cube name>?query=<my query name>?<variables handling ...>
It works. From a user session point of view, I have 2 'Plugin HTTP' sessions for the user :
- one for my BSP
- one for this Web BEx session
When I leave my BSP (by closing the browser for instance), my BSP session is well ended (thanks to session.htm and session_default.htm) but not my Web BEx session.
My objective is to end this Web BEx session
- either when I trigger an action changing the frame content
- or when I leave my BSP application
I have already thought about switching to stateless mode the call to the Web BEx. But I consequently loose my data when I navigate through the tabstrips from Web BEx window.
How could I do to end properly the statefull Web BEx session in any case ?
Thank you very much for your help.
Regards.
Fabrice
Hi Fabrice,
I am developing an Bsp application with multiple Frames for BW LIKE YOUR'S, of which the BW developers can up date the results table weekly/monthly & the End users can view the results through web. I appreciate, if u mail me some suggestions regarding my following queries.
1.The internal table of results table could be created/inserted in BSP or in BW ODS/INFOCUBE ?? Or incase of this how to do it ?? How to connect that ODS/ODS Table with BSP Pages??
2.PLS Mail me how to publish through web Bex query as I am not trained in this aspect??
I really appreciate your cooperation, as My BSP Application is similar to your application,as you have better Idea of same concept and pls mail me some sample code.
Kind regards,
CSM REDDY
Similar Messages
-
How to deploy my web application .war file into SAP netweaver Engine
Hi All,
I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
I tried to deploy .war file through SDM but it complained the following error
"Error loading archive
C;\Document and Settings\cr1adm\Desktop\MyProject.war
(server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
(F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
Can any one please suggest how to deploy external web application into SAP netweaver engine.
Is there any procedure to follow to do this.
your inputs will be highly appreciated...
Thanks in advance
JMYou may need to convert the .war archive to SDA/SCA file format before deploying it to SAP Netweaver Engine.
Check out the below SAP NOTE if it is usefull.
Note 1223957 - Usage of NetWeaver Packaging Tool.
Apart from SDM you can also deploy the files through telnet...
Note 859444 - How to deploy libraries on J2EE Engine 6.40
1)Connect to telnet as below
Start --> Run
telnet hostname/ip address portno
Ex: telnet xxx.xx.xx.x 5<Instance no>08
2)Login with administrator id:
Use the below command to deploy the files.
deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
Also have a look at this note which talks about the error you are getting.
Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
Hope it helps.
Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM -
How to plug a web browser like firefox into a java application
I am developing a sftware that conect to de internet and get a web page source code.
Problems i have.
im using URL clas and the open conect method
this is the source:
public String Connect(String pUrl) throws HtmlConnectionException{
String lTxtHtml = "";
String lLine = "";
BufferedReader lInput = null;
int lTimeout = 15000;
URL url;
try {
if(gProxyIP != ""){
url = new URL("http",gProxyIP,Integer.parseInt(gProxyPort),pUrl);
}else{
url = new URL(pUrl);
URLConnection urlc = url.openConnection();
urlc.setDefaultUseCaches(false);
// urlcsetReadlTimeout(lTimeout);
lInput = new BufferedReader(new InputStreamReader(new DataInputStream(url.openStream())));
while ((lLine = lInput.readLine()) != null) {
lTxtHtml += (lLine) + "\n";
lInput.close();
} catch (SocketTimeoutException e){
gLogger.severe(e.getMessage());
//e.printStackTrace();
lTxtHtml = "lTimeout";
throw new HtmlConnectionException(lTxtHtml);
} catch (MalformedURLException e) {
gLogger.severe(e.getMessage());
//ex.printStackTrace();
lTxtHtml = "Bad URL";
throw new HtmlConnectionException(lTxtHtml);
} catch (IOException e) {
gLogger.severe(e.getMessage());
//ex.printStackTrace();
lTxtHtml = "Invalid";
throw new HtmlConnectionException(lTxtHtml);
return lTxtHtml;
}but i dont know how to handle redirection of pages becose some teimes when it redirect me to anoder page an snd me an 30X mensage it crash and throw an IO Exception.
Probelm 2
i show the source of the web page but wat i nned is to plug a web wrowser into my application that let me se the web page in one JPanel and its source hig ligted in a JEditPane.
becose i ned to parse tags to identify string automatically
or the otehr option is to plug my application into a web wrobser (as a plugin of firefox) an be a ble to run it when i chose it from a contextual menu
please. can u help me to find the way?You can use the Runtime class for this. It can run any command. So, you can run the .exe file of your Web browser.
The following code will run Internet Explorer (assuming iexplorer.exe is in C:\Program Files\Internet Explorer):
import java.lang.Runtime;
public class Explore{
public static void main(String[] args) {
try{
Process p = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore");
}catch (Exception e) {
System.out.println("Exception: " + e); -
How to stop closed web pages from reloading into a new tab?
Web pages reload automatically, creating multiple copies of the same page. This happens on news sites (e.g., the Guardian). The page will even reopen after being closed.
Suggestions THAT DO NOT WORK:
1) Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
2) GreaseMonkey and its ridiculous scripts that are badly documented and problematic to have work.Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do not click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
How to disconnect web folders?
I've created a webdav connection to portal using a web folder.
Unlike other network connections, I can't disconnect this connection. After a computer restart, the web folder still appears.
How to disconnect this webfolder?
I'm on portal 9.0.4.0.99
Client on windows 2000 professional SP3
Thanks,
Tonhi ton,
my experience is that the webfolder connection gets disconnected when you either reboot the machine or you delete the cookie that holds the session information. with disconnected i mean that you have to reauthenticate the next time you try to access it. if you want to remove the connection you have to delete it.
maybe the microsoft windows forums / knowledge database have a more detailed explanation since this is purely windows related and has nothing to do with portal. portal is just a normal webdav server that accepts webdav connections from any webdav client.
regards,
christian -
How to keep the current http session after returning from external web site
Hi,
When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
How to keep the current http session after returning from external web site?
ThanksYou should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
This should help you: http://www.glish.com/css/7.asp -
How to change Default Web Templete in the BI System
Hi Experts,
Currently user access queries using WEB BEx Analyzer and the templete is 0Analyzer.
When we develop a query in Query Designer will publish the query in the relevant roles and user can access that query through WEB BEx Analyzer and the templete is 0Analyzer --Open Query option.
Now we want to change the Default templete from 0Analyzer to 0Analysis_Pattern
Could you please update me on how/where to
1) First check what is the default templete defined in the system and
2) How to change the default templete from 0Analyzer to 0Analysis_Pattern.
ThanksHi,
I am using BI 7.0
When i go to RSCUSTV27
'Change View "Set Standard Web templetes"
Customizing ID : Business Information Warehouse
Set Standard Web Templetes
Broadcasting
Query precalcilation
Report Precalculation
Enterp report
Ad Hoc Analysis
Every thing is Blank
But currently we are using 0ANALYZER web templete
Please update
Thanks -
How to create the web template
Hi BW Experts,
how to create the web template.....!
I just want to know what is the use of Web template. i want to display the report
in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
Thanks
shahina..!Hiu2026
Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
Go to All programs and select your web application designer
Select the button to create a new page in WAD
Select the chart and place in the layout
Next goto Data provider Target and select your query
Give your report name in the given data provider screen
Select your query in History/find/Favourites/Infoareas button
Select your query in this screen and click OPEN
Now we can see the data provider is assigned to the chart.
To edit the chart you have to right click on the chart
After right click on it we will find another screen where we can edit all the settings
In this screen we can find NEXT click button to change our settings
In this screen we can state the tasks (Title, units, values, range)
In this screen we can change our background /validity/color
In this screen we can add values to the chart
In this screen we can add validity/positions/order/axis types to the chart
In this screen we can change the global settings/and overview of the chart.
This screen shows that we have customized the chart successfully
After successful creation of the chart we have to save the chart
Save your chart in your favorites by giving the description and technical name in the given block.
Now execute your WAD by selecting the execute button
The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
Web Application Designer for Beginners
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
Web Application Solutions: A Designer's Guide
http://www.lukew.com/resources/webapplicationsolutions.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
Feautures of WAD in 7.0
http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6 -
Web Service session manager not found.
I'm trying to understand how to use the HTTP utilities, and I'm having trouble just creating a session. I get a Web Service session manager not found error. I've read where the client has to support cookies. My eventual client will be a labview VI that talks to a web server. I llooked at the Toolsptions, but don't see anything related to cookies. Not sure if that's what's causing this anyway, but I'm just digging. Also, I want to eventually send http messages across TCP/IP. Do I need to use the TCP/IP VIs (i.e. open connection, etc) or do I use the http utilities alone. If both are needed, how does the httpRequestID and the TCP/IP connection ID correlate.
Attachments:
htttGetSession.vi 9 KB
WebServerError.PNG 13 KBHi can you please let me know how you resolved this issue?
-
Keeping "CS Web Service session" alive while uploading big files.
Hi.
I have a problem when I'm uploading big files, which takes longer than the session timeout value, causing the upload to fail.
As you all know uploading a file is a three step process:
1). Create a new DocumentDefinition Item on the server as a placeholder.
2). Open an HTTP connection to the created placeholder and transfer the data using the HTTPConnection.put() method.
3). Create the final document using the FileManager by passing in the destination folder and the document definition.
The problem is that step 2 take so long that the "CS Web Service Session" times out and thus step 3 can not be completed. The Developer guide gives a utility method for creating an HTTP connection for step 2 and it states the folllowing "..you must create a cookie for the given domain and path in order to keep the session alive while transferring data." But this only keeps the session of the HTTP Connection alive and not the "CS Web Service Session". As in my case step 2 completes succesfully and the moment I peform step 3 it throws an ORACLE.FDK.SessionError:ORACLE.FDK.SessionNotConnected exception.
How does one keep the "CS Web Service Session" alive?
Thanks in advance
Regards.Okay, even a thread that pushes dummy stuff through once in a while doesn't help. I'm getting the following when the keep alive thread kicks in while uploading a big file.
"AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (409)Conflict
faultActor:
faultNode:
faultDetail:
{}:return code: 409
<HTML><HEAD><TITLE>409 Conflict</TITLE></HEAD><BODY><H1>409 Conflict</H1>Concurrent Requests On The Same Session Not Supported</BODY></HTML>
{http://xml.apache.org/axis/}HttpErrorCode:409
(409)Conflict
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:732)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at oracle.ifs.fdk.FileManagerSoapBindingStub.existsRelative(FileManagerSoapBindingStub.java:1138)"
I don't understand this, as the exception talks about "Concurrent Requests On The Same Session", but if their is already a request going on why is the session timing out in the first place?!
I must be doing something really stupid somewhere. Aia ajay jay what a unproductive day...
Any help? It will be greatly appreciated... -
RPC web service session beans and local interfaces
I am wondering if it is possible to use EJB 2.0's local
interface (vs remote interface) with 6.1's RPC web service
session beans. Since WLS generates the SOAP servlet that
invokes the RPC session bean and I do not find
a way to some how tell SOAP servlet to use local interface to
get the session bean's local home interface, I am not sure
this can be done.
Any comments would be appreciated.
Thanks.
PeterTa. Thanks for the info.
Any idea when Local I/F support is due?
-Nick
"Neal Yin" <[email protected]> wrote:
>
"Nick Minutello" <[email protected]>
wrote
in message news:3d4413a4$[email protected]..
I was just about to post the very same question - but for WLS 7.0.0.1.
There are essentially two questions:
1) (from a functional perspective)
Can I expose Local Interfaces as SOAP using the auto-generation(servicegen ant
tasks)?Local Interfaces support is coming.
2) (from a performance perspective)
Does the generated SOAP implementation go via the (expensive) RemoteInterface
(ie marshalling) - or is the RMI marshalling optimised out (by setting<enable-call-by-reference>true</>)?
You can set this option by yourself on your EJB. Web service runtime
doesn't
do any magic in this area.
Regards,
Nick
"Peter" <[email protected]> wrote:
I am wondering if it is possible to use EJB 2.0's local
interface (vs remote interface) with 6.1's RPC web service
session beans. Since WLS generates the SOAP servlet that
invokes the RPC session bean and I do not find
a way to some how tell SOAP servlet to use local interface to
get the session bean's local home interface, I am not sure
this can be done.
Any comments would be appreciated.
Thanks.
Peter -
How do we create Web Reports ?
How do we create Web Reports ?
Hi,
Please find the follwoing for webreporting.
Wad 7.0 links
Presentation: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6dd54713-0c01-0010-8691-a3576b9a95d9
Pdf: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cedbc9bb-0601-0010-1a8f-b9684aaf0204
http://help.sap.com/saphelp_nw2004s/helpdata/en/83/54973910a9bc12e10000000a114084/frameset.htm
help.sap.com
http://help.sap.com/saphelp_nw04s/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/47/d4fed1c60a9743ade3b4cf306d5d48/frameset.htm
Creating Web Applications with the BEx Web Application Designer
http://help.sap.com/saphelp_nw04s/helpdata/en/44/b26a3b74a4fc31e10000000a114084/frameset.htm
pdf files
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6f969190-0201-0010-2c9b-89b55c42c4d4
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b085e86e-2353-2910-0c96-9f6ab693d0e6
E class on WAD
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/8783eb70-0701-0010-7dab-8531d45da926?prtmode=navigate -
Newbie need help with Web BEx setup!
Out of curiosity, I decided to install Netweaver so I can have a play with it. I am a complete newbie to Netweaver therefore I apologise if this is out of context...
Here's my question:
How do one go about getting Web BEx to work?
Whenever I activate the link in the portal, I get an error about unknown "SWITCH_AXES" command and 0ANALYSIS type 4 error. I search the forum and the few passing mentions of the problem points to OSS notes that is only accessible through service marketplace (which I don't have an ID). I have check the object types in BI content and seems that 0ANALYSIS is already activated. There must be something I am missing. Tried blindly and randomly installed other BI content (mostly Web templates and objects) but to no avail (and encounted a few short dumps).
Any help is greatly appreciated!
So far, here're what I did:
1) Install Netweaver 2004S ABAP and Java on the same machine. Instance 00, 01 and 02 respectively.
2) Try to run BI-Java template installer, but met with error part way. So some of the steps are done manually.
3) Set up SLD (both instance are in the landscape), and 'partially' set up SSO. Partially as while JAVA to ABAP seems to work, ABAP to JAVA is not working. Anoying but livable.
4) Installed TREX (instance 03) and are seen by ABAP and JAVA.
5) ABAP is seen in the portal and I can create transactional iviews and put them in the Portal (with working SSO).
6) Did reverse-proxying with Apache, but I don't think it matters as it seems to be a backend module issue.
7) Business planning/wizard is working (in ABAP and Portal) as is Broadcast. As you can see, Web BEx is the only thing that is not workingThe default link for Web Analyser in EP 7 seems to point to the new template. When opening the analysis template in the new BEx windows tool, the same error is being reported. Using 3.5.x WAD, I can't locate the template.
More on this issue Although for that case, the meta data is not installed. Is there a way to trace missing component and reinstall the needed BI content in RSA1?
BTW, these are on JAVA SP9 and ABAP SP11. -
WEB Client session maximizes automatically
Dear Frds,
does anyone know how to solve below probelm?WEB IC session is being maximised automatically.
1. I log in in and Minimises WEB IC session and keep working with something else.
2. After some time (30 mins!!) Web IC session Maximises (opens to the work area) on itself.
Does anyone know how can i stop this from happening?
Thanks and regards,
Dinesh.Hello,
First of all I would not call this a real "problem", correct me if I'm wrong but when the page maximizes your webclient also times out, correct?
Well, this behaviour is controlled by javascripts, these javascripts are located in the page fragment "root_content.htm" of the BSP application "IC_BASE". I did not take a close look but I see a javascript function called function timeoutHandler()
/* close session(s) */
try{
getContextAreaWnd().focus();
contextArea.focus();
contextArea.document.getElementById("End").onclick();
parentWndNav.parent.exitBSPApplicat
Maybe try to take a look there.
You cannot control this behaviour without changing the SAP standard!!!!!
You could set a breakpoint (a javascript breakpoint that is, not a ABAP/session breakpoint!) to see what piece of javascript is called at what time.
Hope this helps,
Kind regards,
Joost -
JumpTarget Web Bex Template open in 0analysis_pattern
Hi,
we copied 0analysis_pattern Web Bex template into a custom one.
Using this custom template, when with a Goto on context menu we jump to a target query the new window is the standard 0analysis_pattern template and not the custom one. How can we make sure the target query is opened in the proper template ? We use a template for each user profile ( 4 ) .
Thanks an answer would really help.Hi cris,
While defining the Jump target in RSBBS. You can use one of these options in your case
1. You can use the "Web Address" and specify there the target query URL with the addition TEMPLATE="your custom web template"
2. create a separate custom template for this query with DP_1 initialized to the target query and select this web template as Jump target (BW JAva template for BI 7.0 and BI 3.x template for 3.x)
Not sure if the drilled down values of characteristics can be passed from source to the Jump target.
Question: Can you please let me know how are you maintaining separate template for each user profile.
Assign points if helpful.
Regards, Uday
Maybe you are looking for
-
IMac Applecare ( I couldn't find a section I deemed appropriate )
Night gents. I'm sorry to come here and burden all of you with my problems but I have been particularly worried about this situation and the Apple professional that took my call on the support number was troublingly unable to give me any kind of answ
-
Lecture Poster Large/Not printing correctly
I selected Lecture Poster Large. I replaced all the photos using Aperture. The large photo at the bottom was also replaced by dragging in a photo from Aperture. I was very happy with the result. The photo preview looks exactly like the project. But w
-
My itunes not working after it tried to download the new version. it keep giving error 7
my Itunes not working after it tried to download the new version. it give me message: erro 7 or window error 193. need help. thank
-
Mustek scanner connectivity problems
I recently bought the much-maligned Mustek ScanExpress A3 USB. I am running Mavericks 10.9.5 on my iMac. After finding and installing the driver and ImageAcquire software, I thought I had solved all my problems. However, all I get is a "Scanner not c
-
How can update two rows in one query?
How can update two rows in one query? Edited by: OracleM on May 4, 2009 12:16 AM