Find Inventory By Elements
To find specific inventory using elements as search criteria.
Entity Type |
Service Operation |
released |
|
InventoryByElementsQueryResponse_In |
|
http://sap.com/xi/EWM/Global |
|
SCM-EWM |
|
Web Service Definition (Back End) |
/SCWM/BIF_INV_QR |
B2B |
|
inbound |
|
synchronous |
|
no |
|
not applicable |
|
true |
The Find Inventory By Elements
inbound operation finds inventory by using elements as search criteria. You can use this operation to find inventory in a specific
warehouse.
The Find Inventory By Elements
request message accepts complex selection criteria that can include the following elements:
WarehouseID or StorageBinID (LogisticAreaID element)
Means of transportation or user (ResourceID element)
You can also include one or more entries for the following elements:
Product (ProductInternalID element)
Location-independent stock type (InventoryUsabilityCode element)
Availability group (UserInventoryAvailabilityCheckScopeCode element)
Stock usage (InventorySpecialStockTypeCode element)
Owner (OwnerInternalID element)
Party entitled to dispose (EntitledToDisposeInternalID element)
In addition, you can use the following indicators to delimit your search:
Setting the CustomsBlockedIndicator will limit the inventory selection to the stock type role Customs Blocked Stock.
Setting the ScrappedIndicator will limit the inventory selection to the stock type role Scrapping Stock.
If you set neither the CustomsBlockedIndicator nor the ScrappedIndicator, the inventory selection will be lmited to the stock type role Normal Stock.
If you set the both CustomsBlockedIndicator and the ScrappedIndicator, the inventory selection will be limited to the stock type role Scrapping Stock.
If successful, the operation returns a log along with all of the details of the inventory found that matches the search criteria. If unsuccessful, the operation returns a log with error details.
If the selected Inventory is of type Sales Order Stock, the sales order numbert is retrieved as SalesOrderID, and the corresponding sales order item is retrieved as SalesOrderItemID.
If the selected Inventory is of type Project Stock, the project number is retrieved as ProjectWorkBreakdownStructureElementID.
For inventory subject to quality inspection, the inspection document is retrieved as MaterialInspectionID for inventory subject to complete inspection, or as MaterialInspectionItemID for inventory subject to sampling inspection.
InventoryByElementsQuery_sync
InventoryByElementsResponse_sync
The BAdI for InventoryQueryResponse
(/SCWM/INV_BIF_QR) Business Add-In (BAdI) is available for this operation.