Webdynpro & Webservice - EJB - JCA - SAP R/3

I have a scenario,Webdynpro app using Webservice model and  WS would connect via EJB -BAPI - to SAP R/3. For Authentication UME is going to be used, SAP R/3 is going to be the data source.also Logontickets for SSO is being used.  I did have a look at "Protecting Access to the Web Dynpro Application Using UME Permissions " but I had few questions:
By using the Destination service i understand that Logintickets are passed from Webdynpro to the Web service and inturn to EJB,But how are the login tickets passed from EJB to JCA or JRA to validate against SAP R/3. I did deploy the sapjra.rar file . but how do i modify that ra.xml incase if i need to?. does this scenario work? please suggest. are there any other documents that explains how to configure Resource adapter JRA to use login tickets.

its because of the & sign. instead use it like below it will work.
Z_SIMPLE_TEST_WS?sap-client=030&emp;wsdl=1.1
in the above line replace 'e' in emp with 'a' (amp)
Raja

Similar Messages

  • WebDynpro and EJB Models

    Dear All,
    In our project we need to integrate WebDynpro with EJB (Stateless and Entity Beans)
    Would anyone please help me out by providing weblinks, PDFs related to this.
    Thanks in Advance

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70d2638c-4b04-2d10-d2a3-992fdf1e3d55?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8041f93c-8e76-2b10-d5b9-862ed0140cc1?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302e7c42-2b08-2d10-539f-8a87cbf97fb9?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502f70a8-33a4-2b10-3dbe-bdcb5e25c6da?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b21892-c31c-2a10-f484-fcef1eaf8c4f?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00bddb57-456c-2b10-cc8d-b6980d75299b?quicklink=index&overridelayout=true
    regards,
    Angelo

  • WebDynpro using EJBs

    Hi,
    Does anybody know how to connect to local database to WebDynpro using EJBs?
    Is there any tutorial or gelp that makes use of different prespectives like Dictionary,Java,J2ee and WebDynpro?
    I have gone through one tutorial Usings EJBs,but im facing some problem because i think there's something missings in that tutorail...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20ejbs%20in%20web%20dynpro%20applications.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20ejbs%20in%20web%20dynpro%20applications.pdf</a>

    From an architecture viewpoint I don't think it's a good idea to access EJBs from the J2EE presentation tier with SOAP, I'm afraid.
    First, I'm assuming you have a local architecture anyway, that is, the presentation tier and the business (EJB) tier are not distributed. Using distributed access for a local architecture introduces considerable performance overhead. Using XML encoding introduces even more overhead.
    Second, using web services technologies for access between J2EE tiers, you lose transportation of for example security and transaction contexts etc between the presentation tier and the business tier.
    Rather, you should get access to your EJBs (it might be valuable to consider the session facade pattern btw) via JNDI. I don't know if WebDynpro allows for accessing the JNDI namespace, but as a workaround, you could do so from within a Servlet/JSP for example (workaround only !).
    You might have the situation that exposing EJBs as web services makes sense to you anyway though, but then you are likely to have a distributed architecture and/or  different client technologies accessing the business tier. Still, for a J2EE client accessing the EJB tier, I'd chose RMI/IIOP over SOAP/HTTP.
    Matthias

  • Steps required to enable webservice calls in SAP ECC 6.0

    Hi Friends,
    I'm working on XI, more on part of webservices and as I dont have a good knowledge on BASIS part, I would like to know the steps required to enable the webservice calls in SAP ECC 6.0.
    Blogs/documents could be helpful.
    Thanks in advance

    duplicate thread
    [Required infrastructure to enable web service calls in SAP ECC 6.0 system;

  • Need information about WebServices available in SAP

    Hi
    I have a .Net application and SAP R/3 ECC 5.0.. I want to communicate between SAP R/3 and .NET using webservices. For example if i create a sales order in .Net application it has to store in SAP R/3 ECC5..0 using webServices. Are there any webServices provided by SAP. If yes please tell me those webservices provided by SAP
    Please help me how to do this
    Best Regards
    Ravi Shankar B

    Hi
    I hope you may get some useful information from this link.
    http://www.microsoft-sap.com/default.aspx
    regards
    Srinivas

  • Webservice Integration with SAP using SAP XI

    On a periodic basis, say end-of-shift, My product(Web service) sends to the SAP system the total production for that period, for example, Hot Metal produced. The data packet contains all theinformation required to uniquely identify the production period (plant name, location, furnace number, shift
    number, date & time).
    SAP receives the data packet, stores the data in appropriate tables and acknowledges the status to My Product. The acknowledgement contains total revenue generated based on the production (computed based on the unit cost of Hot Metal). If the data is incorrect, SAP sends a fault message. The revenue value received as response is stored in an appropriate tag in the My Product model.
    I want to use SAP XI as the connector between my webservice application and SAP. Please suggest me what scenario should I implement in this case. Do I need to use BPM here ?
    Also please suggest what are relevant IDocs and BAPIs for this scenario.

    Got it...

  • WebDynpro in HTMLControl of SAP-GUI?

    Hi,
    I want to call my WebDynpro Application from the SAP-GUI in a HTML-Control. Displaying is not the problem, but I also want to notice in SAP-GUI application (which called the WebDynpro) which button was pressed by the user in WebDynpro. Is this possible???
    In HTML and BSP there is the possibility to fire the event "sapevent".
    Best Regards
    Katharina

    Hi
      It seems something new :). But what you can do is try to capture the id of the button and set it in a context variable. Say for example if the id of the button is "Close" then you can fire a exit plug in the Window interface view of the component.
    To create a exit plug to the component
    Open your Window Interface View.
    Create a Outbound plug and define it of type "exit plug"
    Define a url parameter "Url" (It has to be exactly the way i have mentioned (Url)"). Now this url could be some empty page or something.
    This is just an idea. Let me know if that helps you in the situation. I have done it from WebDynpro to SAPGUi, but not the other way around :).
    Let me know if that helped you.
    regards
    ravi

  • Using Synchronous webservice without using SAP XI

    Hi,
    I have a requirement of wherein which my client has provided me a dot net webservice which needs to be consumed in SAP R/3 using which i have to build an interface between SAP R/3 and the legacy system. This interface needs to be synchronous in nature.
    Please let me know how to handle this in ABAP and is this possible without using SAP XI / PI.
    Step 1:
    SAP r/3 ( sends data )------> (Webservice) Legacy system
    Step 2:
    (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    Regards
    Joel

    Hi Joel,
    You can use the webservie (SOAP or WS[if it is PI7.1server] adapter).
    By calling the webservice from the ABAP.
    http://help.sap.com/saphelp_srm40/helpdata/EN/2d/64d023e74911d6b2e400508b6b8a93/frameset.htm
    or by using PI also it is possible
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?quicklink=index&overridelayout=true
    Read page no 26th onwards.
    > Step 1:
    > SAP r/3 ( sends data )------> (Webservice) Legacy system
    you can use Proxy to PI to SOAP/WS scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    > Step 2:
    > (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    you can use SOAP to PI to Proxy scenario.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/464442c1a1c253e10000000a1550b0/content.htm (For SOAP)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies  (for proxy)
    Regards
    Ramesh

  • Calling a java webdynpro component inside a SAP Workflow

    Hi Experts ,
    Is it possible to call a java webdynpro component inside a SAP Workflow  from the task .
    If yes please let me the procedures .
    Regards
    Sarmistha

    Someone has posted this, Take a look if it helps you:
    "1. Activate your service in transaction SICF;
    2. Activate the WS_HANDLER in SICF (probably you have to do more in SICF, SAP notes will be given to you in your browser when you want to call the service);
    3. Make the correct settings in WF_HANDCUST;
    4. Do ofcourse SWU3 including webserver activities;
    5. Define how you want to call the service via WF_EXTSRV including parameters;
    6. Generate a task from your defined service in WF_EXTSRV;
    7. Incorporate this task in your workflow definition;
    8. Test your workflow. Here you probably get some errror messages that the service cannot be called by for instance inactive ICF services. Activate the correct paths in transaction SICF."
    Regards, IA
    <MODERATOR: For reference, that 'Someone' was Joost in [this thread|Re: Callback from WebDynpro to Workflow]>
    Edited by: Mike Pokraka on Jun 19, 2008 4:52 PM

  • Portlets to JCA/EJB or Portlets via WLI to EJB/JCA

    I think the answer to this is quite simple but I just want to ensure I'm not missing
    something.
    Portlets can access the usual suspects, EJB, JCA, Web Services, JMS etc. WLI is
    also an option and this itself can also talk to JMS, JCA and Web Serviices.
    Would I go through WLI solely for the purpose of having the business logic in
    these calls partake in a business process (BPM) or is there more to it?
    Thanks in advance
    Aaron

    This is a interesting solution. Did you get any answer?
    regards,
    Kristoffer

  • Webdynpro and EJB on different server

    I have a WebDynpro app that will be deployed to server A  and that has to access an EJB that will be deployed to server B, server A and server B don't from a cluster.
    I don't know how to call the EJB in my WebDynpro app via remote way.
    in WebDynpro app  call EJB code is:
         String result = null;
         Context ctx = null;
         Hashtable env = new Hashtable();
         PIEJB remote = null;
         PIEJBHome remoteHome = null;
         env.put(
              Context.INITIAL_CONTEXT_FACTORY,
              "com.sap.engine.services.jndi.InitialContextFactoryImpl");
         env.put(Context.PROVIDER_URL, "sapides:50304");
         env.put("force_remote", "true");
         try {
              ctx = new InitialContext(env);
              remoteHome =
                   (PIEJBHome) PortableRemoteObject.narrow(
                        ctx.lookup("PIEJBBean"),
                        PIEJBHome.class);
              remote = remoteHome.create();
              result = remote.getPIAvg("yesterday", "today").getValue();
         } catch (Exception e) {
              result = e.toString();
         wdContext.currentContextElement().setTest(result);
    when run this code,report error:
    java.lang.NoClassDefFoundError: com.xxx.piejb.PIEJBHome
    but i have add the piejb.jar in Used DC!
    can anyone tell me how to do?
    thanks advance!

    Hi Ha
    I just tested the link and it worked fine for me, if you want it, you can give an email and i'll send the pdf guide to you. Besides here you can find a guided example about calling the webserivces methods  from a WD on the Using the Car Rental Web Service with Web Dynpro, and on this one you can find information about the development of a webservices using an ejb.
    Hope it Helps
    Luis Barragá

  • Webservice configuration in SAP Netweaver CE 7.1  EHP1

    Hello,
    I am trying to configure the webservices(SAP ME)  in SAP Netweaver CE 7.1 EHP1. I follow the procedure below.
    1.Log on to SAP NetWeaver Administrator Console by launching the following URL:
    http://<host>:<port>/nwa.
    2. Choose SOA Management Application and Scenario Communication Single Service Administration .
    3. Search for the  Web service:
               Eg. BOMProcessingIn
    4. Select  port type
    5. In the bottom window, select associated ServicePort
    6. Choose the Security tab.
    7. Choose Edit.
    8. Select the Transport protocol.
    9. Check the UserID/Password under HTTP Authentication.
    10. Save
    while saving I am getting an error : A problem in the backend.Please refresh the UI.
    Log Message:
    Message:     
    [EXCEPTION]
    com.sap.esi.esp.admin.ui.helper.exceptions.TechnicalException: Problem occured at the backend. Please refresh the UI.
    at com.sap.esi.esp.admin.ui.helper.impl.JMXWSConfigManager.updateRTConfig(JMXWSConfigManager.java:356)
    at com.sap.esi.esp.admin.ui.admin.BindingDataView.onActionSave(BindingDataView.java:1007)
    at com.sap.esi.esp.admin.ui.admin.wdp.InternalBindingDataView.wdInvokeEventHandler(InternalBindingDataView.java:686)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:512)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1549)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1363)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:154)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:80)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:618)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:649)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:570)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:309)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:743)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:258)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:259)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:202)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToDispatcherContext(ExecutionContextDispatcher.java:146)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:92)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:104)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Date:     2010-09-21
    Time:     18:32:18:600
    Category:     com.sap.esi.esp.admin.ui.admin.AdminComp
    Location:     com.sap.esi.esp.admin.ui.admin.AdminComp
    Application:     sap.com/tclmitsamuimainframe~wd
    Thread:     Thread[HTTP Worker [@1298169768],5,Dedicated_Application_Thread]
    Data Source:     j2ee\cluster\server0\log\defaultTrace_00.trc
    Arguments:     
    DSR Transaction:     0c8868e0c5d011df967500155d046701
    Message Code:     
    Session:     1
    Transaction:     
    User:     Administrator
    Time Zone:     0-400
    CSN Component:     BC-ESI-WS-JAV
    DC Component:     sap.com/tcesiespitsamui~wd
    Correlation ID:     458750850000000004
    DSR Root Context ID:     F6B4F240C5CF11DFAA0100155D046701
    DSR Connection:     0c8868e0c5d011df967500155d046701
    DSR Counter:     0
    Log ID:     00155D04670100200000000200001384
    Host:     
    System:     
    Instance:     
    Node:     server0
    Request you for any help.
    Regards,
    Guru.
    Edited by: gurunadh kumar on Sep 22, 2010 12:40 AM

    Hi Gurunadh Kumar
    It is not easy to read your question, anyway I made it and let me try to summarize it before providing your the solution:
    Reproducing steps when configuring the webservices(SAP ME) in CE 7.1 EHP1.
    1. Log on to SAP NetWeaver Administrator Console by launching the following URL: http://:/nwa.
    2. Choose SOA Management Application and Scenario Communication Single Service Administration .
    3. Search for the Web service: Eg. BOMProcessingIn
    4. Select port type
    5. In the bottom window, select associated ServicePort
    6. Choose the Security tab.
    7. Choose Edit.
    8. Select the Transport protocol.
    9. Check the UserID/Password under HTTP Authentication.
    10. Save while saving I am getting an error :
    A problem in the backend.Please refresh the UI. Log Message:  Message:
    [EXCEPTION] com.sap.esi.esp.admin.ui.helper.exceptions.TechnicalException:
    Problem occured at the backend. Please refresh the UI.
    I have checked through the exception stack traces, this should be caused by the patch level inconsistency between the following
    components on your CE7.11 system:
       - ESP_FRAMEWORK
       - ENGINEAPI
       - J2EE-FRMW
    To resolve this problem, please download the lastest patch for all the above software components as per the current SP level,
    and deploy them to your system, then try the same steps again.
    Best Regards,
    Thunder
    Edited by: Thunder Feng on Sep 22, 2010 10:52 AM

  • Scenario XI - HTTP - Webservice - XI - RFC - SAP R/3

    Hi,
    i have the scenario:
    Sending request to an Webservice per HTTPS and catch the response. This is working fine. In transaction sxmb_moni i can see the answer as XML.
    I have implemented the scenario response from webservice mapped into RFC-Function and send into SAP R/3. But i have to run this manuell! How can i run this automatically after getting the response from the Webservice.
    Thanks for any answere,
    Max

    Hi Max,
    You could look at these threads :
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    BPM: Multiple synchronous receivers
    Synchronous - Synchronous BPM
    Synchronous BPM start
    Regards,
    Laurent.
    Reward points if helpfull.

  • Using BAPI as WebService Interface in SAP PI

    Hello,
    Situation is:
    BAPI is imported in SAP PI from SAP R/3 system.
    The BAPI will be used for R/3 as Sync.Receiver.
    A Web Application should connect to SAP PI with the same message structure for request and response.
    So the idea is to publish the BAPI interface as a WSDL for this partner.
    But when doing this in Directory SAP PI does not offer BAPIs as Interfaces for WSDL, only message interfaces created
    in Repository are offered.
    BAPIs are interfaces per definition. So we dont need a message interface to add the BAPI to it.
    Maybe this woin t work anyhow with a SAP system.
    But how to use the BAPI for a WSDL?
    Is it required to create an interface for this purpose and add this one in the Directory WSDL create function?
    Best regards
    Dirk

    Hi Meinhard,
    There are more ways to get where you want to go, some are mentioned above.
    You can also do the following:
    1) From the BAPI you create the Webservice in R3 (as described in the link from pavan kumar)
    2) Go to trx SOAMANGER (in R3)  and get the URL for the WSDL
    3) Import the WSDL in PI as an External Definition (ED)
    4) Now you create an INBOUND, synchronous, service interface with the external definition.
    5) After saving the SI you can create a matching Outbound service interface (it's a menu option)
    Now you can use these service interfaces in the Integration directory.
    You can even create an ICO (integrated configuration) provided you use SOAP communication channels.
    kr
    Robert

  • What are the roles need to add for webservice user in SAP ECC 6.0

    Dear SDNS,
    Can you please help me to understand , what are the roles needed to add while creating a webservice user in ABAP STACK.
    Really appreciate your immediate help and response.
    Thanks and Regards.
    Suraj

    Hi Suraj,
    Please refer to this link & apply the role/s as per the requirements for the web service user:
    [http://help.sap.com/saphelp_nwpi71/helpdata/en/2b/07074155bcf26fe10000000a1550b0/content.htm]
    Best Regards, Trevor

Maybe you are looking for