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

Similar Messages

  • Work with enterprise services

    Hello Guys
    My next working  with enterprise services in sap pi,would you please  tell me what r the skills required to reach the target

    For SAP PI  you need to have ABAP skill or Java  skill and good idea of  XML .
    Use below documents for further clarification of SAP PI and ESOA.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0f3cf81-e6da-2a10-6891-ef321fdc1a6b
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60cb2b4c-af72-2b10-a3a2-a2f718d2a565
    Regards
    Snehasish

  • Create BAPI as Web Service

    Hi,
    I have expose a BAPI as a web service.
    Application : PA
    BAPI : EmployeePersonalData
    Method : Create
    When i try to test the web serive with the following test data:
    Employeenumber (String) = 12345678
    Validitybegin (String) = 2001-01-01
    Validityend (String) = 2003-01-01
    It give me the following error:
    =============================================
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 803
    sap-srt_id: 20080128/122539/v1.00_final_6.40/DCCD591434D56BF19BA300145E6770F3
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Deserialisation failed</faultstring><detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"><MainName>/1BCDWB/WSS0080123034217187000</MainName><ProgName>/1BCDWB/WSS0080123034217187000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><Caller><Class>CL_SRG_RFC_PROXY_CONTEXT</Class><Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions></Caller></n0:SimpleTransformationFault></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    ============================================
    What wrong with it? Any idea how to resolve this problem?
    Regards,
    Rayden

    Hi Rayden
    It will surely help you.
    Please reward pts if help.
    Deepanker
    Expose BAPI as a Web Service
    1. Go to transaction SE80.Select Function Group from drop down menu; enter the function group in which the BAPI (which is to be exposed as Web Service) comes. You can find this Function Group from function module (BAPI) itself. Go to transaction SE37 and enter function module name (BAPI name) and click on display. You can see the function group here under attribute tab .
    2. Then from Function Modules list choose the BAPI to which you want to expose as a   
        Web Service .
    3. On right clicking on the BAPI a context menu appears. Click on create and Web Service option .
    4. New window will pop up. Click on Continue.
    5. Give the name for Enterprise service and short description. Click on continue.
    6.  New window will pop up.Click on Continue
    7. New window pop up. Click on 'Release service for runtime'. Click on Continue.
    8. This window pops up. Click on Complete.
    9. New pop up window come up asking for Package. Give the package name and click on SAVE button.
    10. New window pop up asking for Request . Give request and click on OK.
    11. New window comes displaying service definition.
    12. Now go to transaction WSADMIN and choose your web service. Go to Web Service menu and choose WSDL option.
    13. New pop up window come.Check on Include SAP Feature in WSDL and click on OK.
    14. Internet browser will be opened and asking for User Name and Password .
    15. After giving values for user name and password, you will get WSDL file opened in internet explorer. SAVE this locally on your computer for further use.

  • Callable Objects (GP) with Enterprise Service.

    Hi,
    I have a question.
    Is it possible, with a callable Object (GP), to obtain information on any budget, from ECC6, through a Web Service or Enterprise Service, provided by ECC6?
    Is it possible, to modify and save the budget without using any bapi, but directly through an enterprise service, from ecc6?
    Thanks
    Regards
    David.

    Hi David,
    If Enterprise Services for the underlying Business Objects ("Budgets" in ur case) already exists and you have the required enhancement pack, then definitely you can go ahead and use enterprise Services.
    Otherwise, you can use the existing BAPIs and RFCs to modify the same business object (RFC, BAPI can be consumed from CAF).
    And if you want your application to be SOA compliant. Then you can create new functions and expose them as web services, which can then be used from any other application to modify the business object.
    Hope this helps,
    Ashutosh

  • Connect to BAPI with web service

    Hi everyone,
    I am trying to make a web service that call a BAPI and retrieve a result (a table or a structure).
    Is it possible ? If yes, how ?
    Thanks a lot.

    So,
    1st step : create a SAP enterprise connector.
    2nd step : create a portal service ?
    3th step : create a web service.
    4th step : create a proxy and a client.
               In the client, for the example, I wrote :
              JCO.Client jcoclient =
                      JCO.createClient(
                         "CLIENT",
                         "USER",
                         "PASSWORD",
                         "LANGUAGE",
                         "SERVER",
                         "SYSTEM",
                         "GROUP");
              jcoclient.connect();
    It doesn't work. I get this exception :
    com.sap.mw.jco.JCO$Exception: (102)
    RFC_ERROR_COMMUNICATION: Connect to message server failed
    Is it right ?
    Thanks for the help.
    Message was edited by: David Fryda

  • Doubt with Enterprise Services

    Hi gurus!!
    I have found on the Enterprise Service Workplace the Service operation 'Find Contact Person by Name and Workplace' of the Enterprise Service Interface 'Query Business Partner' from CRM.
    I want to consume the Enterprise Service through XI, creating an ABAP Proxy on SPROXY.
    I can see the Software Component version in ESR is CRM 5.1.
    I must download support package on XI and CRM to get the Software Component CRM 5.1?
    How can I proceed with this information?
    Helpful answers will be rewarded.
    Thanks and regards,
    Manuel.

    Hi Manuel,
    I guess you want to consume an Enterprise Service exposed in CRM box using XI.
    Well to do this, you can follow the following steps.
    Download the WSDL file of  the ES.
    Define an external definition and import the WSDL file by clicking on the file link.
    Define Interfaces (Inbound & Outbound) in IR .
    While doing so, in Message type select the external defnition.
    In ID, select SAOP Adapter on the receiver end and provide the connection paratemeters.
    Regards
    Pushkar Anand.

  • What to do with Enterprise Service when SAP is locked?

    Sometimes SAP is running a month-end processing, or needs to lock out users, etc. What kind of best practices are there for handling situations when Enterprise Services need to lock out a user?

    "error" 1 is not an error.  Read it again.
    The second and third errors indicate that the files are corrupted.
    You may have a bad disk or file server.
    They have nothing to do with the platform -- PSD files are the same between platforms.

  • Creating MBO by Enterprise Service eats much Workspace resources.

    Hi, Experts.
    I have been developing a iPhone mobile app by SUP2.0.
    I choose SAP CRM Enterprise Service(ES) as EIS Backend and create a MBO.
    but this MBO consists of about 140 structures and ate much computer resources (no
    response) so I could not develop any more.
    ServiceConfirmationCRMByIDQueryResponse_In
    Could you give ma some advice to develop MBO by using such ES.
    Regards,

    Hi,
    This is self reply.
    I made the wrapper web service which reduce input and output parameter structures by net weaver PI and resolved the problem.
    In my opinion though SAP ES is general-purpose and complex so originally they have many parameters and structure is nested and it can not be deleted under SUP Workplace. In many case we need the wrapper web service made by Netweaver PI or Netweaver CAF or Netweaver Gateway or others.
    Thanks

  • I canu00B4t work with Enterprise Service Builder

    Hi
    I try to work on Enterprise Service Builder of PI 7.1, but I can't.
    1. Firstly, I access to log in by http:// <server>:50000/dir/start/index.jsp. Then I can log on to Enterprise Service Builder, on this step I don't have problems.
    2. Secondly I wait to open the application on my laptop.
    3. Then windows 7 try to open the application but I only see the preview view on my desktop of my laptop
    NOTE: I can work with Integration Builder, without any problems, it works perfectly.
    I have this characteristics
    <Server>
    SAP PI 7.1
    <client>
    Internet Explorer 8 or Mozilla Firefox 3.6
    JAVA 6
    Windows 7 Home Basic 32 bits
    I don't know if i need configure something on my computer or on my OS
    Help!

    Hi,
    From Control Panel, go to Java -> General tab, Temporary Internet Files
    -> View... -> Delete all the content there.
    Then go to:
    > Integration buider page http://<host>:<port>/rep
    > Administration
    > Tab - Directory (Repository as well)
    > Java Web Start Administration
    > Restore Archives and Generate New Signature
    If that does not helps, then you may try re-deploying the XITOOLS components
    by using the JSPM and whe deploying, update it to the latest patch level.
    Regards,
    Caio Cagnani

  • Error while creating MBO with web service data source

    Hi All,
         I am trying to create MBO by selecting web service as a data source type in SMP 2.3. I am providing sharepoint webservice url of type wsdl with HTTP basic authentication. However, I am getting following error can anyone help me in that. Looking for detail explaination as this is new for me...
    (For "define XSLT manually" I am using sample .xsl file)
    Regards,
    Harshada

    Harshada Karane
    Are you using any proxy in your browser? If yes, please set the proxy in workspace and then trHow to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network
    Rgrds
    JK

  • PM Notification create bapi with refrence

    I want to create a PM  notification with reference with another notification number.
    iam calling the bapi ALM_PM_NOTIFICATION_CREATE , able to create the notification but the
    reference notification number data is not copied.

    Did you look at the parameter RETURN from alm_pm_notification_create?  This will contain any errors that might have occurred during the BAPI call.
    - April King

  • Creating contract with service line items

    Hi,
    My requirement is to create contract with multiple service line item. The issue is my system is ECC5 so i don't have BAPIS like BAPI_CONTRACT_CREATE or BAPI_SERVICE_CREATE .How do we achieve this without writing a bdc. Do we have any equivalent bapi in ECC5.

    Hi,
    Check this Fm BAPI_CONTRACT_CREATEFROMDATA

  • Transfer Of Data from Sap to Oracle with the help of Enterprise Services.

    Hello,
    We want to transfer data from Sap to Oracle using standard Enterprise Services.Some fields were not available in the existing standard Enterprise Services,so we have enhanced the existing Services by writing code inside BADI available with Enterprise Services.Rest of the fields we have mapped with the existing fields available in standard Enterprise Services.But,the Oracle people want to fetch all data from Sap without entering any input as a mandatory field in the Enterprise Services.The existing standard Enterprise Services require to enter any field as mandatory and are not accepting the range in input for multiple records.e.g.All enterprise Services related to Sales Orders are displaying only one sales Order.We have searched all Enterprise Services for Sales Order(related to reading of data),but not able to find service which would display mutiple records without entering any input.ECC_SALESORDER009QR is the only service which is displaying multiple records without entering any input,but the required fields are not available in this service.So,kindly suggest what we need to do further.
    1.Should we go for customization of services completely,so that it would fulfil our requirement.
    2.Are there  standard Enterprise Services exists which would we give us data in range(all records).
    If they exists,please specify the names of Services for reading Purchase Order,Production Order,BOM etc.
    Thanks & Regards,
    Divya.

    Hi Vaibhav,
    Let me tell you the objective in detail.
    Objective.
    To develop a package solution which will work as a bridge between Oracle APS and SAP system so that customers using SAP will be able to use advantages of Oracle APS for their planning needs.
    This will consist of following major components:
    OA Templates is an Oracle utility to load data from any legacy system to Oracle APS using standard flat files.
    Oracle has developed an Application Integration Architecture which is a standard architecture used for integration of Oracle products with other systems.
    Enterprise services is an SAP utility to communicate with SAP.
    AIA canonicals are standard canonicals developed by Oracle where we have to map data fields from destination system (Oracle APS) and source system (SAP)
    Fusion middleware is being used to develop application interfaces following AIA standards.
    Tasks at stake:
    Mapping of Oracle APS fields and SAP Enterprise Service fields to AIA canonicals
    Technical work of developing middleware using Oracle Fusion
    From Sap side,we have to map fields which we have received from Oracle with the help of Enterprise Services,rest  consumption of these services is done by Oracle guys.So,suggest is there enterprise services available which would give us multiple records .
    Thanks & Regards,
    Divya.

  • Design Objects created in Enterprise Services Builder not appearing in Integration Builder

    I am fairly new to PI, so hoping someone can help.  I have created a number of design objects (DataType, MessageType, ServiceInterface, MessageMapping, OperationMapping).  I had also imported an RFC object successfully as well that is used in the creation of the design objects.  All have been saved and activated, and there are no apparent errors listed. 
    After saving and activating the objects, I went into Integration Builder, and created a new Configuration Scenario.  However, when trying to add in the Interface Determination, Receiver Determination, Sender Agreement, and Receiver Agreement, I do not see the the RFC object or design objects that were created in the Enterprise Services Builder.
    Can someone advise as to whether or not I have missed a step somewhere?  Or perhaps there is something else that I need to do before I can get the design objects and imported RFC object to appear in the Integration Builder?.
    Thanks in advance.
    Tuan.

    Hi Tuan,
    Are you using Business System or Business Component.  If your using Business System you need to assign Software Component Version to Business System in SLD.  If your using Business Component you have to add the Interface Name Manually to the Business Component.  Please see the Below screen shot, you have to add Sender or Receiver Interface manually to proceed further step.
    Thanks,
    Satish.

  • IDocs or Enterprise Services in message exchange between systems

    I am trying to get some qualitative and quantitative answers to the comparison of Enterprise Services or IDocs as a choice of interface technology when exchanging messages via PI with external systems.
    The external systems are probably going to have their own message format, so this would concern the nature of the interfaces of the ERP system interfaces to the PI system.
    I have seen one other posting in this forum related to this, but no definitive answer.
    Does anybody have any system performance comparisons using the two technologies, such as message throughput / hour? Not easy to compare I know.
    Does anybody have an opinion as to the suitability of Enterprise Services for such a task? Is the technology stable enough to be trusted yet?
    When comparing status messages of IDocs, do the Enterprise Services have a similar way of easuly seeing the delivery status of the message using the Enterprise Service?
    Would anybody or has anybody actually been brave enough to use Enterprise Services in this way yet?
    Are Enterprise Services appropriate for mass messaging?
    All answers very much appreciated!
    Kind Regards,
    Tony.

    Hi Michal,
    Thanks for the reply. I try to respond to your questions precisely:
    if you want to compare IDocs to services then I assume
    we're talking about async services right?
    (and most services - just like bapis - are sync messages)
    so you compare two different things
    Yes, I know. What if the message scenario was asynchronous, and you chose not to handle the response message of the Enterprise Service? You could still do that, right? Then the problem becomes how do you trace the status of the Enterprise Service transaction.
    IDocs have the advantage of a status message, and a good message monitoring system, but I am not sure if the visibility of errors seen with Enterprise Services if treated asynchronously would be as obvious. My knowledge of the runtime of the Enterprise Services is currently a bit limited.
    The whole reason for me asking about the use of Enterprise Services is that there are so many now that could be used for message exchange, if they were suitable for the task.
    Also, what about creating Asynchronous/Synchronous bridges in PI to handle the response message? Then the response is always traceable, correct? Even if the customer doesn't want the response message, the content could always be found in the PI message monitor.
    Additionally, there is a transaction in ERP that wraps a BAPI into an IDoc (don't have a system in front of me at the moment and cannot recall the transaction, maybe OM69 or something similar). Now, that is taking a synchronous 'service' (the BAPI), and converting it into an asynchronous IDoc. So if this is such a bad idea, why do SAP provide the transaction? Therefore, by extension, wouldn't it be possible to do the same thing for Enterprise Services, at least from a philosophical point of view? I mean, why would SAP imply you could do this for one kind of synchronous service (the BAPIs) but not others (the Enterprise Services)?
    if you're talking about migrations etc I don't believe services
    will be used with LSMW but BAPIs are on the other hand
    No, I was talking about high volume message scenarios, sorry for the ambiguity. I guess if the performance of Enterprise Services is comparible to that of well written BAPIs, the answer is 'yes', correct?
    Kind Regards,
    Tony.

Maybe you are looking for

  • Windows Explorer misreads large-file .zip archives

       I just spent about 90 minutes trying to report this problem through the normal support channels with no useful result, so, in desperation, I'm trying here, in the hope that someone can direct this report to some useful place.    There appears to b

  • Cannot access local DFS shares while VPN is active

    Hi We use Windows Server 2008 Standard as a domain controller. It also hosts DFS. Although the namespaces are hosted on the server, the data is stored on a Windows 2008 Storage Server. We do not use DFS replication. I have several DFS shares mapped o

  • How to fix "unmountable_boot_volume" blue screen error on Pavilion dv7 2185 dx notebook

    I turned on the laptop and it would only show the blue screen for a second and then cut off. I tried F7, F8, F9, F10, F11 and nothing seems to work. I tried starting it in the last good sector. I tried fixing it and nothing seems to work. The blue sc

  • Photoshop CC Crashes when I use type

    Photoshop contactly crashes when I am trying to use the type tool. I already chequed the INtel drivers, they are all up to date. I did a control/alt/shift on startup. Nothing has helped. I am getting frustrated. I have an Asus laptop i7 with 8 gigs o

  • How to set on block query only

    dear all i want to set on block update,inset,delete as property false, and set query property true, and i want in same time enable to user to set values to execute query on this value. help me plz Message was edited by: Hshihadah