Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
!https://weblogs.sdn.sap.com/weblogs/images/251884852/SAP_Co-Innovation_LAB_P280_R_p.gif|height=17|al...!
Modeling services constitutes the creation of a visual representation (read: picture) of all the functionality provided via individual services in one organization (as well as its interactions to the outside world). To this end, the Enterprise Services Builder (ES Builder) offers a modeling environment for creating various perspectives based on a set of predefined methodology-compliant models as part of the Enterprise Services Repository (ESR). This model-driven service development provides a broad set of advantages which are elaborated in the ESR Documentation (http://help.sap.com/saphelp_nwesrce/helpdata/en/f9/73b9d5fbda48bf872626e5449dc4d2/frameset.htm), along with explanations on SAPs modeling entities (http://help.sap.com/saphelp_nwesrce/helpdata/en/f9/73b9d5fbda48bf872626e5449dc4d2/frameset.htm).* *Modeling services is hence the first step in outlining the service's functionality and the first step in creating your own service. Here's how it works:
    • Create a Business Object
    • Create a Service Interface
    • Create an Operation

The attached screencam
 is targeted to guide you through exactly these steps. In order to make it as easy as possible the common example of a "Read Sales Order" service has been chosen. You may therewith directly learn each of the steps necessary to model your service, without worrying about the business context. This is something that you may then easily do afterwards as transfer based on the Sales Order BO  (http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19...) + correlated services within the ES Workplace  (https://www.sdn.sap.com/irj/sdn/esworkplace). So get started and have a look at the screencam:

Screenshot of the Screencam


 

The detailed storyboard is outlined in the following:

 

*Create a Process Component Model = Sales Order Processing</li></ul><p> </p><ul><li>Create a Business Object</li></ul><p>Name:  Sales Order</p><p>Description/ Definition: "An agreement between a seller and a customer concerning the sale and delivery of goods, as well as any services that are associated with these processes, on a specific date, for a specific quantity, and for a specific price."</p><p>SAP NW Attribute - BO Type: BPO</p><p>(Properties) Name: Placed Center and Aligned Middle</p><p> </p><ul><li>Create a Service Interface</li></ul><p>Name: Manage Sales Order In</p><p>Description/ Definition: This inbound service interface contains the operations that the sales clerk can use to process sales orders in sales and distribution.</p><p>SAP NW Attribute - Technical Name: SalesOrderProcessingManageSalesOrderIn</p><p>SAP NW Attribute - Direction: In</p><p>(Properties) Name: Placement at the top and aligned centered</p><p> </p><ul><li>*Intermediary Step for creation of SO</li></ul><p>Operation uses/ is realized by <BO></p><p>Operation is positioned within Interface               </p><p>Connection occurrence is checked</p><p> </p><p>[ | http://www.sap.com/services/education/catalog/globaltabbedcourse.epx?context=%5b%5beSOA2|SOA300||||G|%5d%5d|]</p><ul><li>Create an Operation*
Name: Read Sales Order
Description/ Definition: Query to and response from Sales Order Processing to read a sales order.
SAP NW Attribute - Technical Name: SalesOrderProcessingManageSalesOrderIn.ReadSalesOrder
SAP NW Attribute - Mode: Synchronous
SAP NW Attribute - Message type request: Sales Order By ID Query
SAP NW Attribute - Message type response: Sales Order By ID Response
(Properties) Message Type Request: Add + Change Placement + Change Alignment
(Properties) Message Type Response: Add + Change Placement + Change Alignment


... so that you finally come to the following result (based on the existing Business Object Sales Order  (http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19...) and the Read Sales Order  (http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19...) operation):


 !https://weblogs.sdn.sap.com/weblogs/images/251881936/ExampleModel.jpg|height=1|alt=|width=1|src=http... Model|width=667|src=https://weblogs.sdn.sap.com/weblogs/images/251881936/ExampleModel.jpg|border=0!</body>
1 Comment