Calling BSP in a Role -

Hi Experts,
We are in the process of intergration SAP SRM 5.0 and SAP GTS systems. We would like to call a custom BSP page in GTS system via role a custom role defined in SRM system. Also while calling we would like to pass end users userid as the parameter to GTS system BSP page to process further processing the information and do a look up.
Can you please help me out how to call the BSP pages across the systems and also what paramter id to use to pass the userid parameter to GTS system.
We are very close to go-live and please help me out to find a solution.
Thanks in advance.
Vijay.

Hi Franklin,
Vijay has stated that the BSP itself is called with a hardwired system user in the ICF (Internet Communication Framework -> transaction SICF).
In the BSP, some user specific data is to be displayed or updated or whatever (otherwise the user context wouldn't matter, right?)
So... he wants to pass the Portal user ID name (or an alias for it) to the backend system as a remotely exposed import parameter of the URL, which will then execute it user dependently.
The consequence is.... I could call myself Franklin and you could call yourself Julius, and Martin could call himself Darth Vader if he wanted to.... The BSP would not know the difference if called from the portal (or elsewhere?)
You could try to have very tight control on the portal side but it is still a bad design in my books to expose such import parameters such as user names, or the famous "auth_check = ' ' ".
In ABAP it is also possible to use the AUTHORITY-CHECK ... FOR USER ... construct which is similar but local. If the external caller can specify the user ID against whom the check should be perform, they can do anything which the program permits with any authorizations they happen to know the corresponding user ID for.
Not a good idea...
---> hence it depends on what this BSP does. Any coding error in it could easily lead to a further escalation of privildges.
Cheers,
Julius
Edited by: Julius Bussche on Sep 17, 2010 10:08 PM

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 Iview from a BSP Iview

    How to call another BSP Iview from a BSP Iview ?
    Is it the same like we call BSP Iview from a Controller ?
    My problem is ..Intially i had only one Iview called from the controller. It was working fine.
    I've added some includes in the View and while activating, i got the error msg
    +Internal error Occured during runtime generation of the class CLOLkshdksjhfk ....+_
    +(Dump id : GENBRANCHOFFSET_LIMIT_REACHED)+_
    I found from the forum that, instead of calling all things in a single Iview, we can split that into different Iviews.I did the same. and the error had gone.
    My Q is ...
    I Have built code for tray (maximize and minimize). It works fine if the controller has One Iview and its not working if the controller has 3 iviews.
    How to sort it ? If i call the other 2 Iview s from the parent one, will the prob solved ?
    Thanks and Regards,
    Kanal.

    Hi,
    Please check this weblog by Brian McKellar. You will surely find a way to avoid the error you mentionned.
    [/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached|/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached]
    Regards,
    Tanguy

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

  • ***How to call BSP App when custom button event fired from toolbar group***

    Dear PCUI Experts,
       I have created one custom button for the transaction CRMD_BUS2000116.
    And my urgnet requirement is , I need to call BSP application which is used to   take data from custom fields and stores into BP table.
    How to call the BSP App. when i clicks on the button.
    Please help me..
    I will reward with great points.
    Regards,
    Stella.

    Hi Purushothaman,
                                 I have created a button in CRRM_ACCOUNT application.
    Now i want to call  a custom bsp application by clicking on that button.I have followed step given in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But the event is not triggered.Do I have to create an iview for my bsp application?
    How to do that?Plz help.
    Regards,
    Ruby.

  • Wrong ICF path used for BSP link in role

    Hi,
    I've added a BSP to the menu of a role.
    When I start the BSP from the role menu in PFCG it starts the BSP as supposed.
    If I go to the browser and look at the Web template with the role menu, I see my BSP link has a wrong ICF path:
    http://server.web.bc:8000/sap/bw/BSP_APP/default.htm
    but the BSP_APP is under:
    sap/bc/bsp/sap/BSP_APP
    Is there somewhere a default setting that sets the ICF path to: sap/bw for Web application templates?
    Regards,
    Eric

    Nothing much happening on this topic...
    In the mean time I found out there is a table HTTPURLLOC which allows an exception setting.
    I added the entry:
    040    010    HTTP   /BSP/SAP/*    SAPBWBIP.WEB.BC    8000
    but this doesn't appear to change things.
    Still don't know why it is using '/sap/bw' as default prefix and not '/sap/bc/bsp/sap'.
    If I launch the menu item from PFCG, it goes well.
    From within the webtemplate on the role menu it doesn't work.
    Very frustrating...
    Anyone who can shed some light on this?
    Regards,
    Eric

  • 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

  • Calling BSP in EP

    Hi Sudha Mohan,
    How did you call BSP in EP ?just guide me in obtaining the same.Will you plz tell me the <b>procedure steps</b> to be followed and the parameters to be filled.
    thanks a lot in advance
    regards,
    Kiran

    Hi,
    To call BSPs inside Enterprise Portal (EP), you need to create BSP iview (portal content developement). There is a iview template provided with EP for this purpose, where you will set the following properties
    system= <which R/3 system to connect to>
    BSP application = <your BSP application name>
    start page = <startpage for your BSP application>
    and for the BSP to work in the system definition WAS setting should be done. And for SSO to work (provide all configuration are made from portal and R/3 system) you need to use fully qualified domain.
    Hope this hleps.
    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 add bsp app to Role

    HI,
    how i can add BSP Application to Role,
    in pfcg ->menu -> other i don't find it.
    Thanks

    >
    Vijay Tals wrote:
    > HI,
    >
    > how i can add BSP Application to Role,
    > in pfcg ->menu -> other i don't find it.
    >
    > Thanks
    I see it!  I'm running ECC 6.0.
    PFCG->Menu->Other->BSP Application (3rd Selection) from the top.
    Click on the search on the "Other" menu and search for BSP if you are having problems seeing it.

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

  • How to call BSP based iview using Parameters

    Hi,
       i developed one BSP application which takes 2 input parameters 1. Document No 2. Item No.
       I created a iView based on this BSP Application. I would like to call this iView by hardcoding input parameters.
       Input: Document No, Item and Submit button. output displays some text based on input. which is working fine, No issues.
    Now, i developed a iViews using these BSP application. If i call iViews, again no Issues. Which works great, we need to enter input manally.
    I would like to call my iViews with document no = '0004000000' , Item No = '000001' and Submit = 'SET'.  Which directly should display the data for above document item.
    that means iView URL + Document = '0000400000' & Item = '000001' & submit = 'SET'.
    how to call Parametrized iViews???
    I'm talking about Application Parameters in documentation (http://help.sap.com/saphelp_nw04/Helpdata/EN/88/266a3e54a2e946e10000000a114084/content.htm).
    ApplicationParameter
    You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    This field is optional.
    The parameter values are specified with the following syntax:
    <Screen_field1>=<Parameter1>
    &<Screen_field2>=<Parameter2>
    &<...>=<...>,...
    Thanks,
    Ben.
    Edited by: Nagesh Ganisetti on Jan 29, 2009 9:18 AM

    I want to pass values dynamically? How to pass values dynamically using URL???
    assume my BSP URL wiht parameters:
    http://nwd2bw1.corp.analog.com:8001/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/zzsdpra123/start.htm?gv_doc=0040013811&gv_item=000001  WORKING GREAT!!!
    Developed an iView using ZZPRA123 BSP application in portal without APPLICATION PARAMETERS.
    http://nwd2bw1.corp.analog.com:50100/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportalcontent!2fcom.analog.analog!2fcom.analog.SD_BI_REPORTS!2fcom.analog.SD_iviews!2fcom.analog.z_quote_text?sap-config-mode=true&_gv_doc%3d0040013811&gv_item%3d000001 NOT WORKING.
    Simple BSP application: ON INITIALIZATION Method
    event handler for data retrieval
    data: gv_name type thead-tdname.
    data: lt_line1 type standard table of tline,
          lt_line2 type standard table of tline,
          lt_line3 type standard table of tline,
          lt_line4 type standard table of tline.
    data: l_rfcwa type rfcdest.
    data: event type ref to cl_htmlb_event,
          url type string,
          parameter type string,
          url_page type ref to if_bsp_page.
    l_rfcwa = 'PRD_CLI002'.
    if gv_doc is initial.
    CALL METHOD request->get_form_field
      EXPORTING
        name               = 'gv_doc'
       formfield_encoding = 0
      receiving
        value              = gv_doc.
      endif.
      concatenate gv_doc gv_item into gv_name.
      call function 'ZBI_STNDARD_TEXT'
        destination l_rfcwa
        exporting
          name   = gv_name
        tables
          lines1 = lt_line1
          lines2 = lt_line2
          lines3 = lt_line3
          lines4 = lt_line4.
      gt_line1[] = lt_line1[]. "Internal Header Text
      gt_line2[] = lt_line2[].
      gt_line3[] = lt_line3[].
      gt_line4[] = lt_line4[].
    Layout:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Quote Texts " >
        <htmlb:form>
          <htmlb:inputField id            = "gv_sid"
                            value         = "<%= gv_doc %>"
                            visible       = "FALSE"
                            submitOnEnter = "TRUE" />
          <htmlb:inputField
                            id            = "gv_itm"
                            value         = "<%= gv_item %>"
                            visible       = "FALSE"
                            submitOnEnter = "TRUE" />
          <htmlb:textView text      = "Quote Texts for <%= gv_doc %> "
                          design    = "HEADER1"
                          layout    = "BLOCK"
                          textColor = "dark blue" />
          <%   if gt_line1 is INITIAL.       %>
          <htmlb:textView text   = "No Internal Header Text Found"
                          design = "HEADER2" />
          <% else. %>
          <htmlb:textView text   = "Internal Header Text"
                          design = "HEADER2" />
          <%   loop at gt_line1 into gs_line.    %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%--* External Header text      --%>
          <%   if gt_line2 is INITIAL.       %>
          <htmlb:textView text   = "No External Header Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "External Header Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line2 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%Internal Item text%>
          <%   if gt_line3 is INITIAL.       %>
          <htmlb:textView text   = "No Internal Item Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "Internal Item Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line3 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%External Item text%>
          <%   if gt_line4 is INITIAL.       %>
          <htmlb:textView text   = "No External Item Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "External Item Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line4 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Please guide me to call iview using dynamic parameters.
    Thanks,
    Ben.
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:47 AM
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:48 AM
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:49 AM

Maybe you are looking for