Description | Create Goods and Activity Confirmations |
Name | InventoryProcessingGoodsAndActivityConfirmationGoodsConfirmationIn |
Namespace | http://sap.com/xi/AP/LogisticsExecution/Global |
Process Component Description | Inventory Processing |
Process Component Name | InventoryProcessing |
Process Component Namespace | http://sap.com/xi/AP/LogisticsExecution/Global |
Deployment Unit Description | Production and Site Logistics Execution |
Endpoint Activation | By Scoping of Process Component | Operations |
Release Status | Released |
An interface to create Goods And Activity Confirmation.
The InventoryProcessingGoodsAndActivityConfirmationIn inbound service interface contains an operation that receives inventory data, including information regarding the inventory quantities at a logistics area in a warehouse to be scrapped from the warehouse. The operation Do Scrapping will give the ability to scrap the inventory items from the specified logistics area.
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.
Description | Create goods and activity confirmations for change of stock |
Name | DoGoodsChangeOfStock |
Synchronous | yes |
Release Status | Released |
To create one or more Goods And Activity Confirmation for Change of Stock using imported structured data.
The DoGoodsChangeOfStock operation is used to create one or more Goods And Activity Confirmation for Change of Stock using imported structured data.
The request message GoodsAndActivityConfirmationGoodsConsumptionForChangeofStock contains a GoodsAndActivityConfirmation node element as well as InventoryChangeItemGoodsConsumptionInformationForChangeofStock node element.
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 |
---|---|
ExternalID | External ID. This field is mandatory. |
SiteID | Site ID of the site where the stock is located. This field is mandatory. |
TransactionDateTime | Actual Execution datetime of movement. If it is not provided then system takes the current datetime. |
Note:
Though External ID field is mandatory, it is not used in creation of Goods and Activity Confirmation. It is only used for error handling purpose that is if an error occurs in creation of Goods And Activity Confirmation for any of the record in input message, the error message will be thrown indicating the External ID for which it failed.
This node specifies the details of the stock to be changed from one logistics area to other logistics area or from one identified stock ID to other identified stock ID and so on along with the quantity. Following are the elements of this node:-
Element | Description |
---|---|
ExternalItemID | External Item ID. This is mandatory field. |
OwnerPartyInternalID | ID of the owner party. This field is Mandatory. |
SourceMaterialInternalID | Material ID for which stock quantity will be decreased. This field is Mandatory. |
SourceInventoryRestrictedUseIndicator | Indicates whether the stock for which quantity will be decreased is restricted or not. This field is Mandatory. |
SourceInventoryStockStatusCode | Indicates whether the stock for which quantity will be decreased is inspection stock or not. This field is Mandatory. |
SourceIdentifiedStockID | Identified stock ID of stock for which quantity will be decreased. |
SourceLogisticsAreaID | Logistics area for which the goods quantity will be decreased. This field is Mandatory. |
TargetMaterialInternalID | Material ID for which stock quantity will be increased. This field is Mandatory. |
TargetInventoryRestrictedUseIndicator | Indicates whether the stock for which quantity will be increased is restricted or not. This field is Mandatory. |
TargetInventoryStockStatusCode | Indicates whether the stock for which quantity will be increased is inspection stock or not. This field is Mandatory. |
TargetIdentifiedStockID | Identified stock ID of stock for which quantity will be increased. |
TargetLogisticsAreaID | Logistics area for which the goods quantity will be increased. This field is Mandatory. |
InventoryItemChangeQuantity | Material quantity of stock to be moved. |
LogisticUnitChangeQuantity | Logistics unit quantity of stock to be moved. |
InventoryItemChangeSerialNumber | If the product is serialized, the node is mandatory. Otherwise the node should be empty |
Note:
Significance of External Item ID is the same as that of External ID at root level explained above.
Possible values for SourceInventoryRestrictedUseIndicator and TargetInventoryRestrictedUseIndicator are 'true' and 'false'.
Possible values for SourceInventoryStockStatusCode and TargetInventoryStockStatusCode are '1' and ''. Value '1' indicates that the stock is in inspection and '' indicates that the stock is not in inspection.
If LogisticUnitChangeQuantity is specified then the conversion of Unit Of Measures for that material should be followed that is for 1 STD_PALLET = 20 EAs quantity in LogisticUnitChangeQuantity should be 1 or multiples and quanitity in InventoryItemChangeQuantity should be 20 or multiples.
The response message GoodsAndActivityConfirmationGoodsChangeOfStockResponse contains two nodes:
GACDetails
Log
The GACDetails displays the following information of the created Goods And Activity Confirmation:
Element | Description |
---|---|
ExternalGACID | The external ID specified in the request type |
GACUUID | Universally unique identifier of the Goods And Activity Confirmation created |
GACID | The Goods And Activity Confirmation ID created |
In addition, a log is also provided, which gives the details of errors encountered during the modifications, if any.
This interface operation supports extensibility.
Change stock of AM_BATCH_TEST1 in logistics area MC64920-40-10-01 with identified stock ID AM_1 to identified stock ID AM_2 with 1 EA:
<n0:GoodsAndActivityConfirmationGoodsConsumptionForChangeOfStock xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>EID20170804</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-08-02T12:00:00.1234567Z</TransactionDateTime> <InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> <ExternalItemID>EIDI10</ExternalItemID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <SourceMaterialInternalID>SP_CALIFF_SN2</SourceMaterialInternalID> <SourceInventoryRestrictedUseIndicator>false</SourceInventoryRestrictedUseIndicator> <SourceInventoryStockStatusCode/> <SourceIdentifiedStockID/> <SourceLogisticsAreaID>MC64920-40-10-40</SourceLogisticsAreaID> <TargetMaterialInternalID>SP_CALIFF_SN2</TargetMaterialInternalID> <TargetInventoryRestrictedUseIndicator>true</TargetInventoryRestrictedUseIndicator> <TargetInventoryStockStatusCode/> <TargetIdentifiedStockID/> <TargetLogisticsAreaID>MC64920-40-10-02</TargetLogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-031</SerialID> <SerialID>SN2-032</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> </GoodsAndActivityConfirmation> <GoodsAndActivityConfirmation> <ExternalID>EID20170805</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-08-02T12:00:00.1234567Z</TransactionDateTime> <InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> <ExternalItemID>EIDI10</ExternalItemID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <SourceMaterialInternalID>SP_CALIFF_SN3</SourceMaterialInternalID> <SourceInventoryRestrictedUseIndicator>false</SourceInventoryRestrictedUseIndicator> <SourceInventoryStockStatusCode/> <SourceIdentifiedStockID/> <SourceLogisticsAreaID>MC64920-40-10-40</SourceLogisticsAreaID> <TargetMaterialInternalID>SP_CALIFF_SN3</TargetMaterialInternalID> <TargetInventoryRestrictedUseIndicator>true</TargetInventoryRestrictedUseIndicator> <TargetInventoryStockStatusCode/> <TargetIdentifiedStockID/> <TargetLogisticsAreaID>MC64920-40-10-02</TargetLogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN3-033</SerialID> <SerialID>SN3-034</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> <InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> <ExternalItemID>EIDI20</ExternalItemID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <SourceMaterialInternalID>SP_CALIFF_SN2</SourceMaterialInternalID> <SourceInventoryRestrictedUseIndicator>false</SourceInventoryRestrictedUseIndicator> <SourceInventoryStockStatusCode/> <SourceIdentifiedStockID/> <SourceLogisticsAreaID>MC64920-40-10-40</SourceLogisticsAreaID> <TargetMaterialInternalID>SP_CALIFF_SN2</TargetMaterialInternalID> <TargetInventoryRestrictedUseIndicator>true</TargetInventoryRestrictedUseIndicator> <TargetInventoryStockStatusCode/> <TargetIdentifiedStockID/> <TargetLogisticsAreaID>MC64920-40-10-02</TargetLogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-033</SerialID> <SerialID>SN2-034</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsConsumptionForChangeOfStock>
<n0:GoodsAndActivityConfirmationGoodsChangeOfStockResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAECBA0FE924AE3D5A93396:804"> <GACDetails> <ExternalGACID>EID20160829001</ExternalGACID> <GACUUID>00163e07-3d66-1ed6-9bb7-8ee9aaa5b971</GACUUID> <GACID>9757</GACID> </GACDetails> </n0:GoodsAndActivityConfirmationGoodsChangeOfStockResponse>
Change stock of SUPRIYA_MAT in logistics area MC64920-40-10-07 of identified stock ID SUPRIYA_IS_2 from restricted use to unrestricted use with 2 Logistic Unit:
<n0:GoodsAndActivityConfirmationGoodsConsumptionForChangeOfStock xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>EID20160829001</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2016-08-25T12:00:00.1234567Z</TransactionDateTime> <InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> <ExternalItemID>EIDI0001</ExternalItemID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <SourceMaterialInternalID>SUPRIYA_MAT</SourceMaterialInternalID> <SourceInventoryRestrictedUseIndicator>true</SourceInventoryRestrictedUseIndicator> <SourceInventoryStockStatusCode/> <SourceIdentifiedStockID>SUPRIYA_IS_2</SourceIdentifiedStockID> <SourceLogisticsAreaID>MC64920-40-10-07</SourceLogisticsAreaID> <TargetMaterialInternalID>SUPRIYA_MAT</TargetMaterialInternalID> <TargetInventoryRestrictedUseIndicator>false</TargetInventoryRestrictedUseIndicator> <TargetInventoryStockStatusCode/> <TargetIdentifiedStockID>SUPRIYA_IS_2</TargetIdentifiedStockID> <TargetLogisticsAreaID>MC64920-40-10-07</TargetLogisticsAreaID> <LogisticUnitChangeQuantity> <LogisticUnitID>SUPRIYA_LU</LogisticUnitID> <Quantity unitCode="EA">2</Quantity> </LogisticUnitChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-033</SerialID> <SerialID>SN2-034</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForChangeOfStock> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsConsumptionForChangeOfStock>
<n0:GoodsAndActivityConfirmationGoodsChangeOfStockResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAECBA0FE924AE3D5A93396:804"> <GACDetails> <ExternalGACID>EID20160829001</ExternalGACID> <GACUUID>00163e07-3d62-1ed6-9fc8-98f20ee7f23a</GACUUID> <GACID>10953</GACID> </GACDetails> </n0:GoodsAndActivityConfirmationGoodsChangeOfStockResponse>
Description | Create goods and activity confirmations for project |
Name | DoGoodsConsumptionForProject |
Synchronous | yes |
Release Status | Released |
To create one or more Goods And Activity Confirmation for Goods Consumption for / Return from a Project using imported structured data.
The DoGoodsConsumptionForProject operation is used to create one or more Goods And Activity Confirmation for Goods Consumption for / Return from a Project using imported structured data.
The request message GoodsAndActivityConfirmationGoodsConsumptionForProject contains a GoodsAndActivityConfirmation node element as well as InventoryChangeItemGoodsConsumptionInformationForProject node element.
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 |
---|---|
ExternalID | External ID. This field is mandatory. |
SiteID | Site ID of the site where the stock is located. This field is mandatory. |
TransactionDateTime | Actual Execution datetime of movement. If it is not provided then system takes the current datetime. |
InventoryMovementDirectionCode | Goods Consumption for/Return from a Project. This field is mandatory. |
ProjectTaskKey | Project ID/Project Task ID belong to the same Company with the Site ID. This field is mandatory. |
Note:
Though External ID field is mandatory, it is not used in creation of Goods and Activity Confirmation. It is only used for error handling purpose that is if an error occurs in creation of Goods And Activity Confirmation for any of the record in input message, the error message will be thrown indicating the External ID for which it failed.
Possible values for InventoryMovementDirectionCode are '1' and '2'. Value '1' indicates Goods Consumption for a Project and '2' indicates Goods Return from a Project.
This node specifies the details of the stock to be consumed for a project from one logistics area along with the quantity. Following are the elements of this node:-
Element | Description |
---|---|
ExternalItemID | External Item ID. This is mandatory field. |
MaterialInternalID | Material ID of the stock in concern. This field is Mandatory. |
OwnerPartyInternalID | ID of the owner party. This field is Mandatory. |
InventoryRestrictedUseIndicator | Indicates whether the stock in concern is restricted or not. This field is Mandatory. |
InventoryStockStatusCode | Indicates whether the stock in concern is inspection stock or not. This field is Mandatory. |
IdentifiedStockID | Identified stock ID of stock in concern. |
LogisticsAreaID | Logistics area from where the goods is to be consumed. This field is Mandatory. |
ProjectStockType | Indicates whether the goods is returned to stock when doing the goods return from a project |
InventoryItemChangeQuantity | Material quantity of stock to be moved. |
LogisticUnitChangeQuantity | Logistics unit quantity of stock to be moved. |
InventoryItemChangeSerialNumber | If the product is serialized, the node is mandatory. Otherwise the node should be empty |
Note:
Significance of External Item ID is the same as that of External ID at root level explained above.
Possible values for InventoryRestrictedUseIndicator are 'true' and 'false'.
Possible values for InventoryStockStatusCode are '1' and ''. Value '1' indicates that the stock is in inspection and '' indicates that the stock is not in inspection.
Possible values for ProjectStockType are 'true' and 'false'.
If LogisticUnitChangeQuantity is specified then the conversion of Unit Of Measures for that material should be followed that is for 1 STD_PALLET = 20 EAs quantity in LogisticUnitChangeQuantity should be 1 or multiples and quanitity in InventoryItemChangeQuantity should be 20 or multiples.
The response message GoodsAndActivityConfirmationGoodsConsumptionForProjectResponse contains two nodes:
GACDetails
Log
The GACDetails displays the following information of the created Goods And Activity Confirmation:
Element | Description |
---|---|
ExternalGACID | The external ID specified in the request type |
GACUUID | Universally unique identifier of the Goods And Activity Confirmation created |
GACID | The Goods And Activity Confirmation ID created |
In addition, a log is also provided, which gives the details of errors encountered during the modifications, if any.
This interface operation supports extensibility.
Consumption for Project DCP132 with 1 EA of MCF-0001,in logistics area MC64920-50-10-01:
<n0:GoodsAndActivityConfirmationGoodsConsumptionForProject xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>EID20170804</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-08-02T12:00:00.1234567Z</TransactionDateTime> <InventoryMovementDirectionCode>1</InventoryMovementDirectionCode> <ProjectTaskKey> <TaskID>DCP458</TaskID> </ProjectTaskKey> <InventoryChangeItemGoodsConsumptionInformationForProject> <ExternalItemID>EID01</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN2</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <LogisticsAreaID>MC64920-40-10-40</LogisticsAreaID> <ProjectStockType/> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-011</SerialID> <SerialID>SN2-012</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForProject> </GoodsAndActivityConfirmation> <GoodsAndActivityConfirmation> <ExternalID>EID20170805</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-08-02T12:00:00.1234567Z</TransactionDateTime> <InventoryMovementDirectionCode>1</InventoryMovementDirectionCode> <ProjectTaskKey> <TaskID>DCP458</TaskID> </ProjectTaskKey> <InventoryChangeItemGoodsConsumptionInformationForProject> <ExternalItemID>EID01</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN2</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <LogisticsAreaID>MC64920-40-10-40</LogisticsAreaID> <ProjectStockType/> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-013</SerialID> <SerialID>SN2-014</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForProject> <InventoryChangeItemGoodsConsumptionInformationForProject> <ExternalItemID>EID02</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN3</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <LogisticsAreaID>MC64920-40-10-40</LogisticsAreaID> <ProjectStockType/> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN3-013</SerialID> <SerialID>SN3-014</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForProject> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsConsumptionForProject>
<n0:GoodsAndActivityConfirmationGoodsConsumptionForProjectResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAE042176D12A8CD931EFF0:804"> <GACDetails> <ExternalGACID>EID20160818</ExternalGACID> <GACUUID>00163e07-3d66-1ed6-9bb7-7b52d4767946</GACUUID> <GACID>9755</GACID> </GACDetails> </n0:GoodsAndActivityConfirmationGoodsConsumptionForProjectResponse>
Consumption for Project DCP132 with 1 Logistic Unit of SUPRIYA_MAT,in logistics area MC64920-40-10-07:
<n0:GoodsAndActivityConfirmationGoodsConsumptionForProject xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>EID20160918</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2016-09-15T12:00:00.1234567Z</TransactionDateTime> <InventoryMovementDirectionCode>1</InventoryMovementDirectionCode> <ProjectTaskKey> <TaskID>DCP132</TaskID> </ProjectTaskKey> <InventoryChangeItemGoodsConsumptionInformationForProject> <ExternalItemID>EID01</ExternalItemID> <MaterialInternalID>SUPRIYA_MAT</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID>SUPRIYA_IS_2</IdentifiedStockID> <LogisticsAreaID>MC64920-40-10-07</LogisticsAreaID> <ProjectStockType/> <LogisticUnitChangeQuantity> <LogisticUnitID>SUPRIYA_LU</LogisticUnitID> <Quantity unitCode="EA">1</Quantity> </LogisticUnitChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN3-013</SerialID> <SerialID>SN3-014</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForProject> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsConsumptionForProject>
<n0:GoodsAndActivityConfirmationGoodsConsumptionForProjectResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAE042176D12A8CD931EFF0:804"> <GACDetails> <ExternalGACID>EID20160918</ExternalGACID> <GACUUID>00163e07-3d62-1ed6-9fc8-858743c3f201</GACUUID> <GACID>10952</GACID> </GACDetails> </n0:GoodsAndActivityConfirmationGoodsConsumptionForProjectResponse>
Description | Create goods and activity confirmations for goods scrapping |
Name | DoGoodsScrappingGoodsAndActivityConfirmation |
Synchronous | yes |
Release Status | Released |
To create one or more Goods And Activity Confirmation for Goods Scrapping using imported structured data.
The DoGoodsScrappingGoodsAndActivityConfirmation operation is used to create one or more Goods And Activity Confirmation for Goods Scrapping using imported structured data.
The request message GoodsAndActivityConfirmationGoodsScrapping contains a GoodsAndActivityConfirmation node element as well as InventoryChangeItemGoodsInformation node element.
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 |
---|---|
ExternalID | External ID. This field is mandatory. |
SiteID | Site ID of the site where the stock is located. This field is mandatory. |
TransactionDateTime | Actual Execution datetime of movement. If it is not provided then system takes the current datetime. |
CostCenterID | Cost Center ID belongs to the same Company with the Site ID. |
Note:
Though External ID field is mandatory, it is not used in creation of Goods and Activity Confirmation. It is only used for error handling purpose that is if an error occurs in creation of Goods And Activity Confirmation for any of the record in input message, the error message will be thrown indicating the External ID for which it failed.
This node specifies the details of the stock to be scrapped from one logistics area along with the quantity. Following are the elements of this node:-
Element | Description |
---|---|
ExternalItemID | External Item ID. This is mandatory field. |
MaterialInternalID | Material ID of the stock in concern. This field is Mandatory. |
OwnerPartyInternalID | ID of the owner party. This field is Mandatory. |
InventoryRestrictedUseIndicator | Indicates whether the stock in concern is restricted or not. This field is Mandatory. |
InventoryStockStatusCode | Indicates whether the stock in concern is inspection stock or not. This field is Mandatory. |
IdentifiedStockID | Identified stock ID of stock in concern. |
SourceLogisticsAreaID | Logistics area from where the stock is to be moved. This field is Mandatory. |
InventoryItemChangeQuantity | Material quantity of stock to be moved. |
LogisticUnitChangeQuantity | Logistics unit quantity of stock to be moved. |
InventoryItemChangeSerialNumber | If the product is serialized, the node is mandatory. Otherwise the node should be empty |
Note:
Significance of External Item ID is same as that of External ID at root level explained above.
Possible values for InventoryRestrictedUseIndicator are 'true' and 'false'.
Possible values for InventoryStockStatusCode are '1' and ''. Value '1' indicates that the stock is in inspection and '' indicates that the stock is not in inspection.
If LogisticUnitChangeQuantity is specified then the conversion of Unit Of Measures for that material should be followed that is for 1 STD_PALLET = 20 EAs quantity in LogisticUnitChangeQuantity should be 1 or multiples and quanitity in InventoryItemChangeQuantity should be 20 or multiples.
The response message GoodsAndActivityConfirmationGoodsMovementResponse contains two nodes:
GACDetails
Log
The GACDetails displays the following information of the created Goods And Activity Confirmation:
Element | Description |
---|---|
ExternalGACID | The external ID specified in the request type |
GACUUID | Universally unique identifier of the Goods And Activity Confirmation created |
In addition, a log is also provided, which gives the details of errors encountered during the modifications, if any.
This interface operation supports extensibility.
Confirmation for scrapping 2 serial numbers of product SP_CALIFF_SN2 from logistics area MC64920-40-10-40:
<n0:GoodsAndActivityConfirmationGoodsScrapping xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>EID20170804</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-08-02T12:00:00.1234567Z</TransactionDateTime> <CostCenterID>MC10000</CostCenterID> <InventoryChangeItemGoodsInformation> <ExternalItemID>EID01</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN2</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <SourceLogisticsAreaID>MC64920-40-10-40</SourceLogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-021</SerialID> <SerialID>SN2-022</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsInformation> </GoodsAndActivityConfirmation> <GoodsAndActivityConfirmation> <ExternalID>EID20170805</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-08-02T12:00:00.1234567Z</TransactionDateTime> <CostCenterID>MC10000</CostCenterID> <InventoryChangeItemGoodsInformation> <ExternalItemID>EID01</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN2</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <SourceLogisticsAreaID>MC64920-40-10-40</SourceLogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-023</SerialID> <SerialID>SN2-024</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsInformation> <InventoryChangeItemGoodsInformation> <ExternalItemID>EID02</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN3</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <SourceLogisticsAreaID>MC64920-40-10-40</SourceLogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN3-023</SerialID> <SerialID>SN3-024</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsInformation> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsScrapping>
<nm:GoodsAndActivityConfirmationGoodsScrappingResponse xmlns:nm="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAED729A664E3DE24931E28:804""> <GACIDs> <ExternalGACID>EXT1</ExternalGACID> <GACUUID>00163e02-870c-1ee2-ae8c-2464ae4158c6</GACUUID> </GACIDs> <Log> <MaximumLogItemSeverityCode>2</MaximumLogItemSeverityCode> <Item> <TypeID>048(/CFM_MESSAGES/)</TypeID> <CategoryCode>INC.BOI</CategoryCode> <SeverityCode>2</SeverityCode> <Note>Identified Stock expired or not active</Note> </Item> <Item> <TypeID>048(/CFM_MESSAGES/)</TypeID> <CategoryCode>INC.BOI</CategoryCode> <SeverityCode>2</SeverityCode> <Note>Identified Stock expired or not active</Note> </Item> </Log> </nm:GoodsAndActivityConfirmationGoodsMovementResponse>
Release | Change Description | Details |
1902 | CostCenterID added | CostCenterID added to the web service, documentation enhancement, request structure enhanced with CostCenterID |
Description | Create goods and activity confirmations for cost center |
Name | DoGoodsConsumptionForCostCenter |
Synchronous | yes |
Release Status | Released |
To create one or more Goods And Activity Confirmation for Goods Consumption for / Return from a Cost Center using imported structured data.
The DoGoodsConsumptionForCostCenter operation is used to create one or more Goods And Activity Confirmation for Goods Consumption for / Return from a Cost Center using imported structured data.
The request message GoodsAndActivityConfirmationGoodsConsumptionForCostCenter contains a GoodsAndActivityConfirmation node element as well as InventoryChangeItemGoodsConsumptionInformationForCostCenter node element.
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 |
---|---|
ExternalID | External ID. This field is mandatory. |
SiteID | Site ID of the site where the stock is located. This field is mandatory. |
TransactionDateTime | Actual Execution datetime of movement. If it is not provided then system takes the current datetime. |
InventoryMovementDirectionCode | Goods Consumption for/Return from a Cost Center. This field is mandatory. |
CostCenterID | Cost Center ID belong to the same Company with the Site ID. This field is mandatory. |
Note:
Though External ID field is mandatory, it is not used in creation of Goods and Activity Confirmation. It is only used for error handling purpose that is if an error occurs in creation of Goods And Activity Confirmation for any of the record in input message, the error message will be thrown indicating the External ID for which it failed.
Possible values for InventoryMovementDirectionCode are '1' and '2'. Value '1' indicates Goods Consumption for a Cost Center and '2' indicates Goods Return from a Cost Center.
This node specifies the details of the stock to be consumed for a cost center from one logistics area along with the quantity. Following are the elements of this node:-
Element | Description |
---|---|
ExternalItemID | External Item ID. This is mandatory field. |
MaterialInternalID | Material ID of the stock in concern. This field is Mandatory. |
OwnerPartyInternalID | ID of the owner party. This field is Mandatory. |
InventoryRestrictedUseIndicator | Indicates whether the stock in concern is restricted or not. This field is Mandatory. |
InventoryStockStatusCode | Indicates whether the stock in concern is inspection stock or not. This field is Mandatory. |
IdentifiedStockID | Identified stock ID of stock in concern. |
LogisticsAreaID | Logistics area from where the goods is to be consumed. This field is Mandatory. |
InventoryItemChangeQuantity | Material quantity of stock to be moved. |
LogisticUnitChangeQuantity | Logistics unit quantity of stock to be moved. |
InventoryItemChangeSerialNumber | If the product is serialized, the node is mandatory. Otherwise the node should be empty |
Note:
Significance of External Item ID is the same as that of External ID at root level explained above.
Possible values for InventoryRestrictedUseIndicator are 'true' and 'false'.
Possible values for InventoryStockStatusCode are '1' and ''. Value '1' indicates that the stock is in inspection and '' indicates that the stock is not in inspection.
If LogisticUnitChangeQuantity is specified then the conversion of Unit Of Measures for that material should be followed that is for 1 STD_PALLET = 20 EAs quantity in LogisticUnitChangeQuantity should be 1 or multiples and quanitity in InventoryItemChangeQuantity should be 20 or multiples.
The response message GoodsAndActivityConfirmationGoodsConsumptionForCostCenterResponse contains two nodes:
GACDetails
Log
The GACDetails displays the following information of the created Goods And Activity Confirmation:
Element | Description |
---|---|
ExternalGACID | The external ID specified in the request type |
GACUUID | Universally unique identifier of the Goods And Activity Confirmation created |
GAC_ID | The Goods And Activity Confirmation ID created |
In addition, a log is also provided, which gives the details of errors encountered during the modifications, if any.
This interface operation supports extensibility.
Consumption for Cost Center MC21000 with 1 EA of MCF-0001,in logistics area MC64920-50-10-01:
<n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenter xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>CALIFF_A2X1</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-07-24T12:00:00.1234567Z</TransactionDateTime> <InventoryMovementDirectionCode>1</InventoryMovementDirectionCode> <CostCenterID>MC10000</CostCenterID> <InventoryChangeItemGoodsConsumptionInformationForCostCenter> <ExternalItemID>CALIFF_1</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN2</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <LogisticsAreaID>MC64920-40-10-40</LogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-001</SerialID> <SerialID>SN2-002</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForCostCenter> </GoodsAndActivityConfirmation> <GoodsAndActivityConfirmation> <ExternalID>CALIFF_A2X2</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2017-07-24T12:00:00.1234567Z</TransactionDateTime> <InventoryMovementDirectionCode>1</InventoryMovementDirectionCode> <CostCenterID>MC10000</CostCenterID> <InventoryChangeItemGoodsConsumptionInformationForCostCenter> <ExternalItemID>CALIFF_1</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN2</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <LogisticsAreaID>MC64920-40-10-40</LogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN2-003</SerialID> <SerialID>SN2-004</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForCostCenter> <InventoryChangeItemGoodsConsumptionInformationForCostCenter> <ExternalItemID>CALIFF_2</ExternalItemID> <MaterialInternalID>SP_CALIFF_SN3</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID/> <LogisticsAreaID>MC64920-40-10-40</LogisticsAreaID> <InventoryItemChangeQuantity> <Quantity unitCode="EA">2</Quantity> <QuantityTypeCode>EA</QuantityTypeCode> </InventoryItemChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN3-003</SerialID> <SerialID>SN3-004</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForCostCenter> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenter>
<n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenterResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAE120D97AC43198FB262AE:804"> <GACDetails> <ExternalGACID>EID2016081701</ExternalGACID> <GACUUID>00163e07-3d66-1ed6-9bb7-4109fd3618b7</GACUUID> <GACID>9754</GACID> </GACDetails> </n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenterResponse>
Consumption for Cost Center MC21000 with 1 Logistic Unit of SUPRIYA_MAT,in logistics area MC64920-40-10-07:
<n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenter xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> <GoodsAndActivityConfirmation> <ExternalID>EID2016091701</ExternalID> <SiteID>MC64000</SiteID> <TransactionDateTime>2016-09-16T12:00:00.1234567Z</TransactionDateTime> <InventoryMovementDirectionCode>1</InventoryMovementDirectionCode> <CostCenterID>MC21000</CostCenterID> <InventoryChangeItemGoodsConsumptionInformationForCostCenter> <ExternalItemID>EIDI01</ExternalItemID> <MaterialInternalID>SUPRIYA_MAT</MaterialInternalID> <OwnerPartyInternalID>1000020</OwnerPartyInternalID> <InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator> <InventoryStockStatusCode/> <IdentifiedStockID>SUPRIYA_IS_2</IdentifiedStockID> <LogisticsAreaID>MC64920-40-10-07</LogisticsAreaID> <LogisticUnitChangeQuantity> <LogisticUnitID>SUPRIYA_LU</LogisticUnitID> <Quantity unitCode="EA">1</Quantity> </LogisticUnitChangeQuantity> <InventoryItemChangeSerialNumber> <SerialID>SN3-003</SerialID> <SerialID>SN3-004</SerialID> </InventoryItemChangeSerialNumber> </InventoryChangeItemGoodsConsumptionInformationForCostCenter> </GoodsAndActivityConfirmation> </n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenter>
<n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenterResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:ACL:/1SAI/TAE120D97AC43198FB262AE:804"> <GACDetails> <ExternalGACID>EID2016081701</ExternalGACID> <GACUUID>00163e07-3d66-1ed6-9bb7-4109fd3618b7</GACUUID> <GACID>9754</GACID> </GACDetails> </n0:GoodsAndActivityConfirmationGoodsConsumptionForCostCenterResponse>