SSO implementation from SAP EP to non SAP application (JAVA Appln)

I want to implement the SSO from SAP EP to java application i.e. on oracle 10g application server. For this i have downloaded ssoexample with relevant libraries and jsp aswell as java file. But where i need these files to be placed in java application and what all things i have to do on portal as well.
Regards
Ashwani

i don't know, but what i see is, the calling application shd try to do the following... this is the sample code from the blog which i posted earlier.  This application shd have reference for your .so  files.  Now you will get the user details to authenticate.  You can use your API in .so files with these details.
        String systemalias = "system";
         // get user from request
         IUser iuser = request.getUser ();
         // get usermapping service
         IUserMappingService iums = (IUserMappingService)
            PortalRuntime.getRuntimeResources()
               .getService(IUserMappingService.KEY);
         IUserMappingData iumd = iums
             .getMappingData (systemalias, iuser);
         Map map = new HashMap ();
         try {
            iumd.enrich (map);
         catch (NoLogonDataAvailableException nldae)   {  
            // ... Error handling
this is the max i can think.

Similar Messages

  • Configure SSO Connection from SAP Enterprise Portal to BOE Server

    Hi Guys,
    We recently installed a BOE Server and want to connect it to our SAP Enterprise Portal. What we need is just to display the Crystal Reports via Enterprise Portal. We have set up the following:
    SAP EP with AD Authentication
    SAP EP configured with SNC to SAP BI7 system
    SAP BOE XI 3.1 - SAP Integration Kit
    BOE Server configured with SAP Authentication via SAP BI7 System
    We've also set up BOE IK iviews and URL iviews pointing to existing reports in BOE. However, when we access it from EP, it prompts for a username and login to BOE. Is there a way to configure these so that there is no prompt for login to BOE server and SSO is used? Is it also possible to have a service account (e.g. domain/crystal) that will run the reports in BOE everytime a user accesses a report from SAP EP?
    Let me know if this is at all possible

    Hi,
    You should configure InfoView for SSO first, which required infoview.xml file modification, using windows AD default authentication. If you want to utilize the OpenDocument URL for iView then you also need to configure OpenDocument.xml file for SSO also. The SAP portal must have trust relation with the SAP BW server so the Windows AD token can be authenticate with SAP BW server.
    If you want crystal user to run all the report then you will lose data security. It can be done by hard coding user name and password in the report properties and database logon but the SSO capability can be accomplished only by windows AD, SAP or LDAP.
    For more details check BOXI Admin guide and SAP Integration Guide.
    Thanks,
    Muhammad

  • How to pass data from SAP to JAVA ( very urgent )

    Hi Experts,
    I have worked in ABAP, but now I joined to a new company. Here in my project requirement is as below:
    1. Need to transfer data ( account information ) from SCRM to SAP ( Business partner) using JCO.
    2. Need to transfer material information from SAP to SCRM through JCO.
    for 1st one I got solution in java and JSP , but for 2nd requirement I am unable to get. Can u please help me in this. How to do this and if any code required for this can u send me to me. 
    Very urgent , please help me.
    Thanks in advance,
    HP.

    Hi,
    Follow the below link..
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=crm+jco%27s&cat=sdn_all&start=11
    Award Points If Useful...

  • Re-use of ABAP Program ID from SAP Application in BODS 4.0

    Objective:
    1. We have used ABAP Program ID in DataStage 7.5. For example, ZDSYE001
    2. The above ABAP Program ID is residing in SAP Application Server.
    3. Now we need to use the same ABAP Program ID [ZDSYE001] in SAP BODS 4.0
    =====================================================================
    ISSUE/ERROR:
    1. In SAP BODS 4.0, we create a Datastore for SAP Application with all the configuration details.
    2. We are able to view external metadata for tables but not for ABAP Program ID.
    3. For ABAP Program ID, we are getting below error while using Extractor Object in Datastore to get the ABAP program ID:
    Cannot import the extractor<name=ZDSYE001>
    Error creating RFC Fuction<Z_AW_EXTRACTOR_IMPORT>:<RFC_ABAP_EXTRACTION-Exception Key:FU_NOT_FOUND,SYS-MSGTY:E,SY-MSGID:FL,SY-MSGNO: 046)>.Notify Customer Support (BODI-1116153)
    =======================================================================
    Please provide your inputs ASAP

    Hi,
    Please check this wiki pages for more information on how to solve your issue:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/ReleasingExtractorsforusebytheODP+API
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=217449812
    Hope it helps,
    Pedro

  • Extracting data from sap to java application using JCO

    Hi,
    I am new to sap and wanted to know what is the procedure to extract data from  based on the java application client (user defined input from different tables of sap) input and need to manage huge data meaning reading millions of records.kindly help me how to handle this in ABAP.

    Hi,
    Pls chk these links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4
    Accessing SAP Tables from a Java application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47b6cd90-0201-0010-5aba-b6b7474d4aff
    Java Application ,SAP BW
    <b>***Reward Points if Useful</b>
    Regards
    Gokul

  • Sending email alert from SAP Application System

    Hi,
       we have one scenario like we need to send one email alert from application system, if ther is some error in  proxy or any error is ther in SXI_MONITOR of application sytem. Is ther any way to achieve this.
    Regards
    Pradeep P N

    >
    Pradeep P N wrote:
    > Hi,
    >
    >    we have one scenario like we need to send one email alert from application system, if ther is some error in  proxy or any error is ther in SXI_MONITOR of application sytem. Is ther any way to achieve this.
    >
    >
    >
    > Regards
    > Pradeep P N
    for sending mails from application system you can use various FMs -
    http://sapr3.tripod.com/abap011.htm
    http://www.sap-basis-abap.com/abap021.htm
    for XI related you can always utilize alerts

  • Converting type from SAP to Java...

    Hi everyone,
    I am calling a BAPI wich returns me numbers like for example : 19,887.54
    When I get this number in my Java code, it does not save the ",".
    Can someone help ???

    The decimal format is probably the best way for parsing and displaying in another locale/style.
    The following code works:
    import java.text.DecimalFormat;
    import java.text.ParseException;
    try {
                   //This is the actual format you would like to parse from, and print out using
                   DecimalFormat formater = new DecimalFormat("#,###.##");
                   //Get the number from a string
                   Number number = formater.parse("19,887.54");
                   System.out.println("Number:"+number);
                   //format the number to a String which is the number as a pattern
                   String formatedNumber= formater.format(number.doubleValue());
                   System.out.println("Formated number "+ formatedNumber);
              } catch(ParseException p){
                   System.out.println("Parse failed");               
    and the output is:
    Number:19887.54
    Formated number 19,887.54

  • BOX character at the end of line when file transferred from SAP to  WINDOWS

    Hi,
    We have a file interface program which creates a comma seperated '.txt' file in application server. Once it is created in application server in provided path an UNIX script runs which transfers this file from SAP application server to a network drive in WINDOWS platform. This file looks fine  when opened through WINSCP from SAP application server but when checked the file in network drive opened with note pad, it found each line come at the end of another line seperated by 'BOX' character.
    If we opened the file in word pad instead of note pad it looks fine.
    If any one of you have any idea to resolve this issue it will be a great help.
    Thanks,
    Ranadev

    Hi Ranadev,
    This happens because when you transfer the file to the Windows platform using the UNIX script it removes uses only a newline character at the end of each line instead of the Windows platform standard which is carriage return/newline.  The Notepad program displays this character alone as the box that you see.  If you want to verify take the same program and convert to Windows format using Notepad++ and you'll see that the same file then displays properly in Notepad.
    Regards,
    Ryan Crosby

  • Loading data from SAP ECC to DS---Error

    Hi all,
    I am using Abap dataflow for loading data from a table in SAP Application to oracle database. I am getting an error during execution as follows.
    I am using direct download method for transfer of data.need your valuable inputs.

    Hi phaneendranadh kandula,
    Direct Download Method: It will directly transfer the data from SAP Application Server to Client Download Directory.
    Note: It is not recommended because we cannot schedule job and not recommended for large amount of data.
    Data Transfer Methods.
    Data Services with SAP Direct Download Data Transfer Method
    Not Recommended
    We cannot Schedule
    Not recommended for Large Amount of Data
    Data Services with SAP Shared Directory Data Transfer Method
    Recommended
    Secure Method
    Can Handel Large amount of data
    can be executed in Background method
    Data Services with SAP FTP Data Transfer Method
    Recommended
    Secure Method
    Applicable in Multiple OS Environment
    Data Services with SAP Custom Transfer Method
    Recommended
    Highly Secure

  • Sending invoice direclty from SAP server to customers

    Hi,
    after configuring Smtp connection between SAP ECC and Exchange server. i'm able to send documents to people who's mail address are maintained in user master record .
    su01 > maintaining e-mail address for all sap users.
    whith in this list i'm able to send SAP attachements.
    But, only to   @xyz.com  (exchange server belongs to XYZ company and XYZ domain)
    if we maintain other domain address in the user master record.
    i.e.. for one sap user if we maintain e-mail address as @[email protected]
    SAP attachements can't be sent to different domain mail address.
    where it is getting stopped ?
    Exhange server or SAP server stop sending the attchment from SAP application to different domain address ?
    How about adding Default domain address in SCOT ?
    request you to trhough light on this issue.
    thanks in advance,
    by
    raghava rao

    Hi,
    after configuring Smtp connection between SAP ECC and Exchange server. i'm able to send documents to people who's mail address are maintained in user master record .
    su01 > maintaining e-mail address for all sap users.
    whith in this list i'm able to send SAP attachements.
    But, only to   @xyz.com  (exchange server belongs to XYZ company and XYZ domain)
    if we maintain other domain address in the user master record.
    i.e.. for one sap user if we maintain e-mail address as @[email protected]
    SAP attachements can't be sent to different domain mail address.
    where it is getting stopped ?
    Exhange server or SAP server stop sending the attchment from SAP application to different domain address ?
    How about adding Default domain address in SCOT ?
    request you to trhough light on this issue.
    thanks in advance,
    by
    raghava rao

  • Data transfer b/w SAP to Java using IDOC and Interface SAP Jco

    Dear Experts,
    The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
    For this data transferred we are planning to use IDOC process and for interface "SAP Java connector (Version 3.0.5)" we are planning to use. As per our understanding, from Java side one program needs to be written to connect with SAP as "Registered program". This registered program will appear in SAP GATEWAY automatically and using tRFC, TCP/IP connection both SAP and Java system will be connected.
    In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    5. Any sample Java program for the SAP Jco version 3.0.5 to create the "Registered program" with SAP..? (e.g. SAP Listener program).?
    If anybody has detailed steps or explanation please share it with us.
    Thanks in advance
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • IDOC data transfer SAP to Java using SAP JCo

    Dear Experts,
              The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
                 For this data transferred we are planning to use IDOC process and for interface "SAP Java connector" we are planning to use. In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once  "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    If anybody has detailed steps or explanation please share it with us.
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • How to view OS files in SAP application

    hi,
    i try to view a file (stored at OS directory) from SAP application, when running AL11, the directory is not there.
    so i tried to "configure" to add in new entry for different directory in AL11, after created and when click on the new entry in "Name of Directory Parameter", it prompts below error
    Wrong order of calls <- CALL opendir: No such file or directory(,,..)
    have i missed something ?
    comment and advice are highly appreciated.
    regards,
    kent

    Hi Kent,
    >No such file or directory
    It seems that you made a mistake on the directory name...
    Regards,
    Olivier

  • Flow of tables information between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

  • Flow of tables informaion between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

Maybe you are looking for

  • Is it possible to call SAP RFC by using ODI

    Hi guys, I connected to a SAP system by using ODI. I can fetch SAP tables but is there a way to call a RFC by using ODI? Thanks.

  • Error when changing default web-template

    Hello experts, I´m facing the following problem and I don´t know what to do: I´ve created a new web template in WAD 7.0 and set it as deafult web template for ad-hoc analysis in transaction SPRO. When I want to execute a query in web e.g. from the Qu

  • How to find out when XI Server was Re-started Last ?

    Dear Experts,         Can anybody tell me How to find out when was the last time XI server was Re-started. ? I want to know both ABAP as well as Java instance. without taking the help of basis.          Any T-code or Log which can give me this info.

  • TypeError: self is undefined with the new Firefox 16.0.1

    I am using a Milonic DHTML Menu - JavaScript Website Navigation System. It doesnt work with the new Firefox 16.0.1. The error is with Firebug : TypeError: self is undefined . Self is referred to : self.scrollY; self.scrollX;

  • Permit to certain telephone numbers to dial-up to a RAS

    I want to set up a remote access server with one wic-2am and one wic-1b-s/t cards. I would like to know if it is possible to configure the router to accept calls only from particular telephone numbers. Thanks in advance