Description | Manage Identified Stocks |
Name | ManageIdentifiedStocksIn |
Namespace | http://sap.com/xi/A1S/Global |
Process Component Description | Product Data Maintenance |
Process Component Name | ProductDataMaintenance |
Process Component Namespace | http://sap.com/xi/AP/FO/Product/Global |
Deployment Unit Description | Foundation |
Endpoint Activation | By Scoping of Process Component | Operations |
Release Status | Released |
An interface to migrate or create identified stock from a source system or file.
The web service Interface Manage Identified Stocks In enables you to connect external applications to your SAP Business ByDesign system and to create and edit identified stock in your system. The web service interface Manage Identified Stocks In is relevant if your company wants to access and manage identified stock data from external applications.
The web service interface Manage Identified Stocks In offers the operations CHECK_MAINTAIN_BUNDLE and MAINTAIN_BUNDLE.
Here is an example of a simple web service request:
<n0:IdentifiedStockMaintainRequestMessage xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <BasicMessageHeader> <ID/> <UUID>ADBC5678-90AB-CDEF-0123-456789ABCDEF</UUID> <ReferenceID/> <ReferenceUUID/> </BasicMessageHeader> <IdentifiedStockMaintainBundle actionCode="01" activateIdentifiedStockIndicator="true" DescriptionListCompleteTransmissionIndicator="true" QuantityConversionListCompleteTransmissionIndicator="true"> <ObjectNodeSenderTechnicalID>12345678-90AB-CDEF-0123-456789ABCDEF</ObjectNodeSenderTechnicalID> <ChangeStateID/> <IdentifiedStockID>ISTOCK_A2X23</IdentifiedStockID> <IdentifiedStockUUID/> <ExternalIdentifiedStockID>EX_ISTOCK_23</ExternalIdentifiedStockID> <ProductID>MCF-0001</ProductID> <ProductionDateTime>2018-02-28T12:00:00.1234567Z</ProductionDateTime> <ExpirationDateTime>2018-12-28T12:00:00.1234567Z</ExpirationDateTime> <SupplierID> <PartyTypeCode>147</PartyTypeCode> <PartyID>MC2000</PartyID> </SupplierID> <ProductRequirementSpecificationKey> <RequirementSpecificationID/> <RequirementSpecificationVersionID/> </ProductRequirementSpecificationKey> <AttachmentFolder DocumentListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <Document PropertyListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <LinkInternalIndicator>false</LinkInternalIndicator> <VisibleIndicator>true</VisibleIndicator> <CategoryCode>3</CategoryCode> <TypeCode>10006</TypeCode> <MIMECode/> <Name>Test</Name> <AlternativeName>Test</AlternativeName> <InternalLinkUUID/> <Description languageCode="EN">A2X Test 23</Description> <ExternalLinkWebURI>http://sap.com/anyURI</ExternalLinkWebURI> </Document> </AttachmentFolder> <TextCollection TextListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <Text ActionCode="01"> <TechnicalID/> <TypeCode>10011</TypeCode> <LanguageCode>EN</LanguageCode> <CreationDateTime>2018-03-28T12:00:00.1234567Z</CreationDateTime> <TextContent ActionCode="01"> <TechnicalID/> <Text languageCode="EN">A2X Test 23</Text> </TextContent> </Text> </TextCollection> <Description actionCode="01"> <ObjectNodeSenderTechnicalID/> <Description languageCode="EN">A2X Test IStock 23</Description> </Description> </IdentifiedStockMaintainBundle> </n0:IdentifiedStockMaintainRequestMessage>
Existence of referenced business documents:
The following business documents are only referenced and will not be created by the service operations. They must exist in the system already at the time the web service is called:
• Product
Maintain Bundle operations enable external applications to create and change business document data. Check Maintain Bundle operations enable external applications to simulate maintain bundle requests without changing business document data.
In particular, Check Maintain Bundle operations have the following functions:
• Return system messages similar to corresponding Maintain_Bundle operation
• Provide the same message type as the corresponding Maintain_Bundle operation
• Does not assign internal numbers from a productive number range interval (number range status are not increased)
• Does not change business documents
Action codes represent an instruction to the recipient of the web service request to process transmitted message node elements. Following are the existing action codes and their description.
Action Code | Description |
---|---|
01 | Create; the system returns an error message if the node element already exists. |
02 | Update; the system returns an error message if the node element does not exist. |
03 | Delete; the system returns an error message if the node element does not exist. |
04 | Save; the system creates or changes the node element data. |
05 | Remove; the system deletes the node element. If the node element does not exist, the system does not send an error message. |
06 | No Action; the system does not change the node element. |
Default action code: 04 (Save).
Note: Action code 04 (Save) creates business documents if the system could not identify a matching target business document. This applies in particular if no business document ID or UUID is provided by the web service consumer. The web service consumer (external application) is responsible for providing correct business document IDs or UUIDs and to avoid accidental creation of duplicate business documents.
The processing of node elements with cardinality > 1 (for example a list of descriptions in different languages or a list of telephone numbers) can be controlled using List Complete Transmission Indicators (LCTI). The LCTI indicates whether a list of node elements is transmitted completely. The LCTI of a node element with cardinality > 1 is modeled as an attribute of its parent node element (attribute name: <name of child element>ListCompleteTransmissionIndicator).
LCTI | Description |
---|---|
false | The list of node elements is not transmitted completely and hence all node elements that are not transmitted remain unchanged. If transmitted node elements in the list can be identified uniquely, the system processes the node elements according the action code. If transmitted node elements in the list cannot be identified uniquely, the system appends the node element to the corresponding list of node elements in the target business document. |
true | The list of elements is transmitted completely and hence all node elements that are not transmitted are removed. If no node element is transmitted, the complete list is removed. |
Default list complete transmission indicator: false.
Note: The LCTI refers to the completeness of the list of node elements and does not state completeness of sub-elements.
New description with language code DE (German) is created while an existing description with language code EN (English) is updated. Moreover, an existing description with language code FR (French) remains unchanged and any other description (with language code ES (Spanish), for example) is deleted. An error is raised if there is already a German description or if the English or French description does not exist.
<Root actionCode="04" descriptionListCompleteTransmissionIndicator="true" > <Description actionCode="01"> <Description languageCode="DE">neuer deutscher Text </Description> <Description actionCode="02"> <Description languageCode="EN">changed english text </Description> <Description actionCode="06"> <Description languageCode="FR"></Description> </Description> </Root>
Optional leaf elements in request messages that are not transmitted within a web service request are not changed in corresponding business documents.
In updating a postal address of a purchase order , the request updates the city name, street postal code, street name, and house ID. The country code remains unchanged, as the element "CountryCode" is not contained in the XML document (commented out).
<PostalAddress actionCode="02"> <!-- <CountryCode>DE</CountryCode> --> <CityName>Heidelberg</CityName> <StreetPostalCode>69117</StreetPostalCode> <StreetName>Hauptstrasse</StreetName> <HouseID></HouseID> </PostalAddress>
Note: The request deletes the house ID or updates the house ID with its initial value.
Maintain bundle and check maintain bundle operations are mass-enabled stateless synchronous web service operations. Transferring or requesting amounts of data that are too large causes communication timeouts. The web service consumer is responsible for ensuring reasonable sizes of data for mass operations.
Maintain bundle and check maintain bundle operations support exactly one execution (idem potency). To ensure exactly one execution of web service requests, the web service consumer has to provide unique values for the elements ID or UUID of the BasicMessageHeader node element.
Using change state identifier (element name ChangeStateID), external applications can enforce that a modifying operation is not executed because the state of the business document has changed since the external application last read its data.
The change state ID is an un-interpretable string that is provided by query and read operations and can be utilized by all modifying operations. If the change state identifier is provided when calling a modifying operation, the system does not perform the operation if the state of the business document instance has changed since the change state ID was computed. If the change state ID is not provided by the web service consumer, the system performs the web service operation without checking the state of the business document.
The web service consumer (external application) is responsible for preventing accidental changes to business documents.
Request node elements with cardinality > 1 contain an object node sender technical identifier to relate response message elements and log items to corresponding node elements in the request message.
The object node sender technical identifiers are provided as ObjectNodeSenderTechnicalID in request message types and referred to as ReferenceObjectNodeSenderTechnicalID in corresponding response message types.
If the object node sender technical ID is initial, the object node sender technical ID of the parent node element in the request is returned as the reference object node sender technical ID. If the object node sender technical IDs of all parent node elements are initial, the reference object node sender technical ID is returned as initial as well.
Note: The values specified in the ObjectNodeSenderTechnicalID are transient values that establish the correspondence between elements for only a single call. The web service consumer is not required to specify them or to use the same values for different calls. Also, the service provider does not interpret these values at all, but returns them to the web service consumer instead in the ReferenceObjectNodeSenderTechnicalID elements.
Note: The ObjectNodeSenderTechnicalID is also used to identify failed business document modifications in a mass operation.
Request
<Child> <ObjectNodeSenderTechnicalID>999_A<ObjectNodeSenderTechnicalID> <Content>Child A: Some correct content</Content> </Child> <Child> <ObjectNodeSenderTechnicalID>999_B<ObjectNodeSenderTechnicalID> <Content>Child B: Some erroneous content</Content> </Child>
Response:
<Log> <Item> <ReferenceObjectNodeSenderTechnicalID>999_B </ReferenceObjectNodeSenderTechnicalID> <Note>Error message for Child B</Note> </Item> </Log>
The structure of the response message consists of two parts:
• A business document-specific part containing information about IDs and UUIDs of the created and changed business documents
• Log items containing system messages including errors, warnings, and information messages raised by the system during processing of the web service request
Many external applications consuming web services have special requirements and restrictions regarding the format of WSDLs. Some external applications require service definition WSDLs describing the web service signature. This is normally sufficient for the creation of static client-side proxies. Other external applications, normally those that do not create static client-side proxies, require binding WSDLs including the endpoint definition and authentication policy information.
In both cases, it may be the case that the external application imposes special restrictions on the structure or the size of WSDLs.
Microsoft InfoPath requires binding WSDLs and considers elements with the attribute "minOccurs=0" as "mandatory". However "minOccurs=0" means "optional" in SAP web services. In order to circumvent this problem, the WSDL must be saved locally and an additional attribute "nillable=true" must be added to make a query parameter optional for Microsoft InfoPath.
For very small clients such as mobile devices, the size of the WSDL itself may become a problem. In most cases the client only requires a very small part of the signature, but due to the complexity of the WSDL they may end up with long runtimes during serialization of the request or deserialization of the response. In order to circumvent this problem, the WSDL must be saved locally and the optional parts of the signature have to be removed before the WSDL is imported or static client-side proxies are generated.
External applications have to take into account that web service request and response message types can be enhanced with additional elements and attributes. Enhancements can be created by SAP, SAP partners, and key users. Enhancements of request message types are always optional elements or attributes. The SAP system does not require the external application to provide values in the request. Enhancements of response message types can contain mandatory elements or attributes. The external application must be able to process the extended response successfully.
XML element and attribute names are always stable. Technical definitions of data types can be enhanced in a compatible way. This may result in changed data type names. External applications can rely on XML element names and attribute names, but should not rely on data type names.
Note: You can download the WSDL file for any web service here:
• Application and User Management work center -> Input Output Management -> Communication Arrangement.
• User Management work center -> Service Explorer view.
You can find the documentation of the global data types in the SAP Community Network: Go to http://scn.sap.com/docs/DOC-17516 and click View Document.
You can find general information about Web services, their structure and consumption in the Web Services documentation.
Possible scenarios include the following:
• Create one or many of Identified Stock
Create
The following request provides a basic MaintainBundle operation where a new identified stock is created by specifying the attribute action code as "01" of IdentifiedStockMaintainBundle node element.
<n0:IdentifiedStockMaintainRequestMessage xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <BasicMessageHeader> <ID/> <UUID>00163E07-3C6B-1ED8-8390-57C58B5BD597</UUID> <ReferenceID/> <ReferenceUUID/> </BasicMessageHeader> <IdentifiedStockMaintainBundle actionCode="01" activateIdentifiedStockIndicator="true" DescriptionListCompleteTransmissionIndicator="true" QuantityConversionListCompleteTransmissionIndicator="true"> <ObjectNodeSenderTechnicalID>12345678-90AB-CDEF-0123-456789ABCDEF</ObjectNodeSenderTechnicalID> <ChangeStateID/> <IdentifiedStockID>ISTOCK_A2X23</IdentifiedStockID> <IdentifiedStockUUID/> <ExternalIdentifiedStockID>EX_ISTOCK_23</ExternalIdentifiedStockID> <ProductID>MCF-0001</ProductID> <ProductionDateTime>2018-02-28T12:00:00.1234567Z</ProductionDateTime> <ExpirationDateTime>2018-12-28T12:00:00.1234567Z</ExpirationDateTime> <SupplierID> <PartyTypeCode>147</PartyTypeCode> <PartyID>MC2000</PartyID> </SupplierID> <ProductRequirementSpecificationKey> <RequirementSpecificationID/> <RequirementSpecificationVersionID/> </ProductRequirementSpecificationKey> <AttachmentFolder DocumentListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <Document PropertyListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <LinkInternalIndicator>false</LinkInternalIndicator> <VisibleIndicator>true</VisibleIndicator> <CategoryCode>3</CategoryCode> <TypeCode>10006</TypeCode> <MIMECode/> <Name>Test</Name> <AlternativeName>Test</AlternativeName> <InternalLinkUUID/> <Description languageCode="EN">A2X Test 23</Description> <ExternalLinkWebURI>http://sap.com/anyURI</ExternalLinkWebURI> </Document> </AttachmentFolder> <TextCollection TextListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <Text ActionCode="01"> <TechnicalID/> <TypeCode>10011</TypeCode> <LanguageCode>EN</LanguageCode> <CreationDateTime>2018-03-28T12:00:00.1234567Z</CreationDateTime> <TextContent ActionCode="01"> <TechnicalID/> <Text languageCode="EN">A2X Test 23</Text> </TextContent> </Text> </TextCollection> <Description actionCode="01"> <ObjectNodeSenderTechnicalID/> <Description languageCode="EN">A2X Test IStock 23</Description> </Description> </IdentifiedStockMaintainBundle> </n0:IdentifiedStockMaintainRequestMessage>
Update
The following request provides a basic MaintainBundle operation where an existing identified stock is updated. The identified stock is block and its attachment and text collection is updated.
<n0:IdentifiedStockMaintainRequestMessage xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <BasicMessageHeader> <ID/> <UUID>00163E07-3C6B-1ED8-8390-57D93B5BD597</UUID> <ReferenceID/> <ReferenceUUID/> </BasicMessageHeader> <IdentifiedStockMaintainBundle actionCode="02" blockIdentifiedStockIndicator="true" DescriptionListCompleteTransmissionIndicator="true" QuantityConversionListCompleteTransmissionIndicator="true"> <ObjectNodeSenderTechnicalID>12345678-90DB-CDEF-0123-456789ABCDEF</ObjectNodeSenderTechnicalID> <ChangeStateID/> <IdentifiedStockID>ISTOCK_A2X23</IdentifiedStockID> <IdentifiedStockUUID/> <ExternalIdentifiedStockID>EX_ISTOCK</ExternalIdentifiedStockID> <ProductID>MCF-0001</ProductID> <ProductionDateTime>2018-02-28T12:00:00.1234567Z</ProductionDateTime> <ExpirationDateTime>2018-12-28T12:00:00.1234567Z</ExpirationDateTime> <SupplierID> <PartyTypeCode>147</PartyTypeCode> <PartyID>MC2000</PartyID> </SupplierID> <ProductRequirementSpecificationKey> <RequirementSpecificationID/> <RequirementSpecificationVersionID/> </ProductRequirementSpecificationKey> <AttachmentFolder DocumentListCompleteTransmissionIndicator="true" ActionCode="02"> <UUID>00163E07-3D6A-1ED8-8390-57C93B5BD597</UUID> <Document PropertyListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <LinkInternalIndicator>false</LinkInternalIndicator> <VisibleIndicator>true</VisibleIndicator> <CategoryCode>3</CategoryCode> <TypeCode>10006</TypeCode> <MIMECode/> <Name>Test 1111</Name> <AlternativeName>Test 11111</AlternativeName> <InternalLinkUUID/> <Description languageCode="EN">A2X Test 1111</Description> <ExternalLinkWebURI>http://sap.com/anyUR111I</ExternalLinkWebURI> </Document> </AttachmentFolder> <TextCollection TextListCompleteTransmissionIndicator="true" ActionCode="02"> <UUID>00163E07-3D6A-1ED8-8390-57C93B5C3597</UUID> <Text ActionCode="01"> <TechnicalID/> <TypeCode>10011</TypeCode> <LanguageCode>EN</LanguageCode> <CreationDateTime>2018-03-28T12:00:00.1234567Z</CreationDateTime> <TextContent ActionCode="01"> <TechnicalID/> <Text languageCode="EN">A2X Test 111</Text> </TextContent> </Text> </TextCollection> <Description actionCode="02"> <ObjectNodeSenderTechnicalID/> <Description languageCode="EN">A2X Test IStock 11</Description> </Description> </IdentifiedStockMaintainBundle> </n0:IdentifiedStockMaintainRequestMessage>
Description | Manage identified stocks |
Name | MaintainBundle |
Synchronous | yes |
Release Status | Released |
To create, update, or delete identified stock data.
The request message of the operation MaintainBundle contains a BasicMessageHeader node element as well as a IdentifiedStockMaintainBundle node element that contains the identified stock to be created or updated. The detailed structure of the IdentifiedStockMaintainBundle node will be explained in the following sub-chapters. The IdentifiedStockMaintainBundle node can occur multiple times in the request message meaning that multiple identified stock can be created and updated by a single web service request.
The response message of the operation MaintainBundle contains log items and a identified stock-specific node with ObjectNodeSenderTechnicalID, ChangeStateID, as well as IdentifiedStockID and IdentifiedStockUUID.
The IdentifiedStockMaintainBundle node element contains all basic information about the identified stock such as ID, External ID, product ID assigned to, supplier ID assigned to and expiration date time. These fields can be found in the Identified Stock UI as General data. The IdentifiedStockID element corresponds to the Identified Stock _ID on the user interface - the UUID element is not visible on the UI, but can be retrieved via query and read web services.
This is the root node for each Goods And Activity Confirmation being passed in the request. The GoodsAndActivityConfirmation node can occur multiple times in the request message; this means that multiple Goods And Activity Confirmations can be created through a single web service request. Following are the elements of this node:-
Element | Description |
---|---|
ID | Identified Stock ID. If this field is not input, the system will automatically generate a random ID. |
UUID | Identified Stock UUID. This field is mandatory when updating or deleting. |
ExternalIdentifiedStockID | External Identified Stock ID. |
ProductID | The identified stock is belong to. This field is mandatory |
ProductionDateTime | Goods Consumption for/Return from a Project. This field is mandatory. |
ExpirationDateTime | Project ID/Project Task ID belong to the same Company with the Site ID. This field is mandatory. |
SupplierID | The supplier assigned to identified stock. |
ProductRequirementSpecificationKey | The Product Requirement Specification Key assigned to identified stock. |
ExpirationDateTime | The expiration date and time of the identified stock. |
AttachmentFolder | Attachment Folder Node. |
TextCollection | Text Collection Node. |
Description | Description Node. |
QuantityConversion | Quantity Conversion Node. |
Note: The Identified Stock UUID is read-only and cannot be set by an external application when creating identified stock.
A language-dependent description can be maintained with the Description node element.
Example
The following example creates a new description of a material in English by specifying the actionCode as "01" and languageCode as "EN".
<Description actionCode="01"> <Description languageCode="EN">A2X Test IStock 06</Description> </Description>
Create
The following request provides a basic MaintainBundle operation where a new identified stock is created by specifying the attribute action code as "01" of IdentifiedStockMaintainBundle node element.
<n0:IdentifiedStockMaintainRequestMessage xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <BasicMessageHeader> <ID/> <UUID>00163E07-3C6B-1ED8-8390-57D93B5BD597</UUID> <ReferenceID/> <ReferenceUUID/> </BasicMessageHeader> <IdentifiedStockMaintainBundle actionCode="01" activateIdentifiedStockIndicator="true" DescriptionListCompleteTransmissionIndicator="true" QuantityConversionListCompleteTransmissionIndicator="true"> <ObjectNodeSenderTechnicalID>12345678-90AB-CDEF-0123-456789ABCDEF</ObjectNodeSenderTechnicalID> <ChangeStateID/> <IdentifiedStockID>ISTOCK_A2X23</IdentifiedStockID> <IdentifiedStockUUID/> <ExternalIdentifiedStockID>EX_ISTOCK_23</ExternalIdentifiedStockID> <ProductID>MCF-0001</ProductID> <ProductionDateTime>2018-02-28T12:00:00.1234567Z</ProductionDateTime> <ExpirationDateTime>2018-12-28T12:00:00.1234567Z</ExpirationDateTime> <SupplierID> <PartyTypeCode>147</PartyTypeCode> <PartyID>MC2000</PartyID> </SupplierID> <ProductRequirementSpecificationKey> <RequirementSpecificationID/> <RequirementSpecificationVersionID/> </ProductRequirementSpecificationKey> <AttachmentFolder DocumentListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <Document PropertyListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <LinkInternalIndicator>false</LinkInternalIndicator> <VisibleIndicator>true</VisibleIndicator> <CategoryCode>3</CategoryCode> <TypeCode>10006</TypeCode> <MIMECode/> <Name>Test</Name> <AlternativeName>Test</AlternativeName> <InternalLinkUUID/> <Description languageCode="EN">A2X Test 23</Description> <ExternalLinkWebURI>http://sap.com/anyURI</ExternalLinkWebURI> </Document> </AttachmentFolder> <TextCollection TextListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <Text ActionCode="01"> <TechnicalID/> <TypeCode>10011</TypeCode> <LanguageCode>EN</LanguageCode> <CreationDateTime>2018-03-28T12:00:00.1234567Z</CreationDateTime> <TextContent ActionCode="01"> <TechnicalID/> <Text languageCode="EN">A2X Test 23</Text> </TextContent> </Text> </TextCollection> <Description actionCode="01"> <ObjectNodeSenderTechnicalID/> <Description languageCode="EN">A2X Test IStock 23</Description> </Description> </IdentifiedStockMaintainBundle> </n0:IdentifiedStockMaintainRequestMessage>
Update
The following request provides a basic MaintainBundle operation where an existing identified stock is updated. The identified stock is block and its attachment and text collection is updated.
<n0:IdentifiedStockMaintainRequestMessage xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <BasicMessageHeader> <ID/> <UUID>00163E07-3C6B-1AF8-8390-57D93B5BD597</UUID> <ReferenceID/> <ReferenceUUID/> </BasicMessageHeader> <IdentifiedStockMaintainBundle actionCode="02" blockIdentifiedStockIndicator="true" DescriptionListCompleteTransmissionIndicator="true" QuantityConversionListCompleteTransmissionIndicator="true"> <ObjectNodeSenderTechnicalID>12345678-90DB-CDEF-0123-456789ABCDEF</ObjectNodeSenderTechnicalID> <ChangeStateID/> <IdentifiedStockID>ISTOCK_A2X23</IdentifiedStockID> <IdentifiedStockUUID/> <ExternalIdentifiedStockID>EX_ISTOCK</ExternalIdentifiedStockID> <ProductID>MCF-0001</ProductID> <ProductionDateTime>2018-02-28T12:00:00.1234567Z</ProductionDateTime> <ExpirationDateTime>2018-12-28T12:00:00.1234567Z</ExpirationDateTime> <SupplierID> <PartyTypeCode>147</PartyTypeCode> <PartyID>MC2000</PartyID> </SupplierID> <ProductRequirementSpecificationKey> <RequirementSpecificationID/> <RequirementSpecificationVersionID/> </ProductRequirementSpecificationKey> <AttachmentFolder DocumentListCompleteTransmissionIndicator="true" ActionCode="02"> <UUID>00163E07-3D6A-1ED8-8390-57C93B5BD597</UUID> <Document PropertyListCompleteTransmissionIndicator="true" ActionCode="01"> <UUID/> <LinkInternalIndicator>false</LinkInternalIndicator> <VisibleIndicator>true</VisibleIndicator> <CategoryCode>3</CategoryCode> <TypeCode>10006</TypeCode> <MIMECode/> <Name>Test 1111</Name> <AlternativeName>Test 11111</AlternativeName> <InternalLinkUUID/> <Description languageCode="EN">A2X Test 1111</Description> <ExternalLinkWebURI>http://sap.com/anyUR111I</ExternalLinkWebURI> </Document> </AttachmentFolder> <TextCollection TextListCompleteTransmissionIndicator="true" ActionCode="02"> <UUID>00163E07-3D6A-1ED8-8390-57C93B5C3597</UUID> <Text ActionCode="01"> <TechnicalID/> <TypeCode>10011</TypeCode> <LanguageCode>EN</LanguageCode> <CreationDateTime>2018-03-28T12:00:00.1234567Z</CreationDateTime> <TextContent ActionCode="01"> <TechnicalID/> <Text languageCode="EN">A2X Test 111</Text> </TextContent> </Text> </TextCollection> <Description actionCode="02"> <ObjectNodeSenderTechnicalID/> <Description languageCode="EN">A2X Test IStock 11</Description> </Description> </IdentifiedStockMaintainBundle> </n0:IdentifiedStockMaintainRequestMessage>
Response of the above request:
The response below provides the Identified Stock ID as IdentifiedStockID and UUID of the Identified Stock in case the Identified Stock is created successfully.
<n0:IdentifiedStockMaintainResponseMessage xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAE9F7CA318534CC775DFF1:804"> <Log/> <IdentifiedStockResponse> <ObjectNodeSenderTechnicalID>12345678-90AB-CDEF-0123-456789ABCDEF</ObjectNodeSenderTechnicalID> <ChangeStateID>20180301075652.6542750</ChangeStateID> <IdentifiedStockID>ISTOCK_A2X23</IdentifiedStockID> <IdentifiedStockUUID>00163e07-3d66-1ee8-87a4-c3416bad47ba</IdentifiedStockUUID> </IdentifiedStockResponse> </n0:IdentifiedStockMaintainResponseMessage>
Description | Check identified stocks |
Name | CheckMaintainBundle |
Synchronous | yes |
Release Status | Released |
To check if identified stock can be created, updated, or deleted without errors.
The web service request and response message types of the CheckMaintainBundle operation are the same as those of the MaintainBundle operation.
The explanations given can therefore also be applied to the CheckMaintainBundle operation.