Definition
An interface to query service product valuation data.
Business Context and Use
The web service interface Query Service Product Valuation Data In enables you to connect external applications to your solution and to query and read service product valuation data. It is relevant if your company wants to extract or transfer service product valuation data to an external system.
The web service offers the operation Find By Service Product which allows querying service product valuations by service product,company and service product category information.
Here is an example of a simple web service request, which seeks for all service product valuations for the service with id: MCPOWER.
<n0:ServiceProductValuationsByServiceProductQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<ServiceProductValuationDataSelectionByServiceProduct>
<SelectionByServiceProductID>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryIdentifier>MCPOWER</LowerBoundaryIdentifier>
</SelectionByServiceProductID>
</ServiceProductValuationDataSelectionByServiceProduct>
<ProcessingConditions>
<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>
<QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator></ProcessingConditions>
<RequestedElements></RequestedElements>
</n0:ServiceProductValuationsByServiceProductQuery_sync>
Here is the corresponding response got from the query which lists the service product valuations for that service along with cost rates and life cycle status code against each company.
<n0:ServiceProductValuationsByServiceProductResponse_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TASAF950395BC1CC46CB4D7:804">
<ServiceProductValuationData>
<ChangeStateID> 20081015051629.6030870</ChangeStateID>
<SystemAdministrativeData>
<CreationDateTime>2008-10-14T04:20:32.782334Z</CreationDateTime>
<CreationIdentityUUID>00145ef5-88e6-02db-b8ad-62bc2e628346</CreationIdentityUUID>
<LastChangeDateTime>2008-10-15T05:16:29.603087Z</LastChangeDateTime>
<LastChangeIdentityUUID>00145ef5-88e6-02db-b8ad-62bc2e628346</LastChangeIdentityUUID>
</SystemAdministrativeData>
<ServiceProductInternalID>MCPOWER</ServiceProductInternalID>
<ServiceProductUUID>00000000-0001-02dc-959c-53bb489c011a</ServiceProductUUID>
<CompanyID>MC10000</CompanyID>
<CompanyUUID>00145ef5-88e6-02db-b8b3-ac44715e0cc1</CompanyUUID>
<AccountDeterminationGroupCode>5000</AccountDeterminationGroupCode>
<CostRate>
<SetOfBooksID>0001</SetOfBooksID>
<StartDate>2007-01-01</StartDate>
<EndDate>9999-12-31</EndDate>
<Amount currencyCode="USD">20.0</Amount>
<Quantity unitCode="KWH">1.0</Quantity>
</CostRate>
<FinancialProcessInformation>
<LifeCycleStatusCode>2</LifeCycleStatusCode>
<CompanyUUID>00145ef5-88e6-02db-b8b3-ac44715e0cc1</CompanyUUID>
</FinancialProcessInformation>
</ServiceProductValuationData>
<ProcessingConditions>
<ReturnedQueryHitsNumberValue>1</ReturnedQueryHitsNumberValue>
<MoreHitsAvailableIndicator>false</MoreHitsAvailableIndicator>
<LastReturnedObjectID>00000000000102DC959C8B4647120AE1</LastReturnedObjectID>
</ProcessingConditions>
</n0:ServiceProductValuationsByServiceProductResponse_sync>
More Information
General Information
You can find general information about Web services, their structure and consumption in the Web Services documentation. Please open the Web Services document in a new window.
Definition
To query service product valuation data by service product.
Business Context and Use
The request message of the operation FindByServiceProduct contains the ServiceProductValuationDataSelectionByServiceProduct node that groups all possible selection parameters.
Structure
Request
Service Product Valuation Data Selection By Service Product
This node groups all selection parameters. The selection parameters are as follows:
Selection Parameter |
Remark |
SelectionByServiceProductUUID |
Selection by UUID of service product |
SelectionByServiceProductID |
Selection by internal ID of service product |
SelectionByCompanyUUID |
Selection by UUID of company |
SelectionByCompanyID |
Selection by internal ID of company |
SelectionByProductCategoryUUID |
Selection by UUID of product category |
SelectionByProductCategoryID |
Selection by internal ID of product category |
Response
The response contains the list of found service product valuations, log items, and processing conditions.
ServiceProductValuationData
Inside each node of ServiceProductValuationData we have the following:
1. System administrative data and change state ID.
2. Company ID and company UUID for that particular service product valuation.
3. Service product ID and service product UUID for that particular service product valuation.
4. Account determination group used for this service product valuation.
5. A cost rate node showing the various cost rates against a given quantity for each set of books against different start and end dates.
6. A financial process information node giving us the life cycle status code for that service product valuation. Life cycle status code 1 indicates that the service product valuation is in preparation and life cycle status code 2 indicates that the service product valuation is active.
Change Log
Release |
Change Description |
Details |
1808 |
Service created |
To query service product valuation data |