Description | Query Partner Companies |
Name | QueryCompanyFinancialsProcessControlIn |
Namespace | http://sap.com/xi/A1S/Global |
Process Component Description | Organisational Management |
Process Component Name | OrganisationalManagement |
Process Component Namespace | http://sap.com/xi/AP/FO/MOM/Global |
Deployment Unit Description | Foundation |
Endpoint Activation | By Scoping of Process Component | Operations |
Release Status | Released |
An interface to query partner companies
The web service interface Query Company Financials Process Control In enables you to query for partner companies from an external application. This webservice is relevant if you need to query partner companies from ByDesign to your external system.
The webservice interface Query Company Financials Process Control In offers the operation FindByElements
Here is an example of a request for partner company "MDEC10494"
<n0:CompanyFinancialsProcessControlByElementsQuery xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <CompanyFinancialsProcessControlSelectionByElements> <SelectionByCompanyID> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryIdentifier>MDEC10494</LowerBoundaryIdentifier> </SelectionByCompanyID> </CompanyFinancialsProcessControlSelectionByElements> </n0:CompanyFinancialsProcessControlByElementsQuery>
Here is an example of the response for the above query:
<n0:CompanyFinancialsProcessControlByElementsResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:H3E:/1SAI/TAS9F530B5D75D3E529FBAF:804"> <CompanyFinancialsProcessControl> <CompanyUUID>00163e15-de0a-1ed7-86c0-49c8ccf7d210</CompanyUUID> <CompanyID>MDEC10494</CompanyID> <CompanyName>Croganov GmbH</CompanyName> <Text> <TypeCode>10001</TypeCode> <ContentText>This is a note</ContentText> </Text> <AttachmentFolder> <UUID>00163e15-de0a-1ed7-86c2-d594534e5887</UUID> <Document> <UUID>00163e15-de0a-1ed7-86da-087c8f9971a0</UUID> <VersionID>0</VersionID> <SystemAdministrativeData> <CreationDateTime>2017-04-06T13:52:27.436649Z</CreationDateTime> <CreationIdentityUUID>00300571-ce9b-1ded-8dc7-429a837d069a</CreationIdentityUUID> <LastChangeDateTime>2017-04-06T13:52:27.436649Z</LastChangeDateTime> <LastChangeIdentityUUID>00300571-ce9b-1ded-8dc7-429a837d069a</LastChangeIdentityUUID> </SystemAdministrativeData> <VisibleIndicator>true</VisibleIndicator> <CategoryCode>3</CategoryCode> <TypeCode>10036</TypeCode> <PathName>/BOAttachments/00163E15DE0A1ED786C2D594534E5887/www.google.com</PathName> <Name>www.google.com</Name> <AlternativeName>Google</AlternativeName> <Description>Comments on the attachment</Description> <ExternalLinkWebURI>http://www.google.com</ExternalLinkWebURI> <FileContentURI>http://www.google.com</FileContentURI> </Document> </AttachmentFolder> <SystemAdministrativeData> <CreationDateTime>2017-04-05T15:44:05.11246Z</CreationDateTime> <CreationIdentityUUID>00163e15-de21-1ed7-86c0-3f076c215736</CreationIdentityUUID> <LastChangeDateTime>2017-04-06T13:52:27.436649Z</LastChangeDateTime> <LastChangeIdentityUUID>00300571-ce9b-1ded-8dc7-429a837d069a</LastChangeIdentityUUID> </SystemAdministrativeData> <AffiliationPeriod> <SystemAdministrativeData> <CreationDateTime>2017-04-05T15:44:05.11246Z</CreationDateTime> <CreationIdentityUUID>00163e15-de21-1ed7-86c0-3f076c215736</CreationIdentityUUID> <LastChangeDateTime>2017-04-05T15:44:05.11246Z</LastChangeDateTime> <LastChangeIdentityUUID>00163e15-de21-1ed7-86c0-3f076c215736</LastChangeIdentityUUID> </SystemAdministrativeData> <AffiliationPeriod> <StartDate>2017-04-05</StartDate> <EndDate>9999-12-31</EndDate> </AffiliationPeriod> </AffiliationPeriod> </CompanyFinancialsProcessControl> <ProcessingConditions> <ReturnedQueryHitsNumberValue>1</ReturnedQueryHitsNumberValue> <MoreHitsAvailableIndicator>false</MoreHitsAvailableIndicator> <LastReturnedObjectID>00163E15DE0A1ED786C2D5945345D887</LastReturnedObjectID> </ProcessingConditions> </n0:CompanyFinancialsProcessControlByElementsResponse>
It is also possible to execute the query for multiple companies:
<CompanyFinancialsProcessControlSelectionByElements> <SelectionByCompanyID> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryIdentifier>MDEC10494</LowerBoundaryIdentifier> </SelectionByCompanyID> <SelectionByCompanyID> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryIdentifier>MDEC10000</LowerBoundaryIdentifier> </SelectionByCompanyID> </CompanyFinancialsProcessControlSelectionByElements>
The response will have the information for all the requested companies, provided they are partner companies.
Description | Find partner companies |
Name | FindByElements |
Synchronous | yes |
Release Status | Released |
To query a partner company by elements
The request message of the operation FindByElements contains the CompanyFinancialsProcessControlByElementsQuery node that groups all the possible selection parameters
This node groups all selection parameters. The selection parameters are:
Selection Parameter | Remark |
---|---|
SelectionByCompanyUUID | Selection by Compay UUID |
SelectionByCompanyID | Selection by Company Identifier |
The response contains the list of found partner companies, log items and processing conditions