SWF in SAP BSP Pages - Dynamic webservice connection

Hi,
We are using webservice connections in xcelisus to connect to webservices on R3.
In the webservice connection , we have imported the wsdl from sap and generated the connection.
Then we have the Hostname and port of SAP server in the webservice connection.
Once the development is completed and swf is generated , we have created a bsp application and placed the swf file in it on our SAP Dev system.
So now when we access the bsp application on Dev, the Dev webservice is called in the swf and data is retrieved.
Once the bsp is transported to QA system , as the webservice in swf is still pointing to Dev system, the data is retrieved from the Dev system only.
Is there a way to use falsh variables and dynamically call the webservice on the SAP system , based on the system it is called from, so that when we call the bsp application on QA system , it call the webservice on QA system instead of the one on Dev system.
Thanks,
Tanuj

Hi Tanuj,
unfortunately this is not possible within Xcelsius, take a look at following thread:
Re: Dynamic WSDL URL
Regards
Victor

Similar Messages

  • Modifying standard BSP pages

    Hello,
    I would like to add some functionality (precisely some Javascript code) to a standard BSP page. As it is a SAP standard, the system doesn’t allow to modify it as normal BSP page. Is there any possibility to attach some code or functionality to BSP page without modifying the code, I mean something similar to, for example, enhancements, user-exits in R/3 so that we could activate and insert the code?
    Thanks in advance for any hint.
    Regards,
    Anna

    Hi,
    I would not recommend to change standard SAP BSP pages. When there is an update or upgrade concerning this pages, you will get problems and will need to SPAU till the end of days (see also http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/frameset.htm) and eventual modify things again, which isn't a pleasant job at all.
    I would say that you make a copy to a Z application and work further on that one.
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • Display image in BSP page,images are on a web server outside of SAP

    Hi,
    I am creating a BSP page for employee profile.The page needs to show an emp picture along with other info.The images are not in the MIME repository,they are stored in a separate web server.I am able to display the page using
    <img border="0"                     src="http://.com/xyz/xyz.bmp" >
    However this is a non secured test server. If the images are on a secured server,I am assuming,an id ,pswd authentication will be required.Can I get the authentication done automatically so that the page is rendered seamlessly for the end user?
    Would SSO help if this web server is a portal server?what if the web server is not a portal server?

    Hi Manidipa,
    The Http class in SAP can also be used in passing the required authentication information to the non-SAP portal system.
    http://searchsap.techtarget.com/whitepaperPage/0,293857,sid21_gci1084087,00.html
    There is an article written by Angeli Axel which does the same. The article has got ABAP HTTP classes and methods to get and post the parameters to the non-SAP portal system.
    The same solution can be done by passing the credentials in the url. The custom solution would be to pass the required credentials in the url and the receiving application should grab those information from the url and confirm the authentication. After that it should be able to provide you the image. After getting the image it can be simply displayed in your BSP using iframe tag.
    For eg if the receiving side is in java, then the following code can be used to receive the username and password. Once you get this you can verify the validity depending on the datasource whether LDAP(MS-ADS, Sun one, Novell edirectory) or ordinary database(Oracle, MS SQL Server .. etc) is used for storing the credentials.
    try {
              String userName = request.getParameter("username");
              String password = request.getParameter("password");
              if (validateUser(userName, password)) {
                 response.sendRedirect("mainpage.jsp");
    The main page here you display the image
    } catch (Throwable t) {
    The above code should be considered as pseudo code for any server side language.
    Please let me know if this helps.
    With regards,
    Rajesh Khanna Venkatesan.

  • Report standard SAP into BSP page

    I want know how I can read the output of a standard report SAP R/3 into a BSP page ( WAS 6.20 ).

    Hi Rick,
    a short answer would be: create a BSP application and place the code into the onInizialization handler. But since you are completely new to BSP I'd recommend the following links for tutorials:
    http://help.sap.com/saphelp_webas620/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    Recommended reading is also https://weblogs.sdn.sap.com/pub/wlg/542. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    After you have done this and you still got questions, switch over to the BSP forum. There you'll find a lot more experts.
    Have fun with BSP,
    Ulli

  • Calling an SAP transaction from a BSP page

    Hi, I have created some BSP pages that are rendered inside SAPGUI screens using a HTML control object. When looking at a CRM system I came across the Business Partner Cockpit (CRMD_ORDER_BP) which displays activities for a business partner using a BSP implemented by CL_CRM_CCKPT_CFS_SERVICE_HTTP.
    The interesting thing about this BSP, is that you can click on the transaction number in the BSP and it launches the appropriate SAPGUI transaction to display the details of this activity.
    Looking at the HTML source, the link is defined like this: -
    <a href="SAPEVENT:OBJTYPE=BUS2000115&OBJKEY=CDAEBBF5BD903E4390DA7984D3054A65">0920000086</a>
    In the above example this activity is a sales order.
    Can anyone help me understand how this works, and how I can use it to navigate to SAP transactions using links in my BSP pages that are placed in SAPGUI HTML controls?
    Thanks
    Graham

    Hi Graham!
    I have a similar problem in transaction CIC0 and the Sales summary tab in CRM.
    I have created a new class and assigned it to a new fact sheet. One column in this fact sheet should be a hyperlink defined in the way that you have described.
    When using method get_event_parameter I are not getting any data for the SAPEVENT parameters - I don't get the value, only the keys:
    <a href="SAPEVENT:?OBJTYPE&OBJKEY>
    How should I procced to assign an object type and object key to this SAPEVENT???
    Would also be very nice if anyone could explain how to "call transaction" works.
    Help understanding this would be very appreciated.
    BR
    Mattias

  • Unable to connect to an Infotype from my Custom BSP Page

    I am getting this error in one of my methods in my BSP page that have a controller and an view.
    The data object "Current_Record" does not have a component called "P9140".
    Here is the code:
    method get_customer_fields.
    Author: AA
      check exist_exception( ) eq false.
      data lo_veteran type ref to cl_hrrcf_infotype.
      data lo_ex type ref to cx_hrrcf.
      try.
    lo_veteran ?= ref_cand_bl->get_bo_desired_loc( cand_hrobject ).
          call method cl_hrrcf_ui_services=>create_c_fields_bee
            exporting
              po_infotype   = lo_veteran
              ps_record     = me->current_record-p9140
            importing
              po_bee        = bee
              pt_field_list = me->cust_field_list.
        catch cx_hrrcf into lo_ex.
          add_exception( lo_ex ).
      endtry.

    Hi!
    Sorry for not formating my previous message properly.
    My servlet connects with an SQL server on some remote machine.
    I have create the servlet and deploy it on tomcat.
    I first create this servlet on eclipse that I deploy it on tomcat manually.
    While using it form eclipse it gave no error in connecting with the server.
    But when I deploy the same code on tomcat manually and access the page it gave me an error saying
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    I used the following code for connecting the server
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    jdbcConnection = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=MyServerName;Database=MyDatabaseName","","");
    Thanx for your help in advance
    Message was edited by:
    nitin403

  • Direkt link from a web dynpro (non crm system) to the crm bsp page from sap

    Hello,
    we are trying to call the bsp page like opportunities details edit in edit mode with a parameter that discriebes the opportunity. AT the moment we can the page but don't know how to tell the system what opportunity should be displayed and in edit mode or not .  Any hints ? or documentations ?
    thanks
    Juergen
    http://rxxxx.com:8080/sap(ZT1yOFhyMTZmamJ1am1PX01yOHlUMENRLS12Y1VwVHlKUElWckR4X25DZDRxeVJnLS0=)/bc/bsp/sap/CRM_UI_PORTAL/BSPWDApplication.do?sap-syscmd=nocookie&sap-client=900&sap-language=en&sap-accessibility=&sap-ep-version=7.00.200711172137&sap_ep_version=7.00.200711172137&sap_ep_baseurl=http%3A%2F%2Fsi0bos49.boschrexroth.com%3A50100%2Firj%2Fportal&NavPathUpdate=false&buildTree=false&crm-portal-theme=BRCOMPASS_LIGHT_STD&crm-portal-role=portal_content%2Fbr%2Fcom.br.fICM%2FCRM%2FSALESPRO%2FSALESPRO&saprole=SALESPRO&crm-logical-link=SLS-OPP-SR

    Hi, the central class which is used for external navigation to a component, is CL_CRM_UI_EXT_NAV_SERVICE.
    In the URL of the Web Client, you can specify 4 different parameters:
    1. Object type : crm-object-type
    2. Object action: crm-object-action (A for search, B for Display, C for Edit and D for Create) -> see details in "Define Navigation Profile" and in Define generic OP mapping.
    3. Object value (optional) : crm-object-value
    4. Object key name (optional): crm-object-keyname
    If you use option 3 and 4, then you also need to define a mapper class in customizing to create a BOL entity based on the key name and value. See for example class CL_CRM_UIU_BT_OBJ_MAPPER and method IF_CRM_UI_OBJ_MAPPER~GET_ENTITY_FROM_UI_OBJECT. This is done in "Define Object Mapping". Fro example, for BuilHeader BOL object which is linked to Object type BP_ACCOUNT, you could use the class CL_CRM_BUPA_UIU_OBJ_MAPPER as an example.
    Example of an URL:
    http://<server_name>/sap/crm/crm_logon/default.htm?sap-client=100&crm-object-type=BP_ACCOUNT&crm-object-action=B&crm-object-value=110&crm-object-keyname=PARTNER
    Hope this helps,
    Xavier

  • Collect Error Message from SAP program to BSP Page

    Hi Experts,
    I am displaying an error message in the form of pop-up Message  in a Screen based on a condition using BADI on R/3 screen , but when i am calling the screen from Portal (BSP PAge) I am unable to see the Error Message which is being displayed as a pop-up in r/3..
    How to catch the error and display in BSP Page.....
    I have searched the forum but didnt find any suitable replies....
    Plz help
    Regards,
    Srikar

    Hi Srikar,
    It depends.
    Generally though you display a message in SAPGUI it does not display automatically in BSP.
    Some times you have to manually write some code to populate and display a message in BSP.
    First you need to find the BSP page and write some code to display error messages in the same..
    Regards,
    Sreekanth

  • SAP Short Dumps when generating BSP page

    While generating my BSP page a short dump occurs saying that there is too much code basically. (more then 10,000 ABAP statments). This happens on my LAYOUT section of the screen and the weird thing is that I only have 2145 lines of code. 
    A little background is that we are displaying a tab strip with 8 tabs and many fields on each tab.  The user has a few more rules for displaying data but I'm finding that I can't add anymore code.  Has anyone found a way around this?

    Its not too difficult.  From your view that houses the tabstrip container, you just go ahead and call all the controllers for your individual tabs.
    <phtmlb:containerTabStrip id                    = "TabStrip3"
                                      collapsed             = "<%= application->T3_COLLAPSED %>"
                                      collapsible           = "TRUE"
                                      firstVisibleItemIndex = "1"
                                      hasContentConnector   = "TRUE"
                                      maxVisibleItems       = "5"
                                      onCollapse            = "myCollapse"
                                      scrollableItems       = "TRUE"
                                      selectedIndex         = "<%= application->SELECTED_chart2 %>" >
              <phtmlb:containerTabStripItem id    = "C1"
                                            title = "<OTR>Hours History</otr>" >
                <phtmlb:containerContentItem>
                  <bsp:call url     = "Chart1.do"
                            comp_id = "c1" />
                </phtmlb:containerContentItem>
              </phtmlb:containerTabStripItem>
              <phtmlb:containerTabStripItem id    = "C2"
                                            title = "<OTR>Project Hours Chart</otr>" >
                <phtmlb:containerContentItem>
                  <bsp:call url     = "Chart2.do"
                            comp_id = "c2" />
                </phtmlb:containerContentItem>
              </phtmlb:containerTabStripItem>
              <phtmlb:containerTabStripItem id    = "C3"
                                            title = "<OTR>6 week History</otr>" >
                <phtmlb:containerContentItem>
                  <bsp:call url     = "Chart3.do"
                            comp_id = "c3" />
                </phtmlb:containerContentItem>
              </phtmlb:containerTabStripItem>
            </phtmlb:containerTabStrip>
    I then handle the event for the tabstrip change and put the current selected tab into an application class variable or a model class variable.
    ****Get a Pointer to the application Object
      appl ?= application.
      data: event1 type ref to if_htmlb_data.
      event1 = cl_htmlb_manager=>get_event_ex( request ).
    case event_id.
    when 'tabstrip3'.
          if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
            appl->selected_chart2 = event1->event_server_name.
            clear appl->saved_selected_chart.
          elseif event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_collapsed.
            appl->t3_collapsed = 'TRUE'.
          elseif event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_expanded.
            appl->t3_collapsed = 'FALSE'.
          endif.
      endcase.
    Next in each controller at the start start of processing of the controller I just do a check to make sure that I an in the currently selected tab.  If not, I perform not controller logic, which in turn doesn't call in application logic from my model class or make a call to any view.
    data: appl type ref to zcl_es_bsp_appl_ptime_ent.
      appl ?= application.
      check appl->selected_chart = 'C1'.
    That way all my flow logic (selected tab - active tab) stays in my controller and view doesn't get cluttered up with any of that.

  • Class connection to BSP page

    I have a error in a bsp app which is dumping in some conditions. The only clue I am getting in ST22 is a pointer to a bsp generated class named something like:
    CL_O2AH7ZCIJP6MCKNV45ALQC...
    Is there an easy way to map this back to the specific BSP page in my application?
    Thanks in advance.
    Nigel

    This is where I award myself 10 points because I found a much better solution.
    Here it is for all your enjoyment.
    1. Go to transaction SE24
    2. Enter CL_O2_RT_SUPPORT in the 'Object Type' box
    3. Press the F8 key. (The Key not the facebook api)
    (with me so far?)
    4. Click the little tick icon to the right of method GET_PAGE_BY_CLASSNAME
    5. Paste your cryptic class name in the P_CLASSNAME box.
    6. Press the F8 key again.
    7. Read the BSP page from the result.
    Phew, I just knew there had to be a better way than guess and debug.
    Thanks again for your answers guys,
    Nigel

  • Bsp Page Not displying in browser!

    Hi friends,
    My Bsp Page is not displaying in the browser, i read all previous messages and applied patches too,Still i am getting the same problem
    http://sapr347:8001/sap/bc/bsp/sap/system/sso2test.htm?sap-client=800&sap-sessioncmd=open
    this is the url generated by Web Application builder test tool, even i forced the system to use the Anonymous logon procedure and checked logon data required check box, is any request handler require for my application?
    My Instance_profile and trace file shows
    icm instance as sapr347.ssdomain, even i made an attempt and gave Ip address and system name as..
    10.10.4.11 sapr347.ssdomain sapr347  -> Failed
    10.10.4.11 sapr347                   -> Failed
    in windows/system32/drivers/etc/host file for temporary solution.
    Please advice me in this regard
    Thanks in Advance
    Yoki

    Hi friends,
    Thanks for all of your great help, i chekced all the parameters as i said before.. FQDN paramter in instance profile showing sapr347.ssdomain, my host file set into
    10.10.1.106 sapr347.ssdomain
    even i restarted my mechine(client/server),i am getting the following error
    Not found
    The following error occured:
    MsSGetNextLogon: no server found which provides service HTTP (msxxserv.c [15317])
    mySAP.com 620 msg_server (ENT)
    My URL is...
    http://sapr347:8001/sap/bc/bsp/sap/ztutorial/defualt.htm?sap-client=800&sap-sessioncmd=open
    ...its not even finding out my server..i dont know how to work get connected....please any one here find me the correct solution..i read all weblogs..and seen patches..for this..tried all helpful information..even i failed to get my page... my application is also very much activated in sicf..

  • How to create 'SAP BSP iView'?

    All,
    I am trying to to create a 'SAP BSP iView' in EP 7.0.
    On creating the BSP Application iView in SAP Portal, I get the following error:
    Portal Runtime Error
    <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Application URL 'http:///sap/bc/bsp/sap/BEAD_CRMB_BD/entrypoint.do' is not valid! Please check the protocol and host entries for system 'ABCDSystem'..</b>
    <b>Application Namespace:</b> sap (defaulted by portal)
    <b>Customer Namespace:</b> sap (defaulted by portal)
    <b>Business Server Page (BSP) Application:</b> BEAD_CRMB_BD
    <b>Application Parameters:</b> crm_bsp_frame
    <b>Start Page:</b> entrypoint.do
    On deploying the Application in SE80, the application is displayed at the following url.
    http://xxx:8001/sap(bD1lbiZjPTQ0MCZkPW1pbg==)/bc/bsp/sap/crm_bsp_frame/entrypoint.do?sap-client=440&appl=BEAD_CRMB_BD&version=1
    Any thoughts as to why this iView is not working would be greatly appreciated.
    SAP Partner

    Umair,
    As suggested I have made the following changes:
    Application Namespace: sap (defaulted by portal)
    Customer Namespace: sap (defaulted by portal)
    Business Server Page (BSP) Application: crm_bsp_frame
    Application Parameters:
    Start Page: entrypoint.do
    I have checked my system connection from portal to backend system and it works.
    When I try to preview the iView, I get the following error.
    - a pop up saying "Session management will not work, please check DSM log file for details"
    Any thoughts....
    SAP partner

  • RFC Call from BSP Page

    Hello All,
    I have a standard SAP BSP application(which is statefull, but does not have a script for handling WINDOW closing EVENT , for removing the orphaned sessions, also I cannot add that code now as it's standard).
    In one of the bas page I'm calling an RFC function module to a second R/3 system.
    When I call the RFC and after doing some processing if I close the application( Please note that underlying session is still active), I still can see the RFC Login in 2nd system.
    Is there any way to remove the RFC connection immediately after the RFC call? so that there is no persistent RFC connection, and a connection will be established only on demand.
    Regards
    Geogy

    Hi Geogy,
    Please use the FM "RFC_CONNECTION_CLOSE" after the corresponding RFC call with the same destination.
    This will close the connection opened by the previous call.
    Thanks
    Madhan

  • Maintaining External Alias for BSP Pages in EBP lauchpad

    Hello,
    Below is the problem mentioned :
    Our SRM production system is installed on a AIX server that has
    svuni299.its.it as fully qualified domain name.
    When we connect to the system using the url
    http://svuni299.its.it:8052/sap/bc/gui/sap/its/bbpstart
    everything works fine.
    Instead, when we use the alias:
    http://sapienssrm.fiat.com:8052/sap/bc/gui/sap/its/bbpstart
    we have some problems with the logon to the CCM, because the system
    asks the password again.
    In the attachment problem.doc you can see how to reproduce the error.
    We have seen that in both case, in the left menu of the SRM, all the
    entry contains always a call to an absolute url like this:
    javascript:parent.launchSrvc
    ('','BSP_APPLICATION','http://svuni299.its.it:8052/sap/bc/bsp/ccm/cat_cd
    c/container.htm?sap-client=100&sap-sessioncmd=open&sap-
    language=I','menu')
    instead of having a relative url like this:
    javascript:parent.launchSrvc
    ('BBPSC18','IAC','/sap/bc/gui/sap/its/bbpsc18/!?
    client=100&language=IT&~logingroup=SPACE','menu')
    My Questions:
    Q1.Where can one maintain an external alias to access BSP pages from EBP launch pad.
    Q2.Should relative URL be called or absolute URL?
    Cheers,
    Rohan.

    Hi Rohan,
    You can maintain external aliases using Tcode- sicf.
    There on application toolbar you will find a push button <b>External Alias</b> click on that and then select your virtual host and press create new button and enter the required informations.
    Cheers!
    Narinder

  • BSP page was terminated due

    Hello Experts,
    I have setup the solaris sever system monitoring (Solman with ECC)..
    I folled the simulator tool and configured sytstem monitoring..
    Now when i click Operation- > System monitoring - >  receive an below eror message..
    ===========================
        What happened?
    Calling the BSP page was terminated due to an error.
       SAP Note
    The following error text was processed in the system:
    BSP Exception: Internal Error in Business Server Page Runtime.
       Program CL_BSP_RUNTIME================CP
    Include CL_BSP_RUNTIME================CM001
    Line 196 
    ======================================================
    Observed the below error on the  Dev_w0
    B  dbmyclu : info : pessimistic reads set to 2.
    M
    M Thu Oct 30 16:57:35 2008
    M  rdisp/rb_cleaned_rfc = 0
    A
    A Thu Oct 30 16:58:17 2008
    A  RFC FRFC> fallback on the central gateway <hostname> sapgw00 activ
    C
    C Thu Oct 30 17:00:50 2008
    C  User requested cancel of current SQL on connection 0
    M  program canceled
    M    reason   = soft cancel
    M    user     = WORKER
    M    client   = 001
    M    terminal = 10.74.168.172
    M    report   = SAPLSEOP
    C  OCI-call failed with -1=OCI_ERROR
    C     SQL error 1013: 'ORA-01013: user requested cancel of current operation'
    C  SQL cancelled; calling registered fct. at 0x10031a49c
    M  program canceled
    M    reason   = soft cancel
    M    user     = WORKER
    M    client   = 001
    :q!
    Dev_disp
    ========
    Thu Oct 30 17:00:50 2008
    SoftCancel request for T20 U34 M0 received from IC_MAN
    Kindly give ur the solution to fix the issue?..
    Thanks
    Thirumal
    Edited by: Thiru Thirumal on Oct 30, 2008 9:11 AM
    Edited by: Thiru Thirumal on Oct 30, 2008 11:19 AM

    Hi Tobias,
    in order to copy the standard htm page you simply perform the following steps:
    Open the component in question in transaction BSP_WD_CMPWB_NEW without specifying an enhancement set (this will open the standard component)
    In a separate window open the component in question in transaction BSP_WD_CMPWB_NEW an specify the correct enhancement set (this will open the custom component)
    in both windows open the htm page you want to copy
    select the whole code in the standard htm page and copy it to the clipboard
    switch to edit mode in the custom component htm file, delete its contends and past the contend of the standard htm there.
    save and and active your change
    Christian

Maybe you are looking for

  • CS6 Master Collection install error - Mac

    I have tried numerous times to get CS6 Master Collection to install. I am an Adobe User Group Manager and was given a serial key by the Adobe Community Team. I have downloaded the installer multiple times using the download assistant and through the

  • How to get simple tween to stop looping

    I have created a real simple motion tween a text tween ,,,,,, it works fine when i test it on the stage,, i removed the "loop" in html and that tests fine ,,, i added a stop(); in the last keyframe but it does not stop when i test it through flash???

  • SQL-Loader and 2 Servers

    Hi, I want to load flat-files from 1 Computer (on witch my programs are installed) to Computer 2 (with the DB: Oracle 10g). Can't I do that ? with the SQL-Loader ? On the 1 Computer there is no SQL-Loader installed, must I install it ? If yes where c

  • Integrating Java Compiler into a Text Editor

    Hello I have developed a Text Editor with Java. I would like to make it as a IDE. Could anybody tell me how to integrate a JAVA or C++ compiler into Text Editor. Please let me know Thanks Prashanth

  • Laptop died and trying to use the hard drive as an external

    Hello, I'm new to this forum and did a search, but couldn't find the answer to my problem. I was using a Dell laptop with a Toshiba hard drive. I'm not sure what the model number is, but I think it's hdd2193. At any rate, the laptop died (it stopped