Session not released in backend SAP when executing CR iView from SAP Portal

Hi,
We are in the process of doing some testing.  One behavior we have observed is that user sessions are being built up in the backend SAP.  Eventually, the next CR execution runs into problem.
We are running the Crystal Reports using an iView in the SAP EP.  The iView is delivered by as included with the Integration Kit.
We have modified different time-outs on the BOE server.  We are still having the same problem.
Is there something we can do in the portal or the iView to terminate the sessions?
Thanks,
Garry

Hi Ingo,  Thank you again for your response and support.  Well, the suggestion would be fine if our users would only be satisfied with static data.  They normally run the report and expect the latest data from the backend SAP system.
To clarify your points, the user is not running reports at the same time.  What the user is doing is this. 
- The user runs a report in the portal.  As you hae indicated, there is a session against SAP system.
- Once the report is completed, the user runs the next report, and so on.
Each time, the session remains in SAP system.  Eventually, I would see a long list of sessions in SAP.
It seems that when the user is clicking on the next report in the portal, the session for the previous report run is not being terminated.
I'm looking for a way to terminate the session at the completion of the report run.
Thansk,
Garry

Similar Messages

  • Drill down problem when execute CR Viewer from Sap Web Application Server

    Hello,
    We are using Sap  Was 7.01.
    The report viewer jar files deployed to the j2ee engine , and I am using j2ee servlet application to execute the report.
    Everything works OK, but when I am trying to drill down to the next sub report the screen become blank.
    I checked with httpwatch and it seems that there is no response from the server , after DD.
    The web.xml file look like this:
    <web-app>
         <display-name>WEB APP</display-name>
         <description>WEB APP description</description>
         <context-param>
           <param-name>crystal_image_uri</param-name>
           <param-value>./CrystalReports/crystalreportviewers</param-value>
          </context-param>
          <context-param>
           <param-name>crystal_image_use_relative</param-name>
           <param-value>server</param-value>
          </context-param>
          <context-param>
           <param-name>crystal_servlet_uri</param-name>
           <param-value>/CrystalReportViewerHandlers</param-value>
          </context-param>
         <servlet>
                <servlet-name>CrystalReportViewerServlet</servlet-name>
                <servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
        </servlet>
         <servlet>
              <servlet-name>reportviewerClient.jsp</servlet-name>
              <jsp-file>/reportviewerClient.jsp</jsp-file>
         </servlet>
         <servlet>
              <servlet-name>ReportViewerSrvlt1</servlet-name>
              <servlet-class>com.illumiti.demo.ReportViewerSrvlt1</servlet-class>
         </servlet>
        <servlet-mapping>
              <servlet-name>CrystalReportViewerServlet</servlet-name>
              <url-pattern>/CrystalReportViewerHandler</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ReportViewerSrvlt1</servlet-name>
              <url-pattern>/jRun</url-pattern>
         </servlet-mapping>
    </web-app>
    There are no javascript errors and I can see that the following JS files exist on the browser cache:
    allInOne.js
    allStrings_en.js
    crv.js
    Also the dynamic rendering of the graphic objects working,  for exampale:
    http://sapdevpor.themigroup.net:52000/ReportViewerNwds/CrystalReportViewerHandler?dynamicimage=crystal1258027361240644774257355486184.png
    sapdevpor is the Sap application server.
    Need help with this asap.
    Thanks
    Nir

    Hello,
    to which directory have you unzipped the Files? I would suggest C:\temp because there are problems with long filenames. Have you tried to reboot and then disconnect Drive M:?
    Regards
    Gregor

  • When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card

    When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.
    I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).
            Mockery context = new Mockery();
            final MessageListener messageListener = context.mock(MessageListener.class);
            final Latch latch = new LatchImpl();
            final String prefix = "test" + System.currentTimeMillis();
            context.checking(new Expectations() {
                    oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));
                    will(new CustomAction("release latch") {
                        @Override
                        public Object invoke(Invocation invocation) throws Throwable {
                            latch.unlatch();
                            return null;
            final Connection connection = createConnection(null, null);
            Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
            connection.start();
            Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");
            Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");
            final MessageConsumer consumer = session.createConsumer(wildcardTopic);
            consumer.setMessageListener(messageListener);
            MessageProducer producer = session.createProducer(null);
            producer.send(destination, session.createTextMessage("MSG1"));
            latch.await(5000);
            connection.close();
            Thread.sleep(5);
            context.assertIsSatisfied();

    Check where your MDB sends the [response] messages to.

  • [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

    When selecting a menu item I used to click the left mouse button and hold it down, move the pointer to the desired menu item and release the mouse button. Everything works fine in the mine menu, but there's a problem when adding new adjustment layer from the layer panel: when I release the button nothing happens, I have to press the button again. In previous PS version it worked fine. How can I fix this?

    I don't think that is user fixable, meaning you'll have to wait till adobe fixes it with an update.
    Photoshop cc 2014
    windows does not work
    mac does work
    Did you already post over here:
    [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

  • How does execute PHP Script from SAP?

    I've already installed SAPRFC and run SAP Function from PHP successfully. But failed when tried execute PHP script from SAP (SM59). Anyone can help me for a clear instruction for this problem?
    Thanks

    Hi Max,
    here is the Source:
    [code]
    #!/usr/bin/php -q
    <?php
    // SAPRFC - Server example
    // PHP server function RFC_READ_REPORT
    // Require: CGI version PHP, RFC destination defined in SAP R/3 (SM59)
    // http://saprfc.sourceforge.net
    // Interface definiton for RFC_READ_REPORT
    // (generated by saprfc.php - option Generate PHP)
       $DEF_RFC_READ_REPORT = array (
                             array (
                                     "name"=>"SYSTEM",
                                     "type"=>"EXPORT",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"","abap"=>"C","len"=>8,"dec"=>0)
                             array (
                                     "name"=>"TRDIR",
                                     "type"=>"EXPORT",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"NAME","abap"=>"C","len"=>40,"dec"=>0),
                                             array ("name"=>"SQLX","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"EDTX","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"VARCL","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"DBAPL","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"DBNA","abap"=>"C","len"=>2,"dec"=>0),
                                             array ("name"=>"CLAS","abap"=>"C","len"=>4,"dec"=>0),
                                             array ("name"=>"TYPE","abap"=>"C","len"=>3,"dec"=>0),
                                             array ("name"=>"OCCURS","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SUBC","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"APPL","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SECU","abap"=>"C","len"=>8,"dec"=>0),
                                             array ("name"=>"CNAM","abap"=>"C","len"=>12,"dec"=>0),
                                             array ("name"=>"CDAT","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"UNAM","abap"=>"C","len"=>12,"dec"=>0),
                                             array ("name"=>"UDAT","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"VERN","abap"=>"C","len"=>6,"dec"=>0),
                                             array ("name"=>"LEVL","abap"=>"C","len"=>4,"dec"=>0),
                                             array ("name"=>"RSTAT","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"RMAND","abap"=>"C","len"=>3,"dec"=>0),
                                             array ("name"=>"RLOAD","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"FIXPT","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SSET","abap"=>"C","len"=>1,"dec"=>0),
                                             array ("name"=>"SDATE","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"STIME","abap"=>"C","len"=>6,"dec"=>0),
                                             array ("name"=>"IDATE","abap"=>"D","len"=>8,"dec"=>0),
                                             array ("name"=>"ITIME","abap"=>"C","len"=>6,"dec"=>0),
                                             array ("name"=>"LDBNAME","abap"=>"C","len"=>20,"dec"=>0)
                             array (
                                     "name"=>"PROGRAM",
                                     "type"=>"IMPORT",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"","abap"=>"C","len"=>40,"dec"=>0)
                             array (
                                     "name"=>"QTAB",
                                     "type"=>"TABLE",
                                     "optional"=>"0",
                                     "def"=> array (
                                             array ("name"=>"LINE","abap"=>"C","len"=>72,"dec"=>0)
    // Create list of PHP server functions
       $GLOBAL_FCE_LIST[RFC_READ_REPORT] = saprfc_function_define(0,"RFC_READ_REPORT",$DEF_RFC_READ_REPORT);
    // PHP server function
       function RFC_READ_REPORT ($fce)
           $REPORT = saprfc_server_import ($fce,"PROGRAM");
           saprfc_table_init ($fce,"QTAB");
           $fd = fopen ($REPORT,"r");
           if (!$fd)
               return ("NOTFOUND");     // raise exception "NOTFOUND"
           while (!feof($fd))
               $LINE = fgets ($fd,73);
               saprfc_table_append ($fce,"QTAB",array("LINE"=>$LINE));
           fclose ($fd);
           saprfc_server_export ($fce,"SYSTEM","PHP");
           return (true);
    // Call script with: ./server.php -a phpgw -g hostname -x sapgw00
       $rfc = saprfc_server_accept ($argv);
    // Dispatch one function call
       $rc = saprfc_server_dispatch ($rfc,$GLOBAL_FCE_LIST);
       saprfc_close ($rfc);
    ?>
    [/code]
    Regards
    Gregor
    Message was edited by: Gregor Wolf

  • Execute DOS command from SAP

    hi experts ,
    i need to execute DOS command from SAP .
    earlier we have 'GUI_EXEC' WS_EXECUTE , 'WS_DOWNLOAD' etc which are Obsolete now.
    as we are using ECC6.0. kindly guide how to do this.
    best regards,
    Rahul

    Try out...
    DSVAS_DOC_WS_EXECUTE_50
    or
    CL_GUI_FRONTEND_SERVICES=>EXECUTE
    <b><REMOVED BY MODERATOR></b>
    Thanks & Regards
    ilesh 24x7
    Message was edited by:
            Alvaro Tejada Galindo

  • Executing Sabrix Reports from SAP CPS

    Does anyone know if we can executing Sabrix Reports from SAP CPS?
    Thanks,
    Bhushan

    No. That was the first option I could think of. Executing it with ABAP Program.
    I dont have much information about Sabrix System but what I understand is that automated tax reporting solution which runs batch processes in background during
    night and email report with desired data in an excel spreadsheet format. Sabrix doesn’t have a custom solution to generate reports. They have suggested leveraging 3rd party tools for such requirement.

  • Why will my HP6510 not print to photo tray when I print directly from my computer?

    Why will my HP6510 not print to photo tray when I print directly from my computer?
    I am able to print to the photo tray when I print from a memory card, inserted directly into the printer.  However, when I try to print a picture saved directly to my laptop through my wireless connection, the picture prints from the main tray.  If I take the paper out of the main tray, I get the out of paper message.  When I first bought the printer, I had no problems with this issue.  The printer is about 2-3 years old.  I have gone into the HP software on my laptop and set the preferences for photo tray, along with the size I wanted and the photo paper I was using.  By the way, it is HP photo paper.  I have also done the same on the print screen on my laptop.  In addition, I have gone into preferences on the printer itself and chosen "Prompt for photo tray."  I have also uninstalled and reinstalled the HP software on my laptop.  I successfully printed the "practice picture" during the reinstalling process.  None of this has solved the problem.  
    I have no problem printing a document from my laptop wirelessly to the printer. 

    Hi mountainnana,
    Thank you for your response, sorry the guide was not what you were looking for.
    Here are some other suggestions:
    Open the HP Solution Center (icon is normally on the desktop.) Click on Set Preferences, Click on the Paper/Quality tab, for the Source choose Tray 2, choose the right paper size and media type. Click Apply, and then OK. Then try printing your photo again.
    If that does not work there could be a driver/software conflict happening. If that is the case please try our HP Print and Scan Doctor.
    Otherwise, proceed with a uninstall and reinstall of your printer software using the HP Printer Install Wizard for Windows.
    Hope this solves your issue, and have a good day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • I aHow do you execute a Kornshell from a portal portlet?

    I am trying to figure out what I have to do to execute a Kornshell from a portal page. The Kornshell runs and does a variety of things not related to portal or its pages. I just what to be able to have users go into portal and launch the kornshell. Can any body get me started?
    Thanks
    M

    Hi,
    I can think of your requirement in the lines of J2EE.
    I would probably write a Servlet, convert it into a Portlet ( or use JDevleoper & the PDK Wizard to do it ). I could then use the Runtime class in Java & try to call my Shell Script:-
    // Declare the Objects
    Runtime objRuntime;
    Process objProcess;
    // Let's get an access to the Runtime Environment
    objRuntime = Runtime.getRuntime();
    // Let's execute some process.
    objProcess = objRuntime.exec(" sh /usr/bin/test.sh");You might need to configure the Security Policy of your JVM on the server to allow this kind of access to a Servlet.
    I haven't tried ti - but, I guess with the right docs & tweaks, it would work..:)
    Regards,
    Sandeep

  • Is there any way to execute process chain from the portal?

    Hello,
    Is there any way to execute process chain from the portal? I dont want to link process chain with any of report. I want to have a button in some of portal folders. User presses the button and it executes the process chain.
    I was thinking about to create a fake planning cube, aggregation level and planning function. I call FM within the Fox planning function that runs the process chain. But it should be done within the report.
    Any ideas?
    Thanks a lot in advance!

    Hi.
    I want to have a button in some of portal folders
    You mean that you want to use some link in EP ?
    Regards.

  • Error when opening PDF files from SAP.

    Hi Gurus
    I have posted this question in ABAP Development section also. Please read the below text.
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
    This issue occurs few times a day in Windows Vista.
    This issue does not occur in Windows XP.
    Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
    SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
    Environment
    SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
    Windows Vista Enterprise
    Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
    SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11.
    Please suggest
    Thank you
    Pavan

    Now I got to capture the screenshot, however not able to attach/upload here but it says:
    'Reading Untagged Documents'
    lets say i tried to open 6 page document then it said:
    'This 6-page document is untagged and must be prepared for reading. While the document is being
    analyzed, your assistive technology will not be able to interact with this application. '
    then it asked for Reading options
    then a checkbox for to confirm 'Always use the settings from the Reading Preferences (Do not show this dialog again)
    then 'OK/START' and 'cancel' buttons
    It seems, this is the problem with Adobe w.r.t Vista.
    thanks
    Bhudev

  • Message SR 053 when i send idoc from SAp R/3 4.6C to PI 7

    Hi,
    I try to send idoc from SAP r/3 4.6C to PI 7. I had made  ALE configuration in my sender system ( SAP 4.6C) but idocs are not sent to PI. In SM58 i have message "Name or password is incorrect (repeat logon)". Yet i'm sure that user and password are correct because if i test RFC destination using SM59 , test is OK.
    Is somebody can help me ?

    Hi,
    In R/3 :
    my RFC destination is type 3 and point to XI. The port in the partner profile  point to this RFC destination. ( all seems good !).
    In Xi : i created a port and i load manually idoc in idx2 to be sure that RFC destination was OK. Nothing in IDX5.
    When i send idoc MATMAS using BD10 from R3 to Xi i have something very strange: first the message B1 038  "1 master IDocs set up for message type MATMAS" and just after
    the XI logon screen  appears !! Then message "1 communication IDoc(s) generated for message type MATMAS" and this idoc stay in SM58 with message "Name or password is incorrect (repeat logon)".
    Somebody can give me requires caracteristics for XI user used in R/3 RFC destination ?

  • Error when importing IDOC structure from SAP - Control record missing

    Hi!
    We are hitting problems when importing IDOCs from SAP into the Integration Builder. The import ends successfully but when we drill into the IDOC structure we get a message: <b>Schema for type EDI_DC40.ASN_OUT.DELVRY01.Z1DELVRY (category Data Type) not found</b>. This is only happening for one specific IDOC type only. We have checked all we can think of but cannot get this to work. Any help would be very much appreciated. Of course, points awarded for any good ideas. Thx, Duncan

    Hi Duncan,
    Taka a look at these threads which address similar issues:
    Error during import of FIPARQ01 Idoc
    Error during IDoc Import
    Importing idocs:
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/a48f3c685bc358e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/78/21753251ce11d189570000e829fbbd/content.htm
    Hope these help!.
    Cheers,
    Chandra
    Message was edited by: chandravadhana gopalakrishnan

  • Error when execute a package from SQL Server Agent

    We have the next problem:
    When we execute a package from a Job of SQL Server agent, it shows the success messege, but reviewing the results, the package didnt do all the tasks.
    When we run it mannually by MSIS the package, it shows the success message and it works fine.
    The workflow of the package is :
    1) Shrink the databases (executing a sql file)
    2) Backup the databases (Back up Database task of MSIS)
    3) Rename the files to .BAK extension (by the Foreach loop container and fyle system task)
    4) Execute command to compress the it (by a .bat)
    5) Move the compress file to another location  (by another Foreach loop)
    Manually run correct, but when is a a SQL AGent Job that execute the package it does only the first 2 steps.
    we are ussing Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (coffee) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) 
    We are using a user with administrator privilegies
    Cheers 

    Can you check if account running package has proper access. You may need to define a proxy account for that.
    See
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    http://gqbi.wordpress.com/2014/01/30/setting-up-a-proxy-account-to-run-sql-server-integration-services-ssis-2012-packages/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • BSP css & mime objects not found when accessed via iView in the Portal

    Hi
    A locally developed BSP Application has defined it's own CSS and MIME objects.
    This works well when accessed via the Integrated ITS in ECC6.
    However, when we access this the BSP application from an iView in a Portal (NW04S), the css and MIME objects do not appear to be loaded.
    What are we missing?
    Thanks
    Doug

    Hi Doug,
      have you found out the reason for this issue, i encountered the same problem when i access the HCM_LEARNING bsp, would you  please give some addvice if you have any idea?
    thanks,
    billy

Maybe you are looking for

  • Can we create an overarching Apple ID for discovery/managing/playing content for our pre-K kid?

    I own several for work-and personal Apple devices and have been using one Apple ID to discover, manage and play content. This content consists of items that are (1) work based (2) personal based (3) family/child based (e.g. Monsters Ink). I purchased

  • Need a pattern to update a table's contents

    The goal here is to update a table's data when new data is imported into my application. I was looking thru the Swing trail and see that the TabelModelListener is more appropriate for when the data in the table itself changes -- I cannot find a good

  • SQ01, SQ02 & SQ03

    Hi, I am creating user groups (SQ03), infosets (SQ02) and reports (SQ01) for different departments which may access the same infosets but have their own reports. The trouble I'm having is that no matter what user logs in to SQ01 they have access to r

  • Gifting a customized wish list

    I am not sure how to make this work with the latest version of iTunes. I have created the list from my wishlist but there is no option to gift the list. Can someone tell me what I am missing?

  • How to install flash player plugin in Lenovo a3000 tablet

    Previously I was able to play flash games on my tablet Lenovo A3000. After recent factory restore and re-installing Firefox and then flash player manually, still Firefox is not able to run flash games and asking to install flash plugin. Please help