Inbound Service Query Production Bill of Operations
Overview
| Description | Query Production Bill of Operations |
| Name | QueryProductionBillofOperationsIn |
| Namespace | http://sap.com/xi/A1S/Global |
| Product | SAP Business ByDesign |
| Process component | Production Model Management |
| Process component namespace | http://sap.com/xi/AP/PC/ProductionModelProcessing/Global |
| Deployment unit | Foundation |
| Endpoint Activation | By Scoping of Process Component |
Operations | - Production bill of operation query by elements
- Production bill of operation query by resource
|
Public Solution Model
| Release Status | Not Released |
Related Resources
Documentation
Definition
An interface to query production bill of operations.
Business Context and Use
The web service interface offers the operation QueryProductionBillOfOperationsByElements and QueryProductionBillOfOperationsByResourceID.
Prerequisites
Due to the stateless behavior of A2X service operations, it is not possible to enforce any kind of transactional or logical locking. Despite this, clients may be required to enforce that a modifying operation is not executed because the state of the underlying business object instance in the database has changed since the client read its data.
You can find general information about Web services, their structure and consumption in the Web Services documentation.
Operation Production bill of operation query by elements
Overview
| Description | Production bill of operation query by elements |
| Name | QueryProductionBillOfOperationsByElements |
| Synchronous | yes |
Public Solution Model
Documentation
Definition
To query Production Bill Of Operations.
Business Context and Use
The QueryProductionBillOfOperationsByElements operation querys the data of one or more Production Bill Of Operations.
Structure
Response Type
ProductionBillOfOperation
The ProductionBillOfOperation contains general information.
The following are the attributes and elements of the ProductionBillOfOperation.
Elements in Request XML
| Elements |
Description |
| SelectionByProductionBillOfOperationID |
Identifier for a Production Bill Of Operation |
| SelectionByProductionBillOfOperationDescription |
Description for a Production Bill Of Operation |
| SelectionByProductionBillOfOperationProductID |
Identifier for a Product |
| SelectionByProductionBillOfOperationCreationDateTime |
Creation Date Time for a Production Bill Of Operation |
| SelectionByProductionBillOfOperationSiteID |
Identifier for a Site |
This is a coded representation of Selection Criteria.
| Inclusion/Exclusion Code Value |
Description |
| I |
Including |
| E |
Excluding |
| Interval Boundary Type Code Value |
Description |
| 1 |
Equal To |
| 2 |
Between (exclude upper boundary) |
| 3 |
Between |
| 4 |
Between (exclude both boundaries) |
| 5 |
Between (exclude lower boundary) |
| 6 |
Less Than |
| 7 |
Less Than or Equal to |
| 8 |
Greater Than |
| 9 |
Greater Than or Equal to |
Elements in Response XML
| Elements |
Description |
| ProductionBillOfOperationID |
Identifier for a Production Bill Of Operation |
| ProductionBillOfOperationDescription |
Description for a Production Bill Of Operation |
| SiteID |
Identifier for a Site |
| SiteName |
Site Name |
| BaseQuantity |
Quantity |
| BaseQuantityTypeCode |
Quantity Type Code |
| LogisticsTaskGenerationStrategyCode |
Task Generation Method |
| LogisticsTaskAutomaticOutputRuleCode |
Automatic Task Printing |
| LogisticsOrderAutomaticOutputRuleCode |
Automatic Order Printing |
| SupplyToProductionEnabledIndicator |
Supply to Production |
| PlanningConsistencyStatusCode |
Planning Consistency Status |
| ExecutionConsistencyStatusCode |
Execution Consistency Status |
| SystemAdministrativeData |
System Administrative Data |
This is a coded representation of Task Generation Method.
| Task Generation Method Code |
Description |
| 1 |
Activity |
| 2 |
Operation |
| 3 |
Activity including Reporting Points |
| 4 |
Operation including Reporting Point |
| 5 |
Reporting Point including Operations and Activities |
| 6 |
Reporting Point and all Operations |
| 7 |
Reporting Point and all Activities |
This is a coded representation of Automatic Task Printing.
| Automatic Task Printing Code |
Description |
| 1 |
On Creation |
| 2 |
On Start |
This is a coded representation of Automatic Order Printing.
| Automatic Order Printing Code |
Description |
| 1 |
On Creation |
| 2 |
On Start |
| 3 |
On Release |
This is a coded representation of Consistency Status Code.
| Consistency Status Code |
Description |
| 1 |
Check Pending |
| 2 |
Inconsistent |
| 3 |
Consistent |
Example
Here is an example of a web service request to query an existing production bill of operation:
<n0:ProductionBOOByElementQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
-<ProductionBillOfOperationSelectionByElements>
-<SelectionByProductionBillOfOperationID>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryID>MCA0009-BO02-MX04</LowerBoundaryID>
</SelectionByProductionBillOfOperationID>
</ProductionBillOfOperationSelectionByElements>
-<ProcessingConditions>
<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>
<QueryHitsUnlimitedIndicator></QueryHitsUnlimitedIndicator>
</ProcessingConditions>
</n0:ProductionBOOByElementQuery_sync>
Operation Production bill of operation query by resource
Overview
| Description | Production bill of operation query by resource |
| Name | QueryProductionBillOfOperationsByResourceID |
| Synchronous | yes |
Public Solution Model
Documentation
Definition
To query Production Bill Of Operations.
Business Context and Use
The QueryProductionBillOfOperationsByResourceID operation querys the data of one or more Production Bill Of Operations.
Structure
Response Type
ProductionBillOfOperation
The ProductionBillOfOperation contains general information.
The following are the attributes and elements of the ProductionBillOfOperation.
Elements in Request XML
| Elements |
Description |
| SelectionByProductionBillOfOperationResID |
Identifier for a Resource |
This is a coded representation of Selection Criteria.
| Inclusion/Exclusion Code Value |
Description |
| I |
Including |
| E |
Excluding |
| Interval Boundary Type Code Value |
Description |
| 1 |
Equal To |
| 2 |
Between (exclude upper boundary) |
| 3 |
Between |
| 4 |
Between (exclude both boundaries) |
| 5 |
Between (exclude lower boundary) |
| 6 |
Less Than |
| 7 |
Less Than or Equal to |
| 8 |
Greater Than |
| 9 |
Greater Than or Equal to |
Elements in Response XML
| Elements |
Description |
| ProductionBillOfOperationID |
Identifier for a Production Bill Of Operation |
| ProductionBillOfOperationDescription |
Description for a Production Bill Of Operation |
| SiteID |
Identifier for a Site |
| SiteName |
Site Name |
| BaseQuantity |
Quantity |
| BaseQuantityTypeCode |
Quantity Type Code |
| LogisticsTaskGenerationStrategyCode |
Task Generation Method |
| LogisticsTaskAutomaticOutputRuleCode |
Automatic Task Printing |
| LogisticsOrderAutomaticOutputRuleCode |
Automatic Order Printing |
| SupplyToProductionEnabledIndicator |
Supply to Production |
| PlanningConsistencyStatusCode |
Planning Consistency Status |
| ExecutionConsistencyStatusCode |
Execution Consistency Status |
| SystemAdministrativeData |
System Administrative Data |
This is a coded representation of Task Generation Method.
| Task Generation Method Code |
Description |
| 1 |
Activity |
| 2 |
Operation |
| 3 |
Activity including Reporting Points |
| 4 |
Operation including Reporting Point |
| 5 |
Reporting Point including Operations and Activities |
| 6 |
Reporting Point and all Operations |
| 7 |
Reporting Point and all Activities |
This is a coded representation of Automatic Task Printing.
| Automatic Task Printing Code |
Description |
| 1 |
On Creation |
| 2 |
On Start |
This is a coded representation of Automatic Order Printing.
| Automatic Order Printing Code |
Description |
| 1 |
On Creation |
| 2 |
On Start |
| 3 |
On Release |
This is a coded representation of Consistency Status Code.
| Consistency Status Code |
Description |
| 1 |
Check Pending |
| 2 |
Inconsistent |
| 3 |
Consistent |
Example
Here is an example of a web service request to query an existing production bill of operation:
<n0:ProductionBOOByResourceQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
-<ProductionBillOfOperationSelectionByResourceID>
-<SelectionByProductionBillOfOperationResID>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryResourceID schemeAgencyID="Token 4" schemeID="Token 3">MCCM-WAM101-DF03</LowerBoundaryResourceID>
</SelectionByProductionBillOfOperationResID>
</ProductionBillOfOperationSelectionByResourceID>
-<ProcessingConditions>
<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>
<QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator>
</ProcessingConditions>
</n0:ProductionBOOByResourceQuery_sync>