Calling a BSP from different domain

Hi.
I have a problem calling a bsp application. I am using bsp app. system for a logon screen(this is what’s causing the problem.) SAP is in the domain company<b>as</b>.com and the calling application is in the domain company.com.
The logon screen is displayed but when users try to logon the logon screen just gets displayed again. I have found out this is because of the different domains and the cookie mysapsso2.
When calling the same url from my machine everything works fine. Also if I try to bypass the system and logon directly to the bsp application (default.do) it works. The reason I’m using the system app. is to enable the users to change their passwords according to the rules in R/3.
Does this make sense and does anyone have some ideas how to fix my problem?
Regards
Jon

There is a pretty simple answer here - it just doesn't work.  This has to do with how the browser stores and sends cookies.  Cookies are only allowed to be passed within the same domain. This a protection that keeps a bad website from reading the content of cookies from other websites (potentially gaining sensitive information).
There isn't too much that SAP can do about this since this is a mechanism enforced directly by the browser.

Similar Messages

  • Calling another BSP from a BSP using bsp:call having a Problem.

    Hi All,
    I have a BSP (page1.bsp), within Page1.bsp I am calling another BSP (Page2.bsp)
    But I need to Call Page2.bsp from Page1.bsp 'N' number of times depending upon an internal table, code is mentioned below ( Problem is mentioned after the code ) :
    LOOP AT mr_plan_comparison->mt_selected_plans ASSIGNING <fs_selected_plan>.
         CLEAR lr_plan.
         lr_plan = zcl_zpr_s_model_pool=>load_new_plan( iv_plan_id = <fs_selected_plan>-plan_id ).
         lr_plan->mr_phases = lr_plan->get_phases( ).
         lt_phases_of_a_plan = mr_plan_comparison->mt_selected_phases.
         DELETE lt_phases_of_a_plan WHERE plan_id <> <fs_selected_plan>-plan_id.
         lr_plan->mr_phases->mt_phases = lt_phases_of_a_plan.
         lv_comp_id_str = zcl_zxa_str=>conc( iv_1 = sy-tabix
                                             iv_2 = 'xyz' ).
         CONDENSE lv_comp_id_str NO-GAPS.
      %>
      <tr>
      <td>
    <htmlb:textView text="<b><%= zcl_zrm_s_data_manager=>get_name_from_id( iv_table_name = 'ZPR_PROGRAM'
                                                                         iv_field_name = 'PRG_ID'
                                                                         iv_field_value_id = <fs_selected_plan>-prg_id  ).%></b>" />
         <bsp:call   url     = "<%= zcl_zrm_co=>sc_bsp_rpphachart %>"
                     comp_id = "<%= lv_comp_id_str %>" >
    <%-- same subcontroller n times: use different component IDs --%>
        <bsp:parameter name  = "mr_plan"                  value = "<%= lr_plan %>" />
        <bsp:parameter name  = "mr_plan->MR_PHASES"       value = "<%= lr_plan->mr_phases %>" />
        <bsp:parameter name  = "mv_show_current_version"  value = "<%= abap_true %>" />
        <bsp:parameter name  = "mv_show_version_nr"       value = "<%= SPACE %>" />
    </bsp:call>
    I am able to display the Page1.bsp with no problem having Page2.bsp as well on it,
    But I have a radio button or a dropdown on Page2.bsp and when the event triggers it goes to the DO_HANDLE_EVENT of Page2.bsp whcih is correct but after DO_HANDLE_EVENT it does not go to DO_REQUEST of Page2.bsp and rather goes to Page1.bsp at the LOOP, by this what ever selection I did I am loosing those values.
    What changes should I make so that after Do_HANDLE_EVENT of Page2.bsp it should call it's Do_Request?
    I guess it might be related to the reference or something?
    Regards,
    Abhinav

    Hi Abhinav,
    the flow of nested controllers is as follows:
    contr1->do_request (here dispatch_input triggers data and event handling)
      -->contr1->do_handle_data
      -->contr2_1->do_handle_data
      -->contr2_2->do_handle_data
      -->contr2_3->do_handle_data
    ..... for all controllers in the hierarchy
      -->contrXXX->do_handle_event (the controller instance where the event was triggered)
    contr1->do_request continued
    call view for contr1
      -->contr2_1->do_request
      -->contr2_2->do_request
      -->contr2_3->do_request
    .... for all subcontrollers called by your logic
    the dispatch_input in the subcontroller does not have any effect as within the method it is checked whether the controller is a root controller or not.
    In case you call the subcontroller with the same component ID's than you called them before, the same instances are reused. So if you reuse the instances and set an attribute within the instance that handled the event you should be able to "remember" the values.
    Another option is to write the event back either to the application class or to the parent controller (is available via attribute m_parent) and hand it back over to the controller during the calling loop.
    Hope that helps.
    Best Regards
    Michael

  • How to call a BSP from another BSP?

    Hi All,
    I've created a BSP for hiring new employees.  I have a situation whereby when the user presses a button a pop window will be displayed listing all the positions in the company.  The user selects the correct position, which then populates an input box on the originating page and the pop up window closes.
    This pop up window is a page in another bsp which goes off and gets the positions and stores the selection in a cookie.
    Now my problem is how do i call this 'get postions' bsp from my originating bsp?
    I've tried using the <%@ include file="/sap/bc/bsp/sap/z_hr_org_model"%> but i get the error only page fragments can be included.
    So how do i call one bsp from another??
    Any help would be much appreciated,
    Kind Regards,
    Liz.

    Look at the below [link|http://****************/Tutorials/BSP/F4Help/Tutorial.htm]
    The only difference in your case is, you need to call the popup from different BSP Application.
    To do that, just add the full path when you call the document.open..
    For example,
    document.open("/sap/bc/bsp/sap/z_hr_org_model/main.do", ............)
    Raja

  • How to grant access to sharepoint for the user from different Domain

    Hi All
        I need to grant access to user from different domain. 
        Where I can able to view the users in people picker (different domain).
    Thanks in Advance.
    Raj

     Hi
    Trevor Seward
    Sorry to disturb
    you again.
      I am trying to restrict user from search from other domain, say we have domain A and Domain B, where I am trying to restrict all the user from domain B (Search users)for a site collection. I have found couple of stsadmin command to do so. but none
    of them works. Below are the commands I have tried
    STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "domain:<Name>.domain" -url "http://Site URL"
    stsadm -o setproperty -pn peoplepicker-searchadcustomquery -pv “(canonicalName=<Name>.domain*)” -url "Site URL"
    we have two way trust.
    Can you suggest any solution.
    Thanks 
    Raj

  • Mapping users coming from different domain in AD

    HI,
    We have configured vintela SSO which is working.Now we are trying  to add another domain but it has been unsuccessful.
    We have imported the users coming from other domain in CMC->AD, and UseFDQNDirectoryForServers parameter in registry.
    The issue is our complex krb5.ini errors as "cannot find kdc for realm" for the user account coming from the other domain.The existing domain kinit is successful.
    Please help in resolving this issue!!! We need to have users coming from different domain to use vintela SSO.
    Thank you.

    well you're mixing things up a bit.
    The usefqdnfordirectoryservers is used to map in groups. If the groups show up as well as the users that piece should be complete.
    the krb5.ini is for logging in users manually, it must conatin the KDC for every domain that may contain users that need to log into BO. It also must have a KDC or capath entry to define all the parent domains as well (even if they do not have members that need to login. This is how the krb5 is used to verify transitive trusts. Then all users that are not in the default domain must logon as username@ DNSDOMAIN.COM where the DNS domain is entered in all caps aqnd represents the FQDN of theidomain the users bewlong to. Now if not logging in manually this should be a big problem.
    So for SSO (vintela anyway) this process is automatic, although you may want to configure vintela with site information so it doesn't randomly use all your DC's Site can be set following the steps at the end of business objects note 1261835 (complete and vintela only editions).
    In order for vintela to work properly the value entered in CMC > Authentication > Windows AD > service principal name must = an SPN thet was created on the account that is running the SIA/CMS
    Regards,
    Tim

  • Displaying image from different domain in an applet

    can anybody tell how to load & display an image from a different domain. the image is being generated dynamically on that server so that i cannot save it.

    You should sign your applet to be able to do it.Isn't that normally only necessary for Security
    relevant procedures, like locally reading and writing
    (saving) files? ( -> So, is that also true (sec.
    rel.) for "donwloading" from "different domain"
    (URL)? )Yes, it is a security violation. Maybe arguably not as bad as local file system access, but it could still be a problem. The main problem would be turning an unsigned applet (therefore from an unknown source) into a DOS application which starts pounding on all sorts of other servers, including the local host.
    As to the problem, you could have a servlet on your host which gets the image from the other host for you. The servlet could be very generic with the applet passing all the info needed to get the file for it.

  • Display problem from different domain

    Hi
    I am not able to make my display(DISPLAY variable). When I m exporting the display variable from the same domain as the linux box is present. It is working fine but when I trying to export the DISPLAY variable from different domain and use the GUI. it is throwing error. Please help. Also I am able to ping from my window machine to Sun Solaris
    operating system: sun solaris 9 (5.9).
    Error Message:
    (gnome-calculator:5511): Gtk-WARNING **: cannot open display:
    Can anybody tell me how and what all we need to check to configure DISPLAY.
    I mean the software required and firewall configuration.

    I trying to export the DISPLAY variable from different domain and use the GUI.Different domain or different network?
    I am able to ping from my window machine to Sun SolarisPing means nothing in this case because:
    1. ICMP =! TCP
    2. You need to have allowed connection from Solaris to your local machine (port 6000) and ping is not capable to check that.
    3. You need to check this on/from server (Solaris)
    Or you can use X11Forwarding so you don't need to allow connection as mentioned above.
    I mean the software requiredDo you mean client SW or what?

  • Unable to load swf from different domain through html wrapper in Chrom

    Hi All,
           I am trying a embed a swf from different domain. My html wrapper was in one domain and swf was in another domain. I have embedded the swf into the html wrapper. When i run the html file it is loading the swf in firefox and working fine. But when i try to run the same html in chrom or IE the swf is aborted. I have crossdomain.xml file in both the servers which is also allowing both the domains. I was not able to figure out the issue. Can anybody help on this.
    regards,
    Jayagopal.

    Are you getting any errors or warnings?

  • Loading modules from different domain

    when I load modules from the same location where is main application, everything is fine. But when modules are loaded from different adrress i got following error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at mx.utils::LoaderUtil$/isRSLLoaded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\uti ls\LoaderUtil.as:525]
              at mx.utils::LoaderUtil$/http://www.adobe.com/2006/flex/mx/internal::processRequiredRSLs()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\utils\LoaderUtil.as:259]
              at mx.core::FlexModuleFactory/getRSLInfo()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \core\FlexModuleFactory.as:582]
              at mx.core::FlexModuleFactory/update()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\cor e\FlexModuleFactory.as:470]
              at mx.core::FlexModuleFactory/moduleInitHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\core\FlexModuleFactory.as:819]
    any ideas what might be wrong?
    thanks for any help in advance

    This is a link to testing application:
    http://michalnpe.homeip.net:55001/bin-release/LoadModuleApp.html
    you can see source code of this app.
    Let's say we want to run module from different domain.
    so insert following address for crossdomain.xml and module (into TextInput in the applicataion above) .
    http://a2s.pl/crossdomain.xml
    http://www.a2s.pl/npe/softmgr/Michal/wymiana/TestModule.swf
    here is the code that loads the module:
    protected function loadModule(event:MouseEvent):void
                                            testloader.url = moduleAddress.text;
                                            //testloader.loadModule();
                                  public function setup():void { // run before loading modules
                                            Security.allowDomain("*");
                                            Security.loadPolicyFile(crossdomain.text);
                                            var request:URLRequest = new URLRequest(crossdomain.text);
                                            var loader:URLLoader = new URLLoader();
                                            loader.load(request);

  • Calling a BSP from a BW web report RRI

    Hi,
    I am calling a BSP from a BW Web Report to Report Interface and during the call all users have to authenticate themselves.   It is not an option to turn authentication off for audit purposes but is there any way of performing automatic authentication?
    Both the web report and BSP are on the same BW instance.
    Any help would be greatly appreciated.
    Regards
    Paul.

    Just activate SSO2 for your application servers. Some time ago there was a good <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/ com.sapportals.km.docs/documents/a1-8-4/SSO%20Overview.pdf">article</a> on this here on SDN. Keep in mind that browser must accept cookies.

  • Calling a BSP from a website

    Hi
    We have two standard BSP applications on one R/3 system. The R/3 system has been configured for SSO using single sign on using SAP log on Tickets.
    My question is:
    When I call one BSP application from a website, through a link on the website it displays the BSP page whereas when the other BSP application is called from the same website, through a link, it gives an error, "Single Sign On not Activated". What could be the reason for the other BSP page not being displayed?
    Thanks,
    Jayesh

    Please check the system alias you are using in the second BSP call. If you use the same system alias, It should work just fine. If it is different system alias, please check and make sure you have the user mapping set correctly.
    Also make sure to import the certificate.
    Thanks,
    Nagesh O.

  • How to call java files from different directories

    hi, how do i call java files from a different directory??
    let say i got partA.java, and i need to include functions from partB.java which is in a different folder. how can i do that?

    Chicon wrote:
    Hi nuttynibbles,
    Before the class declaration in partA.java, you must have an import statement like :
    import someDirectory.partB;
    public class partA {
    ... and before you ask... you'll probably want to read through this http://java.sun.com/docs/books/tutorial/java/package/index.html

  • Grant access to users from different Domains

    Hi,
    Recently my company was merged with another. All users from my company are setup in our Domain (DomainA). Sharepoint is able to see the users in this domain and grant access to the users as well. When the merger happened, we created a Group (Test - Sharepoint)
    in our AD to add groups from other companie's domain:DomainB, totally different Forest. There is a two way trust setup between these domains. The group Test-Sharepoint is "domain local" and it is able to see the groups/users from other domain: DomainB.
    The other users are now able to access our sharepoint environment once access is granted to DomainA\Test-Sharepoint.
    Problem came when we applied Audience targetting around few web parts. The users from DomainB who are added as object in DomainA\Test-Sharepoint (group in DomainA) are not able to see the web parts that have audience targeting for this group. Someone
    suggested that AD groups should be Global or Universal but that is not our case. Most of the groups in our AD are domain local and SP is able to see the users within it.
    Please suggest how we can resolve audience targeting issue?
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

    My apologies, yes that is correct you'll have to use Domain Local in this case. http://technet.microsoft.com/en-us/library/cc755692(v=WS.10).aspx
    Actually what you'll need to do is not use Groups in your domain at all, as the users are Foreign Security Principals. Instead, use a group in the trusted domain, or attributes of the users you intend to target directly.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Calling procedure dynamically, from different schema, permissions issue

    Hi,
    I have a 'master_user' schema that needs to run DDL on a 'secondary_user' schema.
    There appears to be some kind of permissions subtlety that I'm missing. Here are the simplified steps to create, test and troubleshoot:
    Secondary schema has a procedure defined:
    -- Run as SYSTEM (at build time)
    CREATE OR REPLACE PROCEDURE secondary_user.execute_immediate(p_sql_statement IN VARCHAR2)
    IS
    BEGIN
        EXECUTE IMMEDIATE p_sql_statement;
    END;
    GRANT EXECUTE ON secondary_user.execute_immediate TO master_user;
    I then want to call this procedure from master_user to execute DDL dynamically in secondary_user.
    - Run as master_user
    BEGIN
        EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
    END;
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at SECONDARY_USER.EXECUTE_IMMEDIATE", line 5
    ORA-06512: at line 1
    ORA-06512: at line 2
    TROUBLESHOOTING SO FAR:
    Now I can call this procedure directly:
    -- As master_user
    EXEC secondary_user.execute_immediate('drop table test1')
    PL/SQL procedure successfully completed.
    I can call the wrapped procedure as different users:
    -- As secondary_user
    BEGIN
        EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
    END;
    PL/SQL procedure successfully completed.
    -- As SYSTEM
    BEGIN
        EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
    END;
    PL/SQL procedure successfully completed.
    Can you shed any light on this behaviour? The master_user clearly has permission to run the procedure, but it cannot see it from within an anonymous block. However SYSTEM can so what permission does SYSTEM have that master_user does not?
    Much appreciated,
    Si

    Something doesn't add up:
    SCOTT@orcl > create user secondary_user
      2  identified by secondary_user
      3  default tablespace users
      4  quota unlimited on users
      5  /
    User created.
    SCOTT@orcl > grant create session to secondary_user
      2  /
    Grant succeeded.
    SCOTT@orcl > create user master_user
      2  identified by master_user
      3  default tablespace users
      4  quota unlimited on users
      5  /
    User created.
    SCOTT@orcl > grant create session to master_user
      2  /
    Grant succeeded.
    SCOTT@orcl > CREATE OR REPLACE PROCEDURE secondary_user.execute_immediate(p_sql_statement IN VARCHAR2)
      2
      3  IS
      4
      5  BEGIN
      6
      7      EXECUTE IMMEDIATE p_sql_statement;
      8
      9  END;
    10
    11  /
    Procedure created.
    SCOTT@orcl > GRANT EXECUTE ON secondary_user.execute_immediate TO master_user;
    Grant succeeded.
    SCOTT@orcl >
    SCOTT@orcl > create table secondary_user.test1(n number)
      2  /
    Table created.
    SCOTT@orcl > connect master_user@orcl
    Enter password:
    Connected.
    MASTER_USER@orcl > BEGIN
      2
      3      EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
      4
      5  END;
      6
      7  /
    PL/SQL procedure successfully completed.
    MASTER_USER@orcl >
    Make sure table secondary_user.test1 exists when you run SP. And, as you can see, neither secondary_user nor master_user have any privs besides create session.
    SY.

  • Call Standard BSP from another Standard BSP

    Hi all,
    I would call a standard BSP (my case ACTIVITY BSP) from another standard BSP (OPPORTUNITY BSP) when change a predefined fields.
    I try to implement the following source code into the method IF_CRM_BSP_MODEL_ACCESS_IL~READ of the extended class, but nothing happens:
        DATA: url TYPE string.
        DATA navigation TYPE REF TO cl_bsp_navigation.
        DATA runtime TYPE REF TO cl_bsp_runtime.
        CALL METHOD cl_bsp_runtime=>get_runtime_instance
          RECEIVING
            runtime = runtime.
        CALL METHOD runtime->create_url
          EXPORTING
            application_name = 'CRMD_BUS2000126'
          RECEIVING
            url              = url.
        CREATE OBJECT navigation
          EXPORTING
            runtime = runtime.
        CALL METHOD navigation->goto_page
          EXPORTING
            url     = url.
    The previous code is correct to call another BSP?
    And where can I implement the code?
    Thank you very much.
    Giulio

    Hi,
      I am sending the code for the layout where you can write code to call a page or controller of a bsp from page.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "first page ">
        <htmlb:form>
          <htmlb:textView     text          = "Material Details"
                              design        = "EMPHASIZED" />
          <br>
          <br>
          <htmlb:textView     text="Material"  design="STANDARD" ></htmlb:textView>
          <htmlb:dropdownListBox  id="Matnr"  table="<%= it_mara1%>"  nameOfKeyColumn="Matnr"
          nameOfValueColumn="Matnr"></htmlb:dropdownListBox>
          <br>
          <br>
          <htmlb:button       text          = "Press Me"
                              onClick       = "myClickHandler" />
           <br>
           <br>
           <htmlb:link id="link" text="Click Here"  reference="http://iga03019b.in.intelligroup.com:8000/sap/bc/bsp/sap/z_azaz_bsp_app6/display.htm">
           </htmlb:link>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    You write code for what to be displayed in the controller or oninputprocessing of a page of a called bsp.
    Regards,
    Azaz Ali.

Maybe you are looking for

  • Day View in calendar Component showing the next at times not everytime!

    Day View in calendar Component showing the next at times not everytime! My question is when we go to Day view which day does it show? is it Server day where the application reside or the machine time zone day ?

  • How do I share playlists between my devices (Ipad, Ipod)?

    After making a great playlist, I really don't want to go through my huge music library, and make the same playlist on another device. Is there a way to duplicate the same playlist on another device? For example, I have multiple ipods, and an iPad. I

  • Automatic Payment Foreign Currency

    Dear Friends, Can we use the foreign currencies in automatic payment method. Please describe how to make the settings in Company code specifications. Thanks in advance. Regards, Mahendra Dev

  • N97 main screen disapears

    Hi, I have a N97 and recently the main screen disapears and I cant get it back except switching the phone off and on again, anyone else seen this? Thanks Al Solved! Go to Solution.

  • Broken hinge on a Macbook Air - how to fix it?

    Hi, I have a Macbook Air which has worked perfectly all this time, but a few days back one of the hinges broke. The system still works fine, but opening the lid seems to strain the body structure. Upon opening the bottom cover, I noticed that a wire