SSO between SAP EP and JAVA app on WebSphere Application Server 5.1

Hi.  I have 2 questions.
I am implementing SAP EP6 and need to display content from a WebSphere JAVA application inside the portal.  The application is currently running on WAS 5.1.
1. Does anyone have any sample code or documentation regarding how to pass the SAP logon ticket to WebSphere JAVA application to accomplish SSO when inside the portal?
2. Does anyone have any sample code or documentation regarding how to pass the SAP logon ticket to WebSphere JAVA application to accomplish SSO when outside the SAP EP, but still within the same IE browser window where the SAP logon ticket exists?
Thanks for any feedback you could provide.

Hello Kevin,
please look here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/ibm/how to set up sso between sap enterprise portal and ibm websphere portal using tai.pdf
Regarding your second questions: as long as you did not log off from SAP EP your browser hosts the SAP Logon Ticket cookie (within its timeframe of validity which is typically a couple of hours). So if you access a non SAP application that accepts SAP logon ticket with your browser, you're authenticated.
Please note that the cookie based authentication only works withing the same DNS domain. So if your SAP EP is configured to issues the SAP logon ticket to "company.com" then your browser sends it only to servers in that domain.
Regards
Michael

Similar Messages

  • What is different between setup.exe and ezsetup.exe for iPlanet Application server 6.0 SP3?

    iPlanet Application server 6.0 SP3 for windows versions.

    Hi,
    setup.exe has 3 types of installation modes, namely, express, typical and custom. But the ezsetup doesn't asks these questions. The difference between them are..
    Setup.exe - Express - Asks fewer questions like, iAS username password, directory server username, password, product key etc
    Setup.exe - Typical - Asks for same questions as of Express setup and few more additional questions and allows you to install iAS and use a directory server which is already installed.
    Setup.exe - Custom - The most complicated and the highly interactive installation where it requiress 32-33 inputs from the user and fully customisable.
    EzSetup.Exe - Doesn't have any sub option, doesn't allow you to use the existing directory server or web server, all it asks is 2 questions..., which directory to install and the product key.
    Hope this helps.
    Regards
    Raj

  • Connectivity between "SAP Connector and Java Iview".

    hi Experts,
    I have written a Java iview, and trying to connect r/3 by the java Iview, i am not able to track where i am goin wrong ?? Please help.
    Is there anyway to check whether the connectivity is been established or not.I am really confused.
    Code is :-
    package com.rr.ess.DynPage;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.metadata.functions.IFunction;
    import com.sapportals.connector.metadata.functions.IFunctionsMetaData;
    import com.sapportals.htmlb.Button;
    import com.sapportals.htmlb.Form;
    import com.sapportals.htmlb.GridLayout;
    import com.sapportals.htmlb.Image;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.TextView;
    import com.sapportals.htmlb.Tray;
    import com.sapportals.htmlb.enum.InputFieldDesign;
    import com.sapportals.htmlb.enum.TrayDesign;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.resource.IResource;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sun.corba.se.spi.legacy.connection.Connection;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    public class TestDynPage extends PageProcessorComponent {
      public DynPage getPage() {
         return new TestDynPageDynPage();
      public static class TestDynPageDynPage extends DynPage {
          Tray mytray;             
          Image Logo;
          InputField myinputfield;
          Button mybutton;
          Button defaultbutton;
          TextView text;
          GridLayout mygrid;
          String message;
          String Str = new String();
          * Initialization code executed once per user.
         public void doInitialization() {
              IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              this.message = profile.getProperty("mymessage");
              if(this.message=="")
                   this.message = profile.getProperty("defaultmessage");         
          * Input handling code. In general called the first time with the second page request from the user.
         public void doProcessAfterInput() throws PageException {
         IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         IPortalComponentProfile profile = request.getComponentContext().getProfile();     
         InputField myinput = (InputField)getComponentByName("input");
         if(myinput != null)
              message = myinput .getValueAsDataType().toString();
         try{
              getConnection(request,"P35");
         catch(Exception e)
         public IConnection getConnection(IPortalComponentRequest request,String alias)
                        throws Exception {
                   IConnectorGatewayService cgService =
                   (IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                   ConnectionProperties prop =     new ConnectionProperties(request.getLocale(),request.getUser());
                   IConnection connection = cgService.getConnection("P35",request);      
                   getSAPdata(connection);                              
                        return cgService.getConnection("P35", prop);                    
         public void getSAPdata(IConnection client) throws Exception {
                        /* Start Interaction * */
              try{          
                   IInteraction ix = client.createInteractionEx();
                                  IInteractionSpec ixspec = ix.getInteractionSpec();               
                                  ixspec.setPropertyValue("Name", "HRMSS_RFC_EP_READ_PHOTO_URI");
    //                              Create IFunction instance
                                  IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
                                  IFunction function = functionsMetaData.getFunction("HRMSS_RFC_EP_READ_PHOTO_URI");
    //                              CCI api only has one datatype: Record     
                                  RecordFactory recordFactory = ix.getRecordFactory();
                                  MappedRecord importParams      = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
    //                              Set scalar values
                                  importParams.put("PERNR", "1012");
    //                              Get scalar values               
                                  System.out.println("Invoking... " + function.getName());
                                  MappedRecord exportParams = (MappedRecord) ix.execute(ixspec, importParams);
                                  String scalar = (String)exportParams.get("URI");
                                  Str = scalar;     
                finally {
                   if (client != null) {
                        try {
                        client.close();
                        //("* Iview: Closing connection ok.");
                        client = null;
                              } catch (Exception e) {
                          //     logMsg("* Iview: Error closing connection.");
          * Create output. Called once per request.
         public void onPersonalise(Event event) throws PageException
         IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
         IPortalComponentProfile profile = request.getComponentContext().getProfile();
         profile.setProperty("mymessage",this.message);
         profile.store();
         public void onDefault(Event event) throws PageException
              IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              this.message = profile.getProperty("defaultmessage");
              profile.setProperty("mymessage","");
              profile.store();
         public void doProcessBeforeOutput() throws PageException {    
           // create your GUI here....
           IPortalComponentRequest  req= (IPortalComponentRequest)getRequest();
           //IResource rs = req.getResource(IResource.IMAGE,"images/CAR1.jpg");
           IResource rs = req.getResource(IResource.IMAGE,Str);
           Logo = new Image(rs.getResourceInformation().getURL(req),"Logo");
           Form myForm = this.getForm(); // get the form from DynPage      
           myinputfield = new InputField("Input");
           myinputfield.setDesign(InputFieldDesign.STANDARD);
           mybutton = new Button("mybutton");
           mybutton.setText("Personlise");
           mybutton.setOnClick("Personalise");
           defaultbutton = new Button("Default");
           defaultbutton.setText("Default");
           defaultbutton.setOnClick("Default");
           text = new TextView("fgfdg"+Str);
           mytray = new Tray();
           mytray.setDesign(TrayDesign.BORDER);
           //mytray.addComponent(Logo);
           form.addComponent(Logo);
           mygrid = new GridLayout(3,2);
           mygrid.setCellPadding(2);
           mygrid.addComponent(1,1,myinputfield);
           mygrid.addComponent(2,1,mybutton);
           mygrid.addComponent(3,1,defaultbutton);
           mygrid.addComponent(3,2,text);
           mytray.addComponent(mygrid);
           myForm.addComponent(mytray); 
    Points would be awarded to helpful answers.
    Regards,
    Sanjyoti.

    hi Prashant,
    Thanks for your reply.
    I am able to see the Iview with all the components(textfield,buttons).
    But the image is not displayed. and I am not able to check whether the connectivity is been established.
    in this part of code
    text = new TextView("fgfdg"+Str);
    I am assigning the value of "Str", which i get from R/3 to "text",
    but in the iview the value of "Str" is not displayed.
    Regards,
    Sanjyoti

  • SSO between SAP Portal 7.3 and Ruby on Rails

    Hello Everyone,
    We are planning to integrate SAP Portal 7.3 and a RoR application and I am wondering If someone can share some experience (If you have any of course) on how to establish SSO between SAP Portal and RoR.
    The SAP Portal will act as service provided and RoR as a consumer, we don't have LDAP, so the Portal UME is in ABAP and RoR uses an own UME database. We have SSO between our Portal and SAP Backend systems.
    In RoR customers will have access to their own information (Invoices, etc..) that will be provided by the backend system.
    URL transaction and iFrames is not an option for us.
    The second option is to call Web Services, directly or through the SAP Portal (we are using a central sr).
    I am a NetWeaver consultant who heard about RoR but have no experience in this field.
    All help and tips are greatly appreciated!.
    Regards,
    Ridouan

    We used Client certificates. Still working on the PoC.

  • My experience of SSO between SAP Portal6.0 and non-Sap Application

    Firstly I announce that I am not a Sap developer or a Sap Consultant.  I am a Cognos Consultant. I need do SSO between Sap Portal and Cognos Portal in my project, So I have to make SSO between two portals.
    I  tested  SSO between the two products on IIS5 of Windows XP and IIS6 of Windows 2003 and passed.
    Step 1:  Copy sapsecin.exe and sapsecu.dll on any directory where you want, such as “C:PortalSecurity”
    Then add this  directory  to your Environment variable PATH. You can find the two files on sapserv<x> under general/misc/security/SAPSECU/<platform>;
    Step 2: Copy your Filter ISAPI Files IIS_SSO.dll or IIS6_SSO.dll in any directory where you want, such as “C:PortalFilter”. You can find this two files on SAP note 442401.
    Step 3:  Get you ‘verify.pse’  which is located in
    <irj>
    ootWEB-INFpluginsportalservicesusermanagementdata  and put it on the same directory with your ISAPI Files ,such as C:PortalFilter
    (According Sap Support articles , IIS_SSO.dll should be used on IIS 5 and IIS6_SSO should be used on IIS 6,but I can not load IIS_SSO.dll on IIS 5 of Windows XP, I use IIS6_SSO.dll );
    Step 4:  Create a new file named ‘verify.properties’ , the content of this file see the appendix A;
    Step 5:  Load the IIS6_SSO.dll on your IIS. On IIS5, Select  Website Properties—ISAPI Filter—Add IIS6_SSO.dll and name it ‘wp’ . On IIS6,do as such and Create a Web Extensions  named  ‘wp’ and allocate file IIS6_SSO.dll. Finally restart the www service.
    I
    If you can load the filter successfully, you will see the  filter color is  green.
    On IIS6,Maybe you find that you can’t load your ISAPI file IIS6_SSO.dll, Its state is unloaded and its color is red. I am confused by this question long time. I finally found you must install some R3 dll files on your system! The .dll files which I mentioned can be found in SAP note 684106, put it in a same directory with your security files, such as C:PortalSecurity and restart your web server.
    (The steps above I reference Chris beck ‘s topic)
    Step 6: I write an  ASP file named ‘headerdumper.asp’ on my website and create a i-view to show my asp file in SAP Portal. If you succeed, you can see the http header variable<your logon name> in ASP page. If you application can receive http header variables, then Congratulations! You have apply SSO successfully.
    If your log file show ‘Can't find MYSAPSSO2 ticket cookie for URI "" on host "", don’t worry about it. I am confused by this question long time though.  I found the key cause the errors are cross domain or different DNS suffix.
    I tested 3 scenarios :
    1 if your Sap Portal URL is http://sap-server:50000/irj/protal ,and your asp file is located in http://sap-server:80/headerdumper.asp, You can’t access this asp page from i-view . I am sorry that I have no idea about this.
    2 if your Sap Portal URL is http://sap-server:50000/irj/protal ,and your asp file is located in http://your-server:80/headerdumper.asp, Your log will show ‘Can't find MYSAPSSO2 ticket cookie for URI "" on host "". because they have  no domain name, which is seemed that they meant different  domain.
    3 you must deploy your asp file and sap portal like below ,So you can apply SSO correctly:
    you must access SAP Portal like : http://sap-server.domain.com:50000/irj/portal
    you must access your asp file like http://yourserver.domain.com:80/headerdumper.asp
    then add your asp file as  i-view to your SAP Portal which URL is like  above , you can get Http header variable correctly.
    I am not an native English speaker, I hope you can understand what I said.
    Appendix A The Content of Verfy.properties
    remote_user_alias=REMOTE_USER
    pse_file=C:PortalFilterverify.pse
    application=portal
    log_file=C:PortalFilterverfy.log
    log_level=3
    cache_size= 1000
    Appendix B The Code of headerdumper.asp

    I'd recommend to cross-post your inquiry to the Security

  • SAP SSO between Microsoft AD and SAP R/3 GUI&WebGui

    Hello Everybody,
    We are looking in to implementing SSO between Mircosoft AD and our SAP CRM ABAP 7.0.
    We have users both logging in through SAP Gui and also the web gui.
    Found there a multiple options for achieving SSO:
    1) SNC
    2) X.509 cerfificate
    3) Kerberos
    I would like to go with X.509 certificate , and have already implemented the SAPCRYPTOLIB 5.5.5. Now am trying to download the "SAP NW Single Sign on 2.0" for installing the Secure Login Library SSL. And when i looked at PAM the required product versions are only:
    1. SAP EHP1 for SAP NW 7.3
    2. SAP NW 7.3
    3. SAP NW 7.4
    4. SAP NW CE 7.2
    So I went back and looked at PAM for SAP NW SINGLE SIGN ON 1.0 required product versions and I only see the below:
    1. SAP EHP1 FOR SAP NETWEAVER 7.3
    2. SAP NETWEAVER 7.3
    3. SAP NETWEAVER CE 7.2
    Our version of SAP is CRM ABAP 7.0, so I am not sure how/which version of Single Sign on I have to use.
    Can someone please advise.
    Thanks!

    Thank you Donka for the information!
    Looks like NW SSO 2.0 is supported for AIX 7.1 SAP ABAP CRM 7.0.
    But we also have users logging in to ABAP CRM 7.0 via HTTP Web dispatcher.
    And the PAM does not mention if NWSSO 2.0 is supported for X.509 method for web gui users logging in via HTTP.
    Also if we decide to go with SSO 2.0 and I manually Install the COMMONCRYPTOLIB 8 instead of the SAPCRYPTOLIB 5.5.5, I should be able to use the Secure Login Library files that come with the SSO 2.0 right?
    Here's our current Kernel version:
    kernel make variant           720_REL, 64 BIT AIX, UNICODE , Patch number 500
    Thanks!

  • SSO Between SAP EP 7.0u2013 BOXIR2 SP1 u2013 BW3.5 Is SNC required?

    We are trying to enable SSO between SAP EP, BO and BI so that users will be able to access Crystal reports (which have got backend as BW) from Enterprise Portal which are scheduled in BO enterprise server
    Below are the details on our landscape.
    1) SAP EP 7.0 Integrated with AD and SP Nego configured(if it fails users will use AD user id and pwd)
    2) BO u2013 AD authentication is available as well as SAP Authentication got enabled using SAP BO Integration Kit. In BO reports are there which got backend as BW and scheduled successfully.
    3) BW 3.5 is using SAP authentication(Not AD authentication)
    4) SSO has been established between SAP EP and BW (user ids will be same in AD and BW)
    5) BO has two servers bo1.yy.comp.com and bo2.yy.comp.com
    6) SAP EP and BW has domain names as EP.xx.yy.comp.com and BW.xx.yy.comp.com u2013 additional u201Cxxu201D is there in the domain trail. So we have created a dns entry bo.xx.yy.comp.com which will resolve to bo2.yy.comp.com (CMS is running in this server) so that we meet the prerequisite for SSO with EP u2013 BO - BW.
    7) BW is not configured with SNC.
    Question 1- As per point 3 u2013 SAP Authentication is available in BO u2013
    So in that BO server can we use ASPX page to read MYSAPSSO2 cookie generated by SAP EP and use that cookie to access report which got BW as backend?
    Question 2
    Do we need any more configuration for the SSO from EP - BO u2013 BW? (do we need to go for SNC?)
    Even after reading many threads I couldn't understand the flow of SSO. Any advice will really help us overcome the hurdles.
    Thanks in Advance
    JayCeeDee

    Question 1- As per point 3 u2013 SAP Authentication is available in BO u2013
    So in that BO server can we use ASPX page to read MYSAPSSO2 cookie generated by SAP EP and use that cookie to access report which got BW as backend?
    >>> Assuming you are getting SSO tickets from the portal that happens automatically when the SAP authentication is configured.
    Question 2
    Do we need any more configuration for the SSO from EP - BO u2013 BW? (do we need to go for SNC?)
    >> You mention on the one hand SSO tickets, on the other hand Windows AD. Which one is it ? What is the authentication that the user will leverage to connect to the BusinessObjects Server ?
    Ingo

  • Difference between SAP MI and CRM Mobile Sales

    hi experts,
    we need to understand difference between SAP MI and CRM mobiles sales solutions. what are SAP's  recommendations: where to use MI and where to use Mobile sales.
    can some of you explain the pros and cons of each solution or let me know the place where i get such info.
    thanks in advance.
    RH

    SAP MI apps are aimed at PDAs while CRM Mobile Sales is aimed (and can only work with) at laptops.
    PDA solutions are mostly used by sales agents while the laptop solution is more suitable to account managers. The laptop has much more information available that includes:
    - Marketing planning and execution capabilities
    - Account Planning
    - BW Reporting
    Mobile Sales for PDAs has more basic functionalities like order & activity management and business partner data maintenance (which are also included in the laptop version).
    Message was edited by: João Sousa

  • IWay adapters between SAP ERP and Oracle

    Hi,
    The systemlandscape in the future is a SAP ERP System without a java stack and a Oracle system.
    Importend: And without a SAP Portal and a SAP PI.
    I think we will install the iWay Oracle adapter on the SAP ERP system and on the Oracle the iWay for SAP adapter.
    I this solution generally possible with iWay adapters or maybe others solution between SAP ERP and Oracle?
    Thank you for all answers.
    Regards
    Richard

    Hi,
    Your question is not clear.
    It is true that SAP is no more supporting Dual stack systems because of performance related problems. So, we need to install As ABAP and As Java system separately. As far as oracle is concerned, you need a database to install ERP system then why you want to install adapter ?
    Thanks
    Sunny

  • Configure SSO between the SAPGUI and ECC 6

    Hi,
    I need a help to configure SSO between the SAPGUI and ECC 6. I configured the SNC using the parameters:
    snc/accept_insecure_rfc = 1;
    snc/accept_insecure_gui = 1;
    snc/accept_insecure_cpic = 1;
    snc/identity/as = p:Domain\SAPService;
    snc/enable = 1;
    snc/data_protection/use = 1;
    snc/data_protection/min = 1;
    snc/data_protection/max = 1;
    snc/gssapi_lib = D:\usr\sap \ <SID>\SYS\exe\nuc\NTI386\gssntlm.dll.
    I configured desktop with the DLL sncgss32.dll but is not functioning. Somebody has some idea the how solve this problem?
    Thanks
    Alex

    Hi Alex
    You have
    snc/identity/as = p:Domain\SAPService;
    Check the following (wrong user)
    snc/identity/as = p:Domain\SAPService<SAPSID>
    Where SAPService<SAPSID> is the user who runs the SAP System.
    You have
    snc/gssapi_lib = D:\usr\sap \ <SID>\SYS\exe\nuc\NTI386\gssntlm.dll
    Check the following (nuc is a wrong directory, the correct is uc)
    snc/gssapi_lib = D:\usr\sap \ <SID>\SYS\exe\uc\NTI386\gssntlm.dll
    Please, reward points if helpful
    Edited by: Eydar Del Angel on Apr 21, 2008 4:54 PM
    Edited by: Eydar Del Angel on Apr 21, 2008 4:55 PM

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • What is difference between SAP R3 And SAP IS Mills Product

    HI Friends
    What is difference between SAP R3 And SAP IS Mills Product
    What are the futures are availables in IS MIlls
    Regards

    Hi,
    SAP R/3 is the central enterprise version. It is not specifically designed for any inducstry sectors and it can cater many of the industry types.
    Is is developed for specific industries an for SMB's (small and medium business). It will have components specifically for the industry.
    The SAP Mill Products component adds sector-specific functionality to an ERP system to satisfy the complex requirements of mill industries (e.g. metal, wood, paper, textiles, construction materials, and cable sectors).
    These industry segments differ from others primarily in that the materials used have a large number of characteristics and variants. The materials in the segments listed above are also predominantly area-based (e.g. paper, textiles, plastic film) or length-based (e.g. cables, piping). Account must be taken of these material characteristics throughout the entire supply chain.
    To cater for the particularities of these industry segments, SAP Mill Products features processes and functions that cover the entire supply-chain cycle – from product design and configuration, through planning, order processing, capacity planning and production, to final delivery. Additional functions are available in costing and inventory management. SAP Mill Products are also integrated into Quality Management, Financial Accounting, and Controlling.
    Prase

  • What is the diffrence between sap events and application events

    Hi all,
    what is the diffrence between sap events and application events.Can any one tell me with examples.
    regards,

    Hi,
    Look at this,
    <b>System Events (Default)</b>
    The event is passed to the application server, but does not trigger the PAI. If you have registered an event handler method in your ABAP program for the event (using the SET HANDLER statement), this method is executed on the application server.
    Within the event handler method, you can use the static method SET_NEW_OK_CODE of the global class CL_GUI_CFW to set a function code and trigger the PAI event yourself. After the PAI has been processed, the PBO event of the next screen is triggered.
    The advantage of using this technique is that the event handler method is executed automatically and there are no conflicts with the automatic input checks associated with the screen. The disadvantage is that the contents of the screen fields are not transported to the program, which means that obsolete values could appear on the next screen. You can work around this by using the SET_NEW_OK_CODE method to trigger field transport and the PAI event after the event handler has finished.
    <b>Application Events</b>
    The event is passed to the application server, and triggers the PAI. The function code that you pass contains an internal identifier. You do not have to evaluate this in your ABAP program. Instead, if you want to handle the event, you must include a method call in a PAI dialog module for the static method DISPATCH of the global class CL_GUI_CFW. If you have defined an event handler method in your ABAP program for the event (using the SET HANDLER statement), the DISPATCH method calls it. After the event handler has been processed, control returns to the PAI event after the DISPATCH statement and PAI processing continues.
    The advantage of this is that you can specify yourself the point at which the event is handled, and the contents of the screen fields are transported to the application server beforehand. The disadvantage is that this kind of event handling can lead to conflicts with the automatic input checks on the screen, causing events to be lost.
    Hope u understood.
    Thanks&Regards,
    Ruthra.R

  • What is the diffrence between SAP View and CAD View ?

    What is the diffrence between SAP View and CAD View ?
    What is the main purpose of SAP View
    and
    What is the main purpose of CAD View
    On SAP help i found
    SAP View is used for :The SAP view displays the SAP structure (document-based structure) for the active CAD object, or another document info record (header document), with a single-level or multilevel document structure in a tree structure. You can variably configure the fields using the layout editor.
    CAD View is used for :The CAD view displays the document-based structure of the currently active CAD object, such as the structure of an assembly. The CAD system determines the complete (multilevel) structure and copies it either completely or in stages to the SAP system, in accordance with the default explosion level.
    BUT I did not understand it well
    Can someone explain this with an example
    THanks
    Raj

    Hello Raj,
    SAP View  can be further described as the view that is based on what is existing already in the SAP system. This view is generally used by SAP purchasing, MM people etc
    CAD view is nothing but the replication of the model tree view in the SAP system. This is used by the design engineer and this view replicates only the parts that are actively displayed on the CAD tool window.
    hope this helps. Let me know if you have further questions else please close the message.
    regards
    N K

  • Establishing a connection between SAP SRM and MM

    Dear All,
    I am working  for a multi-national company  and now we are thinking to implement SAP SRM  but I have some questions about  communication between SAP MM and SRM. Firstly I want  so share with you our as-is status and then my doubts and question that I have.
    In our case we have two different locationed organizations which are using different version of SAP system and SAP MM. In this  two sap system mostly codes are  and descriptions are different for  all materials and  now we want  gather all data and we want to have  one global code system and (local code also will remain). I mean we want  to call same materials with one global unique code instead of two different codes. We  are thinking to implement  something like coding center that will take local master data from local organization then will assign global code, update table then  with somehow will update SAP SRM.
    For example:
    We have local  master data on R/3 is maintained manually by local user and net item is created locally each country by local user.Coding center will be aware of new creation by mail, automatically. Coding center will update table (adding a new row for each new item) on translator (tool for assigning global code for materials) assign to each new item a global code and category and in this way SRM will be updated automatically based on translator.
    I am thinking to develeop a tool (excel,access… etc.) that will take new item creation manually or auto from local organization  then will assign a global code and category then will update SAP SRM automatically
    Regarding to  tool I have some questions:
    1)     which are the standard communication channel between R/3 and SRM or How  they can speak with each other ?
    2)     Is there any standart batch file (BI or BAPI)  to be able to perform this.Is it possible to develop tool using excel or access …etc. which will manage coding task.
    3)     When we are trasferring for the first time Master Data from MM to SRM is there any standard transaction?
    4)     how the two MD are aligned (i.e. what if a new item is created or modified on MM)?
    5)     standard program (transaction) for aligning  available ?
    6)     ) how this process can be triggered (scheduled using SAP scheduler, event or user driven)
    7)     Where the translator  (tool) should be (R/3 local, SRM, BW, other) --> Enrichment table
    8)     How we can build the communication transaction?
    Thank you very much
    Any comments and answers will appreciated and rewarded
    Regards,

    Hi,
    Have you considered using CCM. You generally use an industry standard code (perhaps UNSPSC) in CCM as your vendors would all have different number (similar to your scenario). CCM is a plug-in to SRM, supplied by SAP.
    The authoring tool is where you can enrich your catalogue, and have approval dependant on rules that you setup. In your case you would possibly have a catalogue per locationed organisation (or R/3 system). These would then be mapped to a master catalogue, and assigned to users as views. This tool is a BSP on SRM. You could also upload these catalogues from Excel (as a CSV) or through XI as XML. We use the automatic transfer of materials from R3 and then there is a report in SRM to feed that through to the catalogue.
    The only thing that needs to be thought through is how you feed the selected catalogue item back to the differing R3 systems, but this shouldn't be a stumbling point.
    Cheers
    Rob

Maybe you are looking for