Open Bex workbook from BPS web interface,How hard it could be?

Hi all,
    I want to add a link or function-button in my BPS web interface,hope it could open a query(excel analyser),I tried 2 methods as follow:
   1. MIME , It can only open a static excel file, not a analyser query. I gave up this method.
   2. I use the program RRMX_START_EXCEL and add a plan function which is a EXIT in BPS0,in my EXIT function I used some code in  RRMX_START_EXCEL,I test it in BPS0 ,it works ,it can open a analyser excel query.But when I put this plan function(including a parameter group ) in BPS_WB ,when I click the function-button in web interface, it crashed,says:
Error when processing your request
What has happened?
The URL http://bw1.:8000/sap/bc/bsp/sap/zwebcaxa001_998/page1.htm was not called due to an error.
The termination type was: TH_RES_FREE
and some other Error infomation,
Is it possible to realize my requirement? or Web interface and analyzer are just 2 total differrent things ,it is not possible to realize this?
thanks all

Hi Denny,
Have a look at www.javascript.internet.com and do a search for "whatfile".....
This should give you the javascript code whereyou can enter a file name (say an excel file name) and click a button to navigate to it.
Although I have not tried exactly what you have asked, I have successfully used parts of this code to open specified files (excel files) on our local directory from a BPS planning web page.
Obviously you will need to adapt the code to your specific evironment/situation...
Good luck.
Rael

Similar Messages

  • Calling Bex Workbooks from the Web Dynpro

    Hi All,
    I'm calling Bex Workbooks from my dynpro using the following code:
    create reentrance ticket
      call function 'CREATE_RFC_REENTRANCE_TICKET'
        importing
          ticket                 = l_ticket
        exceptions
          ticket_logon_disabled  = 1
          ticket_creation_failed = 2
          kernel_too_old         = 3
          others                 = 4.
      check sy-subrc = 0.
    system number
      call function 'GET_SYSTEM_NUMBER'
        importing
          instancenumber = l_sysno.
    create the shortcut
      CONCATENATE '[System]'                           cl_abap_char_utilities=>cr_lf
        'GuiParm=' sy-host ` ` l_sysno                 cl_abap_char_utilities=>cr_lf
        'Client=' sy-mandt                             cl_abap_char_utilities=>cr_lf
        '[User]'                                       cl_abap_char_utilities=>cr_lf
        'Name=' sy-uname                               cl_abap_char_utilities=>cr_lf
        'at="MYSAPSSO2=' l_ticket '"'                  cl_abap_char_utilities=>cr_lf
        'Language=' sy-langu                           cl_abap_char_utilities=>cr_lf
        '[Function]'                                   cl_abap_char_utilities=>cr_lf
        'Title='                                       cl_abap_char_utilities=>cr_lf
        'Command=*RRMXP WBID=' l_workbookid            cl_abap_char_utilities=>cr_lf
        'Type=Transaction'                             cl_abap_char_utilities=>cr_lf
        '[Configuration]'                              cl_abap_char_utilities=>cr_lf
        'GuiSize=Normal window'                        cl_abap_char_utilities=>cr_lf
        'Workplace=true'                               cl_abap_char_utilities=>cr_lf
        '[Options]'                                    cl_abap_char_utilities=>cr_lf
        'Reuse=0'                                      cl_abap_char_utilities=>cr_lf
        into l_content.
      lo_conv = cl_abap_conv_out_ce=>create( ).
      lo_conv->write( data = l_content ).
      l_content_x = lo_conv->get_buffer( ).
      concatenate l_workbookid `.sap` into l_filename.
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename      = l_filename
        i_content       = l_content_x
        i_mime_type     = `application/octet-stream`
        i_in_new_window = abap_false
        i_inplace       = abap_true ).
    Most of the time it's working fine - but some user experience a "Host Unknown" failure ?? - I suspect than it has something to do with contacting Excel, but I can't figure out exactly what goes wrong. The users have all needed componets of course, and they can run Workbooks from SAP GUI without getting this error.
    Thanx Ahead.

    Look at below link: it might help you.
    [WAD URL Call for BEX|/thread/268199 [original link is broken];
    Raja

  • How to open a Query in BPS Web-Layout

    Hello,
    i am new to BPS. How can I open a Query in BPS Web-Layout so that I can enter plan data manually??
    Pls give me the procedure and not links to help.sap.com. Thanks.
    pls help,
    SD

    Hi.
    You can open bex query in BPS Web Layout, but you should update data via BPS layout.
    In BPS Bex query can be opened only for display as long as BPS doesn't allow input via query (only BI7+IP).
    In BPS Web Interface builder add subcomponent "text", set HTML=TRUE, goto property "text", press F4->edit long text and enter HTML tags IFRAME with URL of bex query.
    Regards.

  • Open a BEx Analyzer Workbook from a Web Application Template

    Hello All,
    I want to open a BEx Analyzer Workbook from a Web Application Template.
    My vision is, that I have got a Button in my Web Application Template and when clicking on
    it a Web Analyzer Workbook opens. The Analysis Item in the template and the Grid in the workbook are based on the same DataProvider. So you can open the report in web or in excel, but the people shouldn't open Excel separately when they use the web frontend.
    I only found an export function, but this doesn't open a workbook. I couldn´t find a good solution here as well...
    Best regards

    SAP STANDARD BSP RSR_BEX_LAUNCH

  • BEx Web Applications in BPS Web Interfaces

    Hi all,
    I need to make a BPS web interface which enables the business user to see data in the BW system while posting the budget items in BPS. This is to be done in the Web, and I have therefore tried to implement a solution for the customer following the instructions in the HowTo-paper: "How To.... Integrate BEx Web Applications into BPS Web Interfaces".
    The report is displayed when the interface is executed, but the variable which I have included in the code does NOT have any effect on the BW query (which is a surprise to me) but rather only on the BPS Web Interface (which is no surprise to me).
    The above results in two questions:
    - What part of this code needs to be changed for the variable to take effect on the BW query as well as the BPS Web Interface:
    <iframe
        id="BWReport01"
        name="BWQUERY"
        src="/sap/bw/BEx?
        cmd=ldoc&TEMPLATE_ID=ALLOK_CHECK2"
        width="1200"
        height="600">
        Frames are not supported
    </iframe>
    <script language="JavaScript" type="text/javascript">
        var frame  = document.getElementByld( 'BWReport03' );
        var url    = '/sap/bw/BEx?cmdldoc&TEMPLATEID=';
        var filter = '&FILTER_IOBJNM=0PROFIT_CTR&FILTER_COLLAPS=&FILTER_VALUE_EXT=';
        var '1000/'  = '';
        var appl   = 'ALLOK_CHECK2';
        var varvl  = '%=descr(VarvlSel1_pctr/value)%>';
        var convert = /\((.*)\)/;
        convert.exec(varvl);
        if ( RegExp.$1 != "") varvl = RegExp.$1;
        url = url + appl + filter + comp + varvl;
        url = url.replace(/ /,"");
        frame.src = url;
    </script>
    Particular areas where I am in doubt (in squared brackets):
    [  var '1000/'  = ''; ]
    [  var convert = /\((.*)\)/; ]
    - has anyone had any experience in using the Selector Package (SEL_PACKAGE) rather than the Selector Variable Value (SEL_VARVL)? In case you have, how is it implemented in the HTML-code?
    Looking forward to hearing from you guys soon.
    Best regards
    Rune Rygaard

    Hi Rune,
    Here's what I found - I'm not sure it will solve your problem, but maybe it can give you some hints:
    <b><iframe
    id="BWReport01"
    name="BWQUERY"
    src="/sap/bw/BEx?
    cmd=ldoc&TEMPLATE_ID=ALLOK_CHECK2"
    width="1200"
    height="600">
    Frames are not supported
    </iframe></b>
    I think the section above in bold has to be deleted and replaced by the one specified in section 3.3 of the how to paper: <iframe id=BWReport03" name="BWQUERY" src="/sap/bw/mime/....</iframe>. The reason is the your defintion will display the report, but will not take any variables into consideration.
    Furthermore you're missing a '=' in your code (cmd=ldoc) - I marked it in bold below. What you could also do was to add an alert to display the URL generated by the javascript. I added that in bold as well. That can give you an idea of whats missing.
    Hope this helps,
    Jacob Lund - DK :o)
    <script language="JavaScript" type="text/javascript">
    var frame = document.getElementByld( 'BWReport03' );
    var url = '/sap/bw/BEx?<b>cmd=ldoc</b>&TEMPLATEID=';
    var filter = '&FILTER_IOBJNM=0PROFIT_CTR&FILTER_COLLAPS=&FILTER_VALUE_EXT=';
    var '1000/' = '';
    var appl = 'ALLOK_CHECK2';
    var varvl = '%=descr(VarvlSel1_pctr/value)%>';
    var convert = /\((.*)\)/;
    convert.exec(varvl);
    if ( RegExp.$1 != "") varvl = RegExp.$1;
    url = url + appl + filter + comp + varvl;
    url = url.replace(/ /,"");
    <b>alert (url);</b>
    frame.src = url;
    </script>

  • How to call a BPS Web Interface with predefined selections

    Hi,
    I have read and try to implement the "How to... call a BPS Web Interface with predefined selections" but it is not working.
    I have one Web Interface called ZXXXXX, then I created one BSP and copied the ABAP code into the Layout screen.
    I checked the ABAP and it concatenates and fill the variable l_url, but the page is not displayed.
    l_url = /sap/bc/bsp/sap/zxxxxx/zxxxxx.htm 
    I have checked that I have no errors in the BPS variables and its values.
    It just opens internet explorer and the page displays "<<<" in the top of the screen.
    I am working with BW7.0 and BPS 3.5.
    If anyone can help me it will be rewarded,
    Thanks a lot,
    Fernando

    I think the problem is in the last part of the code.
    <frameset framespacing=0 frameborder=0 border=0>
    <frame src="<%= l_url%>" name="x" framespacing=0 frameborder=0 border=0
    marginwidth=0 marginheight=0>
    </frameset>
    It is doing nothing in this point, but the ABAP fills correctly the l_url variable.
    Thnks

  • How to call BEx workbooks from EP?

    Hi!
    How to call BEx workbooks from EP (in new window)?
    P.S. For creation iView for workbooks I use "Role Upload" in Portal (System Administrator -> Transport -> Role Upload). Automatically created iView (for workbooks), unfortunately, do not work (bad argument in RRMXP transaction).

    Maxim
    The role migration does not do this properly so you will have to do this manually.
    Create a transaction iview using transaction RRMX.  Then add the following to the Application Parameter field
    WBID=XXXXXXXXXXX (the workbook ID).
    Then change the AutoStart Parameter to True.
    Viola!

  • BPS Web Interface don't show multiple documents for each cell

    Hi gurus,
    I have an issue... we are trying use text documents from BPS on the WEB interface. Everything works fine, I can input text documents on each cell on the web, and from Query as well.
    I saved several other documents from the query for the very same cell, and I can see these other documents from BPS itself or from the Query by clicking on the title... but on BPS WEB interface, it shows only the last text document saved.
    Is there anything wrong on the configuration, or is it possible for the WEB interface to show the titles so that the user can choose which document he wants to open?
    Thanks in advance,
    Chen

    Hi Luke,
    did you check whether the document attributes are generated for your Characteristics?
    AWB -> Documents -> Administration -> Generated Properties
    There is also a SAP Note 431126, which you might want to consult.
    Regards,
    Eric

  • Iview in portal PA to open BEx workbook in a different server

    Hello gurus!
       It is my first post in this forum, so I hope I can be clear enough. I am facing a client request for which I have not found any documentation of how it could be possible. I will explain more or less the requirements. I have been searching through the forums and I could not find anything.
       We have 2 production servers PA and PB. The portal is working over the PA. Is it possible to create an Iview in the PA portal to link somehow and get a BEx workbook from the PB BW server opened? Do you know of any document or guide on how to do it?
       Thank you very much in advanced,
       Victor

    Hi Lawrence,
       Using this link I created the iview. Then in collaboration with the basis we configured the system landscape correctly and now it works perfectly
    BEx Analyzer Workbook as an iView in the Portal - Business Intelligence - SAP Library
       Kind Regards
       Victor
    http://help.sap.com/saphelp_nw70/helpdata/en/4d/f3fa40badbf36fe10000000a1550b0/content.htm?frameset=/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm&current_toc=/en/e3/e60138fede083de10000009b38f8cf/plain.htm&node_id=1856

  • Integrate WAD 7.0 Template into BPS Web Interface

    Dear all,
    We recently migrated to BW 7.01. We have an existing planning application running as a BPS Web Interface.
    I now want to integrate a query output (data and chart) by using a web template designed with WAD 7.0 into the existing BPS web interface. I know how to do this with a web template designed with WAD 3.5. There is also a How-to paper available that explains it for 3.5. I'm struggling now to do the same with WAD 7.0. The syntax for the URL generation changed, that's one problem. There maybe more when actually calling the web template from the web interface(?).
    I found some threads here in the forum dealing with this issue but no clear solution. Some posts even mentioned that integration of 7.0 web templates into BPS web interfaces is not possible at all. I would appreciate any information on this issue.
    Thanks in advance!
    Regards,
    Ulrich Meier

    Hello Ulrich,
    the 7.0 web templates run on your BI Java server which has a different host name (and port) than you BW ABAP server which run the BPS web interface. The servers are different in Dev/QA/Prod so you need to generate the URL dynamically.
    One way is to hardcode it in JavaScript. Something like: if CurrentDomain = ABAPDevDomain. Domain = JavaDevDomain. if CurrentDomain = ABAPQADomain. Domain = JavaQADomain. etc
    A fancy alternative would be to put the Java domain and port into an exit variable which you could include in the BPS web interface (in a hidden DIV tag for example). Fill the exit variable using function RSWR_GET_DEPLOY_PORTAL_INFO. Then your JavaScript can pick up this value to generate the proper URL for the web template.
    Regards,
    Marc
    SAP Techology RIG
    PS: Posting JavaScript directly is limited for security reasons (certain JS keywords are not allowed). You can put your JS into a text file and attach it to your posting.

  • Error. your computer must be running a supported version of Microsoft Visio and a browser that supports opening files directly from Visio Web Access.

    I have the following inside my SharePoint server 2013 :-
    EnterPrise Wiki site collection.
    i have both "Excel services Application "& "Visio Graphics Service" running correctly.
    The problem i am facing is as follow:-
    when a user click on an Excel sheet or Visio document , it will be shown inside the browser without any problem.
    but if the user click on "Open in Visio" OR "Open in Excel" links inside the browser, they will get the following errors:-
    Sorry, but to open this workbook, your computer must be running a supported version of Microsoft Excel and a browser that supports opening files directly from Office Web Apps.
    To open this document, your computer must be running a supported version of Microsoft Visio and a browser that supports opening files directly from Visio Web Access.
    I have the following settings inside my PC:-
    Office 2010 for Excel, word, power point,etc.
    Visio 2013.
    i have disabled SharePoint foundation support for office 2013
    Can anyone advice on this please?

    Hi,
    Please try to reset the Internet Explorer settings or open Internet Explorer in In-Private browsing and then check if this issue occurs.
    If the issue persists, please try to access SharePoint in another computer with Office 2013 and then check if this issue occurs. Or repair Office and restart your server.
    Here is a blog about the same issue for you to take a look at:
    http://sharepointexit.blogspot.com/2013/12/sorry-but-to-open-this-workbook.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • On my Mac, when I attempt to open a form from a web site, the Reader does not open. It used to.

    On my Mac os 10.6.8, when I attempt to open a form from a web site, the Reader (10.1.2) does not automatically open as it used to.  What can I do to correct this problem?

    It sounds like your file associations are messed up and Reader is trying to open your .jpg files. Is this correct?
    If so, you just need to change the associations to choose what application opens them. Here's how: Change File Associations in Mac OS X

  • Problem while opening Bex query on the web

    Hello BW experts,
    I have a problem while opening Bex query from my SAP Favorites.See below.
    When i double click on the query, i get the following page, with the server name KBWS01QX.
    But, from RSRT Tcode, select the query > query display as HTML > Click on ABAP Web , click execute as shown below, it is going to the correct URL as in the 2nd screen shot below.
    My question is why is it going to the wrong URL when i open it from  SAP Favorites menu?
    I want it to open the same URL as it opened from RSRT(which is the right one)
    What is the Config needed to make it to work from SAP favorites.
    Any help would be appreciated.
    Thanks alot.
    SV

    Hello,
    Thank you all for your responses.
    See below some additional info.
    From RSRT, this time I clicked on JAVA WEB, and i get the below URL, which is the same URL i was getting when i executed the query from SAP favorites.
    http://kbws01qx.xxxxxxx.com:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZCONSUMPTION
    Also, i have executed the Function module : RSBB_URL_PREFIX_GET and i get the below values.
    It seems that it is trying to connect to Java portal something services may be, but i want it to open in ABAP web only.
    Please help.

  • Unable to open Information Map from planning web Help menu

    Unable to open Information Map from planning web Help menu
    The error is :
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    Hi,
    It should be accessing :- http://<planning server>:8300/HyperionPlanning/help/en/hp_information_map/hp_information_map.html
    Can you access that address on the machine hosting planning?
    The file structure on the web server depending on which app server you use should be something like \Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning\help\en\hp_information_map\hp_information_map.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

Maybe you are looking for

  • Processchar occur error:  Database selection with invalid cursor (sm21)

    hi,    when I execute processchar, it occur some system error: "Database selection with invalid cursor ", "Documentation for system log message BY 7 : The database interface was called by a cursor (in a FETCH or CLOSE cursor operation) that is not fl

  • Deleting old backups on hard drive

    Hi, I think i've made a massive error. I have a WD 1TB hard drive, and manually back it up every week or so. However, i noticed that there was only 10GB of space left on the hard drive. I then decided to open the backups.backupdb folder, and manually

  • How to Create a Dynamic Link Oracle 10g

    Hi all, I have a requirement like i am using the below sql query in my application select * from emp@testlink;Now i have 3 users i have created the seperate link for this three users. ex: test and work and office Now if test login to pc the above cod

  • Handling unit content

    Hello, I wish to read the handling unit content data which is basically represented by HUMV4 structure. Can you help me to understand, how to read the particular data. Regards Anurag

  • Change pianoroll grid

    I am looking for a way to modify the grid in Logic Pro X's pianoroll. I now I can change the snap behaviour, but I do not seem to find a way to change the grid, meaning the position where a new note is placed. I want to be able to set the grid to tri