BSP application in BPS

Hi All,
I have a web interface created in BW-BPS to upload a flat file from the portal using BSP application.
__Structure:__
Cost Center Plan Upload
Company Code
Currency
Version
Year
File Name
Here cost center, company code, currency, version and year are variables (defined in planning level) and File name is to select the text file to be uploaded.
Issue --> when I run the web interface through Tcode BPS_WIF0 it is not showing the path under File Name to select the file.
But It is giving upload feature when I run  BSP application in SE80 through execute button.
Note: It is working fine in Quality and Production systems but not in Dev.
Any guidance on this issue would be really appreciated.
Thanks & Regards,
Ganesh.

Hi Ganesh,
Please double check your FQDN (Fully Qualified Domain name), because this will enable you to run the web interface properly.
More over, please have a look at the following procedure/link to crosscheck the procedure and for your reference.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/708fc3f8-a61d-2a10-fb82-b7c237ae16ba?quicklink=index&overridelayout=true
Thanks,
Irfan.
Momentive Group.

Similar Messages

  • Calling a separate BSP Page from a Web Application Builder BPS page.

    I have been creating a basic BPS application for manually entering data into BW.
    We are allowing users 2 options: 
    1. Manual Data entry via a web Page created in the Web Interface Builder.
    2. Via a Flat File using the process described in the "How To" Guide on how to load a flat file into BPS Web Page.  This was done in the Mime repository via a BSP application (transaction se80).
    I want to incorporate both method on a single web page (or group of linked pages) so that the user can choose which method that they want to use.
    My question is: How can I call the flat file loading screen (created in se80) from the Manual data entry screen that was created in Web Interface Builder?
    Thanks,
    Adam

    Adam,
    You dont have to create a new tab also. You can incorporate the newly created BSP page
    below the Manual Entry layout. Do the following step
    1. Create a text element below the layout in web application builder. Choose Edit long text
    2.insert this code
    <iframe id="Text86" border="true" name="upload4" src="/sap/bw/mime/bex/icons/pixel.gif" width="580" height="65"></iframe>
    <script language="JavaScript" type="text/javascript">
      var frame  = document.getElementById( 'Text86' );
      var url    = '/sap/bc/bsp/sap/z100bps001/upload_hours.htm';
    // set source attribute of iframe to new URL
      frame.src = url;
    </script>
    Now you should be able to the see the newly created BSP page below your layout.
    Coming to your other question on "hard coding" the answer is you shouldnt specify the absolute url, just specify the relative URL and system will take care of the rest.
    Eg. - '/sap/bc/bsp/sap/z100bps001/upload_hours.htm'
    Let me know if you need any help.
    Thanks,
    Praveen
    PS.Dont forget to reward points

  • Call planning function in BSP application in IP

    Hello,
    In BPS we used function module API_SEMBPS_FUNCTION_EXECUTE to call a BPS planning function in a BSP application.
    Now, we want to call an IP planning function in the same BSP application. Is there a similar function module or any other method we can use??
    Thank you very much

    Try function module - RSPLSSE_SERVICE_EXECUTE to directly execute the function(planning service) or RSPLSSE_PLSEQ_EXECUTE to execute the planning function via planning sequence.

  • Execute bsp application from abap program

    How can I do to execute a bsp application from abp program ?
    I have two parameter in enter : text and language.
    And i have one paramenter in exit : translated text.
    Thanks for you help.

    but how to retrieve the result of the bsp ?
    Here is my source code :
    data: url type string,
             l_appl type string,
            l_page type string,
            l_params type line of TIHTTPNVP,
            params type TIHTTPNVP.
      l_appl = 'ZAPI_TRADUCTION'.
      l_page = 'appel.htm'.
      l_params-NAME = 'text'.
      l_params-value = 'pour le moment test'.
      append l_params to params.
      call method cl_http_ext_webapp=>create_url_for_bsp_application
        exporting
          bsp_application      = l_appl
          bsp_start_page       = l_page
          bsp_start_parameters = params
        importing
          abs_url              = url.
    DATA: http_client TYPE REF TO if_http_client .
    DATA: w_string TYPE string ,
          w_result TYPE string ,
          r_str    TYPE string .
    DATA: result_tab TYPE TABLE OF string.
      CLEAR w_string .
      w_string = url.
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = w_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
          CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
          CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR w_result .
      w_result = http_client->response->get_cdata( ).
      REFRESH result_tab .
    In the variable it brings me back the html source code of the BSP rather than run and bring me the result of the BPS.
    Thank you for your help.

  • How to generate BSP application automatically

    Hi, BW experts,
        I get some web interfact from transport, for example: Z1, Z2. I failed to run them on the web, then I check the BSP application in SE80 are not generated.
        I use BPS_WB to generate the web interface, selected "save customizing", "Generate BSP Application (Again)" and "Generate Class (Again)".
        then I got the log with green color said "Activity terminated"  , I go to check BSP application but it still not generated.
    anyone can help ?
    Regards

    Jie Miao,
    Which version of BPS are you on?  I worked through an similar issue last week on SEM-BPS 6.0 on NW04S where introduction of a new authorization object S_ICF_ADM gave me false positive on generate and we had issues also with transports even thought no error since the transport id did not have that new object.  This client had security locked down pretty tight.

  • Navigate BSP Application from customize program

    I have a customize program where I got BSP application page name, events and line number. I want to navigate it to SE80 editor with line number. Currently I am using
    Function module RS_TOOL_ACCESS. However it is opening the application but not navigating to particular line number.
    Please guide me.
    Thanks

    but how to retrieve the result of the bsp ?
    Here is my source code :
    data: url type string,
             l_appl type string,
            l_page type string,
            l_params type line of TIHTTPNVP,
            params type TIHTTPNVP.
      l_appl = 'ZAPI_TRADUCTION'.
      l_page = 'appel.htm'.
      l_params-NAME = 'text'.
      l_params-value = 'pour le moment test'.
      append l_params to params.
      call method cl_http_ext_webapp=>create_url_for_bsp_application
        exporting
          bsp_application      = l_appl
          bsp_start_page       = l_page
          bsp_start_parameters = params
        importing
          abs_url              = url.
    DATA: http_client TYPE REF TO if_http_client .
    DATA: w_string TYPE string ,
          w_result TYPE string ,
          r_str    TYPE string .
    DATA: result_tab TYPE TABLE OF string.
      CLEAR w_string .
      w_string = url.
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = w_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
          CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
          CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR w_result .
      w_result = http_client->response->get_cdata( ).
      REFRESH result_tab .
    In the variable it brings me back the html source code of the BSP rather than run and bring me the result of the BPS.
    Thank you for your help.

  • Query in BSP Application

    Hi experts..
    i am new to BSP Application. Please any body guide me to terminate BPS page generation conditionally.
    Thanks in advance..

    The BSP pages need to be termintated by the portal. Try to post this question in EP forum. You might be able to get an answer.

  • BW query in a BSP application

    Hi,
    i want to integrate a BW query in a BSP application. In a first step i want to show the results of the BW query as a table or diagram in the bps app.
    as next step it should be possible to transfer parameters to the bw, to change the results of the query.
    there are which possibilities to call bw queries from bsp?
    thanks in advance.

    Hi Eddy,
    i try the possibility from the blogs:
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
    I must say, i am a newbie in BW also ABAP.
    The following Code is implement in my BSP Controller-Class in the Do_Handle_Event.
    I get the results of the query. Also tho conversion in <outtab> folds.
    CALL FUNCTION 'Y_EXECUTE_QUERY' DESTINATION '********'
        EXPORTING
          query_name            = 'TQU_ODS99'
        IMPORTING
          xml_out               = xml_out
        TABLES
    *    query_variables       = var
          return                = breturn
          meta                  = meta
        EXCEPTIONS
          bad_value_combination = 1
          user_not_authorized   = 2
          unknown_error         = 3
          query_not_found       = 4
          OTHERS                = 5.
           CALL METHOD cl_alv_table_create=>create_dynamic_table
              EXPORTING
                it_fieldcatalog = it_fieldcat
              IMPORTING
                ep_table        = model->i_tab.
            ASSIGN model->i_tab->* TO <outtab>.
          ENDIF .
          TRY .
              CALL TRANSFORMATION (`Z_RFC_XSLT`)
              SOURCE XML  xml_out
              RESULT     outtab = <outtab>.
            CATCH cx_xslt_exception INTO xslt_error.
              xslt_message = xslt_error->get_text( ).
          ENDTRY.
    But how can i display the table in the bsp? i_tab is defined in my Model-Class as:
    I_TAB     Static Attribute     Public     Type Ref To     DATA     
    The code in my htm:
            <htmlb:tableView id    = "tab01"
                             table = "<%= model->i_tab %>" />
    throws exceptions.
    Have anyone an idee?

  • Error in using PERFORM in eventhandler in a BSP Application.

    Hi All,
    Can we use Subroutines in BSP applications?
    If yes then please help me with syntax .
    Best Regards,
    Anubhav.
    Edited by: Anubhav Jain on Dec 20, 2007 10:52 PM

    You can call subroutine with below Synatx:
    DATA: progname(20) TYPE C VALUE 'YTESTINCLUDE' .
    PERFORM your_perform_name IN PROGRAM (progname) IF FOUND.
    "where your_perform_name is the form within the include program YTESTINCLUDE[/code]
    Raja T
    Edited by: Raja Thangamani on Dec 20, 2007 4:58 PM

  • Error message in bsp application

    hi
    Im tamil selvan .....this is my first bsp application i created .. but i cant view the output..the default html code itself not executing... i copied the same code in text and saved in html its executing there... i dont know what is the issue..is any system files are missing...plz guide me im new to bsp....first what should i learn ...  the below is the error i pasted...
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    Die URL enthält keine vollständige Domainangabe (isys-ecc statt isys-ecc.).
    Exception Class CX_FQDN
    Error Name 
    Program CX_FQDN=======================CP
    Include CX_FQDN=======================CM002
    ABAP Class CX_FQDN
    Method CHECK
    Line 10 
    Long text -
    Error type: Exception
    Your SAP Business Server Pages Team

    Hi Tamil,
    welcome to the SAP Community Network. You will find lots of great resources, tips, and examples here.
    Of course to find them you have to look for them. You will find most people more than happy to help you with problems if you first try and help yourself by searching for the solution yourself.
    So please, search the forums for the solution to your problem before you post.
    Cheers
    Graham Robbo

  • SSO via Windows authentication for a BSP application

    Hi,
    is it possible to configure/implement a bsp-application, so that the user of the application is authenticated in the SAP system through the windows user (without entering the user or password). I search for a mechanism, that is like the SSO mechanism in the SAP EP. We don't have SAP EP, neither we have a java stack installation.
    Exists a way to implement this scenario?
    My idea was it, to use the same functionality, like in the SAP GUI, when configuring SSO. Unfortunately I don't find any hints about this topic.
    Regards,
    Thomas

    One best way is to embed the BSP page in the iview of the EP. As your are telling EP is not available i think there is no other way around.

  • 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

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • How to set up use of relative URLs for a BSP application

    Dear all,
    I need to access a BSP application through our external portal.
    This is failing because generated URLs are absolute URLs (they mention physical server name, not known of course on the internet) where they should be relative URLs (they use external portal URL as prefix).
    How to set this up?
    I'm logged on http://myportal.com/irj/portal and want to call a BSP application. To build this page, my internet client (Internet Explorer) tries to get elements from the server. Looking at HTTP trace, I can see that my IE is trying to reach the physical server, not known on internet of course, then page loading fails.
    Ex absolute URL : http://myservername.domain.com/sap/bw/[...]/image1.gif
    This is the behavior I can see at the moment.
    Relative URL : http://myportal.com/sap/bw/[...]/image1.gif
    This is what I'd like to see.
    Many thanks in advance for your help.
    François

    Any idea ?

  • How to pass date parameter from one page to other in BSP application

    Hello gurus,
    In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
    Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
    Now my prb is that my date value is not getting passed to the next page.
    I have used
    navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
    to pass date parameter.....still parameter is not getting passed.
    plz help me with this.....
    thankx.....

    Hi Eddy,
    By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
    so with begda being 8chars it takes my date as 06.12.200
    as a result my query is not getting executed.
    now i have tried to use a FM  'CONVERT_DATE_TO_INTERN_FORMAT'.
    in my 1st page but still in 2nd page its giving me following error.
    <b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
    </b>
    Regards
    Swati

Maybe you are looking for

  • Error while running a query

    Hi All, My BEx query runs fine. But when i add a key figure, say XYZ, then i get an error saying "The sum or average aggregate operation cannot take a nvarchar data type as an argument" Note that the key figure i am using is a standard key figure. Ki

  • Display european languages in TERMINAL

    Hi, all. I'm doing a project using JAVA currently, and need to display some european languages in terminal. However, some special characters cannot be displayed properly,like <C3><A9><C3><A2>,<C3><A9>. The file is in French and saved as UTF-8, the te

  • Adobe Creative Suite CS6 Installation Error

    Hello, When I run the Adobe installer, I get a error message that looks like this: I am running Windows 8.1 Pro and cant seen to fix the issue. I will put my computer specs, but I doubt you will need them. Intel i5 750 @ 3.3Ghz Asus P7P55D Radeon 777

  • JRE 6_17 corrupts sql query

    I'm developing a tomcat 6.0.20 webapp through Eclipse 3.5, and it appears that jre 6.0_17 is screwing up my query before passing it to the db server. My db server is Sybase ASA 9.0.2 with the latest updates (October '09), and I am sending a query of

  • Logic X I need help badly!

    Hey guys I seem to have this issue once again and desided to ask you about this! This has happened with both logic 9 and now X!! I would work on my song and after a while logic gets very sluggish. Optimizing audio bin does not fix this at all. But wh