Javascript error calling a bi 7.0 webapplication from a bsp application

Hi everyone,
This is the scenario we're facing a javascript error :
Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
The html link to the bi web application is created according to this documentation :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
Purpose of the bsp application :
in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
The process described above is :
working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
The javascript error calling bi 7.0 web applications is :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
Message: Object doesn't support this property or method
Line: 96
Char: 11
Code: 0
URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
Is there any way to find out, what is causing this object is missing ?
Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
system components :
production system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 7
q&a system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 8
Kind regards.
Dirk

Hello everyone,
we did some further analysis on this problem und we think we found the problem.
The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
Has anyone seen this before? Any ideas how we can fix this?
Kind regards,
Matthias
Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

Similar Messages

  • How to call BSP pages from a BSP application of another package

    Hi,
    I have a BSP application in one package and I want to call pages from another BSP application in a different package.
    Is it possible? How it would have to do it?
    Thanks in advance
    Regards

    Hi,
    You cannot call a page fragment in a seperate window or seperately in the same window...
    Page fragment is used only for including a fragment in your page....
    It is not a seperate page..!
    To call a page fragment, you have to  use the include directive...
    eg :
    <%@include file="Carrier_report_logo.htm" %>
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

  • Calling a Perl script from a BSP application

    Hi all,
           Is it possible to call a Perl program that resides on a different server from a BSP application. If so, how do I do it.
    Thanks,
    Shiraz.

    If I understand correctly what the script does then when you type the script by itself into the webbrowser do you get a response? If it works that way then you can quite easily use something like this:
          <htmlb:gridLayout columnSize = "1"
                            rowSize    = "1"
                            height     = "600"
                            width      = "100%" >
            <htmlb:gridLayoutCell columnIndex = "1"
                                  rowIndex    = "1" >
              <phtmlb:matrix width  = "100%"
                             height = "100%" >
                <phtmlb:matrixCell col = "1"
                                   row = "1" />
                <iframe id="MyIFrame" src="<%= lv_url %>" border="0" width="100%" height="100%" frameborder="0" />
              </phtmlb:matrix>
            </htmlb:gridLayoutCell>
          </htmlb:gridLayout>
    See: is it possible to define xhtml:tabscript width by using %
    Just give your perl script as the URL for the iframe. Again this only works if calling the perl script in the browser works.

  • Javascript error when updating the jsf-impl.jar from 10.1.3.1 to 10.1.3.0

    Hiya,
    I have my application running on Jdeveloper 10.1.3.0. When I am upgrading the jsf-impl.jar file from 10.1.3.1 to my 10.1.3.0 , the application started giving javascript warning errors on every pages, although the functionality is working fine.
    Any suggestion or idea is welcome.
    Thanks in advance,
    Amitabh

    Two things.
    First I suppose you mean you are upgrading from 101.3.0 to 10.1.3.1 and not downgrading it? Secondly, most web browsers allow you to show what JavaScript error exactly is being given. That info might also help. And when it is being given.
    Jan Kettenis
    null

  • How to call pdf forms developed in ABAP from WD Java application?

    Hi
    I have a web dynpro ABAP application that that is responsible for generating PDF forms for all other applications (WD ABAP and WD Java).
    How can I call the pdf forms generated by the WD ABAP application from WD Java application in a separate window?
    These forms are to be called on click of a "Print" button. Also, these forms are non interactive.
    Kindly let me know if you need any other information.
    Regards
    Vineet Vikram
    Edited by: vineet vikram on Jun 24, 2009 7:28 AM

    in addtion to Nikhil's response. you can write following code on action of print button:
        IWDWindow window = wdComponentAPI.
            getWindowManager().createExternalWindow(
                  "<ABAP Application URL>",
                  "<Title for window>",
                  false);
       window.open();
    to Close the application, you can use the window close or u can fire an event to close current window.
    Abhinav

  • Excel sheet generation through RFC call from a BSP application

    Hi,
      I am calling a RFC FM ( in R3)  in Event handler 'OnInputProcessing' of a BSP application in a SRM server.
    That function submits a report program which geneates a excel sheet using download FM . Excel sheet is not getting generated.
    But when i am calling this RFC FM  (in R3) from a report program ( in srm server)
    this is generating an ecel sheet.
    I want to have call RFC from BSP application.
    I tried the way of submit a program ( which contains RFC call) from BSP application ,but it is also not generating excel sheet.
    My ultimate AIM is to generate excel sheet by trigerring CALL or submit from BSP
    application.
    can any one propose solution for it.
    Useful answers will be rewarded.

    Hi,
    Which FM is it. I guess that the download generated is a SAP gui oriented solution, which will never work in a web environment
    Eddy
    PS. Reward useful answers and earn points yourself

  • Call a method in VB dll from Java Web Application

    Hi,
    I'm trying to call a method of a VB dll, from a web application developing with J2EE. Is it possible without JNI? And, if it is not possible with a tool, can you help me with an example of JNI using?
    Thank you
    Mary

    maria_eg wrote:
    I'm trying to call a method of a VB dll, from a web application developing with J2EE. Is it possible without JNI? Maybe using Runtime#exec() and rundll32.exe. Depends on the DLL which you want to call.
    And, if it is not possible with a tool, can you help me with an example of JNI using?JNI tutorial: http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html
    JNI forum: http://forum.java.sun.com/forum.jspa?forumID=52

  • Passing paramters and calling a PCUI screen from a BSP Application

    Hi,
    We have developed a custom BSP application which displays a list of Opportunities in a HTMLB table view based on a search criteria.
    When I click on a particular opportunity no., I should call a PCUI screen which should display that particular opportunity details.
    Any help is greatly apperciated.
    Thanks,
    Vasu.

    You are going to have to be more specific in what you want.
    First I would read the following pieces of info.  They will help you with general problems, also with creating an Iterator and read the select rows of a table.
    BSP Element - Dynamic tableView with Internal Table
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>
    Just shooting from the hip I am assuming you are clicking on a selected ROW in the tableView where you defined the tableView with <i>selectionMode="SINGLESELECT"</i> and <i>onRowSelection="MySelectEvent"</i> then on the OnInputProcessing Event Handler you read the selected row (see <a href="TableView and selected row)
    So and of course once you read the selected row in the OnInputProcessing event handler you can do further porocessing.
    However if you are wanting to provide the user with the ability to click an icon or text link in the row then please refer to the Iterator for that.

  • EREC-BSP-How to call a bsp application from another bsp application

    Hi Experts,
    In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
    i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
    now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
    Cheers,
    Amod

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • Error calling EBusiness Suite Public API's from SOA

    Hi, I'm doing some proof of concept work with SOA Suite v 10.1.3.10. When I try to call any of the EBiz suite public API's that have user defined types for records and tables passed as parameters I get the following error when the Oracle Application Adaptor tries to create the WSDL and necessary sql scripts:
    Error while writing wsdl file C:\Program
    Files\jDeveloper\jdev\mywork\CRMTest\CRMTest\CRMOut3.wsdl.
    Exception:
    The wrapper procedure, CS_SERVICEREQUEST_PUB$CREATE_,
    could not be found in the package, XX_BPEL_CRMOUT3, for the schema, APPS.
    To move beyond this I created a skeleton stored procedure containing a declaration for the
    CS_SERVICEREQUEST_PUB$CREATE_ function (and selected overwrite script in the wizard) and am now getting the following error:
    Error while writing wsdl file C:\Program
    Files\jDeveloper\jdev\mywork\CRMTest\CRMTest\CRMOut3.wsdl.
    Exception:
    Unable to expand a user defined type definition.
    An unexpected exception occurred while trying to analyze teh user defined type definition of parameter .
    Check to ensure that the user defined type is defined correctly in the database. Contact oracle support if
    error is not fixable.
    This works fine for the API's that just use basic types. I've also tried this with the Database Adapter and this seems to work OK too, just not with the Oracle Application Adapter.
    Thanks for any help you can provide
    Mike
    Edited by: user2554089 on Jan 5, 2009 1:38 PM

    Hi Christine,
    It looks like a couple of the Application Servers aren't starting when OC4J starts, I need to hunt through the logs to identify the source of the problem but in the meantime I'm starting them manually from the Application Server Control. To do this expand the OC4J server and check that all the services are running (green up arrow) any that are down, click on them and start them manually. I had to manually start hw_services and deploy_service but the Worklist now runs fine.
    It's possible that you won't see this problem yourself as you're upgrading from a later release than I started from but from a brief google session it looks like others have seen the same problem for different reasons. I've seen some posts that refer to the default port of the Worklist changing so that it needs starting with http://host:8988/integration/worklistapp/Login instead of http://host:8888/integration/worklistapp/Login.
    Because I'm also having problems shutting down SOA suite I suspect that the patch has mangled one of the configuration scripts and I'll post the root cause when I've had chance to pore over the logs.
    Regards
    Mike
    Edited by: Mike Ronson on Jan 19, 2009 3:28 PM

  • SSIS is not running in 64 bit production server - Error Class cannot be found while running from c# web application

    Full error message:
    An Integration Services class cannot be found. Make sure that Integration Services is correctly installed on the computer that is running the application. Also, make sure that the 64-bit version of Integration Services is installed if you are running a 64-bit
    application
    I have developed SSIS package in my development machine where the OS is 64 bit and sql server 2012 is installed.
    The package has excel source and oledb destination. Excel files can be both .xls and .xlsx format. Since i want to run both xls and xlsx format i have installed
    32 bit Microsoft Acess database engine form the below link, then both xls and xlsx format worked.
    .xls - 32 bit
    .xlsx - 32 bit and 64 bit is available. So in common i have to run it in 32 bit.
    I have set Run64BitRuntime to False and ran package. it is working fine. I cannot set Run64BitRuntime to True and run the packages. Because i have office products installed on my machine which is 32 bit. if try to install 64 bit Microsoft Acess
    database engine redistributable pacakage from below link , it is throwing error saying that, already office 32 bit product is installed so uninstall 32 bit product and install 64 bit.
    Excel connection string is Ace database engine only. everything works fine.
    microsoftcom/en-us/download/details.aspx?id=13255
    Now i am trying to invoke package from c# code by using Microsoft.SqlServer.ManagedDTS.dll and it is also working fine in my dev machine.
    When i deploy the web application in production am getting the error while invoking package. the full error message is posted in 1st line of this thread.
    Then i tried to execute the package in production server by using dtexec utility, it is working fine. I tried both 32 bit and 64 bit dtexec utility by going to specific path (program files(x86) and Program files) via command prompt.
    It is all working fine. So the error coming when i invoke from web application. My guess is ManagedDTS causing problem.
    Where can i find 64 bit Microsoft.SqlServer.ManagedDTS.dll
    or is it because of any other problem. i have checked below links, still problem not resolved.
    social.msdn.microsoftcom/Forums/sqlserver/en-US/491384d2-02f7-4178-a1c3-bcbd58e57fce/an-integration-services-class-cannot-be-found-make-sure-that-integration-services-is-correctly?forum=sqlintegrationservices
    forums.aspnet/t/1990417.aspx?Issue+deploying+SSIS+Package+in+production+web+server

    1) "I have set Run64BitRuntime to False and ran package" -> this is not valid outside of your development environment, it is made for simulation purposes as all the dev tools are 32 Bit
    2) "Where can i find 64 bit Microsoft.SqlServer.ManagedDTS.dll " is basically SSIS. It is quite possibly the culprit. I am inclined to think you attempt to run the package where there no SSIS installed.
    Arthur
    MyBlog
    Twitter

  • How to call function module in R/3 from an BSP Page

    Hi Experts,
    I am new to ABAP and BSP as well.
    I am creating an BSP page through which I want to call an function module in R/3 which will fetch a file from the application server and place into an internal table.
    I have identified the function module.
    My questions are:
    Since I am going to have an web interface where on a button click the file should be uploaded to the intrernal table.So how do I call the function module.
    Can I use JSP and ABAP together in an BSP page.
    Thanks
    Ankit

    Hello Ankit,
    Please check the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/bd/ac1e3a0088e042e10000000a11402f/frameset.htm
    I think it will answer all your queries.
    Regards,
    Siddhesh

  • Basic Search Item javascript error

    When I use the Basic Search Item to submit a search, I get a Javascript error:
    Error: 'document.mysearchform.p_looplink' is null or not an object
    Examining the page HTML shows that submitting the serach runs this function
    function fetch() {
    var purl;
    purl = location.href;
    document.mysearchform.p_looplink.value = purl;
    document.mysearchform.submit;
    but the form mysearchform doesn't have a field called p_looplink
    The form fields are
    INPUT TYPE="text" NAME="ms" SIZE="15" MAXLENGTH="30"
    INPUT TYPE="submit" VALUE="Go"
    INPUT TYPE="hidden" NAME="pg" VALUE="33"
    INPUT TYPE="hidden" NAME="search_type" VALUE="Simple"
    INPUT TYPE="hidden" NAME="ll" VALUE=""
    INPUT TYPE="hidden" NAME="p_action" VALUE="SUBMIT"
    INPUT TYPE="hidden" NAME="_dad" VALUE="portal"
    INPUT TYPE="hidden" NAME="_schema" VALUE="PORTAL"
    This bug only appears when you have your browser set to report all Javascript errors - it doesn't prevent the search from working.
    Any ideas about what's going on here?
    Does the basic Search Item (not the portlet) work properly for anyone else?
    Rob

    hi rob,
    this problem is reported in bug 3801639. it is fixed in portal 10.1.2.
    regards,
    christian

  • Cs6 dreamweaver - javascript error with Clean up Word HTML . . .

    Very recently upgraded to CS6 from CS5.5. Every now and then, I have to run the Clean up Word HTML Commands function for a client. Never had a problem before. This time, I got this message:
    While executing onClick in Clean Up Word HTML.htm, the following JavaScript error(s) occurred:
    At line 2012 of the "Macintosh HD:Applications:Adobe Dreamweaver CS6:Configuration:commans:Clean Up Word HTML.js"
    The object is not currently contained in a document.
    I searched through the Discussions and found refernce to deleting MacFileCache-###.dat file in the Library Configuration folder for Dreamweaver CS 6. Did that, same thing. It also mentioned deleted the entire Configuration folder. Same result.
    I called tech support and was directed to go through the (count 'em) 14 steps on the Troubleshoot JavaScript page -- http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html. Still no luck.
    Anyone else out there having this problem? What am I missing? Help!
    Thanks, Tim

    Hi SnakEyes02,
    That could be. Let me know when you have grabbed these. They were Word docs that I saved the same way I always have done (Save As, Format: Web Page (.htm)), creating .htm files that work in CS5.5 Dreamweaver and earlier versions.
    http://test.babysneaks.com/WordHTML1.htm
    http://test.babysneaks.com/WordHTML2.htm
    Thanks for your help. Tim

  • Error calling methods CL_GUI_FRONTEND_SERVICES

    Hi all,
    I have a requirement in BAPI (integrating solman to portal) to download file from app. server to local directory. I used the below FM to get temp directory of presntation server.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY
       CHANGING
         TEMP_DIR             =  LV_TEMP_DIR
       EXCEPTIONS
         CNTL_ERROR           = 1
         ERROR_NO_GUI         = 2
         NOT_SUPPORTED_BY_GUI = 3
         others               = 4.
       CALL METHOD cl_gui_cfw=>flush.
    It works fine in R3, but when i called it from portal it shows Access not possible using 'NULL' object reference with a short dump .
    st22 shows
    Error in ABAP application program.
    The current ABAP program "CL_GUI_FRONTEND_SERVICES======CP" had to be
    terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    An exception occurred. This exception is dealt with in more detail belo
    . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL',
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "GET_TEMP_DIRECTORY" "(METHOD)"
    Since the caller of the procedure could not have expected this exceptio
    to occur, the running program was terminated.
    The reason for the exception is:
    Attempt to access a component using 'NULL' object reference (points
    to nothing).
    An object reference must point to an object (an instance of a class)
    before you can use it to access components (variable:
    "CL_GUI_FRONTEND_SERVICES=>HANDLE").
    Either the reference has not yet been set, or it has been reset to
    'NULL' by a CLEAR statement.
    When i put external break point and the dump comes during execution of CALL METHOD cl_gui_cfw=>flush.
    Is it not possible to use CL_GUI_FRONTEND_SERVICES in RFC ??.
    thanks and regards
    Jijo

    Hi,
    the dump is because you cannot use that function from a BSP application, which runs in internet or intranet. The procedure in this case is different:
    DATA: flights  TYPE flighttab,
            flight   LIKE LINE OF flights,
            appl     TYPE string,
            filetype TYPE string,
            output   TYPE string,
            output2  TYPE xstring,
            response     TYPE REF TO if_http_response,
            l_len        TYPE i,
            seatsmax     TYPE string,
            seatsocc     TYPE string.
      appl = 'application/msexcel'.
      filetype = 'attachment;filename=mi archivo.xls'.
      SELECT * FROM sflight
         INTO TABLE flights
         UP TO 20 ROWS.
      LOOP AT flights INTO flight.
        seatsmax = flight-seatsmax. CONDENSE seatsmax.
        seatsocc = flight-seatsocc. CONDENSE seatsocc.
        CONCATENATE output
        flight-carrid cl_abap_char_utilities=>horizontal_tab
        flight-connid cl_abap_char_utilities=>horizontal_tab
        flight-fldate cl_abap_char_utilities=>horizontal_tab
        flight-planetype cl_abap_char_utilities=>horizontal_tab
        seatsmax cl_abap_char_utilities=>horizontal_tab
        seatsocc cl_abap_char_utilities=>horizontal_tab
        cl_abap_char_utilities=>cr_lf
        INTO output.
      ENDLOOP.
      response = runtime->server->response.
      response->delete_header_field( name = if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires ).
      response->delete_header_field( name = if_http_header_fields=>pragma ).
      response->set_header_field( name = if_http_header_fields=>content_type
                                  value = appl ).
      response->set_header_field( name = 'content-disposition'
                                  value = filetype ).
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text     = output
          mimetype = 'text/unicode; charset=utf-16le'
        IMPORTING
          buffer   = output2.
      CONCATENATE cl_abap_char_utilities=>byte_order_mark_little
                  output2 INTO output2 IN BYTE MODE.
      l_len = XSTRLEN( output2 ).
      response->set_data( data = output2
                          length = l_len ).
      navigation->response_complete( ).
    This is the code for downloading an Excel file.

Maybe you are looking for

  • My ipod touch 3G the bottom doesn't work. How do i fix it?

    Everything on the top works. From the bottom, its slowly moving up. now i'm not able to slide to unlock it.

  • Music files are skipp

    I just reformatted my computer with Win XP SP yesterday and I decided to wait a bit before I install my sound drivers. BTW, I am using a 2-3 year old Audigy Gamer sound card (can't remember exactly when I bought it). So I first try using the CD that

  • Is Airport Extreme right for this setup?

    I'm currently using a new IMac and am going to purchase a used macbook 1.83 that has the "g" wireless card. I want to run an ethernet cable to the imac (rather then use wireless) from the Airport extreme, use wireless to connect to the macbook, as we

  • Chart Scale Options

    Hi, I 'm having tough time trying to figure out scaling options for my column chart. I have data in series. The chart does not start from Zero value. It starts from min value to max value. It is confusing sometimes. Also, the chart bars vary in size

  • Dinamic Graph in smartforms

    Hi, I need to create a dinamic graph in smartforms. I can to import the bitmap via transaction se78 and to create a new graphic windowns in the smartforms and put it the bitmap, but how can I do it if the graphic is dinamic? Is there a function modul