Call BSP from BAdI

Hi all,
We are implementing a BAdI and want to launch a browser calling our own BSP (we have developped a new application). Could you please tell me if there is any FM or class which allows this?
Thanks in advance
Pablo

Hello Pcui Experts,
i didn't find a solution in this forum to manage this simple request : open a url/internet page (eg google) from a button event or any pcui event.
It seems that the abap function CALL_BROWSER need a sapgui context / or an ITS server (not my case). Also, i can't manage this little development using a BSP.
Does someone has any idea ?
M. Markus H.

Similar Messages

  • CALL BSP from ABAP report

    I want to execute a BSP from ABAP report. The BSP is the standar CRM CASE MANAGEMENT BSP.
    I have a CRM CASE list in ABAP report and when I make double-click on one case i want to call BSP to show this case. I don't want to execute the GUI transaction CRMD_CASE. I need to execute the BSP.

    Hello Ivan,
    To call the BSP from the ABAP report following thread will be helpful for you.
    Call BSP from SE38 Program ?
    Regards
    Aashish Garg
    Message was edited by:
            aashish garg

  • Calling BSP from EBP

    Hi ,
    Has anybody called BSP page from EBP/ITS application ?
    How can I call BSP from ITS ?
    Thanks & Regards,
    Sachin S M

    Hi Sachin,
    the easiest way is to call the BSP as a "catalog"
    Just publish your BSP, then you may find under tab properties the copmplete URL for your BSP Application.
    Then just define a catalog in spro
    "Enterprise Buyer->Master Data->Define Catalogs"
    where you define a "catalog" with the URL under catalog application call structure.
    Result:
    You should find an entry under your tab caltalogs with  the description from your entry made in the customizing.
    Regards
    Andreas

  • Calling BSP from Workplace Inbox

    Is there a way to call BSP from Workplace inbox workitem?

    Hi Ram,
    If you can call URL like http://sdn.sap.com , you can.
    Dany

  • Calling BSP from abap program by interfacing EP

    Dear Friends...
    I am cslling a BSP... from an ABAP program... for that I have used this class and also a function module to ckeck.. actually from the abap program it invoks the BSP page very nicely and as my logic for invoking the BSP is a part of the Business Object and it is associated with the Enterprise portal so... when i reach the ep and trigger that business object to instantiate the BSP page from my calling logic of abap... it goes to the ITS and port 80 or something and didnt produce the BSP.. and only the blank screen was there...kindly help me how i am supposed to instantiate the BSP from properly from ABAP by interfacing the EP... my code is given below...
    data :
    lv_url type string.
    concatenate
    'http://sapdevbp.sbic.co.za:8041/sap(bD1lbiZjPTIwMA==)'
    '/bc/bsp/sap/z_updatemng/bp.htm?bpid=' object-key-businesspartnerid
    into lv_url.
    call method cl_gui_frontend_services=>execute
    exporting
    document = lv_url
    exceptions
    others = 1.
    please help....
    me...
    regards
    Naim

    hi ,
    you can try using FM CALL_BROWSER in your report(ABAP code)to call bsp,like
    data url(200) type c.
    url = 'http://<server>.<domain><port>:'.
    concatenate url '/sap/bc/bsp/sap/' into url.
    concatenate url 'your_bsp_app_name/your_start_page.bsp' into url.
    concatenate url '?sap-user=<userid>' into url.
    concatenate url '&sap-password=<passowrd>' into url.
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = url
       WINDOW_NAME                  = ' '
       NEW_WINDOW                   = ' '
       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.
    For this to work you have to enable SSO on your server.
    you can check if it is enabled or not by runnning the BSP application "SYSTEM" ,page "SSO2TEST.htm" .
    Follow the instructions on the page for testing.
    This may not be a great way as your userid password are passed via URL,still it works
    Cheers!

  • Calling BSP from report and return control back ?

    Hi All,
          My requirement is as follows :-
    1. I am calling a BSP from report using CL_GUI_HTML_VIEWER->show_url. The BSP page is displayed successfully.
    2. Then, I perform some operations and want to return some data back to the main program (from where it was called - Report) and continue execution from there
    How do I accomplish the second requirement (Control doesnt come back once I close the BSP) ?
    Regards,
    Ashish

    how to generate events from html code in the html control back to your ABAP check out this demo program
    SAPHTML_EVENTS_DEMO
    say for example, in your case you are showing the BSP in GUI HTML control and on clicking a link you want to pass some data from your link to ABAP program and the ABAP should receive the value and process it and may be comeback to same BSP or go some to some other screen/transaction.
    steps to follow:
    after creating the html control
    register event for call back and call the BSP url.
    create object hviewer
                 exporting
                   parent = mycont.
        myevent-eventid = hviewer->m_id_sapevent.
        myevent-appl_event = 'x'.
        append myevent to myevent_tab.
        call method hviewer->set_registered_events
          exporting
            events = myevent_tab.
        create object evt_receiver.
        set handler evt_receiver->on_sapevent
                    for hviewer.
        hviewer->enable_sapsso(
          exporting
            enabled    = 'X'
          exceptions
            cntl_error = 1
            others     = 2
        if sy-subrc <> 0.
        endif.
        call method hviewer->show_url
          exporting
            url = wf_url.
    in your BSP the link should look like below
    A HREF=SAPEVENT:TAGS?value to be passed to your ABAP> link text </a
    when you click this link in bsp then you can then capture the value "TAGS" to know which link was clicked and the value passed after the ?
    link is just one option, you can also send whole form data.
    this type of link and form will only work when your BSP is invoked within HTML contro. if its invoked from standalone browser these wont work. so you amy want to dynamically show/hide "sapevent" links based on where it runs.
    Hope this is clear. if not do getback.
    Regards
    Raja
    Edited by: Durairaj Athavan Raja on Sep 9, 2008 1:04 PM

  • Calling BSP from WEB Template

    Hi,
    Can any one help me regarding Bex web designer..
    I want to call BSP in my Bex web template with passing parameters to BSP(R/3) over URL  and also like to avoid login pop for BSP.
    Thanks
    Atul

    Hi Arun,
    Thanks for your reply, but what i want to know is from WEB template how can we get variable to pass it to BSP page.
    Eg: If i have using hierarchical object in my WEB template and i want know which node(level) i have selected, how i can achieve that, if i am able to do that then i can pass it to my BSP page.
    Regards
    Atul
    Message was edited by: Atul Dhariwal

  • Calling BSP from Workflow

    Hi,
      Can we call an BSP page from within workflow step and can it show in Universal worklist of the Enterprise Portal?
      If it possible then from which version of Web application server and enterprise portal it is supported?
    Thank you
    arun

    I am imaginating that you what to put the web page as an attachment in a work item.
    Well, first try to put the URL of your app into the workitem description. If this solution is doesnt like you you can develop an ABAP application that shows your BSP and then just put this application in a transaction.
    Note: check this blog
    /people/thomas.jung3/blog/2004/08/26/updated-calling-a-bsp-application-from-a-sapgui-transaction
    Then create a METHOD (in your business object) that executes this transaction, and use this method in your step.
    Best regards
    Ariel

  • Problem in Calling BSP from Workflow

    Hi All,
         I have develpoed a workflow where in I am calling a BSP applicaiton , what ever the necessary steps that are required to take I did them perfectly and even Iam able to call the BSp application,This wrokflow is triggred from the portal when ever user clicks a link.
    Now the Problem is when I am directly executing the workflow from wrokflow builder directly it is opening the BSP application , but actually what should happen is a ACTIVITY is sent to SAP Business Wrok Place and fromt there if the AGENT executes the task then it should open the BSP aplication.
    Now In my case the BSP application is opening as soon as I execute the workflow directly and in the BUSINESS PLACE also the TASk is stored in the inbox .
    I want to open the BSp application only when AGENT executes the TASk from the Business Work Place
    What can be done , to over come this problem?
    PROBLEM SOLVED
    Thanks
    Pavan

    Could you please share the solution as it would be of great help?

  • Calling BSP from WAD

    Hi All,
    I have developed a BSP Program. I have to call this program(default screen) from a web report i.e I have to give user a link or button to start the BSP Program. Can someone let me know how can I do this in WAD?
    Best Regards,
    Nene.

    hi Nene,
    you can try something
    <a href='/sap/bc/bsp/sap/yourbsp'>BSP title</a>
    hope this helps.

  • Call BSP from a funtion module and use results of the BSP in the calling fm

    Hi BSP experts,
    I want to implement following scenario. But currently I've no idea how to realize step 4 of the process.
    1. An ABAP program calls a function module.
    2. The function module calls a BSP page.
    3. In the BSP users will fill out some fields (e.g. name).
    4. After pressing the submit button the BSP should transfer the values to the export parameters of the calling function module. 
    Thanks for your support & Regards

    within the FM code you should call a SAPGUI screen with embedded html viewer control, in which you will show the bsp page and user can enter value and hit submit. you can then collect the user entered value and set it as export value fo the FM. but why do you want to do this?
    Regards
    Raja

  • Calling BSP's from SCM ICH

    Hello all,
    i need some information about calling BSP's from SCM ICH(inventory collaboration hub) into EP. for this what steps i need to do.
    pl suggest me
    thx
    pradeep

    <i>when i was trying to call bsp from ICH..it shows..loading..but not coming anything...</i>
    One of the possible reasons could be that at the back end ABAP is trying to compile. Go to that particular BSP application and activate it manually and then try it in portal.
    <i> maintained correct path for WAS. do i need to activate anything in BSP side?
    What parameters do i put into
    Application parameters
    BSP definition type
    BSP application...</i>
    if this is the first time you are going to run BSP application there are certain nodes in SICF tree should be activated. Check out OSS Note# 517484 for info on this.
    BSP definition type => BSP Application (if you have aliases defined and want to use it then you should use BSP alias)
    BSP application => your BSP applicatio name
    Start page => start page of your BSP application (default.htm)
    System => the back end system alias to which this BSP should connect to (e.g DEV001)
    Hope this helps.
    Regards
    Raja

  • How to call  URL from BADDI??

    Hi,
    I have a requirement to call URL from BADI, i tried to use 'CALL BROWSER' function module,
    it works when we are working in GUI, but for portal/PCUI it gives sy-subrc = 2 ( Front end Error)
    How to call a pop up page or URL from poral??
    Thanks,
    Manoj
    Edited by: Manoj Lakhanpal on Sep 27, 2010 10:27 AM

    Hi!
    I'm using this code for calling a browser, you might try out as well...
    MOVE 'http://www.sap.com' TO command.
        CONCATENATE 'url.dll,FileProtocolHandler'
                    command
               INTO command
           SEPARATED BY space.
        MOVE 'rundll32' TO lv_application.
        CALL METHOD cl_gui_frontend_services=>execute
           EXPORTING
             APPLICATION            = lv_application
             PARAMETER              = command
           EXCEPTIONS
             CNTL_ERROR             = 1
             ERROR_NO_GUI           = 2
             BAD_PARAMETER          = 3
             FILE_NOT_FOUND         = 4
             PATH_NOT_FOUND         = 5
             FILE_EXTENSION_UNKNOWN = 6
             ERROR_EXECUTE_FAILED   = 7
             others                 = 8
    Regards
    Tamá

  • How can I call a ABAP proxy class from BADI? PLease help

    hi Experts,
        I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
    Please help.
    Thanks
    Gopal

    Hi,
       You can call a method of a class from BADI. Here are the steps.
       1) In the BADI implementation create a object for the proxy class.
       2) Call the Execute_Synchronous method.
        You can define a BADI by using SE18 and you can implement it by using SE19.
    Sample code...
    ================================================
      METHOD ZIF_EX_VBADI~CONVERTUPPER.
      DATA: OBJ TYPE REF TO ZTESTCLASS.
      DATA: IT_DATA  TYPE ZIN_MT,
                IT_RES   TYPE ZOUT_MT,
                SEXCEPTION TYPE REF TO CX_AI_SYSTEM_FAULT.
      TRY.
          CREATE OBJECT OBJ
             EXPORTING
                 LOGICAL_PORT_NAME = 'TESTPORT'.
      CATCH CX_AI_SYSTEM_FAULT INTO SEXCEPTION.
      ENDTRY.
    ENDMETHOD.
    ================================================
    Thanks,
    Vivek LR

  • Call R/3 BADIs from CRM

    Hello Experts,
    I have to implement some BADIs in R/3 which will get executed through CRM.
    What are the various options of calling the BADI in R/3 from CRM? The BADIs are used for sales order processing, invoicing, etc....
    Thanks
    Ricky

    Hi Ricky,
    You may build a RFC enabled function module in R/3 and can call the same from CRM Badi's. If want to code a R/3 badi which would be enabled in normal order processing or invoicing process, then you don't have to put effort figuring out how to enable or call it from CRM, as it would be called as a part of normal processing once document is in R/3.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

Maybe you are looking for