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.

Similar Messages

  • 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.

  • Calling BSP Application from Business Object?

    Hi,
    Can any one tried to call BSP Application from Business Object for showing in the Portal.
    I have the following Scenario:
    1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
    2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
    All this has to happen in the Enterprise Portal.
    If any one knows how to triggere from business object, please let me know.
    Thanks & Regards
    Sumanth

    Hi Vijay,
    Thanks for the information. Its long back i was working on this, but not successful,
    Now the similar requirement i need to develope in R/3.
    I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
    Any Suggesions how can i achieve this execution of BSP.
    In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
    Thanks & Regards
    Sumanth

  • Calling BSP application from Portal causes error

    Hi,
    called a bsp application from our portal. The application prompts the following error message:
    BSP Exception: The object sap-tray-type=PLAIN_sap-tray-padding=X_sap_ep_version=7.00.200611091758_sap_ep_baseurl=http://v900stwmk1902.v900dtk1.v900.intern:50000/irj/portal in der URL /sap bD1kZSZjPTIwMCZwPTMwOTUxJnY9NyUyZTAwJmk9MSZzPVNJRCUzYUFOT04lM2Fhc2FwdDAzZW4xX1QwMl8wMCUzYXBFMVdnMmlqS21LYnNSZ01mMzIyLXpRdkwxMjdoYWF2NHFBeU9fTGEtQVRU)/bc/bsp/sap/zsi02/sap-tray-type=PLAIN&sap-tray-padding=X&sap_ep_version=7%2e00%2e200611091758&sap_ep_ is not valid.
    We used an BSP iView (EP 7.0 and BI 7.0) Any ideas?
    Thanks.
    Frank

    Hi,
    I am not sure how did you get that bsp-url but here are the steps:
    1) Create a system and assign an alias to it.
    2) Make sure you give proper values in Connector, User Management and ITS Property Category
    3) Check the connection by creating a sample SAP Transaction iview using WebGUI
    4) If this is working fine, then create a BSP iview. Make sure you select proper system alias, BSP Defination Type (BSP), give the correct Application Namespace, BSP Application, Customer Namespace and start page.
    Let me know what are the values you have entered here and we can try to fix this problem.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • Call BSP Application From ABAP

    Hi,
    I want to call BSP Application from ABAP. I've searched the forum and they all are displaying BSP Page in Container of the Screen. My requirement is to show it in a web browser. For that matter I am generating URL to call BSP Application. Following is the code which is throwing short dump.
    DATA: url TYPE string,
    l_appl TYPE string,
    l_page TYPE string,
    l_params TYPE LINE OF tihttpnvp,
    params TYPE tihttpnvp.
    l_appl = 'ZPWLS_SCH_RPT'.
    l_page = 'SELECTION_SCREEN.htm'.
      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.
          CALL FUNCTION 'CALL_BROWSER'
           EXPORTING
             url                          = url
            WINDOW_NAME                  = ' '
            new_window                   = 'X'
            BROWSER_TYPE                 =
            CONTEXTSTRING                =
          EXCEPTIONS
            FRONTEND_NOT_SUPPORTED       = 1
            FRONTEND_ERROR               = 2
            PROG_NOT_FOUND               = 3
            NO_BATCH                     = 4
            UNSPECIFIED_ERROR            = 5
            OTHERS                       = 6
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Thanks,
    Usman Malik

    What is the dump? also you should uncomment the following lines to receive the exception thrown by the FM
    * EXCEPTIONS
    * FRONTEND_NOT_SUPPORTED = 1
    * FRONTEND_ERROR = 2
    * PROG_NOT_FOUND = 3
    * NO_BATCH = 4
    * UNSPECIFIED_ERROR = 5
    * OTHERS = 6

  • Caling WD Application from one program

    Hi Experts,
    How i can call the WD Application from one program without creating  the TCODE for the WD application.
    Thanks
    Mahesh

    > I want to call the WD Application from a report without tcode.. Is it possible?
    Hi Create a Push button In your report., On Click of button
    call function call_browser
    and pass your WDA url to this FM.,
    else If you want to display in SAP GUI it self., use cl_gui_html_viewer  class and disaply that url...
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Error: Page cannot be displayed when testing BSP application from SE80

    Hi:
    I am new to SAP 4.7. I need help in running BSP application from SE80. When I run, I am geting error the page cannot be displayed. Can some suggests/advice what are the neccessary steps ahould follow to run BSP application.
    Thanks,
    Venkat.

    Welcome to the forums and welcome to BSP. There are a few things we kindly ask
    Take a look at this weblog: <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>
    That will help you jump several of the hurdles you'll come across as you get started.
    As for your problem if you are receiving the message "Service is not active" then you need to go into the transaction SICF in your system and follow the tree (take a look at the path in your browser /sap/bc/...) and select each until you get down to the one you are trying to look at and active it.
    If you are getting errors about other ones not activated then do the same for those.
    If you are not getting those errors and your browser is simply telling you "Can't find it or something" then in "Internet Options" in your browser advanced tab uncheck the "Show Friendly HTTP Errors".
    You can also check transaction ST22 to see if there is a short dump in which case that will help analyze the problem.
    Otherwise you'll need to give us more info including your SP level (recommend you jump up to at least 43 on ABA and BASIS)
    Message was edited by: Craig Cmehil
    OK so Brian was faster...

  • Calling a BSP application from another

    Hello,
        I have not a lot experince in bsp's programming.
        I am trying to call a bsp applicattion from another one. Do you know how can I do it?.
        Thanks in advance.  Javier.

    hi Javier,
    For questions on BSP programming,you should post your questions on the bSP forum.
    For your question,it depends on how you want to call your BSP application.
    Do you want to navigate from one BSP page to other or you want some link which leads to the other BSP application.?
    You can find sufficient help on the help.sap.com
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm</a>
    For more details, you can search SDN itself.
    IF you have more queries,your'e welcome.
    Regards,
    Siddhartha

  • Calling a BSP application from a report

    Hi to everybody,
    I have one BSP(Business Server pages)application.I want to call that application from report.How to call BSp from report.

    The SAPGui HTML control is great way to show a BSP page.  You can create the HTML control (CL_GUI_HTML_VIEWER) in a full screen or subscreen (anywhere you can insert a container controll).  Best yet you can activate SSO for the HTML control so that the user doesn't get prompted for credentials.   The following is some code samples:
    CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'CUSTOM_CONTAINER'.
      CREATE OBJECT html
          EXPORTING
            parent             = custom_container.
      CALL METHOD html->enable_sapsso
        EXPORTING
          enabled = 'x'.
      DATA: url TYPE string.
      DATA: url1 TYPE url.
      DATA: l_appl TYPE string,
            l_page TYPE string.
      l_appl = bsp_appl.
      l_page = page.
      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.
      url1 = url.
      CALL METHOD html->show_url
        EXPORTING
          url = url1.

  • 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.

  • Calling custom BSP application from CRM PCUI

    Hi,
    We are using the CRM PCUI for channel partner management. Since PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( Being a generic framework using blueprint tables we have to use the predefined layout settings and positions) we want to call a standalone BSP application to maintain some of the data such as marketing attributes. We want to do this by providing a link to the standalone BSP application where the data can be maintained. Since we will be calling this application in the create mode of a new BP, is it possible to integrate the whole application as one logical unit ? I mean we want to commit the marketing attributes within the same 'save' methods of the pcui framework. Is this possible to do ? Any ideas or input is greatly appreciated.
    Thanks.

    Hi,
    we've already done a rework of the marketing attributes screen by using the technique I've described in my Weblog <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>. But it has one drawback: You can't use the Save button of the PC-UI applicaiton. You have to provide your own. But the usability enhanchement is rearly great.
    Regards
    Gregor

  • Calling BSP application from CRM PCUI framework

    Hi All,
    We are using the CRM PCUI for channel partner management. Since CRM PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( since it is a generic framework using the blueprint tables we have to use the predefined layout settings) we want to call a standalone BSP application to maintain some of the data such as marketing attributes. We want to do this by providing a link to the standalone BSP application where the data can be maintained. Since we will be calling this application in the create mode of a new BP, is it possible to integrate the whole application as one logical unit ? I mean we want to commit the marketing attributes within the same 'save' methods of the pcui framework. Is this possible to do ? Any ideas or input is greatly appreciated.
    Thanks.

    Hi,
    we've already done a rework of the marketing attributes screen by using the technique I've described in my Weblog <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>. But it has one drawback: You can't use the Save button of the PC-UI applicaiton. You have to provide your own. But the usability enhanchement is rearly great.
    Regards
    Gregor

  • Calling a BSP application from universal worklist

    Hi All,
    I want to call a BSP application, when a workitem is clicked in Universal Worklist(Enterprise Portal)
    I have configured the Task Type in SWFVISU transaction, with Visualization type BSP standard & in visualization parameter i entered,
    APPLICATION = zgelrbsp0001
    PAGE_ID = leso.htm
    When I click on the workitem my test BSP application is called. Buy my requirement is not call a static dynamic application, when the workflow is called the workflow container has a URL
    http://dev01.abc.gov.sg:8000/sap/bc/bsp/sap/hap_document/document_port_wf.htm/
    this URL will change. But I don't know how to configure to call the URL in container. Please let me know how to achieve this.
    Regards,
    H.K.Hayath Basha.

    Hi Raja,
    Thanks for the reply.
    I said wrongly in my earlier mai, my URL is static, but the parameter appl_id  will have different value.
    http://dev01.abc.gov.sg:8000/sap/bc/bsp/sap/hap_document/document_port_wf.htm/?appl_id=1234
    What I have done is similar to the one which you have said, copied the standard BSP and modified, I pass WORKITEM ID to the BSP application, BSP application reads the workflow container for appl_id and sets that value to the BSP application attribute.
    There should be a better way to do this.
    Regards,
    H.K.Hayath Basha.

  • Find BSP Application from URL

    All,
    I have a URL , I need to find BSP application related to that URL ?
    Any Info ?

    If it is the BSP URL than you would find it at the second last backslash.
    E.g.
    http://<Server:port>/sap/bc/bsp/sap/ztest_np/default.do
    Than BSP Application is ZTEST_NP.
    Regards,
    Naimesh Patel

  • Cannot  start BSP application from browser

    hi all
    Cannot start standard BSP application TUTORIAL_1 through web browser. When i test TUTORIAL_1 , a seprate browser window opens which asks for login credientals but no contents are displayed.
    i checked SICF service and they are active ,also i set parameter icm\server_port_0 and icm\host_name_full
    Still i m getting a ABAP DUMP "CX_BSP_HOST_NOT_QUALIFIED" and no contents displayed in browser
    Can you anyone please help me urgently?
    Regards
    Ujval

    > What do you say ?
    That a little bit of work is still required here. As you write that you don't want to restart application server, and this is only a test server, let me make a suggestion.
    Do <u><b>NOT</b></u> change anything on the WebAS server.
    <u>Step 1:</u> Find you hosts file (on my machine it is c:\winnt\system32\drivers\etc\hosts) and add the following line into this file.
    1.2.3.4     myWebAS.domain.ext myWebAS
    The name is not important, but must be a string you will remember. The 1.2.3.4 is the IP address of your WebAS. Please write in the correct value instead of my example value!
    <u>Step 2:</u> Start you BSP application as usual. When the popup comes for your password, press cancel. You will now see in the top of the browser some URL of the form: http://myWebAS:port/sap/... The :port is only there if you are not using the default port 80. Now manually change the URL by adding the domain you configured previously. It should now be: http://myWebAS.domain.ext:port/sap/... Press ENTER to load this URL.
    This way you are using a FQDN, and the browser is able to resolve this pseudo name onto the correct IP address. The WebAS/BSP will be happy with this.
    Not the most satisfactory solution, but it should get you at least on the road.
    ++bcm

Maybe you are looking for

  • Support message not getting reflected in Solution manager system

    Hi, In satellite system support message is getting created, message number"...." successfully created in service desk. When i check in solution manager system in  crm_dno_monitor the message that i created in satellite system is not getting reflected

  • Can Macbook white 2.1Ghz 13.3' run Final Cut Pro?

    Hi, I need your on this topic as i tried intalling FCP 4.5 but it woundn't allow me to open. Thers was an error message regarding AGP, has anyone come across this problem and will be able to help me please? Thank you YK

  • Lightweight temperature monitoring app or command ?

    Hello everyone, I game with my Macbook Pro and therefore I like to keep an eye on my temperature. I use to have the iStat Nano widget but it was discontinued and not available on the Apple site anymore. However I can find it on others but I wonder wh

  • Flash Lite - what phones & network

    I have been trying to get a straight answer on what phones work with Flash Lite in the US today. I heard that Verizon supports Flash Lite (or will?) but their website has absolutely no mention of Flash Lite. I read some articles about some phones tha

  • Pb mise à jour after effect CC

    une message me demande de fermer AdobeCrashDaemon mais cette application n'est pas ouverte