Need to send cookie to non-SAP backend from URL iView

Hi,
I have a backend application which takes a cookie for
(non-SAP) SSO purposes. I have created an URL iView
in my EP 6.0 SP2 that correctly displays the content
of that web page, i. e. the login screen.
However, even when I have a cookie in my browser, it still
displays that login screen, i. e. the cookie is either
not sent or not recognized.
I then created a simple test servlet on a backend server
that prints the contents of all the HTTP headers. When
I connect my browser directly to that page, I can see
the cookie. When I connect my iView to that URL, I
do not see the cookie. So apparently the iView does
not send the cookie.
As I learned, in EP 6.0 SP3 there is a "Fetch Mode"
property for URL iViews which allow to define whether
the URL in the URL iView should be retrieved by the
server or the client. This seems to indicate that in
SP2, always the server issues that request, which would
explain why there is no cookie in the request (since only
the browser holds these cookies). So I presume if I
would use SP3 with Fetch-Mode set to Client, this might
work. But then again, this fetch mode is not really
encouraged by the documentation and only recommended
if you are really desparate ...
So the question basically is:
- are my assumptions above correct?
- is there a way to have the EP server send cookies to
  my backend systems with SP2?
I'm a little puzzled that this doesn't work out of the
box, since my understanding was that SAP SSO tokens are
also transported to backend systems using cookies, and
this is supposed to be on by default for EP. So I was
expecting to see at least the SAP SSO tokens in all
HTTP requests to backends. Apparently, the world is
not that easy.
Any insights would very much appreciated!
Thanks,
Matthias

Additional thoughts:
In general your assumptions are correct. When using client side fetch mode then the cookie should be forwarded, and I would not expect problems there. When using server side mode then the cookie domain changes and becomes the portal domain, and as a result the cookie is kept in the browser, but is a little useless. I'm not 100% familiar with how we solve this problem when using SSO2 cookie in server side. Yoav, can you elaborate ?
     The reason the documentation was not in favor of client side is because at the time the idea was to encourage the users to use the portal server cache. However, this seems less relevant now, because only the first request will be cached, but not the inner calls of the html page.
     Bottom line - I don't see any issue with using client side, and actually the default in FP is client side. So I would simply modify the iview to use it.

Similar Messages

  • Generic Sync. support for non-SAP backend

    Hi
    Does Generic synchronization allows mobile applications to call function module residing in any non-SAP backend.I am not sure about this.
    The documentation for MDK says we have to use Business Connector for this.
    Where can i find the Business Connector for this purpose.
    Which non-SAP backends are supported by Generic Sync framework.
    Regards
    Ashwani Kr Sharma
    HCL Technologies

    Hello Ashwani,
    have a look at http://service.sap.com/connectors. Here you will find also the SAP Business Connector.
    Regards
    Gregor

  • MI Support for Non SAP Backend

    hi all,
    Theoritically,it is said, MI will support NON-SAP Backends.
    But in our <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cc489997-0901-0010-b3a3-c27a7208e20a#q-5-9">FAQs</a> i find the following,
    <i>Can I use SAP Exchange Infrastructure for integrating MI with with non-SAP backends?
    No, this is currently not supported (see release restriction note 717510).</i>
    <b>If we are using SAP Business Connector, can we integrate non-sap Backend?</b>
    So, As a consultant, what should our stand be if a client asks if we can integrate Non-SAP backends with MI 2.5?
    Regards
    Ak.

    Hi Arunkumar,
    Sorry, I cant make a closed statement that SAP does not support integration of MI with non SAP backend systems. The reason is this is a restriction because of some failed tests & also another reason is we are currently working on taking this restriction out.
    So we will surely get back to u with a positive response very soon.
    Regards,
    Nameeta

  • When i need to send somthing to an email address from a website, the Outlook Express pop up even i do not set it as default's email

    When i need to send somthing to an email address from a website, the Outlook Express pop up even i do not set it as default's email

    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Calling Non SAP programe from SAP program

    Hi Experts...
    Can we cal Non SAP programs Like Windows EXE programs from ABAP programs ?
    If yes Then How .....
    Regards ...
    ..Ashish

    Hi Ashish ,
    Ya we can call a non SAP program from SAP program.
    For example we can call a EXE program from the SAP program using the RFC connection created in SM59.
    In Sm 59 you can create a TCP/IP connection and give the path of the executable there.

  • Send mail to non-sap using bapi's

    hi friends,
    Can any one please help me how to send mail from sap to non-sap systems using bapi's.plesae help me .i want the procedure and code
    regards
    srikanth.v

    Hi,
       Use this sample Code...
    REPORT ZSENDMAIL.
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    Creation of the document to be sent
    File Name
    DOC_CHNG-OBJ_NAME = 'SENDFILE'.
    Mail Subject
    DOC_CHNG-OBJ_DESCR = 'Send External Mail'.
    Mail Contents
    OBJTXT = 'Minimum bid : $250000'.
    APPEND OBJTXT.
    OBJTXT = 'A representation of the pictures up for auction'.
    APPEND OBJTXT.
    OBJTXT = 'was included as attachment.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creation of the entry for the compressed document
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    Creation of the document attachment
    (Assume that the data in OBJBIN is in BMP format)
    *OBJBIN = ' \O/ '. APPEND OBJBIN.
    *OBJBIN = ' | '. APPEND OBJBIN.
    *OBJBIN = ' / \ '. APPEND OBJBIN.
    *DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    *OBJHEAD = 'PICTURE.BMP'.
    *APPEND OBJHEAD.
    Creation of the entry for the compressed attachment
    *OBJPACK-TRANSF_BIN = 'X'.
    *OBJPACK-HEAD_START = 1.
    *OBJPACK-HEAD_NUM = 1.
    *OBJPACK-BODY_START = 1.
    *OBJPACK-BODY_NUM = TAB_LINES.
    *OBJPACK-DOC_TYPE = 'BMP'.
    *OBJPACK-OBJ_NAME = 'PICTURE'.
    *OBJPACK-OBJ_DESCR = 'Representation of object 138'.
    *OBJPACK-DOC_SIZE = TAB_LINES * 255.
    *APPEND OBJPACK.
    Completing the recipient list
    RECLIST-RECEIVER = '[email protected]'.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    *RECLIST-RECEIVER = 'SAPUSERNAME'.
    *RECLIST-REC_TYPE = 'P'.
    *APPEND RECLIST.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    TABLES
    PACKING_LIST = OBJPACK
    OBJECT_HEADER = OBJHEAD
    CONTENTS_BIN = OBJBIN
    CONTENTS_TXT = OBJTXT
    RECEIVERS = RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    CASE SY-SUBRC.
    WHEN 0.
    WRITE: / 'Result of the send process:'.
    LOOP AT RECLIST.
    WRITE: / RECLIST-RECEIVER(48), ':'.
    IF RECLIST-RETRN_CODE = 0.
    WRITE 'The document was sent'.
    ELSE.
    WRITE 'The document could not be sent'.
    ENDIF.
    ENDLOOP.
    WHEN 1.
    WRITE: / 'No authorization for sending to the specified number',
    'of recipients'.
    WHEN 2.
    WRITE: / 'Document could not be sent to any recipient'.
    WHEN 4.
    WRITE: / 'No send authorization'.
    WHEN OTHERS.
    WRITE: / 'Error occurred while sending'.
    ENDCASE.
    in this code....Internal table IF RECLIST-RETRN_CODE is not 0,then the mail is not send to the recipient, so if you want the undeliverable mail for a perticular recipient then call the same function module SO_NEW_DOCUMENT_ATT_SEND_API1 with undeliverd message to whom want to receive the undeliverd message.
    hope this solves your problem

  • Whether this function module K_DOCUMENT_UPDATE can send IDOC to Non SAP Sys

    Hi,
    I know function Module K_DOCUMENT_UPDATE can sent IDOC to R/3 systems.
    1.Whether this function module can sent the IDOC to Non SAP System?.
    2.How to make sure, that the function module can sent IDOC to Non SAP System?.
    Please advise.Thanks.
    Regards,
    Dinesh

    Hi Dinesh,
          Inside this function module K_DOCUMENT_UPDATE there is a FM available 
    CALL FUNCTION 'K_DOCUMENT_SEND'
           EXPORTING
                I_LOGSYS      = LOGSYSTEM
                I_COBK        = COBK
           TABLES
                T_COEP        = LT_COEP
                T_COEPL       = LT_COEPL
           EXCEPTIONS
                 This FM is responsible to send IDOCs to the defined logical system LOGSYSTEM. No matter this logica; system is SAP or non-SAP IDOC will be sent. Prerequisite are,
    1) RFC connection exist between system
    2) Partner profile is configured between the system.
    Regards
    Ram

  • Want to access non SAP system from EP

    Hey Guys,
    We are having a system (CRMS) which is a non SAP system. I know through EP we can connect to the non SAP system.
    Can somebody pls tell me the steps to do this.  I want to access the data from non SAP system on Enterprise Portal.
    Pls provide me the useful links / doc.
    Thanks in advance.
    NIkesh Shah

    Hello Nikesh,
    As I mentioned, kindly check up on help.sap.com.
    Anyways:
    Create an HTTP system using the System Templates Provided. Instead of selecting SAP Systems you select HTTP system. Provide parameters:
    Authentication method: POST
    Authentication Type: Server
    URL Parameter for Password & URL Parameter for Username: This you can get by doing a View Source on the Login Page of your CRMS appln. e.g. <input type = "hidden" name ="user"> -> So in this case you pick up user
    In User management property select Usermapping and admin,user
    Now create a URL iView:
    System: Select the 1 you created.
    URL: URL to your application till before any query string starts.
    REQUEST Methid: GET
    URL Parameter 1: <the user param from the source> TYPE = Mapped User
    URL Parameter 2: <the pwd param from the source> TYPE = Mapped Password
    Enter the user mapping for that user and test the iview.

  • Problem transferring file to non-sap system from R/3

    Hi,
    I used one Z function module to transfer file to non-SAP system as follows.
    CALL FUNCTION 'Z_INTERFACE_OUT_1'
           EXPORTING
                INTID           = V_INTID
                EXTRACT_DATASET = P_V_FILENAME.
      IF SY-SUBRC = 0.
        WRITE: / P_V_FILENAME, 'file has transferred successfully'.
      ELSE.
        WRITE: / P_V_FILENAME, 'file transfer has failed.'.
      ENDIF.
    I am getting message 'file has transferred successfully'. But it is not found on destination system.Can anyone please tell me the reason.
    Thanks,
    Venkatesh.

    Hi,
    You can use transaction code SNOTE to see whether a particuler OSS note is implemented or not.
    First navigate to GOTO> Download SAP Note and import the OSS note to your system.
    Then navigate to GOTO > SAP Note Browser and check the status of the OSS note, it will show whether it is implemented in your system or not.
    Also in the OSS note, there is release specific information. You can check whether that OSS note is applicable to your release or not.
    Regards,
    Gaurav

  • Accessing SAP backend from j2ee without entrprise portal

    Hi All,
    I have a requirement which is migrating the applications hosted on tomcat server to SAP web AS and accessing the SAP ERP system from the web application.As of now i have two options one is importing the web application into NWDS and creating a webdynpro application or creating j2ee application.
    <b>Now my doubt is how do i access sap ERP system from the application(I dont have any enterprise portal which should have made my job easy by creating JCO destinations and accessing them in the webdynpro application)</b>
    Please let me know how to access backend from j2ee or webynpro from NWDS without Enterprise portal
    Thanks
    Bala

    Hi,
    you could use native JCo.
    More her: http://service.sap.com/connectors
    Rgds
    Markus

  • Using RFC Function Module to send data to NON SAP Application

    Hi friends,
    Please guide me how can I send data from SAP -> Dotnet Applcation using Dotnet Connector through RFC function module from SAP side. In my scenerio, I Run Z transaction  to executte RFC function module which create some data to pass to dotnet connector.
    Regards,
    Rajesh Kumar

    Hi,
    You can make use of Dotnet connector to read the content of SAP RFC .. (eaiest of all)
    The RFC can be executed using connector , and can read the data simultaneously.. u need to code in dotnet for this..
    else create a webservice and read it from dot net ..
    Regards
    Renu Gusain
    Edited by: Renu Gusain on Jan 25, 2010 12:55 PM

  • Sending IDoc to Non-SAP system

    Hi Folks,
        I have to send an IDoc to the external system. Kindly let me know the steps to be performed for it.
    Reagrds,
      santosh

    Just to be a little more clear. The step 8 in the previous link.
    8. Checking the Partner Profiles.
    o       Go to T. Code WE20
    o       Expand Partner Type 'Vendor'
    o       Select the Partner profile __
    o       Double click on Message Type ZCATSTIME in Outbound parmtrs.
    o       Check Receiver Port is assigned correctlyo     
    Check the Basic type as your Basic IDOC object.
    Disha.

  • Best practice for connecting to SAP backend from JSPDynPage

    Hi,
    Can anyone help clear up some confusion I have over connecting to SAP from Java?
    We have a number of JSPDynPage portal applications on EP7 Ehp1 that connect to SAP ECC6.
    We currently use 2 methods to call remote functions on the ECC system.
    1) Enterprise connector and JCo Client Service
    This method has the advantage of automatically generated proxy classes and typed access to function module parameters. It is also more closely aligned to Web Dynpro from a design time point of view
    However it also has a number of disadvantages in that it does not support table APPEND structures and requires regeneration for every change to the ABAP structures involved even if the field that has changed is not being referred to. In addition the use of the JCo client service means that the connection pooling must be handled ourselves explicitly
    2) Connector Framework - SAP System Connector
    This method has the advantage that connection management is handled by the framework. It also has the advantage that fields are referred to by name so if an ABAP structure changes then the remote call will not fall over as long as the named fields are still available.
    However this method is more cumbersome because no proxy classes are generated and function module parameters are referred to generically so errors are not picked up by the complier.
    Given the limitations of the above 2 methods, what is the recommended approach?
    In the book u2018Inside Web Dynpro for Javau2019 Chris Whealy says the following about the Adaptive RFC Layer:
    u2018Any Java program running in the AS Java u2013 not just Web Dynpro u2013 can make use of the Adaptive RFC layeru2019
    Has anyone been able to use the Adaptive RFC layer from a NON-WebDynpro java application?
    Any thoughts on the above would be most welcome.
    Thanks,
    Denis.

    Hello,
    The recommended way is with JCA Connector.
    Adaptive RFC is included from NW7.1,
    See "Creating an Adaptive RFC2 Sample Application without using Web Dynpro"
    in the SAP HELP of NWCE7.1 or NWCE7.2.
    Seems to be based in JCo 3.0 and Java5 so it will not work in NW70.
    For older Versions like EP 5 there is also a JCo ClientService available.
    Regards
    Johannes

  • Call to Web Sevice in External (non SAP) system from SAP CRM

    Hi,
    I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
    Can you please tell me:
    1. What settings/object needs to be maintained in SAP in order to make this call.
    2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
    Please explain in detail
    Thanks,
    Mike

    Hi Oliver,
    I have gone through the documentation and had been able to create a proxy object, uploaded the WSDL file (from local directory) and created logical port,
    However, when testing the service, I didn't received a sucess message but
    <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
      <ERRORTEXT>Error when instantiating the Web service runtime (Error when initializing SOAP client application: ' error_text' )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    What might be the Problem ?

  • Call to webservice External (non sap) system from SAP CRM

    Hi,
    I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
    Can you please tell me:
    1. What settings/object needs to be maintained in SAP in order to make this call.
    2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
    Please explain in detail
    Thanks,
    Mike

    Hi,
    Check this
    Calling web service from ABAP - version 4.6C

Maybe you are looking for

  • Form does not show "new" records from SQL Database

    I have a PDF form that pulls data from a SQL Server.  The fields in the PDF are populated from the database after selecting a specific record from a drop down and then clicking on a button labeled "Fill". The problem is that the dropdown does not dis

  • Conception 2 Nintendo 3DS Availabili​ty

    Hi, y'all.  I came here to ask about whehter Best Buy still had any copies of Conception II for Nintendo 3DS.  If so, is there still a limited edition version of it with the soundtrack?  If not, may I inquire whether Best Buy plants to have stock for

  • Iphone setting for video composite out

    How can I set my Iphone in order to see composite video out; for beamer or for LCD TV

  • Solutions for processing images in LR, then printing as cards through ID?

    Hello, Might anyone have experience with processing photographs in LR CC, then printing from ID CC through an inkjet printer? I thought it wouldn't be such a big deal, but am finding my colors are not holding true. What I see in Lightroom is nice on

  • SYNC BLACKBERRY BOLD WITH BLACKBERRY Z10

    Have been using Blackberry Bold 9700 for many years and regularly backing up on my lap top. Got Z10 and cannot sync contacts. Blackberry Link does not recognise Blackberyy Bold. Need help.