Enterprise Services Vs BAPI

Can you plz let me know the advantages and disadvantages of Enterprise Services over BAPI..
Help needed urgently..

Hi,
In addition to what Gilles said, use BAPI in scenarios where communication is between SAP systems and it is predicted that both systems are going to remain that way for considerable long time, and use Enterprise services if communication is between SAP and any other system and it is predicted that communication and system can change in future where you need to avoid interoperability issue with other systems all the time.
ES is also useful for seamless integration with other tools and very useful in extending existing functionality.
Another advantage of service over BAPI is open standard.
Regards,
Gourav

Similar Messages

  • Regd. use of enterprise services : Best approach

    Hi Experts,
    I have configured a scenario using standard enterprise services,used soamanager of ABAP and tested the services,it works perfectly.
    But the issue came with terms of security ,it seems we cannot expose our sap system as url for the services.
    need to use PI to connect to the third party...I need suggestions on following
    1. Can we connect ABAP of PI to ABAP of SAP ,with some configuration , i dont want to create any additional
        structures is PI apart from the one which i imported.
    2.If i set up a soap to proxy(ABAP) then i need to duplicate the structure for source and use the standard ES
       service at proxy receiver, but i want to avoid duplication as it is cumbersome to do for all services.
    3.If i create communication /service user i need to give access for some of sap tables  to support the service functionalities.
    what is the best approach for exposing services from PI using standard enterprise service.
    Any pointer will be appreciated.
    Regards,
    Srinivas
    Edited by: Srinivas on Jul 7, 2010 7:29 PM

    Hi
    Following is answer of your question:
    >(1)How can I search relevant Enterprise services in PI for the SAP R/3 BAPI.
    There is no way to look for enterprise service for BAPI, ES are harmonized services based on GDT whereas BAPI is more SAP oriented in datatype definitions, only way is to find out is look into code as many ES are calling BAPI internally. Best way to identify correct ES is business use (like Purchase Order Creation etc)
    >(2)If relevant ES is available then what are the steps to be performed?
    It depends how you want to use this ES, you can call this ES from outside world (read thirdparty tools, application) and these services can be used as ready-to-use building block for new applications. You must know URL of wsdl and security setting (user/password) to use it with any application. You can call it from ABAP, .Net, Java applications. You can test ES with any SOAP testing tool like WSNavigator or SOAP UI.
    >(3)If relevant ES is not availabe then what are the steps to be performed?
    You have few options if ES is not available, design of your own by following proper governance model (i.e. PIC process) or you can live with existing BAPI, RFC and convert them into Web Service using webservice wizard available in SE80 and SE37.
    Regards,
    Gourav

  • Use of Enterprise Services

    Hello Experts,
    My Scenario is Java Application(Source Data) - SAP PI 7.1 - SAP R/3.
    I have standard R/3 BAPI available for Data posting in SAP R/3 system. This same scenario I can implement by creating and exposing the Web Service in SAP PI system. but here I want to use the Enterprise service(ES) concept which is new for me.
    The following are my queries.
       (1)How can I search relevant Enterprise services in PI for the SAP R/3 BAPI.
       (2)If relevant ES is available then what are the steps to be performed?
       (3)If relevant ES is not availabe then what are the steps to be performed?
    Please suggest me.
    Thanks & Regards
    Jagesh

    Hi
    Following is answer of your question:
    >(1)How can I search relevant Enterprise services in PI for the SAP R/3 BAPI.
    There is no way to look for enterprise service for BAPI, ES are harmonized services based on GDT whereas BAPI is more SAP oriented in datatype definitions, only way is to find out is look into code as many ES are calling BAPI internally. Best way to identify correct ES is business use (like Purchase Order Creation etc)
    >(2)If relevant ES is available then what are the steps to be performed?
    It depends how you want to use this ES, you can call this ES from outside world (read thirdparty tools, application) and these services can be used as ready-to-use building block for new applications. You must know URL of wsdl and security setting (user/password) to use it with any application. You can call it from ABAP, .Net, Java applications. You can test ES with any SOAP testing tool like WSNavigator or SOAP UI.
    >(3)If relevant ES is not availabe then what are the steps to be performed?
    You have few options if ES is not available, design of your own by following proper governance model (i.e. PIC process) or you can live with existing BAPI, RFC and convert them into Web Service using webservice wizard available in SE80 and SE37.
    Regards,
    Gourav

  • BAPI/ Enterprise service for RFQ creation

    Hi All,
       I need help regarding creation of RFQ using BAPI or Enterprise Web Service.
       Is there any standard BAPI available to meet this functionality of RFQ creation(ME41).
      If any one has worked on similar stuff please reply. If you have any code related to such development then that will icing on cake.
    Thanks in advance,
    Amit Deshpande

    Hi Ashwinni
    I don't think there exist a synchronous enterprise service for the creation of vendors. Do you know if there is an enterprise service to do an update on a vendor? If an application is responsible for creating the vendors (like SAP MDM in a CMDM scenario) then the application of course can send updates on a vendor. Or is the scenario thought to be that you only create the inital vendor in MDM and then maintain it in for example SAP ECC?
    Br
    Göran
    Edited by: Göran Westin on May 24, 2011 2:30 PM

  • Replace patient create bapi with enterprise service

    Hi all,
    I've compared the input data of the patient create bapi with the input message of the patient create enterprise service. There are some differences and so I don't know if it's possible to replace the bapi with the enterprise service. As example, the bapi offers input fields for contact persons (first and last name, relationship, address number) which are stored in the table NPAT.
    In contrast, the enterprise service offers the input type dependent relationship with fields DependendId and RoleCode.
    Which table does the service use to store the contact information?
    Does the create patient service fill the same tables as the bapi?
    Is it possible to replace the bapi create patient with the enterprise service?
    Best regards,
    Christian Sonek

    Hi Christian,
    Enterprise services expose more or less the business partner interface whereas BAPIs expose the patient management interfaces complying to the former data model. As my colleagued described before, next of kin is handled as a separate business partner and due to that fact, services and BAPIs behave in a different way.
    That means, in case a customer does not want to upgrade to the new patient management concept with using the central business parter he cannot create next of kin data with the PatientCreate service. In case he wants to upgrade to the new Patient concept and he agrees to store patients and next of kin as business partners, he can replace the API with the service.
    Apart from next of kin data, the service for patient create can be used to create patients even with the old patient
    Best Regards, Doris Karbach

  • PI 7.1 enterprise services: How to find & invoke SAP HCM enterprise Service

    Hi all,
    in PI 7.1, i read, there is support of enterprice services.
    is my current understandings right about PI 7.1 and enterprise services:
    1.the standard BAPIs, standard RFC that were provided in R/3 are replaced by standard enterprise services in SAP ECC.
    2.a nonSAP application can invoke an enterprise service in the same way as a nonSAP application used to call an RFC in the R/3.
    I want to view how an enterprise service of any SAP module can be called by a nonSAP applicaiton.
    are there any doc or blog which shows this.
    is possible with/wihout PI.
    We have follwoing things installed.
    1. PI 7.1 SP4.
    2. SAP ECC 6.0, i am dealing with SAP HCM module.
    are there any enterprise services of HCM available (e.g standard enterprise services given by SAP for HCM module).
    basically i want to test whether a nonSAP application like a java application, can it get some info using standard HCM enterprise services provided by SAP.
    I explored esWorkplace (http://www.sdn.sap.com/irj/sdn/esworkplace), but it does not display HCM related process components under the column "DISCOVER ENTERPRISE SERVICES".
    thanks,
    Madhu.

    Hi Madhu,
       YOu can check this page for simple sample applications for enterprise services consumption:
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=EBF08FD8067241F787448B3EB87DA04E
    Check this page for ERP-HCM
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=C6AE1E905D8E11DA36BB000F20DAC9EF
    and complete business map here:
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=13C98C60080711DA1503000BCDDC2565&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=
    Regards,
    Ravi

  • How to find BADI for the enterprise service?

    Hi Experts,
      We are enhancing an enterprise service for Businesspartner  creation by adding an additional field in the structure. But we are not able to find out the correct BADI for the enterprise service.  We are using the following enterprise service - 'BusinessPartnerERPCreateRequestConfirmation_In' . I could not find any BADI in ES workplace also .How to search for a BADI for this ES.
    Any help on this will be well appreciated.
    Thanks in advance
    Sanu

    Hi Sanu.
    Not all the services is an BAPI or BAPI, maybe this is an interface.
    To see the related object go to esworkplace and find the service.
    You will find in the page the label "Related Web Service Definition".
    Copy the related value(in your case ECC_BusinessPartnerCrtRC) it and go to SAP GUI. In transaction SE84, go to enterprise service and choice service definition.
    Paste the value copied in esworkplace in field Service Definition, then F8.
    In the next screen double click in the returned value.
    In the next screen you will see a Reference Object field. Double click in the value and you will see the related object.
    In this case is an interface. You can see in Provider Class.
    Hope that's help you.
    Marcos

  • URL to Enterprise Service Repository

    Hi All,
    we have a ERP2005 evaluation system. Now I want to browse the enterprise services similar to the Preview system (esapreview.sap.com).
    Does anybody know the URL I have to use?
    Regards,
    Marc

    hi there,
    AFAIK there's no such thing as an enterprise service repository on ERP 2005 (NW2004s) and therefore no browser for that.
    You have a BSP application WEBSERVICEBROWSER, which shows you all webservices (and webservice-ified entitities like RFCs, BAPIs) on your system.
    And you have the XI integration repository with services defined on XI, which doesn't have such a nice browser (UDDI-like) feature.
    I think we have to wait for the next NW release.
    regards,
    anton

  • How to expose an ERP function as an enterprise service

    Hi there
    I am searching for an enterprise service which can create a contract account for a business partner (in the FA/CA area). It seems no such a service operation is availalbe after exhaustive search in the ESWorkplace and ESR. (Please correct me if you know where to find it). As an alternative, I think it is probably the only way to create an ABAP (?) service by my own, which does the job, and then to publish it as a WS service.
    Is there anyone who knows how to do it or can point me the documents about how to do that?   Thanks a lot.
    Best,
    Ji

    Hi,
    I didn't search for service but if you want to expose existing functionality as webservice then first find which FM/BAPI etc working behind that business function.
    Next step would be exposing that BAPI/FM as service which can be done using transaction SE80 (Web Service Creation Wizard).
    If no BAPI/FM available then probably you need to write something to exploit current business transaction.
    For tutotial please search SCN for keyword: "Web Service Creation Wizard".
    Regards,
    Gourav

  • BAPI_USER_CREATE as an Enterprise Service

    Hi all,
    I have a requirement to publish an scenario SOAP->RFC in PI, where the RFC is the standard BAPI BAPI_USER_CREATE. As it's an standard BAPI, I thought there should be a Enterprise Services ready to just import into PI but I don't manage to find it.
    Any ideas if such Enterprise Service exists?
    Regards,

    Hi ,
    go through the below links for bapi.
    http://scn.sap.com/message/2878623#2878623
    http://scn.sap.com/message/2878623#2878623
    http://scn.sap.com/thread/332994
    Regards
    srinivas

  • Questions on Importing an Enterprise Service Definition into PI via ESR

    Hi all,
    I 've just created a service definition for BAPI_CUSTOMER_GETDETAIL2 and imported it into ESR and PI (steps below)
    1) ERP - Created a Service Definition for BAPI_CUSTOMER_GETDETAIL2 called ZSD_ACCOUNT_GET_DETAIL
    2) Configured the EndPoint in SOAMANAGER (tested the service works fine)
    3) Published the Service in ESR (cut and paste the WSDL URL into the Publish Wizard in ESR)
    --- Question1 - is there a way to publish from ERP directly 
       - (something simiar to how in PI Integration Builder you can publish a Sender Agreement 
         by opening the Sender Agreement and selecting Sender Agreement -> Publish in SR)
    4) Created External Definition for the Message Definitions in PI
        - I did this by downloading the WSDL from the  ZSD_ACCOUNT_GET_DETAIL in ERP
        - manually editing the WSDL to remove the policy defintions
        - Imported the external definition into PI
    --- Question 2 - Is there an easier way to get the WSDL or XSD in ERP (e.g. from the BAPI without the policy statements)?
    --- Question 3 - Is there a way for PI Enterpise Service builder  to import the definition straight from ESR (a menu option)?
    --- Question 4 - Is there a way to export the WSDL from ESR to a file.
    As I said I have it working but it definitely appeared to be a "clunky" process.
    Any answers or tips in streamlining this would be appreciated.
    Cheers,
    John

    Hi Mark,
    Thanks for your response. I was aware of the functionality and I appreciate the link.
    In hindsight I could have used this to import the data structures into the Enterprise Service Builder, which answers Questions 1 and 2.
    For Questions 3 and 4, I guess I'm still looking for a better understanding of how the service registry and the Enterprise Service Builder interact.
    Right now I'm publishing the service in the service registry and importing external defintions in the Enterprise Service builder.
    I think this is cumbersome and ideally would think that the Enterprise Service Builder could "pull" external definitions from the service registry.
    Thanks again for clarifying questions 1 and 2. The updated question list is below.
    Regards,
    John
    Question1 - is there a way to publish from ERP directly
    - no, instead use the import rfc and idoc functionality built into the Enterprise Service Builder
    Question 2 - Is there an easier way to get the WSDL or XSD in ERP (e.g. from the BAPI without the policy statements)?
    - Rather than use the WSDL use theimport rfc and idoc functionality built into the Enterprise Service Builder
    Question 3 - Is there a way for PI Enterpise Service builder to import the definition straight from ESR (a menu option)?
    Question 4 - Is there a way to export the WSDL from ESR to a file.

  • Enterprise services regarding Purchase Orders

    Hello,
    We want to use following enterprise services:
    PurchaseOrderCreatedInformation_Out
    PurchaseOrderChangedInformation_Out
    The services are sent by activating following events in SWE2:
    CL_SE_PUR_PO_WF_OUT - CHANGED - WS53800008
    CL_SE_PUR_PO_WF_OUT - CREATED - WS53800008
    But if we create a PO then also the service PurchaseOrderChangedInformation_Out is sent and
    if we change a PO then also the service PurchaseOrderChangedInformation_Out is sent.
    How can we make sure that if we create a PO only the service PurchaseOrderCreatedInformation_Out
    is sent and when we change a PO only the service PurchaseOrderChangedInformation_Out is sent?
    Pieter

    Hello Venu,
      Thanks for the response. I am doing what you said, I have exposed the BAPI as a web service, activate it (sicf), configurating the endpoint (soamanager), publish to the service registry (wspublish). But I have 2 problems,
       1. When I try to test it from the service registry it shows me this error: "Invalid transport binding settingsHTTP Client, does not have endpoint url specified", and I saw and the enpoints are configured.
       2. When I consume the web service through Web Dynpro, after I deploy and run, the applications show me this error, "java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel"wsexample1.wsexample1_model.Wsexample1_model.<init>(Wsexample1_model.java:124)".
    Regards
    SU

  • Enterprise Services and PI

    I am looking for some white papers / blogs on calling SAP Enterprise Services via PI. I would also like to get sdome idea of the following points:
    1) A typical scenario using Enterprise Services
    2) Is it possible to extend Enterprise Services as one might a BAPI, in order to enhance it specifically for a customer?
    3) What is the performance like compared to posting IDocs via PI?
    4) Is it better to call Enterprise Services via XI, or directly into the ERP system?
    Kind Regards,
    Tony.

    Hi,
    this could be helpful:
    All you ever wanted to know about Enterprise Services Repository and Services Registry – Really!
    Regards
    Patrick

  • ENTERPRISE SERVICES - BADI TO CREATE CUST. MASTER

    Hi
    Does any one know of a BADI to create company code data for a customer master using enterprise services.
    (as there seems to be no services to do this)
    Regards
    Srinivas

    I think you want a BAPI, not a BADI.
    In your ECC  system, enter the transaction BAPI and look at all the methods available under the Customer object.

  • Enterprise Service to assign customerID to companyID

    We do not intend to use the Business Partner concept to create new customers in our ERP system using Enterprise Services. Is there any Enterprise service available to assign a customer to a sales account (company code)? We have found the IS-Media related Enterprise service Business Partner Sales Account, but this can not be used for our purpose as we do not want to use the Business Partner concept. The goal is to do invoicing in the ERP system, so we need to Create Customer Basic Data (OK), Assign Customer to Company Code (NOT OK), assign Customer to Sales Arrangement (OK), Create Sales Order (OK), Create Invoice (OK). We are lacking a service for assigning the customer to the company code for invoicing and accounting purposes. Can someone please assist me?

    Thank you for your answer. I have already done as suggested, but our intention is to use the Standard Enterprise Services if available. And to be honest, I do find it hard to believe that there is no standard service to assign a customer to a company code, and provide company relevant data. I will keep on searching in the Enterprise Worplace. Do you know of a BAPI or RFC? I want to avoid to create a function/WS based on BDC Recording.

Maybe you are looking for

  • Mac Mini Server: Wich drive bay is which disk number

    Dear readers and admins I need to know which drive bay does correspond to which disk number in the diskutil list command. I need that, as I made a software raid1 and if I get an error message after executing the command "diskutil appleRaid list" I ne

  • Direct contract in the backend - Classic Scenery SRM 7.0

    Hi Masters,  I´m using SRM 7.0 Package 08 in the classic scenery.  I´m trying to create a direct contract of a QUOT acepted and that need to go to the backend.  I´m using two badis:  BBP_DETERMINE_LOGSYS  Where the variable CV_LOGSYS is with the syst

  • HTTP failed - Transparent web proxy

    Hello, I developped an application with Flex 3 B1, it works at my home but when I tried it in my office I have this type of message sometime code: Channel.Call.Failed Message: error Detail: NetConnection.Call.Failed: HTTP: Failed Sometime the applica

  • Using multiple xdofx commands together. For eg: substr and instr

    Hi, I am working in developing an RTF where a situation is to use xdofx:sustr and xdofx:instr together. I tried but its not working properly. Is there any special commands to use in such a scenario. Thanks, Anand

  • Error in CCA Retractor

    Hi there, This time I had strange messages while implementing CCA retractor and found following - Error - You have no authorisation to change planning of Cost center DE1010511. When I debugged found that below function module was throwing errors. BAP