Professional Documents
Culture Documents
PUBLIC
Warning
This document has been generated from the SAP Help Portal and is an incomplete version of the official SAP product
documentation. The information included in custom documentation may not re ect the arrangement of topics in the SAP Help
Portal, and may be missing important aspects and/or correlations to other topics. For this reason, it is not for productive use.
This is custom documentation. For more information, please visit the SAP Help Portal 1
1/30/2023
Purchase Order
Use
Technical name: API_PURCHASEORDER_PROCESS_SRV
The service is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces.
The OData service supports the purchase order type Standard ("NB") and any customer-de ned purchase order type ("ZNB*")
that has been copied with all dependent entries from purchase order type "NB".
Subcontracting 3 L
Third- Party 5 S
Consignment 2 K
* Enter the required purchase order item category using the internal symbol.
** The external symbol is displayed, for example, in the app Create Purchase Order - Advanced.
This service is published on the SAP API Business Hub. For more information about APIs, see APIs on SAP API Business Hub.
Service Structure
The data model of the OData service contains header, item, account assignment, schedule line (including subcontracting), and
pricing nodes.
Create: The information is sent in the request as a payload. All information is used when creating a purchase order,
including appropriate checks for restricted values and authorizations. Once the purchase order has been created, the
purchase order number is sent in the response with the data included in the purchase order. If there are any issues when
the purchase order is created, the system displays error messages in the response. Note that the action can be
executed to create a purchase order or a purchase order item.
External number assignment is available for the creation of purchase order items. If the number of the purchase order
item is not de ned externally, it is generated automatically.
Update: All information is sent in the request as a payload via a single or batch call, and is updated to the existing
purchase order with the appropriate checks in place for restricted values and authorizations. If the request is a batch call
This is custom documentation. For more information, please visit the SAP Help Portal 2
1/30/2023
which comprises one or more change sets, then each change set must contain information related to one purchase
order. In each change set, use PATCH or MERGE to update an existing service node and POST to create a new service
node, namely a purchase order, purchase order item, schedule line, or an account assignment line.
If account assignment lines or delivery schedule lines are updated, mutual dependencies must be taken into account.
Updates can only be made via a batch call because the quantity or value speci cations must be rebalanced.
Note
You cannot clear the deletion indicator of a purchase order item by using a PATCH or MERGE call.
If the eld <OrderQuantity> of the item node needs to be updated, the following applies:
If the purchase order item contains only a single schedule line, you can change the quantity on item level.
If the purchase order item contains several schedule lines, you have to change the quantity on schedule line level.
this must be done using the schedule line eld <ScheduleLineOrderQuantity> of the schedule line node.
Once the single or batch call has been submitted, the success response has the status 200 or 202. For a batch call with
an individual change set response, you receive the message Purchase order has been updated, or a failure response with
self-explanatory messages with status 400.
Delete: Deletion in purchase orders does not result in a deletion of the object in the database. Instead, a deletion
indicator is set on the service node. Deletion is handled as part of the update operation in a batch call. Delete is
supported only for the purchase order and purchase order item. Only archiving results in the physical deletion of these
objects.
Note
Items marked for deletion cannot be read, or changed/updated. They are considered as if they do not exist, as if they
were physically deleted. The DELETE operation is not reversible by the service. If you want to undo a delete operation,
you can use the app Manage Purchase Orders, which supports the UNDO operation by clearing the deletion indicator.
The Odata service supports operations both in single and in batch. Single mode can be used for creating a purchase order or for
minor changes (that is for changes to data that are not interdependent with other data). Batch mode must be used for complex
changes (that is for changes to data that affect related data).
This is custom documentation. For more information, please visit the SAP Help Portal 3
1/30/2023
Batch Operations*/**
Note
* Using POST/DELETE in single mode to create or delete an A_PurOrdAccountAssignment entity will most likely lead to an
inconsistent purchase order item, and thus to an error in the purchase order. Therefore, such changes should normally
always be performed in batch mode, where POST/DELETE of A_PurOrdAccountAssignment is accompanied to PATCH or
MERGE of the A_PurchaseOrderItem entity.
** If the quantity or value of an account assignment line is updated, this affects the other account assignment lines. In this
case, the PATCH or MERGE operation should therefore also be executed in batch mode.
The service message header contains information, for example, on the service, the content type (application/json,
application/xml), the involved sender and receiver as well as date and time.
Entities
A_PurchaseOrderNote Header note information for purchase order Header Notes (A_PurchaseOrderNote)
This is custom documentation. For more information, please visit the SAP Help Portal 4
1/30/2023
A_PurchaseOrderItemNote Item note information for purchase order Item Notes (A_PurchaseOrderItemNote)
Input Validation
Static Field Control: The program checks the incoming payload for elds that are de ned as read-only elds in the data
model, for example the currency eld on item level. If such elds are lled, the incoming values are cleared. This applies
to the POST as well as to the PATCH or MERGE scenario.
Dynamic Field Control: A dynamic eld control has been established for elds whose status is dependent on the entry of
other elds or on the con guration settings for the eld control. For example, if a purchase order has several schedule
lines, the Quantity eld on item level is read-only. Another example: If a certain company code has been selected on
header level, only certain assigned plants are allowed on item level. If the service tries to set an invalid value in such a
dependent eld, the system rejects it and informs the user with a warning or an error message depending on the entity
type.
Handling of Info Messages and Warnings: In the sap-message container in the reponse header, the end user receives also
warnings and info messages that occurred when the OData service has been processed, regardless of whether it is in
single mode or in batch mode. The warnings include tolerable warnings as well as such warnings that hinder the creation
or the update of a purchase order.
Default Address Data: Missing address data can be determined or completed by the system according to standard
business logic. The following applies, for example:
The system determines the address data in the purchase order header from the supplier master data.
The system determines the delivery address of the purchase order item from the plant/storage locaction (if
de ned).
Service Response
Parameter Description
Purchase order number Purchase order number which is created by the service is returned
in response to the successful creation
This is custom documentation. For more information, please visit the SAP Help Portal 5
1/30/2023
Parameter Description
Purchase order header details Newly created purchase order header details
Message class: APPL_MM_PUR_PO, message no. 011 You are not authorized to create purchase orders
Message class: APPL_MM_PUR_PO, message no. 064 Use purchase order type "Standard" ("NB") or a type copied from
“NB”.
Diagnosis
Procedure
Message class: APPL_MM_PUR_PO, message no. 065 Use a supported purchase order item category for item &. See long
text.
Diagnosis
You have either chosen a purchase order item category that is not
supported, or you have used a wrong symbol.
Procedure
Standard: 0
Subcontracting: 3
Third-Party: 5
Enhanced Limit: A
Message class: APPL_MM_PUR_PO, message no. 067 Schedule line has been created automatically for item &
Response(Success) Purchase order “Purchase Order number” has been updated with
status 200 at change set level.
Message class: APPL_MM_PUR_PO, message no. 069 Only one request is allowed in change set
Message class: APPL_MM_PUR_PO, message no. 070 Only PATCH or MERGE operation is allowed in batch call
Message class: APPL_MM_PUR_PO, message no. 072 You can only update one purchase order per change set
Constraints
This is custom documentation. For more information, please visit the SAP Help Portal 6
1/30/2023
With this service, it is not possible to:
1. Create:
Purchase orders with a category other than those speci ed for the header and item.
Purchase order items with a category other than Standard, Subcontracting, Third-Party, and Enhanced Limit .
Only authorized roles can be used to create purchase orders through an API call. Authorized objects: M_BEST_BSA.
2. Update:
Use PUT and MERGE or PATCH, and HEAD in the OData call URL. Only POST, PATCH or MERGE, and DELETE are
allowed with the Batch URL. Using other actions will result in an error.
Update more than one purchase order within one change set. Only one purchase order can be updated in a single
change set. If you would like to update multiple purchase orders, provide the update information of one purchase
order per change set.
Create a new service node (except a purchase order item) in an existing document.
Only authorized roles can be used to update purchase orders through an API call.
3. Get:
You set the paging size up to 5000 records using the following OData request:
Example
/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder?$top=5000
/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder?
$expand=to_PurchaseOrderItem&$ lter=CreationDate gt datetime'2021-04-24T00:00:00'&$top=5000
Note
With release SAP S/4HANA Cloud 2105, <clauses>-limit = 1000 was introduced for performance reasons in
API_PURCHASEORDER_PROCESS_SRV.
The default paging size (D) = 1000 if the client did not provide $top.
The maximum paging size (M) = 5000 if the client offers $top.
4. Post:
To transfer pricing values 1:1 from an external system as some values are calculated automatically and IDs are
generated. Regarding the pricing details, the OData service contains elds with "Necessity": read-only, which are
not lled during a Post request.
If migrating from one system to another, it is recommended to use the same pricing procedure in the source and
the target system, to ensure that pricing results are the same. If rounding pro les are maintained (material
master, MRT1 tab), do not send condition data in the Post request as a payload.
Related Events
Purchase Order Events
Authentication
This is custom documentation. For more information, please visit the SAP Help Portal 7
1/30/2023
The following authentication methods are supported:
Basic Authentication
Additional Information
The link to the API on the SAP API Business Hub: Purchase Order
Note
For more details about Communication Management, see Communication Management.
Note
If you have requirements for the interface that go beyond the current scope of functions, you can submit an improvement
request here:
https://in uence.sap.com/sap/ino/
Here, other customers can also vote for your request. Once your improvement request has reached a de ned voting threshold,
it will be reviewed and evaluated by SAP.
This is custom documentation. For more information, please visit the SAP Help Portal 8
1/30/2023
Request
You can include the following properties in the URL of the request:
PurchaseOrder Mandatory -
Response
The operation returns the data of a single purchase order.
Examples
Request
GET <host>/sap/opu/odata/SAP/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder('4500100268')?$expand=to
Content-Type: application/json
Response
Sample Code
{
"d" : {
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/SAP/API_PURCHASEORDER_PROCESS_SRV
"uri" : "https://host:port/sap/opu/odata/SAP/API_PURCHASEORDER_PROCESS_SR
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderType"
},
"PurchaseOrder" : "4500100268",
"CompanyCode" : "0001",
"PurchaseOrderType" : "NB",
"PurchasingDocumentDeletionCode" : "",
"PurchasingProcessingStatus" : "05",
"CreatedByUser" : "YOURNAME",
"CreationDate" : "\/Date(1561420800000)\/",
"LastChangeDateTime" : "\/Date(1561476266788+0000)\/",
"Supplier" : "YOURSUPPLIER",
"PurchaseOrderSubtype" : "",
"Language" : "EN",
"PaymentTerms" : "0002",
"CashDiscount1Days" : "14",
"CashDiscount2Days" : "30",
"NetPaymentDays" : "0",
"CashDiscount1Percent" : "2.000",
"CashDiscount2Percent" : "0.500",
"PurchasingOrganization" : "0001",
"PurchasingDocumentOrigin" : "9",
"PurchasingGroup" : "001",
"PurchaseOrderDate" : "\/Date(1561420800000)\/",
"DocumentCurrency" : "EUR",
"ExchangeRate" : "1.00000",
"ValidityStartDate" : null,
"ValidityEndDate" : null,
"SupplierQuotationExternalID" : "",
"SupplierRespSalesPersonName" : "",
"SupplierPhoneNumber" : "",
"SupplyingSupplier" : "",
This is custom documentation. For more information, please visit the SAP Help Portal 9
1/30/2023
"SupplyingPlant" : "",
"IncotermsClassification" : "CIF",
"CorrespncExternalReference" : "",
"CorrespncInternalReference" : "",
"InvoicingParty" : "",
"ReleaseIsNotCompleted" : false,
"PurchasingCompletenessStatus" : false,
"IncotermsVersion" : "",
"IncotermsLocation1" : "Hamburg",
"IncotermsLocation2" : "",
"ManualSupplierAddressID" : "",
"IsEndOfPurposeBlocked" : "",
"AddressCityName" : "",
"AddressFaxNumber" : "",
"AddressHouseNumber" : "",
"AddressName" : "",
"AddressPostalCode" : "",
"AddressStreetName" : "",
"AddressPhoneNumber" : "",
"AddressRegion" : "",
"AddressCountry" : "",
"AddressCorrespondenceLanguage" : "",
"to_PurchaseOrderItem" : {
"to_PurchaseOrderItem" : {
"results" : [
{
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/SAP/API_P
"uri" : "https://host:port/sap/opu/odata/SAP/API_
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_Purchas
},
"PurchaseOrder" : "4500100268",
"PurchaseOrderItem" : "10",
"PurchasingDocumentDeletionCode" : "",
"PurchaseOrderItemText" : "SEMI FINISHED",
"Plant" : "0001",
"StorageLocation" : "",
"MaterialGroup" : "00216",
"PurchasingInfoRecord" : "",
"SupplierMaterialNumber" : "",
"OrderQuantity" : "4",
"PurchaseOrderQuantityUnit" : "CRT",
"OrderPriceUnit" : "CRT",
"OrderPriceUnitToOrderUnitNmrtr" : "1",
"OrdPriceUnitToOrderUnitDnmntr" : "1",
"DocumentCurrency" : "EUR",
"NetPriceAmount" : "12.00",
"NetPriceQuantity" : "1",
"TaxCode" : "",
"PriceIsToBePrinted" : true,
"OverdelivTolrtdLmtRatioInPct" : "0.0",
"UnlimitedOverdeliveryIsAllowed" : false,
"UnderdelivTolrtdLmtRatioInPct" : "0.0",
"ValuationType" : "",
"IsCompletelyDelivered" : false,
"IsFinallyInvoiced" : false,
"PurchaseOrderItemCategory" : "3",
"AccountAssignmentCategory" : "",
"MultipleAcctAssgmtDistribution" : "",
"PartialInvoiceDistribution" : "",
"GoodsReceiptIsExpected" : true,
"GoodsReceiptIsNonValuated" : false,
"InvoiceIsExpected" : true,
"InvoiceIsGoodsReceiptBased" : true,
"PurchaseContract" : "",
"PurchaseContractItem" : "0",
"Customer" : "",
"ItemNetWeight" : "0.000",
"ItemWeightUnit" : "KG",
"TaxJurisdiction" : "",
"PricingDateControl" : "",
"ItemVolume" : "0.000",
"ItemVolumeUnit" : "",
"SupplierConfirmationControlKey" : "",
This is custom documentation. For more information, please visit the SAP Help Portal 10
1/30/2023
"IncotermsClassification" : "",
"IncotermsTransferLocation" : "",
"EvaldRcptSettlmtIsAllowed" : false,
"PurchaseRequisition" : "",
"PurchaseRequisitionItem" : "0",
"IsReturnsItem" : false,
"RequisitionerName" : "",
"ServicePackage" : "0",
"EarmarkedFunds" : "",
"EarmarkedFundsDocument" : "",
"EarmarkedFundsItem" : "0",
"EarmarkedFundsDocumentItem" : "0",
"IncotermsLocation1" : "",
"IncotermsLocation2" : "",
"Material" : "ZSH_VALSEMI",
"InternationalArticleNumber" : "",
"ManufacturerMaterial" : "ZSH_VALSEMI",
"ServicePerformer" : "",
"ProductType" : "1",
"ExpectedOverallLimitAmount" : "0.00",
"OverallLimitAmount" : "0.00",
"PurContractForOverallLimit" : "",
"DeliveryAddressID" : "",
"DeliveryAddressName" : "",
"DeliveryAddressStreetName" : "",
"DeliveryAddressHouseNumber" : "",
"DeliveryAddressCityName" : "",
"DeliveryAddressPostalCode" : "",
"DeliveryAddressRegion" : "",
"DeliveryAddressCountry" : "",
"BR_MaterialUsage" : "",
"BR_MaterialOrigin" : "",
"BR_CFOPCategory" : "",
"BR_IsProducedInHouse" : false,
"ConsumptionTaxCtrlCode" : "",
"ProductSeasonYear" : "",
"ProductSeason" : "",
"ProductCollection" : "",
"ProductTheme" : "",
"SeasonCompletenessStatus" : "",
"ProductCharacteristic1" : "",
"ProductCharacteristic2" : "",
"ProductCharacteristic3" : "",
"PurchasingParentItem" : "0",
"SubItemCategory" : ""
"CrossPlantConfigurableProduct" : "",
"DiversionStatus" : "",
"ReferenceDocumentNumber" : "",
"ReferenceDocumentItem" : "0",
"PurchaseOrderReferenceType" : "",
"ReferenceDocumentScheduleLine" : "0",
"ArticleCategory" : "",
"ItemHasValueAddedService" : "",
"ValAddedSrvcParentItmNumber" : "0",
"StockSegment" : "",
"RequirementSegment" : "",
"to_PurchaseOrder" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata/
}
},
"to_AccountAssignment" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata
}
},
"to_PurchaseOrderPricingElement" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata/
}
},
"to_ScheduleLine" : {
"results" : [
{
This is custom documentation. For more information, please visit the SAP Help Portal 11
1/30/2023
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/S
"uri" : "https://host:port/sap/opu/odata/
"type" : "API_PURCHASEORDER_PROCESS_SRV.A
},
"PurchasingDocument" : "4500100268",
"PurchasingDocumentItem" : "10",
"ScheduleLine" : "1",
"DelivDateCategory" : "1",
"ScheduleLineDeliveryDate" : "\/Date(1561420800000)\/",
"PurchaseOrderQuantityUnit" : "CRT",
"ScheduleLineOrderQuantity" : "4",
"ScheduleLineDeliveryTime" : "PT00H00M00S",
"SchedLineStscDeliveryDate" : "\/Date(1561420800000)\/",
"PurchaseRequisition" : "",
"PurchaseRequisitionItem" : "0",
"ScheduleLineCommittedQuantity" : "0",
"PerformancePeriodStartDate" : null,
"PerformancePeriodEndDate" : null,
"to_SubcontractingComponent" : {
"results" : [
{
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/S
"uri" : "https://host:port/sap/opu/odata/
"type" : "API_PURCHASEORDER_PROCESS_SRV.A
},
"PurchaseOrder" : "4500100268",
"PurchaseOrderItem" : "10",
"ScheduleLine" : "1",
"ReservationItem" : "1",
"RecordType" : "",
"Material" : "ZSH_VALRAW1",
"BOMItemDescription" : "",
"RequiredQuantity" : "8",
"BaseUnit" : "CRT",
"RequirementDate" : "\/Date(1561420800000)\/",
"QuantityInEntryUnit" : "8",
"EntryUnit" : "CRT",
"WithdrawnQuantity" : "0",
"Plant" : "0001",
"Batch" : ""
},
{
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/
"uri" : "https://host:port/sap/opu/odata
"type" : "API_PURCHASEORDER_PROCESS_SRV.A
},
"PurchaseOrder" : "4500100268",
"PurchaseOrderItem" : "10",
"ScheduleLine" : "1",
"ReservationItem" : "2",
"RecordType" : "",
"Material" : "ZSH_VALRAW2",
"BOMItemDescription" : "",
"RequiredQuantity" : "12",
"BaseUnit" : "CRT",
"RequirementDate" : "\/Date(1561420800000)\/",
"QuantityInEntryUnit" : "12",
"EntryUnit" : "CRT",
"WithdrawnQuantity" : "0",
"Plant" : "0001",
"Batch" : ""
}
]
}
}
]
},
"to_ValueAddedService" : {
"__deferred" : {
"uri" : "https://host:port/sap/op
}
This is custom documentation. For more information, please visit the SAP Help Portal 12
1/30/2023
}
}
]
}
}
} }
Request
You can include the following properties in the URL of the request:
- - -
Response
The operation returns the data of the new purchase order (including the purchase order number) in response to the successful
creation of the purchase order.
Examples
Request
Sample Code
POST <host>/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder
Content-Type: application/json
Payload:
{
"CompanyCode" : "0001",
"PurchaseOrderType" : "NB",
"Supplier" : "YOURSUPPLIER",
"PurchasingOrganization" : "0001",
"PurchasingGroup" : "001",
"to_PurchaseOrderItem" : [
{
"PurchaseOrderItemText" : "Subcontracting item",
"Plant" : "0001",
"OrderQuantity" : "7",
"NetPriceAmount" : "130.00",
"NetPriceQuantity" : "1",
"PurchaseOrderItemCategory" : "3",
"Material" : "ZSH_VALSEMI",
"to_ScheduleLine" : [
{
"ScheduleLineOrderQuantity" : "7",
"ScheduleLineDeliveryDate" : "2019-07-30T00:00:00",
"to_SubcontractingComponent" : [
{
"Material" : "ZSH_VALRAW1",
"RequirementDate" : "2019-07-30T00:00:00",
"QuantityInEntryUnit" : "2.000",
"Plant" : "0001"
},
{
"Material" : "ZSH_VALRAW2",
"RequirementDate" : "2019-07-30T00:00:00",
This is custom documentation. For more information, please visit the SAP Help Portal 13
1/30/2023
"QuantityInEntryUnit" : "4.000",
"Plant" : "0001"
}
]
}
]
}
]
}
Response
Sample Code
{
"d" : {
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder('45001
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder('4500
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderType"
},
"PurchaseOrder" : "4500129848",
"CompanyCode" : "0001",
"PurchaseOrderType" : "NB",
"PurchasingDocumentDeletionCode" : "",
"PurchasingProcessingStatus" : "02",
"CreatedByUser" : "YOURNAME",
"CreationDate" : "\/Date(1570320000000)\/",
"LastChangeDateTime" : null,
"Supplier" : "YOURSUPPLIER",
"PurchaseOrderSubtype" : "",
"Language" : "EN",
"PaymentTerms" : "0002",
"CashDiscount1Days" : "14",
"CashDiscount2Days" : "30",
"NetPaymentDays" : "0",
"CashDiscount1Percent" : "2.000",
"CashDiscount2Percent" : "0.500",
"PurchasingOrganization" : "0001",
"PurchasingDocumentOrigin" : "9",
"PurchasingGroup" : "001",
"PurchaseOrderDate" : "\/Date(1570320000000)\/",
"DocumentCurrency" : "EUR",
"ExchangeRate" : "",
"ValidityStartDate" : null,
"ValidityEndDate" : null,
"SupplierQuotationExternalID" : "",
"SupplierRespSalesPersonName" : "",
"SupplierPhoneNumber" : "",
"SupplyingSupplier" : "",
"SupplyingPlant" : "",
"IncotermsClassification" : "CIF",
"CorrespncExternalReference" : "",
"CorrespncInternalReference" : "",
"InvoicingParty" : "",
"ReleaseIsNotCompleted" : false,
"PurchasingCompletenessStatus" : false,
"IncotermsVersion" : "",
"IncotermsLocation1" : "Hamburg text",
"IncotermsLocation2" : "",
"ManualSupplierAddressID" : "",
"IsEndOfPurposeBlocked" : "",
"AddressCityName" : "Rocky Beach",
"AddressFaxNumber" : "",
"AddressHouseNumber" : "42",
"AddressName" : "California Sunshine Inc.",
"AddressPostalCode" : "69190",
"AddressStreetName" : "Sunshine Road",
"AddressPhoneNumber" : "",
"AddressRegion" : "",
"AddressCountry" : "DE",
This is custom documentation. For more information, please visit the SAP Help Portal 14
1/30/2023
"AddressCorrespondenceLanguage" : "EN",
"to_PurchaseOrderItem" : {
"results" : [
{
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderItem(Pu
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderItem(P
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderItemType"
},
"PurchaseOrder" : "4500129848",
"PurchaseOrderItem" : "10",
"PurchasingDocumentDeletionCode" : "",
"PurchaseOrderItemText" : "Subcontracting item",
"Plant" : "0001",
"StorageLocation" : "",
"MaterialGroup" : "00216",
"PurchasingInfoRecord" : "5300078490",
"SupplierMaterialNumber" : "",
"OrderQuantity" : "7",
"PurchaseOrderQuantityUnit" : "CRT",
"OrderPriceUnit" : "CRT",
"OrderPriceUnitToOrderUnitNmrtr" : "1",
"OrdPriceUnitToOrderUnitDnmntr" : "1",
"DocumentCurrency" : "EUR",
"NetPriceAmount" : "130.00",
"NetPriceQuantity" : "1",
"TaxCode" : "",
"PriceIsToBePrinted" : true,
"OverdelivTolrtdLmtRatioInPct" : "0.0",
"UnlimitedOverdeliveryIsAllowed" : false,
"UnderdelivTolrtdLmtRatioInPct" : "0.0",
"ValuationType" : "",
"IsCompletelyDelivered" : false,
"IsFinallyInvoiced" : false,
"PurchaseOrderItemCategory" : "3",
"AccountAssignmentCategory" : "",
"MultipleAcctAssgmtDistribution" : "",
"PartialInvoiceDistribution" : "",
"GoodsReceiptIsExpected" : true,
"GoodsReceiptIsNonValuated" : false,
"InvoiceIsExpected" : true,
"InvoiceIsGoodsReceiptBased" : false,
"PurchaseContract" : "",
"PurchaseContractItem" : "0",
"Customer" : "",
"ItemNetWeight" : "0.000",
"ItemWeightUnit" : "KG",
"TaxJurisdiction" : "",
"PricingDateControl" : "",
"ItemVolume" : "0.000",
"ItemVolumeUnit" : "",
"SupplierConfirmationControlKey" : "",
"IncotermsClassification" : "",
"IncotermsTransferLocation" : "",
"EvaldRcptSettlmtIsAllowed" : false,
"PurchaseRequisition" : "",
"PurchaseRequisitionItem" : "0",
"IsReturnsItem" : false,
"RequisitionerName" : "",
"ServicePackage" : "0",
"EarmarkedFunds" : "",
"EarmarkedFundsDocument" : "",
"EarmarkedFundsItem" : "0",
"EarmarkedFundsDocumentItem" : "0",
"IncotermsLocation1" : "",
"IncotermsLocation2" : "",
"Material" : "ZSH_VALSEMI",
"InternationalArticleNumber" : "",
"ManufacturerMaterial" : "ZSH_VALSEMI",
"ServicePerformer" : "",
"ProductType" : "1",
"ExpectedOverallLimitAmount" : "0.00",
"OverallLimitAmount" : "0.00",
"PurContractForOverallLimit" : "",
This is custom documentation. For more information, please visit the SAP Help Portal 15
1/30/2023
"DeliveryAddressID" : "",
"DeliveryAddressName" : "John",
"DeliveryAddressStreetName" : "Street",
"DeliveryAddressHouseNumber" : "15",
"DeliveryAddressCityName" : "Beijing",
"DeliveryAddressPostalCode" : "69191",
"DeliveryAddressRegion" : "01",
"DeliveryAddressCountry" : "DE",
"BR_MaterialUsage" : "",
"BR_MaterialOrigin" : "",
"BR_CFOPCategory" : "",
"BR_IsProducedInHouse" : false,
"ConsumptionTaxCtrlCode" : "",
"ProductSeasonYear" : "",
"ProductSeason" : "",
"ProductCollection" : "",
"ProductTheme" : "",
"SeasonCompletenessStatus" : "",
"ProductCharacteristic1" : "",
"ProductCharacteristic2" : "",
"ProductCharacteristic3" : "",
"PurchasingParentItem" : "0",
"SubItemCategory" : "",
"CrossPlantConfigurableProduct" : "",
"DiversionStatus" : "",
"ReferenceDocumentNumber" : "",
"ReferenceDocumentItem" : "0",
"PurchaseOrderReferenceType" : "",
"ReferenceDocumentScheduleLine" : "0",
"ArticleCategory" : "",
"ItemHasValueAddedService" : "",
"ValAddedSrvcParentItmNumber" : "0",
"StockSegment" : "",
"RequirementSegment" : "",
"to_PurchaseOrder" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderItem(P
}
},
"to_AccountAssignment" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderItem(P
}
},
"to_PurchaseOrderPricingElement" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderItem(P
}
},
"to_ScheduleLine" : {
"results" : [
{
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderSchedul
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderSchedu
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_PurchaseOrderScheduleLineType"
},
"PurchasingDocument" : "4500129848",
"PurchasingDocumentItem" : "10",
"ScheduleLine" : "1",
"DelivDateCategory" : "1",
"ScheduleLineDeliveryDate" : "\/Date(1564444800000)\/",
"PurchaseOrderQuantityUnit" : "CRT",
"ScheduleLineOrderQuantity" : "7",
"ScheduleLineDeliveryTime" : "PT00H00M00S",
"SchedLineStscDeliveryDate" : "\/Date(1564444800000)\/",
"PurchaseRequisition" : "",
"PurchaseRequisitionItem" : "0",
"ScheduleLineCommittedQuantity" : "0",
"PerformancePeriodStartDate" : null,
"PerformancePeriodEndDate" : null,
"to_SubcontractingComponent" : {
"results" : [
{
This is custom documentation. For more information, please visit the SAP Help Portal 16
1/30/2023
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_POSubcontractingComp
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_POSubcontractingCom
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_POSubcontractingComponentType"
},
"PurchaseOrder" : "4500129848",
"PurchaseOrderItem" : "10",
"ScheduleLine" : "1",
"ReservationItem" : "1",
"RecordType" : "",
"Material" : "ZSH_VALRAW1",
"BOMItemDescription" : "",
"RequiredQuantity" : "2",
"BaseUnit" : "CRT",
"RequirementDate" : "\/Date(1564444800000)\/",
"QuantityInEntryUnit" : "2",
"EntryUnit" : "CRT",
"WithdrawnQuantity" : "0",
"Plant" : "0001",
"Batch" : ""
},
{
"__metadata" : {
"id" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_POSubcontractingComp
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_POSubcontractingCom
"type" : "API_PURCHASEORDER_PROCESS_SRV.A_POSubcontractingComponentType"
},
"PurchaseOrder" : "4500129848",
"PurchaseOrderItem" : "10",
"ScheduleLine" : "1",
"ReservationItem" : "2",
"RecordType" : "",
"Material" : "ZSH_VALRAW2",
"BOMItemDescription" : "",
"RequiredQuantity" : "4",
"BaseUnit" : "CRT",
"RequirementDate" : "\/Date(1564444800000)\/",
"QuantityInEntryUnit" : "4",
"EntryUnit" : "CRT",
"WithdrawnQuantity" : "0",
"Plant" : "0001",
"Batch" : ""
}
]
}
}
]
},
"to_ValueAddedService" : {
"__deferred" : {
"uri" : "https://host:port/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderItem(P
}
}
}
]
}
}
}
Request
You can include the following properties in the URL of the request:
This is custom documentation. For more information, please visit the SAP Help Portal 17
1/30/2023
PurchaseOrder Mandatory -
PurchaseOrderItem
ScheduleLine
Response
The operation returns success message "200 (OK)".
Examples
Request
Sample Code
PATCH <host>/sap/opu/odata/SAP/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrderScheduleLine(Purchasi
Content-Type: application/json
Payload:
{
"ScheduleLineDeliveryDate" : "2020-12-16T00:00:00"
}
Response
Sample Code
Status-Code:
200 (OK) and an update of the property as appropriate.
Request
You can include the following properties in the URL of the request:
PurchaseOrder Mandatory -
PurchaseOrderItem
PricingDocument
PricingDocumentItem
Pricing ProcedureStep
PricingProcedureCounter
Response
If the operation has been executed successfully, the servers should return 200 (OK) with no response body.
This is custom documentation. For more information, please visit the SAP Help Portal 18
1/30/2023
Examples
Request
Sample Code
DELETE <host>/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurOrdPricingElement(PurchaseOrde
Content-Type: application/json
Payload: none
Response
Sample Code
Status-Code: 200 (OK)
To retrieve the PDF of a purchase order in the system, you use the HTTP method GET to invoke the GetOutputBinaryData
action on the document number of the target purchase order.
Note
If several PDF documents of the same purchase order exist (for example, due to a changed output form template),
the service always chooses the newest one.
Request
You can include the following properties in the request's URL:
Example
To get the PDF for purchase oder 4500000000:
Sample Code
GET <host>/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/GetOutputBinaryData?PurchaseOrder='450
Response
When you successfully use the GetOutputBinaryData action on a purchase order document in the system, the service returns a
speci c purchase order in PDF format.
This is custom documentation. For more information, please visit the SAP Help Portal 19
1/30/2023
If you request the PDF for a purchase order that does not exist, an error structure containing an appropriate message is
returned.
Examples
Request
Sample Code
<host>/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/GetOutputBinaryData?PurchaseOrder='4500000
X-CSRF-Token: abc
Accept: application/json
Response
Sample Code
Status: 200 ok
content-type: application/json; charset=utf-8
dataserviceversion: 1.0
The server response contains a Base64 string that always ends with two equal characters: ==
The following code sample shows the corresponding response, which includes the PDF le:
Sample Code
const Service = require("@sap_oss/odata-library/lib/Service.js");
const fs = require('fs');
const serviceSuffix = "/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/";
const defaultSystem = "<replace with your SAP system ID >";
const defaultClient = "< replace with your client number>";
const defaultPO = '<replace with your test purchase order>';
const user = "<replace with your API user>";
const password = "< replace with the password of your API user>";
this.assembleUrl = function (system, client) {
return https:// + system + "-" + client + ".wdf.sap.corp" + serviceSuffix;
}
this.init = async function (url, username, password, loggingEnabled = false, params = {}) {
const logger = {
"trace": () => { },
"debug": console.debug,
"info": console.info,
"warn": console.warn,
"error": console.error
};
const parameters = {
"client": "100",
"documentation": ["heading", "quickinfo"],
"language": "EN"
};
if (params) {
Object.keys(params).forEach((key) => parameters[key] = params[key]);
}
This is custom documentation. For more information, please visit the SAP Help Portal 20
1/30/2023
"logger": loggingEnabled ? logger : "",
"url": url,
"auth": {
"username": username,
"password": password
},
"parameters": parameters, //Define initial request by $metadata?sap-client=<client-number
"strict": false // ignore non critical errors, e.g. orphaned annotations
});
await srv.init;
return srv;
};
Click inside the le drop area to upload Base64 les or drag & drop Base64 les.
A link to download the converted results will be available shortly after the conversion.
Use
Header node that contains the purchase order header elds.
Parameters
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 21
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 22
1/30/2023
Note
DocumentCurrency is derived from the
supplier master data.
This is custom documentation. For more information, please visit the SAP Help Portal 23
1/30/2023
PurchaseOrder Request from a buyer to a seller to deliver a POST (new purchase order) and internal
speci ed quantity of material, or perform a number assignment: Not required
speci ed service
POST (new purchase order) and external
number assignment (if allowed by your
con guration settings): Optional
DELETE: Mandatory
Note
Be aware that request url and body of
request must be treated differently!
This is custom documentation. For more information, please visit the SAP Help Portal 24
1/30/2023
Properties
Note
No validation is performed for the Text Object Type parameter.
If you add a new text to an existing text in a POST operation, the two texts are merged.
Note
To display more information about the properties on the SAP API Business Hub, open an operation of the entity and select
Model.
Item (A_PurchaseOrderItem)
Use
Item node that contains the purchase order item elds.
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 25
1/30/2023
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
Note
Address handling
For some of the delivery address elds an input is provided in the payload in addition to the ReferenceDeliveryAddressID, the
Subcontractor, and the Customer.
If a referene delivery address ID is entered in the payload, the address maintained under the reference delivery address ID is
used. If you enter, for example, a delivery address street and house number in the payload in addition to the reference
delivery address ID, the system generates a new delivery address ID. The address saved for this new delivery address ID
consists of a combination of the address of the reference delivery address ID and the address details given explicitly in the
payload for the respective delivery address elds (in our example for the delivery address street and house number).
Note
GET request and paging
The GET statement is quite powerful as it could possibly retrieve huge amounts of data – if not restricted, all data on the
database could be returned. To have a safety net and keep performance up, paging was introduced for the data in the result.
This means that if no URI Option $top is given in the URI, 1000 records are retrieved. If, however, the $top option is given,
max. 5000 records can be retrieved.
In addition, the $skiptoken option can be used to retrieve the data from all so-called pages: one page is a result set of 1000
records. To get all records in the result set, all pages can be read. To do this, the skiptoken at the bottom of the response can
be used to get to the next page with the next 1000 records, for example:
/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder?$skiptoken=1000
The next page is retrieved, starting with the next purchase order after the last one in the rst result set.
At the end of this page, the skiptoken allows further "navigation" by giving both skiptokens, the current one and the next one:
This is custom documentation. For more information, please visit the SAP Help Portal 26
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 27
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 28
1/30/2023
Note
When working with item hierarchies, it is
Mandatory to enter a short text for item
sets.
This is custom documentation. For more information, please visit the SAP Help Portal 29
1/30/2023
Please see Note: Address handling on top Used here: default Reference ID for existing
of this table and consider the described address. No new address can be created.
dependencies.
This is custom documentation. For more information, please visit the SAP Help Portal 30
1/30/2023
Note
You must ll the eld only if
Properties
Note
No validation is performed for the Text Object Type parameter.
If you add a new text to an existing text in a POST operation, the two texts are merged.
This is custom documentation. For more information, please visit the SAP Help Portal 31
1/30/2023
Note
Filtering by PlainLongText is not
supported for purchase orderItem Notes
Note
To display more information about the properties on the SAP API Business Hub, open an operation of the entity and select
Model.
Use
Schedule line node that contains purchase order item corresponding schedule line elds.
Parameters
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
Relevant for POST operation with a single schedule line: If you order a material for which the system can determine the delivery
date from an info record or from the material master data, the system copies the date determined and ignores any date
entered in the payload.
If you want to de ne a different delivery date, please either create several schedule lines or change the delivery date in a PATCH
or MERGE operation.
This is custom documentation. For more information, please visit the SAP Help Portal 32
1/30/2023
ScheduleLineDeliveryDate Schedule line delivery date Optional - please see note above
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 33
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, open an operation of the entity and select
Model.
Use
Account assignment node that contains the account assignment elds that correspond to the purchase order item.
Parameters
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 34
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 35
1/30/2023
Use
Pricing element node that contains the pricing element elds of the purchase order items.
Parameters
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
Note
It is not possible to transfer pricing values 1:1 from an external system as some values are calculated automatically and IDs
are generated. Regarding the pricing details, the OData service contains elds with "Necessity": read-only, which are not
lled during a Post request.
If migrating from one system to another, it is recommended to use the same pricing procedure in the source and the target
system, to ensure that pricing results are the same. If rounding pro les are maintained (material master, MRT1 tab), do not
send condition data in the Post request as a payload.
This is custom documentation. For more information, please visit the SAP Help Portal 36
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 37
1/30/2023
Features
Key users can extend the OData Service in the Custom Fields app using the following business contexts:
See Also
For more information, see the SAP API Business Hub (https://api.sap.com/ ).
Related Information
Custom Fields App and Custom Logic App
This is custom documentation. For more information, please visit the SAP Help Portal 38
1/30/2023
Attachments can be added on purchase order header level as well as on purchase order item level.
To enable the service Attachment - Create, Read, Update, Delete (API_CV_ATTACHMENT_SRV) for purchase orders, you need
the following header parameter:
Cookie Validates that the Request and Post You request the cookie value about the
functions belong to the same purchase HTTP-GET request.
order.
This is custom documentation. For more information, please visit the SAP Help Portal 39
1/30/2023
X-CSRF-Token Validates together with the cookie that the You get the token value together with the
user is an authenticated communication cookie value about the HTTP-GET request.
user for the communication scenario
SAP_COM_0053.
Note
In the app Create
Communication User, you
create the communication user.
Related Information
Attachments
This asynchronous inbound SOAP service enables you to create a purchase order, using an API call from a source system
outside of SAP S/4HANA Cloud. You can also use this service to update and delete existing purchase order data from the SAP
S/4HANA Cloudsystem.
This service is published on the SAP API Business Hub. For more information about APIs, see APIs on SAP API Business Hub.
Note
In this service, various eld combinations are possible, depending on the con guration settings.
This is custom documentation. For more information, please visit the SAP Help Portal 40
1/30/2023
“ ” (standard), allowing you to order material items (product type group “1”) and lean services (product type group “2”)
De ne a limit amount against which invoices can be posted (using product type group “1”)
De ne a limit amount for unplanned services that must be con rmed in a service entry sheet (using product type
group “2”)
“S ” (third-party), allowing you to order materials and having them delivered to a delivery address outside your company,
for example, to your customer
Service Request
Service Message Header
The service message header contains information on the service, the involved sender and receiver, as well as date and time. The
following elds are mandatory:
Service Nodes
The service node “PurchaseOrder” and its sub nodes contain the business data of the service.
Note
In the following table, attributes are marked in blue.
PurchaseOrderID Alphanumeric key uniquely identifying the Mandatory for updating and deleting
document; this ID is generated when the purchase orders
purchase order is created. It is communicated to
the service consumer with the service Purchase
Order - Send Status Update Noti cation
PurchaseOrderStatusNotification_Out
service.
PurchaseOrderExternalReferenceID If purchase order was created on the basis of a Mandatory for creating purchase
purchase order from an external system, this is orders
the ID in the external system.
This is custom documentation. For more information, please visit the SAP Help Portal 41
1/30/2023
Cross-system transit
This is custom documentation. For more information, please visit the SAP Help Portal 42
1/30/2023
Attachment Optional
FileName
MimeType
FileSize
Sample Payload
Sample Code
<n0:PurchaseOrderRequest xmlns:n0="http://sap.com/xi/Procurement">
<MessageHeader>
<CreationDateTime>2018-02-27T12:00:00.1234567Z</CreationDateTime>
<SenderBusinessSystemID>AUNIT</SenderBusinessSystemID>
</MessageHeader>
<PurchaseOrder>
<ActionCode>1</ActionCode>
<PurchaseOrderID/>
<PurchaseOrderExternalReferenceID>1</PurchaseOrderExternalReferenceID>
<DocumentType>NB</DocumentType>
<PurchasingOrganization>0001</PurchasingOrganization>
<PurchasingGroup>001</PurchasingGroup>
<CompanyCode>0001</CompanyCode>
<DocumentCurrency>EUR</DocumentCurrency>
<SupplierParty>
<Supplier>4171</Supplier>
<SupplierAddress>
<AddressName>P U Company</AddressName>
<Street>Ottostr.</Street>
<Dummy>asdf asdfsdf</Dummy>
<HouseNumber>33</HouseNumber>
<PostalCode>74918</PostalCode>
<City>Angelbachtal</City>
<CountryKey>DE</CountryKey>
<Region>08</Region>
<Phone>
<CountryCode>DE</CountryCode>
<PhoneNumber>07265</PhoneNumber>
<PhoneNumberExtension>2255</PhoneNumberExtension>
</Phone>
<Fax>
<CountryCode>DE</CountryCode>
<FaxNumber>07265</FaxNumber>
<FaxNumberExtension>2266</FaxNumberExtension>
</Fax>
</SupplierAddress>
</SupplierParty>
<InvoicingParty>4171</InvoicingParty>
<!-- Material Item, without master, single accounting-->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>MAT1</PurchaseOrderItemExternalRefID>
<ItemCategory> </ItemCategory>
<ProductType>1</ProductType>
<Material/>
<MaterialGroup>L001</MaterialGroup>
<ItemDescription>Sideboard, white</ItemDescription>
<Plant>0001</Plant>
<DeliveryDate>2018-04-01</DeliveryDate>
This is custom documentation. For more information, please visit the SAP Help Portal 43
1/30/2023
<RequestedQuantity unitCode="PCE">3</RequestedQuantity>
<ItemPrice>
<Amount currencyCode="EUR">65.00</Amount>
<BaseQuantity unitCode="PCE">1</BaseQuantity>
</ItemPrice>
<AccountAssignment>
<AccountAssignmentCategory>K</AccountAssignmentCategory>
<MultipleAcctAssgmtDistribution> </MultipleAcctAssgmtDistribution
<PartialInvoiceDistribution> </PartialInvoiceDistribution>
<AccountAssignmentLine>
<CostCenter>SAP-DUMMY</CostCenter>
<GLAccount>400000</GLAccount>
</AccountAssignmentLine>
</AccountAssignment>
<ProcessFlow>
<GoodsReceiptIsExpected>true</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>true</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
</PurchaseOrderItem>
<!-- Material Item, with master, no accounting-->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>MAT2</PurchaseOrderItemExternalRefID>
<ItemCategory> </ItemCategory>
<ProductType>1</ProductType>
<Material>CM_HAWA</Material>
<MaterialGroup/>
<ItemDescription/>
<Plant>0001</Plant>
<DeliveryDate>2018-04-02</DeliveryDate>
<RequestedQuantity unitCode="PCE">8</RequestedQuantity>
<ItemPrice>
<Amount currencyCode="EUR">2.00</Amount>
<BaseQuantity unitCode="PCE">1</BaseQuantity>
</ItemPrice>
<ProcessFlow>
<GoodsReceiptIsExpected>true</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>true</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
<DeliveryDetails>
<StorageLocation>0001</StorageLocation>
</DeliveryDetails>
</PurchaseOrderItem>
<!-- Service Item, without master, single accounting-->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>SRV1</PurchaseOrderItemExternalRefID>
<ItemCategory> </ItemCategory>
<ProductType>2</ProductType>
<Material/>
<MaterialGroup>P001</MaterialGroup>
<ItemDescription>Software Hotline Service</ItemDescription>
<Plant>0001</Plant>
<PerformancePeriod>
<StartDate>2018-04-01</StartDate>
<EndDate>2018-04-04</EndDate>
</PerformancePeriod>
<RequestedQuantity unitCode="HUR">12</RequestedQuantity>
<ItemPrice>
<Amount currencyCode="EUR">5.00</Amount>
<BaseQuantity unitCode="HUR">1</BaseQuantity>
</ItemPrice>
<AccountAssignment>
<AccountAssignmentCategory>K</AccountAssignmentCategory>
<MultipleAcctAssgmtDistribution> </MultipleAcctAssgmtDistribution
<PartialInvoiceDistribution> </PartialInvoiceDistribution>
<AccountAssignmentLine>
<CostCenter>SAP-DUMMY</CostCenter>
<GLAccount>400000</GLAccount>
</AccountAssignmentLine>
</AccountAssignment>
<ProcessFlow>
This is custom documentation. For more information, please visit the SAP Help Portal 44
1/30/2023
<GoodsReceiptIsExpected>true</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>true</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
</PurchaseOrderItem>
<!-- Service Item, with master, single accounting-->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>SRV2</PurchaseOrderItemExternalRefID>
<ItemCategory> </ItemCategory>
<ProductType>2</ProductType>
<Material>CM_SERV</Material>
<MaterialGroup>P001</MaterialGroup>
<ItemDescription>Gardening - Spring</ItemDescription>
<Plant>0001</Plant>
<PerformancePeriod>
<StartDate>2018-04-01</StartDate>
<EndDate>2018-05-05</EndDate>
</PerformancePeriod>
<RequestedQuantity unitCode="HUR">6</RequestedQuantity>
<ItemPrice>
<Amount currencyCode="EUR">3.00</Amount>
<BaseQuantity unitCode="HUR">1</BaseQuantity>
</ItemPrice>
<AccountAssignment>
<AccountAssignmentCategory>K</AccountAssignmentCategory>
<MultipleAcctAssgmtDistribution> </MultipleAcctAssgmtDistribution
<PartialInvoiceDistribution> </PartialInvoiceDistribution>
<AccountAssignmentLine>
<CostCenter>SAP-DUMMY</CostCenter>
<GLAccount>400000</GLAccount>
</AccountAssignmentLine>
</AccountAssignment>
<ProcessFlow>
<GoodsReceiptIsExpected>true</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>true</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
</PurchaseOrderItem>
<!-- Enhanced Limit Item, type Service, unknown accounting -->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>LIMIT1</PurchaseOrderItemExternalRefID>
<ItemCategory>E</ItemCategory>
<ProductType>2</ProductType>
<Material/>
<MaterialGroup>P001</MaterialGroup>
<ItemDescription>Hardware Repair</ItemDescription>
<Plant>0001</Plant>
<PerformancePeriod>
<StartDate>2018-04-01</StartDate>
<EndDate>2018-06-06</EndDate>
</PerformancePeriod>
<CostUpperLimit>
<OverallLimitAmount currencyCode="EUR">50</OverallLimitAmount>
<ExpectedOverallLimitAmount currencyCode="EUR">45</ExpectedOveral
<PriceChangeAllowedIndicator>true</PriceChangeAllowedIndicator>
<OverallLimitAmountIsUnlimited>false</OverallLimitAmountIsUnlimit
</CostUpperLimit>
<AccountAssignment>
<AccountAssignmentCategory>U</AccountAssignmentCategory>
<MultipleAcctAssgmtDistribution> </MultipleAcctAssgmtDistribution
<PartialInvoiceDistribution> </PartialInvoiceDistribution>
</AccountAssignment>
<ProcessFlow>
<GoodsReceiptIsExpected>true</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>true</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
</PurchaseOrderItem>
<!-- Enhanced Limit Item, type Material, unknown accounting -->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>LIMIT2</PurchaseOrderItemExternalRefID>
This is custom documentation. For more information, please visit the SAP Help Portal 45
1/30/2023
<ItemCategory>E</ItemCategory>
<ProductType>1</ProductType>
<Material/>
<MaterialGroup>P001</MaterialGroup>
<ItemDescription>Office Supply</ItemDescription>
<Plant>0001</Plant>
<PerformancePeriod>
<StartDate>2018-04-01</StartDate>
<EndDate>2018-07-07</EndDate>
</PerformancePeriod>
<CostUpperLimit>
<OverallLimitAmount currencyCode="EUR">5</OverallLimitAmount>
<ExpectedOverallLimitAmount currencyCode="EUR">2</ExpectedOverall
<PriceChangeAllowedIndicator>true</PriceChangeAllowedIndicator>
<OverallLimitAmountIsUnlimited>false</OverallLimitAmountIsUnlimit
</CostUpperLimit>
<AccountAssignment>
<AccountAssignmentCategory>U</AccountAssignmentCategory>
<MultipleAcctAssgmtDistribution> </MultipleAcctAssgmtDistribution
<PartialInvoiceDistribution> </PartialInvoiceDistribution>
</AccountAssignment>
<ProcessFlow>
<GoodsReceiptIsExpected>false</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>false</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
</PurchaseOrderItem>
<!-- Third Party Item, with master, accounting S -->
<PurchaseOrderItem>
<ActionCode>1</ActionCode>
<PurchaseOrderItemExternalRefID>THPA</PurchaseOrderItemExternalRefID>
<ItemCategory>S</ItemCategory>
<ProductType/>
<Material>CM_HAWA</Material>
<MaterialGroup/>
<ItemDescription/>
<Plant>0001</Plant>
<DeliveryDate>2018-04-01</DeliveryDate>
<RequestedQuantity unitCode="PCE">3</RequestedQuantity>
<ItemPrice>
<Amount currencyCode="EUR">7.00</Amount>
<BaseQuantity unitCode="PCE">1</BaseQuantity>
</ItemPrice>
<AccountAssignment>
<AccountAssignmentCategory>S</AccountAssignmentCategory>
<MultipleAcctAssgmtDistribution> </MultipleAcctAssgmtDistribution
<PartialInvoiceDistribution> </PartialInvoiceDistribution>
<AccountAssignmentLine>
<GLAccount>410000</GLAccount>
<!-- <WBSElementInternalID>852</WBSElementInternalID> -->
</AccountAssignmentLine>
</AccountAssignment>
<ProcessFlow>
<GoodsReceiptIsExpected>true</GoodsReceiptIsExpected>
<InvoiceIsExpected>true</InvoiceIsExpected>
<InvoiceIsGoodsReceiptBased>true</InvoiceIsGoodsReceiptBased>
</ProcessFlow>
<DeliveryAddress>
<AddressName>Kunde A</AddressName>
<Street>Hammerweg</Street>
<HouseNumber>60</HouseNumber>
<PostalCode>12346</PostalCode>
<City>Buxtehude</City>
<CountryKey>DE</CountryKey>
<District/>
<Region/>
</DeliveryAddress>
</PurchaseOrderItem>
</PurchaseOrder>
</n0:PurchaseOrderRequest>
Namespace: /MMPUR
Interface: PO_IN
To assign users to recipients, use the Assign Recipients to Users app from the Communication Management – Message
Monitoring Con guration (SAP_CA_BC_COM_CONF_PC) business catalog.
For message monitoring, use the Message Dashboard app from the Communication Management - Message Monitoring and
Error Handling (SAP_CA_BC_COM_ERR_PC) business catalog.
Both business catalogs are contained in the business role template Con guration Expert – Business Network Integration
(SAP_BR_CONF_EXPERT_BUS_NET_INT).
Authentication Method
For this service, use your user ID and password to sign on.
Extensibility
This service can be extended at header and at item level, using the app Custom Logic. The business contexts are:
PurchaseOrderRequest_In - SupplierParty
SupplierAddress Optional
This is custom documentation. For more information, please visit the SAP Help Portal 47
1/30/2023
District
Phone
Fax
Note
This is custom documentation. For more information, please visit the SAP Help Portal 48
1/30/2023
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseOrderRequest_In - ExchangeRate
Field Description
Rate Rate used by the system when translating gures from a foreign
currency into the local currency.
ExchangeRateFixedIndicator Determines that the exchange rate that is used for currency
translation in the document is xed.
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseOrderRequest_In - PaymentTerms
Field Description
CashDiscount2Days Number of days for the second payment period. In conjunction with
the baseline date for payment, this number represents a payment
period or period of quali cation for discount.
CashDiscount3Days Number of days. In conjunction with the baseline date for payment,
this number represents a payment period or period of quali cation
for discount.
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
This is custom documentation. For more information, please visit the SAP Help Portal 49
1/30/2023
PurchaseOrderRequest_In - HeaderIncoTerms
Field Description
IncotermsClassi cation Commonly used trading terms that comply with the standards
established by the International Chamber of Commerce (ICC).
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseOrderRequest_In - PurchaseOrderItem
Note
In the following table, attributes are marked in blue.
ActionCode Identi es the action performed for the item (1: create, 2: Mandatory for updati
update, 3: delete)
PurchaseOrderItemExternalRefID This number can be used as the reference ID in the update Mandatory when crea
case. order.
Note Optional when updati
purchase order and if
For any purchase order item, either the
PurchaseOrderIt
PurchaseOrderItemID or the
is available.
PurchaseOrderItemExternalRefID must
be provided.
This is custom documentation. For more information, please visit the SAP Help Portal 50
1/30/2023
Material number
Goods receipt
Invoice receipt
MaterialGroup Key that you use to group several materials or services with Mandatory, except fo
the same attributes, and to assign them to a particular items (item category
material group.
Plant Speci es the key for a production facility or branch office Mandatory
within the company (that is, the company code). You use the
plant key to determine, for instance, which plant is to
receive ordered goods.
DeliveryDate Date on which an item is to be delivered or the service Mandatory for materi
provided.
This is custom documentation. For more information, please visit the SAP Help Portal 51
1/30/2023
Note
If the supplier is enabled for ERS and the eld
EvaluatedReceiptSettlementIsAllowed
is not included in the message you send to SAP
S/4HANA Cloud, then the system determines
that the purchase order item is enabled for ERS.
RequestedQuantity Quantity ordered by the buyer, to be supplied by the N/A for limit items, m
supplier. The purchase order quantity relates to the order materials and service
unit.
OverallLimitAmount Maximum value that the total of all unplanned services (or Mandatory
the value of the material) covered by this document item
may not exceed.
ExpectedOverallLimitAmount Value that the unplanned services (or the material) covered Mandatory
by this item are not expected to exceed.
ItemIncoterms Optional
This is custom documentation. For more information, please visit the SAP Help Portal 52
1/30/2023
IncotermsClassification Commonly used trading terms that comply with the Optional
standards established by the International Chamber of
Commerce (ICC).
ItemTax Optional
TaxCode The tax code represents a tax category which must be taken Optional
into consideration when making a tax return to the tax
authorities. Tax codes are unique per country. The tax rate
calculation rules and further features are stored in a table
for each tax code.
TaxJurisdiction The tax jurisdiction is used for determining the tax rates in Optional
the USA. It de nes to which tax authorities you must pay
your taxes. It is always the city to which the goods are
supplied.
PurchaseRequisitionReference Optional
ProcessFlow Optional
GoodsReceiptIsExpected Speci es whether the item involves a goods receipt. In case Optional
of service items, this indicator is used for service entry
sheets.
GoodsReceiptIsNonValuated Speci es that the goods receipt for this item is not to be Optional
valuated. If the indicator is set, the valuation of the
purchase order item will take place at the time of invoice
veri cation.
IsFinalIyInvoiced Indicates that the last invoice from a supplier has been Optional
received for an item and/or that no further invoice is
expected.
DeliveryDetails Optional
This is custom documentation. For more information, please visit the SAP Help Portal 53
1/30/2023
DeliveryAddress Optional
PostalCode Postal code as part of the address. If different postal codes Optional
are maintained for the PO Box and Street address of an
address, this eld contains the Street address postal code.
CountryKey The country key contains information which the system uses Optional
to check entries such as the length of the postal code or
bank account number.
District Optional
Region In some countries, the region forms part of the address. The Optional
meaning depends on the country.
Phone Optional
Fax Optional
FaxNumber Fax number, consisting of dialing code and number, but Optional
without country dialing code. If the fax number consists of a
company number and an extension number, enter the
extension number in the Extension eld.
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseOrderRequest_In - AccountAssignment
This is custom documentation. For more information, please visit the SAP Help Portal 54
1/30/2023
Note
In the following table, attributes are marked in blue.
This is custom documentation. For more information, please visit the SAP Help Portal 55
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 56
1/30/2023
Note
This is custom documentation. For more information, please visit the SAP Help Portal 57
1/30/2023
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseOrderRequest_In - ItemPrice
Note
In the following table, attributes are marked in blue.
This asynchronous outbound service enables you to transfer purchase order messages between your SAP S/4HANA buyer
system and an external supplier system. A purchase order is created in the SAP S/4HANA buyer system which is relevant for
XML message exchange processing with a supplier system. Whenever such a purchase order is saved in the system, a
corresponding XML message is created and is transferred to the corresponding buyer system.
Automating the document exchange of purchase orders between suppliers and buyers saves time and effort.
Purchase order sends XML message through this API during create and update operations. Purchase order for goods
purchasing of material items can be exchanged through this API. Purchase orders for drop shipment scenario that is created
from purchase requisiotion generated from Third Party Sales orders is supported. This API is relevant for the scope items 2EJ
(Integration of Procurement with External Suppliers) and 42K (Automation of Source-to-Pay with Ariba Network).
Service Structure
This is custom documentation. For more information, please visit the SAP Help Portal 58
1/30/2023
The service contains a message header and a payload, containing the header and item information.
Service Nodes
The service nodes contain the business data of the service.
Text Long text on the order header and Item OrderRequest_Out - Text
Namespace: /MMEDI
Interface: ORDREQOUT
To assign users to recipients, use the Assign Recipients to Users app from the Communication Management – Message
Monitoring Con guration (SAP_CA_BC_COM_CONF_PC) business catalog.
For message monitoring, use the Message Dashboard app from the Communication Management - Message Monitoring and
Error Handling (SAP_CA_BC_COM_ERR_PC) business catalog.
Both business catalogs are contained in the business role template Con guration Expert – Business Network Integration
(SAP_BR_CONF_EXPERT_BUS_NET_INT).
Constraints
Transferring attachments is not supported between SAP S/4HANA buyer system and an external supplier system.
Please note that the following elds related to attachments are not in use:
FileType
MimeType
This is custom documentation. For more information, please visit the SAP Help Portal 59
1/30/2023
FileSize
Supplier address is not re ected in the purchase order output if it is added after the purchase order is created (in SAP
S/4HANA Cloud).
See SAP Note 3037036 to know about disruption in integration with third-party system due to change in sequence of
nodes in outgoing XML data.
OrderRequest_Out - MessageHeader
MessageHeader node contains information about the message such as date and time when it was created or ID of the sender
system.
Parameters
Parameters Description
CreationDateTime Date and time at which the message was created. This information
is used to check for duplicate incoming messages and to avoid that
the same message is processed again.
SenderBusinessSystemID Unique identi er of the external system that sends the message.
This information is used to send back response messages or
follow-on messages to the sender system.
RecipientBusinessSystemID Unique identi er of the external system that receives the message.
This information is used to receive messages or follow-on
messages from the sender system.
SenderParty ID of the business partner that sends the message to your SAP
S/4HANA Cloud system. The ID must be identical to the business
partner's ID in your SAP S/4HANA Cloud system.
RecipientParty ID of the business partner that receives the message from your
SAP S/4HANA Cloud system. The ID must be identical to the
business partner's ID in your SAP S/4HANA Cloud system.
OrderRequest_Out - Order
Header node that contains the Order header elds.
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 60
1/30/2023
BuyrCorrExternalReference This eld carries the data of the eld Your Optional
Reference maintained in the purchase
order.
BuyrCorrOwnReference This eld carries the data of the eld Our Optional
Reference maintained in the purchase
order.
RetsMgmtIsActive Optional
This is custom documentation. For more information, please visit the SAP Help Portal 61
1/30/2023
HeaderIncoterms
Note
Company details for example company code name, and purchasing organization name are untranslatable.
OrderRequest_Out - Party
Order node that contains the order party elds. This service node is a sub node of Order Item and Order Header.
Parameters
BuyerPartyID Value depends on the attribute PartyType. See PartyType below for Optional
details.
SupplierPartyID Value depends on the attribute PartyType. See PartyType below for Optional
details.
This is custom documentation. For more information, please visit the SAP Help Portal 62
1/30/2023
StreetAddressName This eld is a combination of the elds StreetName and HouseNumber. Optional
EmailAddress This eld contains the email address of the supplier party as maintained
in the purchase order.
AddressTimeZone This eld is applicable only for the party type, ShipTo. This eld
carries the data of the eld Time Zone maintained in the delivery
address of the purchase order item.
ExternalAddressParserCode This eld is applicable only for the party type, SoldTo. If value of this
eld is 'B', then address carried in the API is buyer's company address,
and it is an external address for the supplier.
This is custom documentation. For more information, please visit the SAP Help Portal 63
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 64
1/30/2023
OrderRequest_Out - PaymentTerms
Order node that contains the order payment terms elds. This service node is a sub node of Order Header.
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 65
1/30/2023
OrderRequest_Out - PaymentCard
Order node that contains the order payment card elds.
Parameters
OrderRequest_Out - Text
Order node that contains the order text elds. This service node is a sub node of Order Item and Order Header.
Parameters
OrderRequest_Out - OrderItem
This service node contains the Order Item information.
This is custom documentation. For more information, please visit the SAP Help Portal 66
1/30/2023
Parameters
ManufacturerPartNumber This eld carries the data of the eld Mfr Part Optional
Number maintained in the tab Material Data of
the purchase order item.
This is custom documentation. For more information, please visit the SAP Help Portal 67
1/30/2023
PriceIsToBePrinted This eld carries the value of the print price Optional
indicator as maintained in the purchase order
item.
ItemIncoterms
This is custom documentation. For more information, please visit the SAP Help Portal 68
1/30/2023
Note
A business add-in Determine Time Zone of
Delivery Address for Purchase Order
Items:
(BADI_ORDREQOUT_DLVADDR_TIMZONE)
is available, this business add-in can be
used to determine time zone of a purchase
order item.
This is custom documentation. For more information, please visit the SAP Help Portal 69
1/30/2023
ExpectedCon rmations > Con rmationSequence: Contains the sequence in which the individual Optional
Con rmationCategory con rmations de ned in a con rmation control
key are expected.
sequenceNumber
Con rmationCategory: Contains the
internal con rmation category key that
matches the supplier con rmation
document (expected by the buyer).
Order Acknowledgment: 1
PermittedPriceShortFallInPct:
This eld carries the data of the eld
Permitted Price Shortfall in %
maintained in the con guration step Set
up Con rmation Control.
UpperConfDateToleranceInDays:
This eld carries the data of the eld
Tol2Early maintained in the
con guration step Set up Con rmation
Control.
LowerConfDateToleranceInDays:
This eld carries the data of the eld
Tol2Late Tolerance Limit maintained in
the con guration step Set up
Con rmation Control.
UnlimitedOverdeliveryIsAllowed This eld carries the data of the eld Unlimited Optional
Overdelivery Allowed maintained in the
purchase order item.
IsCompletelyDelivered This eld carries the data of the eld Delivery Optional
Completed maintained in the purchase order
item.
This is custom documentation. For more information, please visit the SAP Help Portal 70
1/30/2023
IsFinallyInvoiced This eld carries the data of the eld Inv. Optional
Receipt maintained in the tab Invoice of the
purchase order item.
EvaldRcptSettlmtIsAllowed This eld carries the data of the eld Eval. Optional
Receipt Settlement maintained in the purchase
order item.
This is custom documentation. For more information, please visit the SAP Help Portal 71
1/30/2023
VariantCon guration
The following table provides information for variours attributes available in variant con guration.
Node or Field De
VariantConfiguration VarConfignStatus Se
co
Cardinality: 0..1 yo
is
co
CharacteristicValuation Characteristic Sp
na
Cardinality: 0..unbounded
CharcValue Sp
va
CharcValueTo Sp
int
int
CharcValueIntervalType Sp
ex
low
up
Ap
de
CharcValueAssignmentType In
ch
co
VariantConditionFactor Sp
if
va
VarConfignStructureNode VarConfignStructureNodeID Sp
su
Cardinality: 0..unbounded co
yo
You can use this node for multi-
level variant con guration. For
VarConfignStrucParentNodeID Sp
single-level variant
pa
con gurations, leave the node
co
empty.
ro
em
This is custom documentation. For more information, please visit the SAP Help Portal 72
1/30/2023
Node or Field De
IdentifierBOMItem Sp
re
Va
Th
ite
CharacteristicValuation Characteristic Sp
na
Cardinality: 0..unbounded
CharcValue Sp
va
CharcValueIntervalType Sp
ex
low
up
Ap
de
CharcValueAssignmentType In
ch
co
CharcValueAssignmentType In
ch
co
VariantConditionFactor Sp
if
va
Source So
OrderRequest_Out - Product
This service node contains the batch characteristics information. This service node is a sub node of Order Item.
Parameters
ManufacturerPartNumber This eld carries the data of the eld Mfr Optional
Part Number maintained in the tab Material
Data of the purchase order item.
This is custom documentation. For more information, please visit the SAP Help Portal 73
1/30/2023
OrderRequest_Out - ScheduleLine
This service node contains the hierarchy information regarding the batch split items. This service node is a sub node of service
node Order Item.
Note
In the following table, attributes are marked in blue.
Parameters
Note
A business add-in Determine Time Zone
of Delivery Address for Purchase Order
Items:
(BADI_ORDREQOUT_DLVADDR_TIMZONE)
is available, this business add-in can be
used to determine time zone of a purchase
order item.
This is custom documentation. For more information, please visit the SAP Help Portal 74
1/30/2023
This asynchronous outbound service enables you to send status noti cations to an external system from the SAP S/4HANA
Cloud system if certain changes that are relevant for the business process have been made to a purchase order. This includes
noti cations upon creation, blocking and deletion of the purchase orders, as well as changes performed during the approval
process. Furthermore, messages are sent to notify the external consumer about completion and release status changes. You
can use this SOAP-based service only for purchase orders that were created via the inbound web service for purchase order
creation Purchase Order (PurchaseOrderRequest_In).
Service Structure
The request contains a MessageHeader node element and a PurchaseOrderHeader node element.
The PurchaseOrderHeader node element contains information on the purchase order ID, its reference ID, date and time of
the last change, and spreadsheets containing purchase order item list details and purchase order status list details.
0 (Material)
1 (Limit)
9 (Service)
Note
You need to make sure that beside the general mandatory purchase order elds the elds SenderBusinessSystemID and
ReferenceID are lled in the XML structure. If you don't maintain these elds, no outbound message will be called.
This services sends a noti cation message with the following status information to the external consumer:
This is custom documentation. For more information, please visit the SAP Help Portal 75
1/30/2023
PROCSTAT This is the processing status of the purchase order. The following
statuses are available:
02 (Active)
03 (In Release)
05 (Release Completed)
08 (Rejected)
FRGRL This is the release status of the purchase order that indicates
whether the purchase order has already been released.
MEMORY This is the completion status of the purchase order that indicates
whether the purchase order has been completed.
LOEKZ This is the deletion indicator of the purchase order. The following
values are available:
S (Blocked)
L (Deleted)
The service message header contains information on the service, the involved sender and receiver as well as date and time.
Entities
Service Response
PROCSTAT 02 Active
03 In Release
05 Release Completed
This is custom documentation. For more information, please visit the SAP Help Portal 76
1/30/2023
08 Rejected
LOEKZ S Blocked
L Deleted
Prerequisites
Mapping of external system and a logical port must exist to provide communication of the external consumer via this service
with the SAP S/4HANA system. You must create a communication user, a communication system and set up a communication
arrangement. To do so, you can use the following applications:
Communication Arrangements
Please note, that an administrator role must be assigned to your user to enable you to perform this con guration.
Parameters
Parameter Description
ID ID of the message
This is custom documentation. For more information, please visit the SAP Help Portal 77
1/30/2023
Parameters
This outbound service enables you to send noti cations from an SAP S/4HANA Cloud system to an external system when
changes to the purchase order history of an item have occurred. This is the case when a goods receipt or a supplier invoice has
been created for the purchase order item.
Prerequisite
The purchase requisitions on which the purchase order items are based must be created using the OData service Purchase
Requisitions - Read, Create, Update, Delete (API_PURCHASEREQ_PROCESS_SRV). The reason for this prerequisite is that the
noti cations are sent to the external system that called the API API_PURCHASEREQ_PROCESS_SRV to create the purchase
requisitions.
Restrictions
With this service, you cannot transfer information about of service entry sheets that are referenced in the purchase order
history.
Namespace
http://sap.com/xi/Procurement
Service Structure
This is custom documentation. For more information, please visit the SAP Help Portal 78
1/30/2023
The service contains a message header and a payload containing the data of a single purchase order item and the schedule
lines of this item.
The service message header contains information on the service, the involved sender and receiver as well as date and time. The
following elds are always transferred:
SenderParty
schemeID
schemeAgencyID
AreaID
SubscriberID
ExtensionID
CountryCode
CountryDiallingCode
This is custom documentation. For more information, please visit the SAP Help Portal 79
1/30/2023
CountryName
languageCode
AreaID
SubscriberID
ExtensionID
CountryCode
CountryDiallingCode
CountryName
languageCode
schemeID
RecipientParty
schemeID
schemeAgencyID
AreaID
SubscriberID
ExtensionID
CountryCode
CountryDiallingCode
CountryName
languageCode
AreaID
This is custom documentation. For more information, please visit the SAP Help Portal 80
1/30/2023
SubscriberID
ExtensionID
CountryCode
CountryDiallingCode
CountryName
languageCode
schemeID
BusinessScope
listID
listVersionID
listAgencyID
listAgencySchemeID
listAgencySchemeAgencyID
schemeID
schemeAgencyID
schemeID
schemeAgencyID
The PurchaseOrderItem node contains the business data of the service, that is, the history information of a purchase order
item.
This is custom documentation. For more information, please visit the SAP Help Portal 81
1/30/2023
unitCode
This is custom documentation. For more information, please visit the SAP Help Portal 82
1/30/2023
unitCode
unitCode
This is custom documentation. For more information, please visit the SAP Help Portal 83
1/30/2023
currencyCode
Note
Transfer of service entry
sheet data is currently
not supported. See below
"ServiceEntrySheetItem".
Note
Transfer of service entry
sheet data is currently
not supported. See below
"ServiceEntrySheetItem".
This is custom documentation. For more information, please visit the SAP Help Portal 84
1/30/2023
Note
Transfer of service entry
sheet data is currently
not supported. See below
"ServiceEntrySheetItem".
unitCode
currencyCode
This is custom documentation. For more information, please visit the SAP Help Portal 85
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 86
1/30/2023
unitCode
unitCode
currencyCode
This is custom documentation. For more information, please visit the SAP Help Portal 87
1/30/2023
Note
Transfer of service entry
sheet data is currently
not supported. See
above
"ServiceEntrySheetItem".
Note
Transfer of service entry
sheet data is currently
not supported. See
above
"ServiceEntrySheetItem".
Note
Transfer of service entry
sheet data is currently
not supported. See
above
"ServiceEntrySheetItem".
This is custom documentation. For more information, please visit the SAP Help Portal 88
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 89
1/30/2023
Implementation
In SAP SOA Manager (SOAMANAGER), de ne the endpoint of the receiving system. To do this, con gure a logical port for
consumer proxy Purchase Order Item History Noti cation (Follow On Documents)
(PurchaseOrderItemHistoryNotification_Out).
In Customizing for Integration with Other SAP Components under Integration for Purchasing Basic Settings De ne
Communication Systems for Outbound Messages , you have to assign the receiving external system to a logical port. When
doing this, specify the proxy class CO_MMPUR_PO_ITEM_HIST_NOTIF.
1. Unpack the content for the SAP Application Interface Framework (AIF). You do this using transaction AIF Content
Transport - Deploy /AIF/CONTENT_EXTRACT. Use the deployment scenario ID SAP_COM_0238.
2. In Customizing for Cross-Application components under General Application Functions SAP Application Interface
Framework System Con guration Recipients Assign Recipients , assign the following recipient to the users:
Namespace: /MMPUR
Recipient Name: MMPUR_PO_HST_OUT (Purchase Order Item History Noti cation Outbound)
3. For message monitoring, use transaction Monitoring and Error Handling (/AIF/ERR)
This inbound service enables you to receive noti cations from an SAP S/4HANA system to an external system when changes to
the purchase order history of an item have occurred. This is the case when a goods receipt or a supplier invoice has been
created for the purchase order item.
Prerequisites
The following prerequisites apply:
On the satellite system, the SAP Central Procurement add-on must be installed.
This is custom documentation. For more information, please visit the SAP Help Portal 90
1/30/2023
The purchase requisitions on which the purchase order items are based were created locally in the connected system.
The reason for this prerequisite is... To use this service, you must implement the communication scenario Purchase
Requisition Integration (SAP_COM_0102).
The administrator must set up the communication scenario Purchase Order Process Integration (SAP_COM_0238).
Namespace
http://sap.com/xi/Procurement
Restrictions
With this service, you cannot transfer information about of service entry sheets that are referenced in the purchase order
history.
Service Structure
Service Message Header
The service message header contains information on the service, the involved sender and receiver as well as date and time.
This is custom documentation. For more information, please visit the SAP Help Portal 91
1/30/2023
unitCode
This is custom documentation. For more information, please visit the SAP Help Portal 92
1/30/2023
unitCode
unitCode
currencyCode
This is custom documentation. For more information, please visit the SAP Help Portal 93
1/30/2023
Note
Transfer of service entry
sheet data is currently
not supported. See below
"ServiceEntrySheetItem".
Note
Transfer of service entry
sheet data is currently
not supported. See below
"ServiceEntrySheetItem".
Note
Transfer of service entry
sheet data is currently
not supported. See below
"ServiceEntrySheetItem".
This is custom documentation. For more information, please visit the SAP Help Portal 94
1/30/2023
unitCode
currencyCode
This is custom documentation. For more information, please visit the SAP Help Portal 95
1/30/2023
unitCode
unitCode
currencyCode
This is custom documentation. For more information, please visit the SAP Help Portal 96
1/30/2023
Note
Transfer of service entry
sheet data is currently
not supported. See
above
"ServiceEntrySheetItem".
Note
Transfer of service entry
sheet data is currently
not supported. See
above
"ServiceEntrySheetItem".
This is custom documentation. For more information, please visit the SAP Help Portal 97
1/30/2023
Note
Transfer of service entry
sheet data is currently
not supported. See
above
"ServiceEntrySheetItem".
The service is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces.
The OData service supports the purchase order type Standard ("NB") and any customer-de ned purchase order type ("ZNB*")
that has been copied with all dependent entries from purchase order type "NB".
Subcontracting 3 L
Third- Party 5 S
Consignment 2 K
* Enter the required purchase order item category using the internal symbol.
** The external symbol is displayed, for example, in the app Create Purchase Order - Advanced.
This service is published on the SAP API Business Hub. For more information about APIs, see APIs on SAP API Business Hub.
This is an OData version 4 service. This version aims to improve processing time and resource consumption of clients and
servers and to re ect the complexity of the underlying business model. This includes a lightweight JSON format that reduces
the size of every response. Business data can be retrieved in the exact amount, at the right time, and in appropriate mode by
using new synchronization mechanisms. Calculations are made and data is aggregated by using the tiers best suited for this
task. Sophisticated metadata artifacts enable a true-to-life modeling of business models.
Technical Details
This is custom documentation. For more information, please visit the SAP Help Portal 98
1/30/2023
A service group contains services belonging to the same business object model and so it shares similar environment conditions.
This means the con guration and administration of a service group apply to all services in a service group, that is, routing,
authorization, and so on, so you only have to do them once.
In the OData version 4 (V4) runtime implementation of the SAP Gateway Foundation, framework services originate from
repositories.
Service Structure
Service Header (optional)
The service header contains information about the header data, such as the Supplier, Purchasing Group, Purchasing
Organization, Company Code , and Currency .
Entities
Service Response
Entity Description
This is custom documentation. For more information, please visit the SAP Help Portal 99
1/30/2023
Entity Description
Purchase order number Purchase order number which is created by the service is returned
in response to the successful creation of the purchase order
Purchase order header details Newly created purchase order header details
Error Codes
Message class: APPL_MM_PUR_PO, message no. 011 You are not authorized to create purchase orders
Message class: APPL_MM_PUR_PO, message no. 064 Use purchase order type "Standard" ("NB") or a type copied from
“NB”.
Diagnosis
Procedure
Message class: APPL_MM_PUR_PO, message no. 065 Use a supported purchase order item category for item &. See long
text.
Diagnosis
You have either chosen a purchase order item category that is not
supported, or you have used a wrong symbol.
Procedure
Standard: 0
Subcontracting: 3
Third-Party: 5
Enhanced Limit: A
Message class: APPL_MM_PUR_PO, message no. 067 Schedule line has been created automatically for item &
Response(Success) Purchase order “Purchase Order number” has been updated with
status 200 at change set level.
This is custom documentation. For more information, please visit the SAP Help Portal 100
1/30/2023
Message class: APPL_MM_PUR_PO, message no. 069 Only one request is allowed in change set
Message class: APPL_MM_PUR_PO, message no. 070 Only PATCH or MERGE operation is allowed in batch call
Message class: APPL_MM_PUR_PO, message no. 072 You can only update one purchase order per change set
Constraints
With this service, it is not possible to:
1. Create:
Purchase orders with a category other than those speci ed for the header and item.
Purchase order items with a category other than Standard, Subcontracting, Third-Party, and Enhanced Limit .
Only authorized roles can be used to create purchase orders through an API call. Authorized objects: M_BEST_BSA.
2. Update:
Use PUT and MERGE or PATCH, and HEAD in the OData call URL. Only POST, PATCH or MERGE, and DELETE are
allowed with the Batch URL. Using other actions will result in an error.
Update more than one purchase order within one change set. Only one purchase order can be updated in a single
change set. If you would like to update multiple purchase orders, provide the update information of one purchase
order per change set.
Create a new service node (except a purchase order item) in an existing document.
Only authorized roles can be used to update purchase orders through an API call.
3. Get:
You set the paging size up to 5000 records using the following OData request:
Example
/sap/opu/odata/sap/API_PURCHASEORDER_2/R_PurchaseOrder?$top=5000
/sap/opu/odata/sap/API_PURCHASEORDER_2/R_PurchaseOrder?
$expand=to_PurchaseOrderItem&$ lter=CreationDate gt datetime'2021-04-24T00:00:00'&$top=5000
Note
For performance reasons in API_PURCHASEORDER_2 the following is valid: <clauses>-limit = 1000
The default paging size (D) = 1000 if the client did not provide $top.
The maximum paging size (M) = 5000 if the client offers $top.
4. Post:
To transfer pricing values 1:1 from an external system as some values are calculated automatically and IDs are
generated. Regarding the pricing details, the OData service contains elds with "Necessity": read-only, which are
not lled during a Post request.
If migrating from one system to another, it is recommended to use the same pricing procedure in the source and
the target system, to ensure that pricing results are the same. If rounding pro les are maintained (material
master, MRT1 tab), do not send condition data in the Post request as a payload.
This is custom documentation. For more information, please visit the SAP Help Portal 101
1/30/2023
5. Stock Transfer Order (STO) is not supported.
Authentication
The following authentication methods are supported:
Basic Authentication
Related Events
Purchase Order Events
Additional Information
The link to the API on the SAP API Business Hub:
https://api.sap.com/api/CE_PURCHASEORDER_0001/overview
Note
For more details about Communication Management, see Communication Management.
Purchase Order
Technical name: PurchaseOrder
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed.
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 102
1/30/2023
Note
DocumentCurrency is derived from the
supplier master data.
This is custom documentation. For more information, please visit the SAP Help Portal 103
1/30/2023
PurchaseOrder Request from a buyer to a seller to deliver a POST (new purchase order) and internal
speci ed quantity of material, or perform a number assignment: Not required
speci ed service
POST (new purchase order) and external
number assignment (if allowed by your
con guration settings): Optional
DELETE: Mandatory
Note
Be aware that request url and body of
request must be treated differently!
This is custom documentation. For more information, please visit the SAP Help Portal 104
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
This is custom documentation. For more information, please visit the SAP Help Portal 105
1/30/2023
Create
Read
Update
Delete
Header Notes
Technical name: PurchaseOrderNote
Properties
Note
No validation is performed for the Text Object Type parameter.
If you add a new text to an existing text in a POST operation, the two texts are merged.
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Item
Technical name: PurchaseOrderItem
Properties
Note
This is custom documentation. For more information, please visit the SAP Help Portal 106
1/30/2023
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
Note
Address handling
For some of the delivery address elds an input is provided in the payload in addition to the ReferenceDeliveryAddressID, the
Subcontractor, and the Customer.
If a reference delivery address ID is entered in the payload, the address maintained under the reference delivery address ID
is used. If you enter, for example, a delivery address street and house number in the payload in addition to the reference
delivery address ID, the system generates a new delivery address ID. The address saved for this new delivery address ID
consists of a combination of the address of the reference delivery address ID and the address details given explicitly in the
payload for the respective delivery address elds (in our example for the delivery address street and house number).
Note
GET request and paging
The GET statement is quite powerful as it could possibly retrieve huge amounts of data – if not restricted, all data on the
database could be returned. To have a safety net and keep performance up, paging was introduced for the data in the result.
This means that if no URI Option $top is given in the URI, 1000 records are retrieved. If, however, the $top option is given,
max. 5000 records can be retrieved.
In addition, the $skiptoken option can be used to retrieve the data from all so-called pages: one page is a result set of 1000
records. To get all records in the result set, all pages can be read. To do this, the skiptoken at the bottom of the response can
be used to get to the next page with the next 1000 records, for example:
/sap/opu/odata/sap/API_PURCHASEORDER_2/R_PurchaseOrder?$skiptoken=1000
The next page is retrieved, starting with the next purchase order after the last one in the rst result set.
At the end of this page, the skiptoken allows further "navigation" by giving both skiptokens, the current one and the next one:
This is custom documentation. For more information, please visit the SAP Help Portal 107
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 108
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 109
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 110
1/30/2023
Note
When working with item hierarchies, it is
Mandatory to enter a short text for item
sets.
This is custom documentation. For more information, please visit the SAP Help Portal 111
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 112
1/30/2023
Please see Note: Address handling on top Used here: default Reference ID for existing
of this table and consider the described address. No new address can be created.
dependencies.
This is custom documentation. For more information, please visit the SAP Help Portal 113
1/30/2023
SupplierSubrange Optional
Note
You must ll the eld only if
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Item Notes
This is custom documentation. For more information, please visit the SAP Help Portal 114
1/30/2023
Technical name: PurchaseOrderItemNote
Properties
Note
No validation is performed for the Text Object Type parameter.
If you add a new text to an existing text in a POST operation, the two texts are merged.
Note
Filtering by PlainLongText is not
supported for purchase orderItem Notes
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Schedule Line
Technical name: PurchaseOrderScheduleLine
Properties
Note
This is custom documentation. For more information, please visit the SAP Help Portal 115
1/30/2023
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
Note
Regarding Delivery Date:
Relevant for POST operation with a single schedule line: If you order a material for which the system can determine the
delivery date from an info record or from the material master data, the system copies the date determined and ignores any
date entered in the payload. If you want to de ne a different delivery date, please either create several schedule lines or
change the delivery date in a PATCH or MERGE operation.
This is custom documentation. For more information, please visit the SAP Help Portal 116
1/30/2023
ScheduleLineDeliveryDate Schedule line delivery date Optional - please see note above
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Subcontracting Components
Technical name: POSubcontractingComponent
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 117
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 118
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
This is custom documentation. For more information, please visit the SAP Help Portal 119
1/30/2023
Create
Read
Update
Delete
Account Assignment
Technical name: PurchaseOrderAccountAssignment
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 120
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 121
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Pricing Element
Technical name: PurOrderItemPricingElement
This is custom documentation. For more information, please visit the SAP Help Portal 122
1/30/2023
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
Note
It is not possible to transfer pricing values 1:1 from an external system as some values are calculated automatically and IDs
are generated. Regarding the pricing details, the OData service contains elds with "Necessity": read-only, which are not
lled during a Post request.
If migrating from one system to another, it is recommended to use the same pricing procedure in the source and the target
system, to ensure that pricing results are the same. If rounding pro les are maintained (material master, MRT1 tab), do not
send condition data in the Post request as a payload.
This is custom documentation. For more information, please visit the SAP Help Portal 123
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 124
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 125
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Partner
Technical name: PurchaseOrderPartner
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 126
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Invoicing Plan
Technical name: PurchaseOrderInvoicingPlan
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 127
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 128
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Supplier Address
Technical name: PurchaseOrderSupplierAddress
Properties
Note
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 129
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 130
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
Properties
Note
This is custom documentation. For more information, please visit the SAP Help Portal 131
1/30/2023
Read-only in the Necessity column below means the following behavior of the OData API. Entries for the respective elds in
the payload can neither be added nor changed:
POST: Any data for the eld in the payload will be ignored.
PATCH or MERGE: Any data that is different from the existing data triggers an error message; matching data will be
ignored.
This is custom documentation. For more information, please visit the SAP Help Portal 132
1/30/2023
Include the properties of the entity, a short description and the necessity of the property.
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Create
Read
Update
Delete
This asynchronous inbound service enables you to receive order con rmations from an external supplier system in your SAP
S/4HANA buyer system. The supplier con rms the goods or services, their pricing and the delivery schedule. This message can
be generated by a sales order in the supplier SAP system, which in turn triggers a message through this web service, con rming
the purchase order. Upon receipt of this message, the order con rmation is generated in the SAP S/4HANA system.
Namespace: http://sap.com/xi/EDI
Service Structure
This is custom documentation. For more information, please visit the SAP Help Portal 133
1/30/2023
The service contains a message header and a payload, containing the header and item information.
The below mentioned operations are supported while processing a message through web service:
Create: Create con rmation and set con rmed net price, con rmed delivery date and/or con rmed quantity.
Update: Update con rmation and set new con rmed net price, new con rmed delivery date and/or new con rmed
quantity.
Reject: Reject a line item if the supplier is unable to ful l the order for the material or goods.
The service message header contains information about the service, the involved sender and receiver as well as date and time.
The following nodes and elds are the most important ones:
Nodes
This is custom documentation. For more information, please visit the SAP Help Portal 134
1/30/2023
Item Item information for the order con rmation OrderCon rmationRequest_In - Item
Sample Payload
Sample Code
<?xml version="1.0" encoding="UTF-8"?>
<n0:OrderConfRequest xmlns:n0="http://sap.com/xi/EDI" xmlns:prx="urn:sap.com:proxy:CC3:/1SAI/TASA
<MessageHeader>
<ID>0894EF4577B11EEB98A725B11960D1CC</ID>
<CreationDateTime>2021-01-28T07:19:36Z</CreationDateTime>
<SenderBusinessSystemID>0345235</SenderBusinessSystemID>
</MessageHeader>
<OrderConfirmation>
<PurchaseOrderID>4500011923</PurchaseOrderID>
<SalesOrderID>23183</SalesOrderID>
<SalesDocumentType>TA</SalesDocumentType>
<SalesOrganization>1010</SalesOrganization>
<DistributionChannel>10</DistributionChannel>
<OrganizationDivision>00</OrganizationDivision>
<SalesOrderCreationDate>2021-01-28</SalesOrderCreationDate>
<TransactionCurrency>EUR</TransactionCurrency>
<BuyerExchangeRate>1.0</BuyerExchangeRate>
<ItemListIsCompletelyTransferred>true</ItemListIsCompletelyTransferred>
<Party PartyType="SoldTo">
<BuyerPartyID>1010</BuyerPartyID>
<SupplierPartyID>10154802</SupplierPartyID>
<Address>
<FormOfAddressName>Company</FormOfAddressName>
<AddressName>Company Code 1010 - Address Name 1</AddressName>
<AddressAdditionalName>Company Code 1010</AddressAdditionalName>
<StreetName>XYZ</StreetName>
<HouseNumber>16</HouseNumber>
<StreetAddressName>ABC</StreetAddressName>
<PostalCode>69190</PostalCode>
<CityName>DEF</CityName>
<Country>DE</Country>
<District>Industriegebiet</District>
<Region>BW</Region>
<PhoneNumber>08022039000</PhoneNumber>
<EmailAddress>noreply@xyz.com</EmailAddress>
<CorrespondenceLanguage>de</CorrespondenceLanguage>
</Address>
</Party>
<Party PartyType="BillTo">
<BuyerPartyID>1010</BuyerPartyID>
<SupplierPartyID>10154802</SupplierPartyID>
<Address>
<FormOfAddressName>Company</FormOfAddressName>
<AddressName>Company Code 1010 - Address Name 1</AddressName>
<AddressAdditionalName>Company Code 1010</AddressAdditionalName>
<StreetName>XYZ</StreetName>
<HouseNumber>16</HouseNumber>
<StreetAddressName>XYZ 16</StreetAddressName>
<PostalCode>69190</PostalCode>
<CityName>Walldorf</CityName>
<Country>DE</Country>
<District>Industriegebiet</District>
<Region>BW</Region>
<PhoneNumber>08022039000</PhoneNumber>
<EmailAddress>sap@toyotabharat.com</EmailAddress>
<CorrespondenceLanguage>de</CorrespondenceLanguage>
</Address>
</Party>
<Party PartyType="Payer">
<SupplierPartyID>10154802</SupplierPartyID>
<Address>
<FormOfAddressName>Company</FormOfAddressName>
<AddressName>Toyota Bharat</AddressName>
This is custom documentation. For more information, please visit the SAP Help Portal 135
1/30/2023
<StreetName>Bhimenahalli, Bidadi</StreetName>
<HouseNumber>41</HouseNumber>
<StreetAddressName>41 Bhimenahalli, Bidadi</StreetAddressName>
<PostalCode>562109</PostalCode>
<CityName>Bangalore</CityName>
<Country>IN</Country>
<Region>KA</Region>
<PhoneNumber>08022039000</PhoneNumber>
<EmailAddress>sap@toyotabharat.com</EmailAddress>
<CorrespondenceLanguage>en</CorrespondenceLanguage>
</Address>
</Party>
<Party PartyType="ShipTo">
<BuyerPartyID>1010</BuyerPartyID>
<SupplierPartyID>10154802</SupplierPartyID>
<Address>
<FormOfAddressName>Company</FormOfAddressName>
<AddressName>Storage Location 101C - Address Nam</AddressName>
<StreetName>XYZ</StreetName>
<HouseNumber>16</HouseNumber>
<StreetAddressName>XYZ 16</StreetAddressName>
<PostalCode>69190</PostalCode>
<CityName>DEF</CityName>
<Country>DE</Country>
<Region>BW</Region>
<PhoneNumber>08022039000</PhoneNumber>
<EmailAddress>123@xyz.com</EmailAddress>
<CorrespondenceLanguage>de</CorrespondenceLanguage>
</Address>
</Party>
<RequestedDeliveryDate>2021-02-04</RequestedDeliveryDate>
<UnloadingPointName>FRONT_GATE</UnloadingPointName>
<OrderCombinationIsAllowed>true</OrderCombinationIsAllowed>
<HeaderIncoterms>
<IncotermsClassification>CFR</IncotermsClassification>
<IncotermsLocation1>DFG</IncotermsLocation1>
</HeaderIncoterms>
<PaymentTerms>
<SupplierPaymentTermsID>0004</SupplierPaymentTermsID>
</PaymentTerms>
<Item>
<PurchaseOrderItemID>000010</PurchaseOrderItemID>
<PurchaseOrderItemCategory>TAN</PurchaseOrderItemCategory>
<SalesOrderItemID>10</SalesOrderItemID>
<SalesOrderItemCategory>TAN</SalesOrderItemCategory>
<OrderItemText>Handelsware 11, PD, normaler Handel</OrderItemText>
<RequestedQuantity unitCode="PCE">10.0</RequestedQuantity>
<Product>
<BuyerProductID>TG11</BuyerProductID>
<SupplierProductID>TG11</SupplierProductID>
</Product>
<NetPrice>
<Amount currencyCode="EUR">100.0</Amount>
<BaseQuantity unitCode="PCE">1.0</BaseQuantity>
</NetPrice>
<NetAmount currencyCode="EUR">1000.0</NetAmount>
<Plant>1010</Plant>
<ScheduleLine>
<ConfirmedDeliveryDate>2020-11-17</ConfirmedDeliveryDate>
<ConfirmedOrderQuantityByMaterialAvailableCheck unitCode="PCE">0.0</ConfirmedOrderQua
</ScheduleLine>
<ScheduleLine>
<ConfirmedDeliveryDate>2021-02-03</ConfirmedDeliveryDate>
<ConfirmedOrderQuantityByMaterialAvailableCheck unitCode="PCE">10.0</ConfirmedOrderQu
</ScheduleLine>
</Item>
</OrderConfirmation>
</n0:OrderConfRequest>
Authentication Method
This is custom documentation. For more information, please visit the SAP Help Portal 136
1/30/2023
For this service, use the basic or X.509 authentication method to sign on.
The basic process authenticates you based on your user ID and password in the HTTP header (Document Authentication). This
option is supported for HTTP and HTTPS.
For the scenario Sourcing and Procurement with Suppliers Integration, con gure communication scenario
SAP_COM_0224.
To display more information on the SAP API Business Hub, select the Details tab of the service.
Namespace: /MMEDI
Interface: ORDCFRQIN
To assign users to recipients, use the Assign Recipients to Users app from the Communication Management – Message
Monitoring Con guration (SAP_CA_BC_COM_CONF_PC) business catalog.
For message monitoring, use the Message Dashboard app from the Communication Management - Message Monitoring and
Error Handling (SAP_CA_BC_COM_ERR_PC) business catalog.
Both business catalogs are contained in the business role template Con guration Expert – Business Network Integration
(SAP_BR_CONF_EXPERT_BUS_NET_INT).
The OrderCon rmation node contains the order con rmation header data.
Note
In the following table, attributes are marked in blue.
This is custom documentation. For more information, please visit the SAP Help Portal 137
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 138
1/30/2023
HeaderIncoterms 0..1
This is custom documentation. For more information, please visit the SAP Help Portal 139
1/30/2023
Note
In the following table, attributes are marked in blue.
Address 0..1
This is custom documentation. For more information, please visit the SAP Help Portal 140
1/30/2023
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
This is custom documentation. For more information, please visit the SAP Help Portal 141
1/30/2023
The Item node contains the elds of the order con rmation item.
Note
In the following table, attributes are marked in blue.
ReturnAttributes 0..1
This is custom documentation. For more information, please visit the SAP Help Portal 142
1/30/2023
Product 0..1
NetPrice 0..1
This is custom documentation. For more information, please visit the SAP Help Portal 143
1/30/2023
ScheduleLine 0..unbounded
This is custom documentation. For more information, please visit the SAP Help Portal 144
1/30/2023
PerformancePeriodEndDate
Note
In the following table, attributes are marked in blue.
This is custom documentation. For more information, please visit the SAP Help Portal 145
1/30/2023
Address 0..1
This is custom documentation. For more information, please visit the SAP Help Portal 146
1/30/2023
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
This service enables you to replicate the shopping cart from an SAP S/4HANA system to an external system. It is based on the
SOAP protocol.
Service Request
Service Message Header
The service message header contains information on the service, the involved sender and receiver as well as date and time. The
following nodes and elds are the most important ones:
Service Nodes
This is custom documentation. For more information, please visit the SAP Help Portal 147
1/30/2023
Namespace: /MMHUB
To assign recipients to users, use the Assign Recipients to Users app from the Communication Management – Message
Monitoring Con guration (SAP_CA_BC_COM_CONF_PC) business catalog.
For message monitoring, use the Message Dashboard app from the Communication Management - Message Monitoring and
Error Handling (SAP_CA_BC_COM_ERR_PC) business catalog.
Both business catalogs are contained in the business role template Con guration Expert – Business Network Integration
(SAP_BR_CONF_EXPERT_BUS_NET_INT).
PurchaseRequisitionReplicationRequest_Out – MessageHeader
Use
Node that contains the message header details of the purchase requisition document.
ID ID of the purchase
requisition in the SAP
S/4HANA Cloud hub
system
This is custom documentation. For more information, please visit the SAP Help Portal 148
1/30/2023
InternalID Internal ID
StandardID Standard ID
ExtensionID Extension
This is custom documentation. For more information, please visit the SAP Help Portal 149
1/30/2023
Extension Extension
InternalID Internal ID
StandardID Standard ID
InternalID Internal ID
ExtensionID Extension
This is custom documentation. For more information, please visit the SAP Help Portal 150
1/30/2023
ExtensionID Extension
Note
This is custom documentation. For more information, please visit the SAP Help Portal 151
1/30/2023
To display more information about the service node on the SAP API Business Hub, select the operation. This works best in
Mozilla Firefox or Google Chrome.
PurchaseRequisitionReplicationRequest_Out – PurchaseRequest
Use
Note
In the following table, eld attributes are marked in blue.
errorResponseIndicator The indicator which tells if an error has occurred in response of the service
CntrlReqnIsRpldBfrApprvl The indicator tells if the replication of the purchase requisition to the connected
system happens before it is approved in the hub system.
RequestorPersonName Name of the requestor who requested the purchase requisition document
This is custom documentation. For more information, please visit the SAP Help Portal 152
1/30/2023
Percent Percent
Amount Amount
AttachmentFolder Attachment
Note
To display more information about the service node on the SAP API Business Hub, select the operation. This works best in
Mozilla Firefox or Google Chrome.
This service enables you to read, create, update, and delete purchase requisitions through an API call from a source system
outside SAP S/4HANA Cloud.
This service is published on the SAP API Business Hub. For more information about APIs, see APIs on SAP API Business Hub.
Service Structure
Service Message Header
The service message header contains information on the service, the involved sender and receiver as well as date and time.
This is custom documentation. For more information, please visit the SAP Help Portal 153
1/30/2023
The purchase requisition has the following entity structure. It contains header, item, account assignment, item notes and
delivery address nodes.
Entities
Item Notes (A_PurchaseReqnItemText) Item text information for purchase Item Notes
requisition
This is custom documentation. For more information, please visit the SAP Help Portal 154
1/30/2023
A_PurReqnAcctAssgmt NO YES NO
A_PurReqAddDelivery NO YES NO
Batch Operations
A_PurReqAddDelivery NO YES NO
Service Response
1. Response Codes for Batch and Non-Batch Operations
Response Codes
Failure 400
Failure 400/500
2. Error Messages
Message No.125
This is custom documentation. For more information, please visit the SAP Help Portal 155
1/30/2023
MMPUR_REQ_COMMON/ You can only update one purchase requisition per change set.
MMPUR_REQ_COMMON/ You can create items belonging to only one origin in one PR
MMPUR_REQ_COMMON/ Please use same purchasing doc. type for header and items
within a PR
Message No. 145
MMPUR_REQ_COMMON/ Cannot assign info record or contract as SoS for enhanced limit
item
Message No. 156
MMPUR_SPROC/Message No. 16 Multiple account assignments are not allowed for enhanced
limit items.
MMPUR_REQ_SERVPROC/Message No. 019 Item set &1 does not have a subordinate item.
MMPUR_REQ_SERVPROC/Message No. 020 Hierarchy level limit reached for the item &1.
MMPUR_REQ_SERVPROC/Message No. 034 A hierarchy list could not be formed using the entered values.
MMPUR_REQ_SERVPROC/Message No. 035 You cannot insert or move an item in a hierarchy list.
MMPUR_REQ_SERVPROC/Message No. 042 Provide the parent item details before the subitem details for
item &1.
MMPUR_REQ_SERVPROC/Message No. 043 You cannot have an item note for &1 as it is an itemset.
MMPUR_REQ_SERVPROC/Message No. 044 You cannot change an item set into an item or vice versa.
Error Handling
To monitor messages transferred by this service, you need to assign the following recipient to the users:
This is custom documentation. For more information, please visit the SAP Help Portal 156
1/30/2023
Namespace: /MMPUR
To assign recipients to users, use the Assign Recipients to Users app from the Communication Management – Message
Monitoring Con guration (SAP_CA_BC_COM_CONF_PC) business catalog. For more information, see:
Communication Management
To monitor messages, use the Message Dashboard app from the Communication Management - Message Monitoring and Error
Handling (SAP_CA_BC_COM_ERR_PC) business catalog.
To view and lter error logs related to SOAP and OData web services, use the Communication Management - Technical
Message Monitoring (SAP_CA_BC_COM_TECH_ERR_PC) business catalog.
Message Dashboard
Message Monitoring
The business role template Con guration Expert – Business Network Integration (SAP_BR_CONF_EXPERT_BUS_NET_INT)
contains both of these business catalogs.
Constraints
The constraints are as listed below:
Operation Constraints
Create Only authorized roles can be used to create purchase requisition through an API call. The following
authorization objects for purchase requisitions are relevant:
M_BANF_BSA
M_BANF_EKG
M_BANF_EKO
M_BANF_WRK
This is custom documentation. For more information, please visit the SAP Help Portal 157
1/30/2023
Operation Constraints
Update
Only GET, PATCH and POST are allowed with the OData call URL. You cannot use the methods,
DELETE, MERGE, and HEAD in OData call URL. Usage of any of these methods would result
in an error.
PATCH and POST methods are allowed with the batch call request. You cannot use the
methods DELETE, MERGE, HEAD in the change set of Batch Call request. Usage of any of
these methods would result in an error.
Multiple purchase requisitions can be updated using multiple change sets. You cannot update
more than one purchase requisition within one change set. ONLY ONE purchase requisition
can be updated in a single change set.
Only authorized roles can be used to update purchase requisition through an API call.
Related Events
Purchase Requisition Events
Additional Information
The link to the API on the SAP API Business Hub: Purchase Requisition .
Note
For more details about Communication Management, see Communication Management.
Purchase Requisition
Technical name: A_PurchaseRequisitionHeader
Use
This API node contains the purchase requisition header elds.
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 158
1/30/2023
Note
The value of this parameter is
not persisted
Item
Technical name: A_PurchaseRequisitionItem
Use
This API node contains the purchase requisition item elds.
Parameters
ExpectedOverallLimitAmount Amount expected to be spent on the limit item Mandatory for Limit Items, that is for items
with PurchasingDocumentItemCategory = 'A'
This is custom documentation. For more information, please visit the SAP Help Portal 159
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 160
1/30/2023
Note
Based on the distribution indicator chosen, you
must pass appropriate values for the parameter
"MultipleAcctAssgmtDistrPercent" in
A_PurReqnAcctAssgmt.
Note
You must always provide the <BaseUnit>
corresponding to the <OrderedQuantity> value, in
each and every operation.
OverallLimitAmount Maximum amount that can be spent on the limit Mandatory for Limit Items, that is for items
item. It is the upper limit that the expected value of with PurchasingDocumentItemCategory = 'A'
the limit item (ExpectedOverallLimitAmount) must
not exceed.
PATCH: Optional
N - Not edited
B - PO created
A - RFQ created
K - Contract created
For example,
1 - Material
2 - Service
This is custom documentation. For more information, please visit the SAP Help Portal 161
1/30/2023
PATCH: Optional
This is custom documentation. For more information, please visit the SAP Help Portal 162
1/30/2023
PurgCon gurableItemNumber This parameter provides the hierarchy number of the Optional
items in a hierarchy list. This parameter is empty
("") in the case of at list.
Note
You must always provide the <BaseUnit>
corresponding to the <PurReqnPriceQuantity>
value, in each and every operation.
01 - Version in Process
02 - Active
03 - In Release
05 - Release Completed
08 - Release Refused
This is custom documentation. For more information, please visit the SAP Help Portal 163
1/30/2023
Note
You must always provide the <BaseUnit>
corresponding to the <RequestedQuantity>
value, in each and every operation.
PurchaseOrderPriceType The price in the purchase order item is adopted from Optional
the purchase requisition item, based on this
parameter. The possible values are:
Account Assignment
This is custom documentation. For more information, please visit the SAP Help Portal 164
1/30/2023
Technical name: A_PurReqnAcctAssgmt
Use
This API node contains the account assignment elds that correspond to the purchase requisition item.
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 165
1/30/2023
Note
The value that you provide for this
parameter must correspond to the value
of the parameter
"MultipleAcctAssgmtDistribution" in
A_PurchaseRequisitionItem.
If "MultipleAcctAssgmtDistribution"
in A_PurchaseRequisitionItem is
Single Accounting - "",
MultipleAcctAssgmtDistrPercent
must be 0
If "MultipleAcctAssgmtDistribution"
in A_PurchaseRequisitionItem is
Distribution on Quantity Basis - "1",
MultipleAcctAssgmtDistrPercent
must be 0
If "MultipleAcctAssgmtDistribution"
in A_PurchaseRequisitionItem is
Distribution by Percentage - "2",
pass the percentage split for the
accounting lines. For example,
This is custom documentation. For more information, please visit the SAP Help Portal 166
1/30/2023
Note
You must always provide the
<BaseUnit> corresponding to the
<Quantity> value, in each and every
operation.
Delivery Address
Technical name: A_PurReqAddDelivery
Use
This API node contains the purchase requisition item delivery address elds.
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 167
1/30/2023
'P' - Plant
'R' - Reference
Note
Following address types are NOT
supported:
'C' - Customer
'S' - Supplier
This is custom documentation. For more information, please visit the SAP Help Portal 168
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 169
1/30/2023
Item Notes
Technical name: A_PurchaseReqnItemText
Use
This API node contains the item text information for purchase requisition.
Note
This service node is a child item of Purchase Requisition Item node and cannot be created independently.
Parameters
400006573200010
in which,
This is custom documentation. For more information, please visit the SAP Help Portal 170
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 171
1/30/2023
Create
Create a Purchase Requisition
Request
You can include the following properties in the URL of the request:
Note
You must include the associated entities of the purchase requisition item, such as account assignment, delivery address and
item note in your request; else the creation request shall fail.
Response
On success, this operation returns the purchase requisition number, along with the data contained in the purchase requisition.
The requisition is created in the logon language.
Here, in the response below, purchase requisition "4000087493" is created successfully. If there are any errors, the appropriate
error messages are returned.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
This is custom documentation. For more information, please visit the SAP Help Portal 172
1/30/2023
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
Content-Type: application/json
{
"PurReqnDescription": "",
"to_PurchaseReqnItem": {
"results": [
{
"PurchaseRequisitionType": "NBS",
"PurchaseRequisitionItemText": "Test PR",
"AccountAssignmentCategory": "U",
"MaterialGroup": "A001",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "1.00",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"TaxCode": "V0",
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {},
"to_PurchaseReqnItemText": {
"results": []
}
}
]
}
}
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader('4000
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader('400
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionType": "NBS",
"PurReqnDescription": "David20191202",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(P
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NBS",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Test PR",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "1.00",
"PurReqnPriceQuantity": "1",
This is custom documentation. For more information, please visit the SAP Help Portal 173
1/30/2023
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1575244800000)/",
"CreationDate": "/Date(1575244800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "David",
"PurReqCreationDate": "/Date(1575244800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"TaxCode": "V0",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
This is custom documentation. For more information, please visit the SAP Help Portal 174
1/30/2023
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionIte
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Purch
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Purc
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"AddressType": "",
"Plant": "0001",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "ABC",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69191",
"CompanyPostalCode": "",
"StreetName": "Street",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "15",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "01",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "John",
"BusinessPartnerName2": "",
This is custom documentation. For more information, please visit the SAP Help Portal 175
1/30/2023
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
}
]
}
}
}
Request
You can include the following properties in the URL of the request:
A_PurchaseRequisitionItem - Item
Note
While creating an item, you must include the associated entities, else the item creation shall fail.
Response
On success, the purchase requisition item is added to the purchase requisition. The item "Cable" is added to the purchase
requisition "4000087493", with item number "20".
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem
Content-Type: application/json
{
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItemText": "Cable",
"AccountAssignmentCategory": "U",
"MaterialGroup": "A001",
This is custom documentation. For more information, please visit the SAP Help Portal 176
1/30/2023
"RequestedQuantity": "100",
"PurchasingGroup": "001",
"Plant": "0001",
"BaseUnit": "P",
"CompanyCode": "0001",
"PurchaseRequisitionPrice": "7.00",
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {},
"to_PurchaseReqnItemText": {
"results": []
}
}
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purchas
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purcha
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NBS",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cable",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "P",
"PurchaseRequisitionPrice": "7.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1575244800000)/",
"CreationDate": "/Date(1575244800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "David",
"PurReqCreationDate": "/Date(1575244800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
This is custom documentation. For more information, please visit the SAP Help Portal 177
1/30/2023
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purc
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseReq
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseRe
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "4000087493",
This is custom documentation. For more information, please visit the SAP Help Portal 178
1/30/2023
"PurchaseRequisitionItem": "20",
"AddressID": "",
"AddressType": "",
"Plant": "0001",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "ABC",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69191",
"CompanyPostalCode": "",
"StreetName": "Street",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "15",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "01",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "John",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
}
}
Request
You can include the following properties in the request's URL:
Response
On success, the operation creates a limit item with the details provided in the request. If there are any errors, the appropriate
error messages are returned.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
{
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Minor Office Supplies",
"to_PurchaseReqnItem": [
{
"PurReqnOrigin": "R",
"Plant": "1010",
"PurchasingDocumentItemCategory": "A",
"ProductType": "1",
"PurchasingGroup": "001",
"PurchaseRequisitionItemText": "Limit Item",
"ExpectedOverallLimitAmount": "100",
"OverallLimitAmount": "100",
"PerformancePeriodStartDate": "2020-07-07T00:00:00",
"PerformancePeriodEndDate": "2020-07-17T00:00:00",
"AccountAssignmentCategory": "U"
}
]
}
Response
You can see in the response below that a limit item has been created successfully. The parameters such as DeliveryDate,
PurchaseRequisitionPrice and RequestedQuantity are not applicable for limit items. So, the PerformancePeriodEndDate is
taken as the DeliveryDate. The ExpectedOverallLimitAmount is considered as the PurchaseRequisitionPrice. The
RequestedQuantity is always considered as "0".
This is custom documentation. For more information, please visit the SAP Help Portal 180
1/30/2023
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Example Limit PR",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purchas
"uri": "<host>/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purcha
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "A",
"PurchaseRequisitionItemText": "Limit Item",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "100.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": "/Date(1594944000000)/",
"CreationDate": "/Date(1597104000000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000105",
"PurReqCreationDate": "/Date(1597104000000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
This is custom documentation. For more information, please visit the SAP Help Portal 181
1/30/2023
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": "/Date(1594080000000)/",
"PerformancePeriodEndDate": "/Date(1594944000000)/",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "100.00",
"OverallLimitAmount": "100.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Pu
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Pu
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Pu
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Pu
}
}
}
]
}
}
}
MMPUR_REQ_COMMON/ Cannot assign info record or contract as SoS for enhanced limit
item
Message No. 156
This is custom documentation. For more information, please visit the SAP Help Portal 182
1/30/2023
MMPUR_SPROC/Message No. 16 Multiple account assignments are not allowed for enhanced limit
items.
Request
You can include the following properties in the URL of the request:
Response
On success, the item note is added to the purchase requisition item. The item note "Coaxial Cable" is added to item "10" of
purchase requisition "4000087493".
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
POST <host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText
{
"PurchaseRequisition":"4000087493",
"PurchaseRequisitionItem":"10",
"DocumentText": "B02",
"NoteDescription": "Coaxial Cable"
}
Response
{
"d": {
This is custom documentation. For more information, please visit the SAP Help Portal 183
1/30/2023
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText(Purc
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText(Pur
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseReqnItemTextType"
},
"PurchaseRequisition": "",
"PurchaseRequisitionItem": "0",
"DocumentText": "",
"TechnicalObjectType": "",
"Language": "",
"ArchObjectNumber": "",
"NoteDescription": "",
"FixedIndicator": ""
}
}
Request
You can include the following properties in the request's URL:
Response
On success, purchase requisition with delivery address is created.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
If you want to enter the delivery address manually, enter the address details in the delivery address entity,
A_PurReqAddDelivery.
If you want to provide a reference delivery address, provide reference delivery address ID using the parameter
ItemDeliveryAddressID in A_PurchaseRequisitionItem. Do not provide a manual address.
If you want to have the storage location address as the delivery address, maintain the storage location using the
parameter StorageLocation in A_PurchaseRequisitionItem. Do not provide reference delivery address ID or
manual address.
If you want to have the plant address as the delivery address, maintain the plant using the parameter Plant in
A_PurchaseRequisitionItem. Do not provide the storage location, reference delivery address ID or manual
address.
Request
This is custom documentation. For more information, please visit the SAP Help Portal 184
1/30/2023
}
]
}
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeade
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "User Entry",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "test item PR1 -1",
"AccountAssignmentCategory": "",
"Material": "CM_HAWA",
"MaterialGroup": "001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "10",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "234.56",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "0001",
"PurchasingGroup": "001",
This is custom documentation. For more information, please visit the SAP Help Portal 185
1/30/2023
"Plant": "0001",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1632700800000)/",
"CreationDate": "/Date(1632182400000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "ABC",
"PurReqCreationDate": "/Date(1632182400000)/",
"DeliveryAddressID": "1305825",
"ManualDeliveryAddressID": "1305825",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "5",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "0001",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "1305825",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
This is custom documentation. For more information, please visit the SAP Help Portal 186
1/30/2023
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"Plant": "0001",
"AddressType": "",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Adam1",
"BusinessPartnerName2": "Gibbs1",
This is custom documentation. For more information, please visit the SAP Help Portal 187
1/30/2023
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
}
]
}
}
}
On doing a read of the purchase requisition, you can see that although you have provided the plant, storage location, reference
address and manual address while creating the requisition, the manually entered address takes precedence. Hence the address
type is set as 'U' and the manual address entered by the user is taken as the delivery address of the purchase requisition.
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader(PurchaseRequis
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeade
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "User Entry",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "test item PR1 -1",
"AccountAssignmentCategory": "",
"Material": "CM_HAWA",
"MaterialGroup": "001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "10",
"BaseUnit": "EA",
This is custom documentation. For more information, please visit the SAP Help Portal 188
1/30/2023
"PurchaseRequisitionPrice": "234.56",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1632268800000)/",
"PurchasingOrganization": "0001",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1632700800000)/",
"CreationDate": "/Date(1632182400000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "ABC",
"PurReqCreationDate": "/Date(1632182400000)/",
"DeliveryAddressID": "1306009",
"ManualDeliveryAddressID": "1306009",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "5",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "0001",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "2345.60",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "1306009",
"LastChangeDateTime": "/Date(1632241072431+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
This is custom documentation. For more information, please visit the SAP Help Portal 189
1/30/2023
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionItem": "10",
"AddressID": "1306009",
"Plant": "0001",
"AddressType": "U",
"ManualDeliveryAddressID": "1306009",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "Adam1 Gibbs1",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Adam1",
This is custom documentation. For more information, please visit the SAP Help Portal 190
1/30/2023
"BusinessPartnerName2": "Gibbs1",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_P
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseReqnItemTextType
},
"PurchaseRequisition": "12128960",
"PurchaseRequisitionItem": "10",
"DocumentText": "B04",
"TechnicalObjectType": "EBAN",
"Language": "EN",
"ArchObjectNumber": "001212896500010",
"NoteDescription": "Sample text",
"FixedIndicator": "N"
}
]
}
}
]
}
}
}
Request
You can include the following properties in the request's URL:
Response
On success, the accounting line is added to item "10" of purchase requisition "4000087493".
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
This is custom documentation. For more information, please visit the SAP Help Portal 191
1/30/2023
Examples
Request
--batch
content-type: multipart/mixed; boundary=changeset_1
--changeset_1
content-type: application/http
content-transfer-encoding: binary
{
"AccountAssignmentCategory": "K",
"MultipleAcctAssgmtDistribution": ""
--changeset_1
content-type: application/http
content-transfer-encoding: binary
{
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"CostCenter": "SVC_AUNIT_",
"GLAccount": "0000400000"
}
--changeset_1--
--batch--
Response
--C3A8F6C0C42A1009C11AC305D368163E0
Content-Type: multipart/mixed; boundary=C3A8F6C0C42A1009C11AC305D368163E1
Content-Length: 2403
--C3A8F6C0C42A1009C11AC305D368163E1
Content-Type: application/http
Content-Length: 71
content-transfer-encoding: binary
--C3A8F6C0C42A1009C11AC305D368163E1
Content-Type: application/http
Content-Length: 2035
content-transfer-encoding: binary
{
"d": {
This is custom documentation. For more information, please visit the SAP Help Portal 192
1/30/2023
"__metadata": {
"id": "https://<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqnAcctAssgmt(Purch
"uri": "https://<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqnAcctAssgmt(Purc
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqnAcctAssgmtType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"PurchaseReqnAcctAssgmtNumber": "1",
"CostCenter": "SVC_AUNIT_",
"MasterFixedAsset": "",
"ProjectNetwork": "",
"BaseUnit": "",
"Quantity": "100.000",
"MultipleAcctAssgmtDistrPercent": "0.0",
"PurReqnItemCurrency": "",
"PurReqnNetAmount": "0.00",
"IsDeleted": "",
"CostElement": "",
"GLAccount": "400000",
"BusinessArea": "",
"SDDocument": "",
"SalesOrder": "",
"SalesDocumentItem": "0",
"SalesOrderItem": "0",
"ScheduleLine": "0",
"SalesOrderScheduleLine": "0",
"FixedAsset": "",
"ProcessOrder": "",
"OrderID": "",
"UnloadingPointName": "",
"ControllingArea": "0001",
"CostObject": "",
"ProfitabilitySegment": "0",
"ProfitCenter": "SAP-DUMMY",
"ProjectNetworkInternalID": "0",
"CommitmentItem": "",
"FundsCenter": "",
"Fund": "",
"FunctionalArea": "",
"CreationDate": null,
"GoodsRecipientName": "",
"RealEstateObject": "",
"NetworkActivityInternalID": "0",
"PartnerAccountNumber": "",
"JointVentureRecoveryCode": "",
"SettlementReferenceDate": null,
"OrderInternalID": "0",
"OrderIntBillOfOperationsItem": "0",
"EarmarkedFundsDocument": "",
"CostCtrActivityType": "",
"BusinessProcess": "",
"GrantID": "",
"ValidityDate": null,
"ChartOfAccounts": "",
"WBSElement": "",
"PurchaseRequisitionType": "",
"Plant": "",
"PurchasingOrganization": "",
"PurchasingGroup": ""
}
}--C3A8F6C0C42A1009C11AC305D368163E1--
--C3A8F6C0C42A1009C11AC305D368163E0--
Request
You can include the following properties in the request's URL:
Response
On success, the accounting line is added to item "10" of purchase requisition "4000087493".
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
--batch
content-type: multipart/mixed; boundary=changeset_1
--changeset_1
content-type: application/http
content-transfer-encoding: binary
{
"AccountAssignmentCategory": "K",
"MultipleAcctAssgmtDistribution": "1"
--changeset_1
content-type: application/http
content-transfer-encoding: binary
PATCH A_PurReqnAcctAssgmt(PurchaseRequisition='4000087493',PurchaseRequisitionItem='10',PurchaseReq
accept: application/json
content-type: application/json
{
"Quantity": "70"
}
--changeset_1
content-type: application/http
content-transfer-encoding: binary
{
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"CostCenter": "RWB_AUNIT_",
"GLAccount": "0000400000",
"Quantity": "30"
This is custom documentation. For more information, please visit the SAP Help Portal 194
1/30/2023
}
--changeset_1--
--batch--
Response
--0470133E3A84A169BC9E3B1C89DC636C0
Content-Type: multipart/mixed; boundary=0470133E3A84A169BC9E3B1C89DC636C1
Content-Length: 2602
--0470133E3A84A169BC9E3B1C89DC636C1
Content-Type: application/http
Content-Length: 71
content-transfer-encoding: binary
--0470133E3A84A169BC9E3B1C89DC636C1
Content-Type: application/http
Content-Length: 71
content-transfer-encoding: binary
--0470133E3A84A169BC9E3B1C89DC636C1
Content-Type: application/http
Content-Length: 2035
content-transfer-encoding: binary
{
"d": {
"__metadata": {
"id": "https://<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqnAcctAssgmt
"uri": "https://<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqnAcctAssgm
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqnAcctAssgmtType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"PurchaseReqnAcctAssgmtNumber": "2",
"CostCenter": "RWB_AUNIT_",
"MasterFixedAsset": "",
"ProjectNetwork": "",
"BaseUnit": "",
"Quantity": "30.000",
"MultipleAcctAssgmtDistrPercent": "30.0",
"PurReqnItemCurrency": "",
"PurReqnNetAmount": "0.00",
"IsDeleted": "",
"CostElement": "",
"GLAccount": "400000",
"BusinessArea": "",
"SDDocument": "",
"SalesOrder": "",
"SalesDocumentItem": "0",
"SalesOrderItem": "0",
"ScheduleLine": "0",
"SalesOrderScheduleLine": "0",
This is custom documentation. For more information, please visit the SAP Help Portal 195
1/30/2023
"FixedAsset": "",
"ProcessOrder": "",
"OrderID": "",
"UnloadingPointName": "",
"ControllingArea": "0001",
"CostObject": "",
"ProfitabilitySegment": "0",
"ProfitCenter": "SAP-DUMMY",
"ProjectNetworkInternalID": "0",
"CommitmentItem": "",
"FundsCenter": "",
"Fund": "",
"FunctionalArea": "",
"CreationDate": null,
"GoodsRecipientName": "",
"RealEstateObject": "",
"NetworkActivityInternalID": "0",
"PartnerAccountNumber": "",
"JointVentureRecoveryCode": "",
"SettlementReferenceDate": null,
"OrderInternalID": "0",
"OrderIntBillOfOperationsItem": "0",
"EarmarkedFundsDocument": "",
"CostCtrActivityType": "",
"BusinessProcess": "",
"GrantID": "",
"ValidityDate": null,
"ChartOfAccounts": "",
"WBSElement": "",
"PurchaseRequisitionType": "",
"Plant": "",
"PurchasingOrganization": "",
"PurchasingGroup": ""
}
}
--0470133E3A84A169BC9E3B1C89DC636C1--
--0470133E3A84A169BC9E3B1C89DC636C0--
You can use item hierarchies in purchase requisitions to structure and sort items, such as materials or services in a hierarchy. To
get an overview of what item hierarchies are, what functions they have, and where you can nd examples of how you work with
them, see Item Hierarchies.
Note
In the standard system, the item hierarchy function is switched off by default. The con guration expert can activate the item
hierarchy function for purchase requisitions using the con guration step Activate Item Hierarchies in Purchasing present
under Sourcing and Procurement General Settings Item Hierarchy . Note that once the item hierarchy function is
switched on, it cannot be turned off.
For example, if you are purchasing materials and services for different departments of a company, you can use item hierarchies
to group the items by department.
You can create functional items (materials and services) and item sets by using the Create operation.
Set PurchasingParentItem to '0' for creating at root level. If you are creating it as a child of another item set,
provide that item set's PurchaseRequisitionItem (item number) as the PurchasingParentItem.
As an item set is just used to de ne the hierarchical structure, it can contain only the
PurchaseRequisitionItemText which is a description of the item set.
An item set must always have atleast one functional item in it, else the Create operation will return an error.
In the request payload, always provide the parent item details rst, followed by the details of the children, else the
operation returns an error.
You cannot have more than ve levels of nesting in the hierarchy list.
The values provided by you in the request payload for the parameters PurgConfigurableItemNumber and
PurgExternalSortNumber are not considered. These values are internally calculated.
Set PurchasingParentItem to '0' for creating at root level. If you are creating it as a child of another item set,
provide its PurchaseRequisitionItem (item number) as the PurchasingParentItem.
The values provided by you in the request payload for the parameters PurgConfigurableItemNumber and
PurgExternalSortNumber are not considered. These values are internally calculated.
If the create operation is successful, then the functional item or item set is added to the hierarchy list. In the response payload,
PurgConfigurableItemNumber contains the hierarchy number, and PurgExternalSortNumber contains the number
that indicates the position of the item within a particular level. For example, if PurgConfigurableItemNumber is 2.3, and
PurgExternalSortNumber is 3, then it indicates that the item is at position 2.3 of the hierarchy list, and is the third item in
the second level of the hierarchy as shown in the sample list below:
1 Printer
2 Stationery Items
3 Maintenance (Service)
Note
You cannot convert a at list into a hierarchy list and vice-versa.
Following are some of the sample create scenarios for item hierarchy:
This is custom documentation. For more information, please visit the SAP Help Portal 197
1/30/2023
Create an Item Set at Root Level
Request
You can include the following properties in the request's URL:
Response
On success, a purchase requisition with a hierarchy list is created. The hierarchy list contains a parent item set with a functional
item in it as shown below:
Examples
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
Content-Type: application/json
{
"PurchaseRequisition": "",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Item Set 1",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": [
{
"PurchaseRequisitionItemText": "Information Technology (Item Set)",
"PurchaseRequisitionItem": "10",
"IsOutline": true,
"PurchasingParentItem": "0"
},
{
"IsOutline": false,
"PurchasingParentItem": "10",
"PurchaseRequisitionItemText": "Cartridge (Material)",
"PurchaseRequisitionItem": "20",
This is custom documentation. For more information, please visit the SAP Help Portal 198
1/30/2023
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "10",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U",
}
]
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 199
1/30/2023
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644537600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
This is custom documentation. For more information, please visit the SAP Help Portal 200
1/30/2023
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cartridge (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "10",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1644969600000)/",
"CreationDate": "/Date(1644537600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1617235200000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
This is custom documentation. For more information, please visit the SAP Help Portal 201
1/30/2023
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
}
]
}
}
}
This is custom documentation. For more information, please visit the SAP Help Portal 202
1/30/2023
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, a functional item (Pen) is added to the root level of the hierarchy list. Now, the hierarchy list looks as below:
2 Pen (Material)
Examples
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem
Content-Type: application/json
{
"PurchaseRequisition": "10006454",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurchaseRequisitionItemText":"Pen (Material)",
"PurchaseRequisitionItem": "30",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U",
"to_PurchaseReqnDeliveryAddress": {
}
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 203
1/30/2023
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItem": "30",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Pen (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1644969600000)/",
"CreationDate": "/Date(1644537600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644537600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
This is custom documentation. For more information, please visit the SAP Help Portal 204
1/30/2023
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pur
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pu
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItem": "30",
"AddressID": "",
"Plant": "1010",
"AddressType": "",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
This is custom documentation. For more information, please visit the SAP Help Portal 205
1/30/2023
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
}
}
}
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, functional item (Keyboard) is added to the item set (Information Technology) of the hierarchy list. Now, the
hierarchy list looks as below:
2 Pen (Material)
Examples
This is custom documentation. For more information, please visit the SAP Help Portal 206
1/30/2023
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem
Content-Type: application/json
{
"PurchaseRequisition": "10006454",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurchaseRequisitionItemText":"Keyboard (Material)",
"PurchaseRequisitionItem": "40",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "15",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "15.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U",
"to_PurchaseReqnDeliveryAddress": {
}
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 207
1/30/2023
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644537600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
This is custom documentation. For more information, please visit the SAP Help Portal 208
1/30/2023
}
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pur
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pu
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItem": "40",
"AddressID": "",
"Plant": "1010",
"AddressType": "",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
}
}
}
This is custom documentation. For more information, please visit the SAP Help Portal 209
1/30/2023
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, functional item (Maintenance) is added to the item set (Information Technology) of the hierarchy list. Now, the
hierarchy list looks as below:
2 Pen (Material)
Examples
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem
Content-Type: application/json
{
"PurchaseRequisition": "10006454",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurchaseRequisitionItemText":"Maintenance (Service)",
"PurchaseRequisitionItem": "50",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"MaterialGroup": "YBMM01",
"ProductType": "2",
"PerformancePeriodStartDate": "/Date(1597170600000)/",
"PerformancePeriodEndDate": "/Date(1597343400000)/",
"RequestedQuantity": "30",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "200.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U",
"to_PurchaseReqnDeliveryAddress": {
}
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 210
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 211
1/30/2023
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.3",
"PurgExternalSortNumber": "3",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pur
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pu
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItem": "50",
"AddressID": "",
"Plant": "1010",
"AddressType": "",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
This is custom documentation. For more information, please visit the SAP Help Portal 212
1/30/2023
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
}
}
}
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Note
Since an item set cannot be created without a functional item in it, we are creating the item set and a functional item in it.
Since the request body includes two POST requests, one for the item set (Mouse) and another for the functional item (Wired
Mouse), it is done using a batch call as shown below.
Response
On success, item set (Mouse) with the functional item (Wired Mouse) is added to the item set (Information Technology) of the
hierarchy list. Now, the hierarchy list looks as below:
This is custom documentation. For more information, please visit the SAP Help Portal 213
1/30/2023
1 Information Technology (Item Set)
2 Pen (Material)
Examples
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/$batch
Content-Type: multipart/mixed; boundary=batch
--batch
content-type: multipart/mixed; boundary=changeset_1
--changeset_1
content-type: application/http
content-transfer-encoding: binary
Content-ID: 1
{
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItemText": "Mouse (Item Set)",
"PurchaseRequisitionItem": "60",
"IsOutline": true,
"PurchasingParentItem": "10"
}
--changeset_1
content-type: application/http
content-transfer-encoding: binary
Content-ID: 2
"IsOutline": false,
"PurchasingParentItem": "60",
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItemText":"Wired Mouse (Material)",
"PurchaseRequisitionItem": "70",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "120",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "150.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U",
"to_PurchaseReqnDeliveryAddress": {
This is custom documentation. For more information, please visit the SAP Help Portal 214
1/30/2023
}
}
--changeset_1--
--batch--
Response
--AF5FF7C15EBDF9341647278406D842D90
Content-Type: multipart/mixed; boundary=AF5FF7C15EBDF9341647278406D842D91
Content-Length: 10972
--AF5FF7C15EBDF9341647278406D842D91
Content-Type: application/http
Content-Length: 4895
content-transfer-encoding: binary
content-id: 1
This is custom documentation. For more information, please visit the SAP Help Portal 215
1/30/2023
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644537600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644537600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.4",
This is custom documentation. For more information, please visit the SAP Help Portal 216
1/30/2023
"PurgExternalSortNumber": "4",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
}
}
}
--AF5FF7C15EBDF9341647278406D842D91
Content-Type: application/http
Content-Length: 5748
content-transfer-encoding: binary
content-id: 2
This is custom documentation. For more information, please visit the SAP Help Portal 217
1/30/2023
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644537600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "60",
"PurgConfigurableItemNumber": "1.4.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
This is custom documentation. For more information, please visit the SAP Help Portal 218
1/30/2023
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pur
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pu
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006454",
"PurchaseRequisitionItem": "70",
"AddressID": "",
"Plant": "1010",
"AddressType": "",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
}
}
}
--AF5FF7C15EBDF9341647278406D842D91--
--AF5FF7C15EBDF9341647278406D842D90--
This is custom documentation. For more information, please visit the SAP Help Portal 219
1/30/2023
Request
You can include the following properties in the request's URL:
Response
On success, a purchase requisition containing a hierarchy list is created. The hierarchy list contains 2 parent item sets
Stationery Items and Printer, and 1 functional service item at the root level as shown below:
2 Printer
3 Maintenance (Service)
Examples
Request
POST <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
Content-Type: application/json
{
"PurchaseRequisition": "",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Item set",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": [
{
"PurchaseRequisitionItemText": "Stationery Items (Item Set)",
"PurchaseRequisitionItem": "10",
"IsOutline": true,
"PurchasingParentItem": "0"
},
{
"IsOutline": false,
"PurchasingParentItem": "10",
"PurchaseRequisitionItemText":"Pencil (Material)",
"PurchaseRequisitionItem": "20",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
This is custom documentation. For more information, please visit the SAP Help Portal 220
1/30/2023
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U"
},
{
"IsOutline": false,
"PurchasingParentItem": "10",
"PurchaseRequisitionItemText":"Eraser (Material)",
"PurchaseRequisitionItem": "30",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U"
},
{
"IsOutline": true,
"PurchasingParentItem": "0",
"PurchaseRequisitionItemText":"Printer (Material)",
"PurchaseRequisitionItem": "40"
},
{
"IsOutline": false,
"PurchasingParentItem": "40",
"PurchaseRequisitionItemText":"Cartridge (Material)",
"PurchaseRequisitionItem": "50",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "1",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "500.00",
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"AccountAssignmentCategory": "U"
},
{
"IsOutline": false,
"PurchasingParentItem": "0",
"PurchaseRequisitionItemText":"Maintenance (Service)",
"PurchaseRequisitionItem": "60",
"PurchasingOrganization": "1010",
"PurchasingDocumentItemCategory": "",
"PurchasingGroup": "001",
"Plant": "1010",
"ProductType": "2",
"Material": "",
"MaterialGroup": "L002",
"RequestedQuantity": "50",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "100.00",
This is custom documentation. For more information, please visit the SAP Help Portal 221
1/30/2023
"PurReqnPriceQuantity": "1",
"PurReqnItemCurrency": "EUR",
"PerformancePeriodStartDate": "/Date(1597170600000)/",
"PerformancePeriodEndDate": "/Date(1597343400000)/",
"AccountAssignmentCategory": "U"
}
]
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 222
1/30/2023
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
This is custom documentation. For more information, please visit the SAP Help Portal 223
1/30/2023
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Printer (Material)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
This is custom documentation. For more information, please visit the SAP Help Portal 224
1/30/2023
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Maintenance (Service)",
This is custom documentation. For more information, please visit the SAP Help Portal 225
1/30/2023
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "50",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "100.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1597276800000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "2",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": "/Date(1597104000000)/",
"PerformancePeriodEndDate": "/Date(1597276800000)/",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
This is custom documentation. For more information, please visit the SAP Help Portal 226
1/30/2023
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "3",
"PurgExternalSortNumber": "3",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Pencil (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
This is custom documentation. For more information, please visit the SAP Help Portal 227
1/30/2023
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
This is custom documentation. For more information, please visit the SAP Help Portal 228
1/30/2023
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Eraser (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
This is custom documentation. For more information, please visit the SAP Help Portal 229
1/30/2023
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
This is custom documentation. For more information, please visit the SAP Help Portal 230
1/30/2023
"PurchaseRequisitionItem": "50",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cartridge (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "500.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "0",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
This is custom documentation. For more information, please visit the SAP Help Portal 231
1/30/2023
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": null,
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "40",
"PurgConfigurableItemNumber": "2.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnDeliveryAddress": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnItemText": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
}
}
]
}
}
}
Read
Read a Purchase Requisition
This is custom documentation. For more information, please visit the SAP Help Portal 232
1/30/2023
Request
You can include the following properties in the URL of the request:
Response
On Success, this operation returns the purchase requisition along with its associated entities. The purchase requistion
"4000087493" is returned, along with its header and item level details.
Examples
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader(PurchaseRequis
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader('4000
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader('400
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionType": "NBS",
"PurReqnDescription": "DescriptionUpdated",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(P
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NBS",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cable",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "P",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1575244800000)/",
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
This is custom documentation. For more information, please visit the SAP Help Portal 233
1/30/2023
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1575244800000)/",
"CreationDate": "/Date(1575244800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "David",
"PurReqCreationDate": "/Date(1575244800000)/",
"DeliveryAddressID": "655846",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1575309641722+0000)/",
"Reservation": "0",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
This is custom documentation. For more information, please visit the SAP Help Portal 234
1/30/2023
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionIte
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Purch
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Purc
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "20",
"AddressID": "655846",
"AddressType": "P",
"Plant": "0001",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "John",
"CityName": "ABC",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69191",
"CompanyPostalCode": "",
"StreetName": "Street",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "15",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "01",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "John",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "STREET",
"CitySearch": "ABC",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
This is custom documentation. For more information, please visit the SAP Help Portal 235
1/30/2023
"TaxJurisdiction": "",
"TransportZone": "",
"Person": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(P
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NBS",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "1.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1575244800000)/",
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1575244800000)/",
"CreationDate": "/Date(1575244800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "David",
"PurReqCreationDate": "/Date(1575244800000)/",
"DeliveryAddressID": "655846",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
This is custom documentation. For more information, please visit the SAP Help Portal 236
1/30/2023
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1575311465282+0000)/",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionIte
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Purch
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Purc
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"AddressID": "655846",
"AddressType": "P",
"Plant": "0001",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
This is custom documentation. For more information, please visit the SAP Help Portal 237
1/30/2023
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "John",
"CityName": "ABC",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69191",
"CompanyPostalCode": "",
"StreetName": "Street",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "15",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "01",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "John",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "STREET",
"CitySearch": "ABC",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": ""
},
"to_PurchaseReqnItemText": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemTex
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemTe
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseReqnItemTextType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"DocumentText": "B02",
"TechnicalObjectType": "EBAN",
"Language": "EN",
"ArchObjectNumber": "400008749300010",
"NoteDescription": "Coaxial Cable",
"FixedIndicator": ""
}
]
}
}
]
}
}
}
This is custom documentation. For more information, please visit the SAP Help Portal 238
1/30/2023
Request
You can include the following properties in the URL of the request:
A_PurchaseRequisitionItem - Item
Response
On success, this operation returns the item in the purchase requisition. Here, it returns only item "10" of purchase requisition
"4000087493", along with its associated entities.
Examples
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequisit
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purchas
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purcha
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NBS",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "1.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1575244800000)/",
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1575244800000)/",
"CreationDate": "/Date(1575244800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "David",
This is custom documentation. For more information, please visit the SAP Help Portal 239
1/30/2023
"PurReqCreationDate": "/Date(1575244800000)/",
"DeliveryAddressID": "655846",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1575311465282+0000)/",
"Reservation": "0",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "",
"PurgExternalSortNumber": "0",
"ProductSeasonYear": "",
"ProductSeason": "",
"ProductCollection": "",
"ProductTheme": "",
"ProductCharacteristic1": "",
"ProductCharacteristic2": "",
"ProductCharacteristic3": "",
"ProductCharacteristic1Desc": "",
"ProductCharacteristic2Desc": "",
"ProductCharacteristic3Desc": "",
"StockSegment": "",
"RequirementSegment": "",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(Purc
}
This is custom documentation. For more information, please visit the SAP Help Portal 240
1/30/2023
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseReq
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseRe
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"AddressID": "655846",
"AddressType": "P",
"Plant": "0001",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "John",
"CityName": "ABC",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69191",
"CompanyPostalCode": "",
"StreetName": "Street",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "15",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "01",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "John",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "STREET",
"CitySearch": "ABC",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": ""
},
"to_PurchaseReqnItemText": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText(Purc
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText(Pur
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseReqnItemTextType"
},
"PurchaseRequisition": "4000087493",
This is custom documentation. For more information, please visit the SAP Help Portal 241
1/30/2023
"PurchaseRequisitionItem": "10",
"DocumentText": "B02",
"TechnicalObjectType": "EBAN",
"Language": "EN",
"ArchObjectNumber": "400008749300010",
"NoteDescription": "Coaxial Cable",
"FixedIndicator": ""
}
]
}
}
}
Request
You can include the following properties in the URL of the request:
Response
On success, this operation returns the delivery address of the purchase requisition item. Here, it returns the delivery address
maintained in item "10" of purchase requisition "4000087493".
Examples
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseRequisition='4
Response
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"AddressID": "655846",
"AddressType": "P",
"Plant": "0001",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
This is custom documentation. For more information, please visit the SAP Help Portal 242
1/30/2023
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "John",
"CityName": "ABC",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69191",
"CompanyPostalCode": "",
"StreetName": "Street",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "15",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "01",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "John",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "STREET",
"CitySearch": "ABC",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": ""
}
}
Request
You can include the following properties in the URL of the request:
Response
On success, this operation returns the item note of all items in a purchase requisition. Here, it returns the item note of all the
items in the purchase requisition "4000087493".
Examples
This is custom documentation. For more information, please visit the SAP Help Portal 243
1/30/2023
Request
GET <host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText?$filter=PurchaseReq
Response
{
"d": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemT
"uri": "<host>/sap/opu/odata/SAP/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItem
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseReqnItemTextType"
},
"PurchaseRequisition": "4000087493",
"PurchaseRequisitionItem": "10",
"DocumentText": "B02",
"TechnicalObjectType": "EBAN",
"Language": "EN",
"ArchObjectNumber": "400008749300010",
"NoteDescription": "Coaxial Cable",
"FixedIndicator": ""
}
]
}
}
Following are some of the sample read scenarios for item hierarchy:
Request
You can include the following properties in the request's URL:
Response
On success, the hierarchy list with the item sets and functional items in it is returned as follows:
This is custom documentation. For more information, please visit the SAP Help Portal 244
1/30/2023
1.1 Pen (Material)
2 Printer
3 Maintenance (Service)
Examples
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader(PurchaseRequis
Response
status_code: 200 OK
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeade
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Item set",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Stationery Items (Item Set)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
This is custom documentation. For more information, please visit the SAP Help Portal 245
1/30/2023
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821735062+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
This is custom documentation. For more information, please visit the SAP Help Portal 246
1/30/2023
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
This is custom documentation. For more information, please visit the SAP Help Portal 247
1/30/2023
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Printer (Material)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
This is custom documentation. For more information, please visit the SAP Help Portal 248
1/30/2023
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821735062+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
This is custom documentation. For more information, please visit the SAP Help Portal 249
1/30/2023
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Eraser (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
This is custom documentation. For more information, please visit the SAP Help Portal 250
1/30/2023
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "500.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821737493+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
This is custom documentation. For more information, please visit the SAP Help Portal 251
1/30/2023
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Pencil (Material)",
"AccountAssignmentCategory": "U",
This is custom documentation. For more information, please visit the SAP Help Portal 252
1/30/2023
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "1000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821737903+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
This is custom documentation. For more information, please visit the SAP Help Portal 253
1/30/2023
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
This is custom documentation. For more information, please visit the SAP Help Portal 254
1/30/2023
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "50",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cartridge (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "500.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
This is custom documentation. For more information, please visit the SAP Help Portal 255
1/30/2023
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "50000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821738342+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "40",
"PurgConfigurableItemNumber": "2.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "50",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
This is custom documentation. For more information, please visit the SAP Help Portal 256
1/30/2023
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Maintenance",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "50",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "100.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
This is custom documentation. For more information, please visit the SAP Help Portal 257
1/30/2023
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1597276800000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "2",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": "/Date(1597104000000)/",
"PerformancePeriodEndDate": "/Date(1597276800000)/",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "5000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821738784+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
This is custom documentation. For more information, please visit the SAP Help Portal 258
1/30/2023
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "3",
"PurgExternalSortNumber": "3",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
This is custom documentation. For more information, please visit the SAP Help Portal 259
1/30/2023
"results": []
}
}
]
}
}
}
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, the requested item is returned.
Examples
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequisit
Response
status_code: 200 OK
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(P
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Stationery Items (Item Set)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
This is custom documentation. For more information, please visit the SAP Help Portal 260
1/30/2023
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821735062+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
This is custom documentation. For more information, please visit the SAP Help Portal 261
1/30/2023
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pur
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pu
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
This is custom documentation. For more information, please visit the SAP Help Portal 262
1/30/2023
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
}
}
Update
Update a Purchase Requisition
Request
You can include the following properties in the URL of the request:
Response
On success, the description of purchase requisition is updated. Here description of purchase requisition "4000087493" is
updated.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader('4000087493'
{
"PurReqnDescription": "DescriptionUpdated"
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 263
1/30/2023
Rejected items and items that have follow-on documents can also be updated using this operation. The status gets changed to
In Release and is resubmitted for further processing.
Request
You can include the following properties in the URL of the request:
A_PurchaseRequisitionItem - Item
Response
On success, the purchase requisition item details are updated. Here, the purchase requisition item text of item "10" of purchase
requisition "4000087493" is updated.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequis
{
"PurchaseRequisitionItemText": "ItemTextUpdated"
}
Response
Request
You can include the following properties in the URL of the request:
This is custom documentation. For more information, please visit the SAP Help Portal 264
1/30/2023
Response
On success, the delivery address details of the purchase requisition item are updated. Here, the delivery address details of item
"10" of purchase requisition "4000087493" are updated.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(PurchaseRequisition=
{
"CareOfName": "CareOfNameUpdated"
}
Response
Request
You can include the following properties in the URL of the request:
Response
On success, the item note of the purchase requisition item is updated. Here, the item note of item "10" of purchase requisition
"4000087493" is updated.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
This is custom documentation. For more information, please visit the SAP Help Portal 265
1/30/2023
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseReqnItemText(PurchaseRequisiti
{
"NoteDescription": "NoteUpdated"
}
Response
You can update only the item description (PurchaseRequisitionItemText) of the item set. The other parameters in the
item set cannot be updated. If you provide the parameters PurgConfigurableItemNumber and
PurgExternalSortNumber in the request payload, please provide the correct values (as returned by Create).
The hierarchy parameters IsOutline and PurchasingParentItem cannot be updated. Update of other parameters is
similar to that of at list. If you provide the parameters PurgConfigurableItemNumber and PurgExternalSortNumber
in the request payload, please provide the correct values (as returned by Create).
Following are some of the sample update scenarios for item hierarchy:
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, the item description of the item set is updated.
Examples
Request
This is custom documentation. For more information, please visit the SAP Help Portal 266
1/30/2023
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequis
{
"PurchaseRequisitionItemText": "Stationery Items Updated (Item Set)"
}
Response
On doing a read of item 10 of the purchase requisition using the read request provided in Read an Item in a Hierarchy List, we
can see that the item description of the item set has been updated.
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(P
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Stationery Items Updated (Item Set)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
This is custom documentation. For more information, please visit the SAP Help Portal 267
1/30/2023
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644834344066+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionI
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pur
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAddDelivery(Pu
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
This is custom documentation. For more information, please visit the SAP Help Portal 268
1/30/2023
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
}
}
Delete
Delete a Purchase Requisition Item
Note
DELETE operation is not supported. The purchase requisition item is marked for deletion.
Request
This is custom documentation. For more information, please visit the SAP Help Portal 269
1/30/2023
You can include the following properties in the URL of the request:
A_PurchaseRequisitionItem - Item
Response
On success, this operation marks the purchase requisition item for deletion. Here, it marks item "20" of purchase requisition
"4000087493" for deletion.
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequis
{
"IsDeleted": "X"
}
Response
You can soft delete an item set by setting its IsDeleted ag. When you soft delete an item set, all its children are also soft-
deleted.
You can soft delete a functional item by setting its IsDeleted ag.
Note
If the functional item is the only child of an item set, then the Delete operation returns an error. This is because an item set
must have at least one functional item in it.
Following are some of the sample delete scenarios for item hierarchy:
This is custom documentation. For more information, please visit the SAP Help Portal 270
1/30/2023
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, the item set and all its children are soft deleted. That is, the IsDeleted ag is set to 'X'.
Examples
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequis
{
"IsDeleted": "X"
}
Response
On doing a read of the purchase requisition using the read request provided in Read a Hierarchy List, we can see that the
IsDeleted ag is set to 'X' for the item set 'Printer' and its child 'Cartridge'.
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeade
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Item set",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
This is custom documentation. For more information, please visit the SAP Help Portal 271
1/30/2023
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Eraser (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "500.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821737493+0000)/",
This is custom documentation. For more information, please visit the SAP Help Portal 272
1/30/2023
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
This is custom documentation. For more information, please visit the SAP Help Portal 273
1/30/2023
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Pencil (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
This is custom documentation. For more information, please visit the SAP Help Portal 274
1/30/2023
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "1000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821737903+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
This is custom documentation. For more information, please visit the SAP Help Portal 275
1/30/2023
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Maintenance",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "50",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "100.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
This is custom documentation. For more information, please visit the SAP Help Portal 276
1/30/2023
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1597276800000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "2",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": "/Date(1597104000000)/",
"PerformancePeriodEndDate": "/Date(1597276800000)/",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "5000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644821738784+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
This is custom documentation. For more information, please visit the SAP Help Portal 277
1/30/2023
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "3",
"PurgExternalSortNumber": "3",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
This is custom documentation. For more information, please visit the SAP Help Portal 278
1/30/2023
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Stationery Items Updated (Item Set)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
This is custom documentation. For more information, please visit the SAP Help Portal 279
1/30/2023
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644834344066+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
This is custom documentation. For more information, please visit the SAP Help Portal 280
1/30/2023
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Printer (Material)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
This is custom documentation. For more information, please visit the SAP Help Portal 281
1/30/2023
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "X",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644839103976+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
This is custom documentation. For more information, please visit the SAP Help Portal 282
1/30/2023
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
This is custom documentation. For more information, please visit the SAP Help Portal 283
1/30/2023
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "50",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "05",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cartridge (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "500.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644796800000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645056000000)/",
"CreationDate": "/Date(1644796800000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "X",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644796800000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "X",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "50000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
This is custom documentation. For more information, please visit the SAP Help Portal 284
1/30/2023
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1644839103976+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "40",
"PurgConfigurableItemNumber": "2.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "50",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "DE",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
This is custom documentation. For more information, please visit the SAP Help Portal 285
1/30/2023
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant 1010 - Address Name 1",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
}
]
}
}
}
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem - Item
Response
On success, the functional item is soft deleted. That is, the IsDeleted ag is set to 'X'.
Examples
Request
PATCH <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionItem(PurchaseRequis
{
"IsDeleted": "X"
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 286
1/30/2023
On doing a read of the purchase requisition using the read request provided in Read a Hierarchy List, we can see that the
IsDeleted ag is set to 'X' for the item 'Maintenance'.
{
"d": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeader
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequisitionHeade
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionHeaderType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Item set",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"to_PurchaseReqnItem": {
"results": [
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Stationery Items (Item Set)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644969600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644969600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
This is custom documentation. For more information, please visit the SAP Help Portal 287
1/30/2023
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1645013282044+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "10",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
This is custom documentation. For more information, please visit the SAP Help Portal 288
1/30/2023
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Pencil (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "10.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
This is custom documentation. For more information, please visit the SAP Help Portal 289
1/30/2023
"PurchaseRequisitionReleaseDate": "/Date(1644969600000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645401600000)/",
"CreationDate": "/Date(1644969600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644969600000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "1000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1645013282044+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
This is custom documentation. For more information, please visit the SAP Help Portal 290
1/30/2023
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "20",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant",
"BusinessPartnerName2": "1010 - Address Name 1",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
This is custom documentation. For more information, please visit the SAP Help Portal 291
1/30/2023
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Eraser (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "5.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644969600000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645401600000)/",
"CreationDate": "/Date(1644969600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644969600000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
This is custom documentation. For more information, please visit the SAP Help Portal 292
1/30/2023
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "500.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1645013282044+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "10",
"PurgConfigurableItemNumber": "1.2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "30",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
This is custom documentation. For more information, please visit the SAP Help Portal 293
1/30/2023
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant",
"BusinessPartnerName2": "1010 - Address Name 1",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "02",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Printer (Material)",
"AccountAssignmentCategory": "",
"Material": "",
"MaterialGroup": "",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "0.000",
"BaseUnit": "",
"PurchaseRequisitionPrice": "0.00",
"PurReqnPriceQuantity": "0",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": null,
"PurchasingOrganization": "",
"PurchasingGroup": "",
"Plant": "",
"CompanyCode": "",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0.000",
"DeliveryDate": null,
"CreationDate": "/Date(1644969600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
This is custom documentation. For more information, please visit the SAP Help Portal 294
1/30/2023
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644969600000)/",
"DeliveryAddressID": "",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": false,
"ServicePerformer": "",
"ProductType": "",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "0.00",
"GoodsReceiptIsExpected": false,
"InvoiceIsExpected": false,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1645013282044+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": true,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "2",
"PurgExternalSortNumber": "2",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
This is custom documentation. For more information, please visit the SAP Help Portal 295
1/30/2023
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "40",
"AddressID": "",
"Plant": "",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "",
"CityName": "",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "",
"CompanyPostalCode": "",
"StreetName": "",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "",
"Region": "",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "",
"BusinessPartnerName2": "",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "",
"CitySearch": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
This is custom documentation. For more information, please visit the SAP Help Portal 296
1/30/2023
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "50",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cartridge (Material)",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "100",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "500.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644969600000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1645401600000)/",
"CreationDate": "/Date(1644969600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644969600000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "1",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "50000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
This is custom documentation. For more information, please visit the SAP Help Portal 297
1/30/2023
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1645013282044+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "40",
"PurgConfigurableItemNumber": "2.1",
"PurgExternalSortNumber": "1",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "50",
"AddressID": "24739",
"Plant": "1010",
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
This is custom documentation. For more information, please visit the SAP Help Portal 298
1/30/2023
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant",
"BusinessPartnerName2": "1010 - Address Name 1",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
},
{
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequi
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurchaseRequ
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurchaseRequisitionItemType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchaseRequisitionType": "NB",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Maintenance",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "L002",
"PurchasingDocumentCategory": "B",
"RequestedQuantity": "50",
"BaseUnit": "EA",
"PurchaseRequisitionPrice": "100.00",
"PurReqnPriceQuantity": "1",
"MaterialGoodsReceiptDuration": "0",
"ReleaseCode": "",
"PurchaseRequisitionReleaseDate": "/Date(1644969600000)/",
"PurchasingOrganization": "1010",
"PurchasingGroup": "001",
"Plant": "1010",
"CompanyCode": "1010",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": "0",
"DeliveryDate": "/Date(1597276800000)/",
"CreationDate": "/Date(1644969600000)/",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": "X",
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "CC0000000060",
"PurReqCreationDate": "/Date(1644969600000)/",
"DeliveryAddressID": "24739",
"ManualDeliveryAddressID": "",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": "0",
"DelivDateCategory": "1",
This is custom documentation. For more information, please visit the SAP Help Portal 299
1/30/2023
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"IsPurReqnBlocked": "",
"ItemDeliveryAddressID": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductType": "2",
"PurchaseRequisitionStatus": "",
"ReleaseStrategy": "",
"PerformancePeriodStartDate": "/Date(1597104000000)/",
"PerformancePeriodEndDate": "/Date(1597276800000)/",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": "0",
"ItemNetAmount": "5000.00",
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"TaxCode": "",
"PurchaseRequisitionIsFixed": false,
"AddressID": "",
"LastChangeDateTime": "/Date(1645013354372+0000)/",
"Reservation": "0",
"ExpectedOverallLimitAmount": "0.00",
"OverallLimitAmount": "0.00",
"PurContractForOverallLimit": "",
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"PurReqnExternalSystemType": "",
"PurReqnTypeExternalReference": "",
"PurReqnProcessingType": "",
"PurReqnProcessingDateTime": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"IsOutline": false,
"PurchasingParentItem": "0",
"PurgConfigurableItemNumber": "3",
"PurgExternalSortNumber": "3",
"to_PurchaseReqn": {
"__deferred": {
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_Purchase
}
},
"to_PurchaseReqnAcctAssgmt": {
"results": []
},
"to_PurchaseReqnDeliveryAddress": {
"__metadata": {
"id": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAdd
"uri": "<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/A_PurReqAd
"type": "API_PURCHASEREQ_PROCESS_SRV.A_PurReqAddDeliveryType"
},
"PurchaseRequisition": "10006740",
"PurchaseRequisitionItem": "60",
"AddressID": "24739",
"Plant": "1010",
This is custom documentation. For more information, please visit the SAP Help Portal 300
1/30/2023
"AddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "CET",
"FullName": "Plant 1010 - Address Name 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Dietmar-Hopp-Allee",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "8",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "BW",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "Plant",
"BusinessPartnerName2": "1010 - Address Name 1",
"Nation": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"StreetSearch": "DIETMAR-HOPP-ALLEE",
"CitySearch": "WALLDORF",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"Person": "",
"AddresseeFullName": ""
},
"to_PurchaseReqnItemText": {
"results": []
}
}
]
}
}
}
Validate
This operation performs a number of validation checks on the data in a purchase requisition.
Request
You can include the following properties in the URL of the request:
This is custom documentation. For more information, please visit the SAP Help Portal 301
1/30/2023
Response
This operation returns the response codes with corresponding error messages. On success, it returns the success response
code, indicating that the parameters in the purchase requisition are valid.
ID Optional Message ID
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Response Codes
Following are the response codes for batch and non-batch mode:
Response Codes
This is custom documentation. For more information, please visit the SAP Help Portal 302
1/30/2023
Example
Request
GET <host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/Validate?PurchaseRequisition='4000070421'
Response
status_code: 200 OK
Constraints
The constraints are as listed below:
Operation Constraints
EnableForPurchasing
Technical name: API_PURCHASEREQ_PROCESS_SRV
External solutions integrated with SAP S/4HANA Cloud can invoke this operation on purchase requisition items, and enable
them for purchasing in SAP S/4HANA Cloud system.
External solutions can create purchase requisition items in SAP S/4HANA Cloud with external processing status as In Process
Externally, that is, the value of the eld ExternalApprovalStatus must be set to ʻP’. The solutions can then invoke the
operation EnableForPurchasing, on these purchase requisition items. The operation transitions the external processing
status of the purchase requisition items, and enables them for purchasing in SAP S/4HANA Cloud system.
Note
This operation can only be applied on purchase requisition items that are created from external solutions integrated
with SAP S/4HANA Cloud, with external processing status as In Process Externally.
You cannot update or delete purchase requisition items in SAP S/4HANA Cloud system, while their external
processing status is In Process Externally.
If header-level approval is con gured, you cannot add an item that is In Process Externally to a purchase requisition
that has all its items enabled for purchasing.
Request
You can include the following properties in the URL of the request:
This is custom documentation. For more information, please visit the SAP Help Portal 303
1/30/2023
PurchaseRequisitionItem POST: Mandatory A string that indicates the item within the
purchase requisition.
Note
If you specify as ʻ00000’, then the action
is applied on all the items in the
purchase requisition. The status
transition happens only for items with
status In Process Externally. The status
of the other items remains unchanged.
Response
This operation returns the response codes with corresponding error messages. On success, it returns the success response
code, indicating that the status of the purchase requisition has been changed to enable it for purchasing.
ID Optional Message ID
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Response Codes
Following are the response codes for batch and non-batch mode:
Response Codes
This is custom documentation. For more information, please visit the SAP Help Portal 304
1/30/2023
Error Messages
MEREQ/ You can't perform this action as this PR status change is not
allowed
Message No. 002
Example
Request
POST
<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/EnableForPurchasing?PurchaseRequisition='40000
Response
This is custom documentation. For more information, please visit the SAP Help Portal 305
1/30/2023
}
]
}
}
}
Constraints
The constraints are as listed below:
Operation Constraints
DiscardFromPurchasing
Technical name: API_PURCHASEREQ_PROCESS_SRV
External solutions integrated with SAP S/4HANA Cloud can invoke this operation on purchase requisition items, and discard
them from purchasing in SAP S/4HANA Cloud system.
External solutions can create purchase requisition items in SAP S/4HANA Cloud with external processing status as In Process
Externally, that is, the value of the eld ExternalApprovalStatus must be set to ʻP’. The solutions can then invoke the
operation DiscardFromPurchasing, on these purchase requisition items. The operation transitions the external processing
status of the purchase requisition items, and discards them from purchasing in SAP S/4HANA Cloud system.
Note
This operation can only be applied on purchase requisition items that are created from external solutions integrated
with SAP S/4HANA Cloud, with external processing status as In Process Externally.
You cannot update or delete purchase requisition items in SAP S/4HANA Cloud system, while their external
processing status is In Process Externally.
Request
You can include the following properties in the URL of the request:
PurchaseRequisitionItem POST: Mandatory A string that indicates the item within the
purchase requisition.
Note
If you specify as ʻ00000’, then the action
is applied on all the items in the
purchase requisition. The status
transition happens only for items with
status In Process Externally. The status
of the other items remains unchanged.
This is custom documentation. For more information, please visit the SAP Help Portal 306
1/30/2023
Response
This operation returns the response codes with corresponding error messages. On success, it returns the success response
code, indicating that the status of the purchase requisition has been changed to discard it from purchasing.
ID Optional Message ID
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Response Codes
Following are the response codes for batch and non-batch mode:
Response Codes
Error Messages
This is custom documentation. For more information, please visit the SAP Help Portal 307
1/30/2023
MEREQ/ You can't perform this action as this PR status change is not
allowed
Message No. 002
Example
Request
<host>/sap/opu/odata/sap/API_PURCHASEREQ_PROCESS_SRV/DiscardFromPurchasing?PurchaseRequisition='400
Response
status_code: 200 OK
Constraints
The constraints are as listed below:
Operation Constraints
This service enables you to read, create, update, and delete purchase requisitions through this OData version 4 from a source
system outside SAP S/4HANA Cloud.
This service is published on the SAP API Business Hub. For more information about APIs, see APIs on SAP API Business Hub.
This is an OData version 4 service. This version aims to improve processing time and resource consumption of clients and
servers and to re ect the complexity of the underlying business model. This includes a lightweight JSON format that reduces
the size of every response. Business data can be retrieved in the exact amount, at the right time, and in appropriate mode by
using new synchronization mechanisms. Calculations are made and data is aggregated by using the tiers best suited for this
task. Sophisticated metadata artifacts enable a true-to-life modeling of business models.
Technical Details
A service group contains services belonging to the same business object model and so it shares similar environment conditions.
This means the con guration and administration of a service group apply to all services in a service group, that is, routing,
authorization, and so on, so you only have to do them once.
This is custom documentation. For more information, please visit the SAP Help Portal 308
1/30/2023
In the OData version 4 (V4) runtime implementation of the SAP Gateway Foundation, framework services originate from
repositories.
Service Group (incl. Namespace if Repository ID Service Name (incl. Namespace if Version
Existent) Existent)
Service Structure
Service Header (optional)
Entities
This is custom documentation. For more information, please visit the SAP Help Portal 309
1/30/2023
A_PurchaseReqnAcctAssgmt_2 NO YES NO
A_PurchaseReqnDelivAddress_2 NO YES NO
Batch Operations
A_PurchaseReqnDelivAddress_2 NO YES NO
Service Response
Response Codes for Batch and Non-Batch Operations
Response Codes
Failure 400
Failure 400/500
This is custom documentation. For more information, please visit the SAP Help Portal 310
1/30/2023
Error Messages
Message No.125
MMPUR_REQ_COMMON/ You can only update one purchase requisition per change set.
MMPUR_REQ_COMMON/ You can create items belonging to only one origin in one PR
MMPUR_REQ_COMMON/ Please use same purchasing doc. type for header and items within
a PR
Message No. 145
MMPUR_REQ_COMMON/ Cannot assign info record or contract as SoS for enhanced limit
item
Message No. 156
MMPUR_SPROC/Message No. 16 Multiple account assignments are not allowed for enhanced limit
items.
Constraints
The constraints are as listed below:
This is custom documentation. For more information, please visit the SAP Help Portal 311
1/30/2023
Operation Constraints
Create Only authorized roles can be used to create purchase requisition through an API call. The following
authorization objects for purchase requisitions are relevant:
M_BANF_BSA
M_BANF_EKG
M_BANF_EKO
M_BANF_WRK
Update
Only GET, PATCH and POST are allowed with the OData call URL. You cannot use the methods,
DELETE, MERGE, and HEAD in OData call URL. Usage of any of these methods would result
in an error.
PATCH and POST methods are allowed with the batch call request. You cannot use the
methods DELETE, MERGE, HEAD in the change set of Batch Call request. Usage of any of
these methods would result in an error.
Multiple purchase requisitions can be updated using multiple change sets. You cannot update
more than one purchase requisition within one change set. ONLY ONE purchase requisition
can be updated in a single change set.
Only authorized roles can be used to update purchase requisition through an API call.
Authentication
Additional Information
The link to the API on the SAP API Business Hub: Purchase Requisition .
Note
For more details about Communication Management, see Communication Management.
Purchase Requisition
Technical name:A_PurchaseRequisitionHeader_2
Properties
This is custom documentation. For more information, please visit the SAP Help Portal 312
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Validate
Item
Technical name:A_PurchaseRequisitionItem_2
Properties
This is custom documentation. For more information, please visit the SAP Help Portal 313
1/30/2023
ExpectedOverallLimitAmount Amount expected to be spent on the limit item Mandatory for Limit Items, that is for items
with PurchasingDocumentItemCategory = 'A'
This is custom documentation. For more information, please visit the SAP Help Portal 314
1/30/2023
Note
Based on the distribution indicator chosen, you
must pass appropriate values for the parameter
"MultipleAcctAssgmtDistrPercent" in
A_PurReqnAcctAssgmt.
Note
You must always provide the <BaseUnit>
corresponding to the <OrderedQuantity> value, in
each and every operation.
OverallLimitAmount Maximum amount that can be spent on the limit Mandatory for Limit Items, that is for items
item. It is the upper limit that the expected value of with PurchasingDocumentItemCategory = 'A'
the limit item (ExpectedOverallLimitAmount) must
not exceed.
PATCH: Optional
B - PO created
A - RFQ created
K - Contract created
For example,
1 - Material
2 - Service
This is custom documentation. For more information, please visit the SAP Help Portal 315
1/30/2023
PATCH: Optional
This is custom documentation. For more information, please visit the SAP Help Portal 316
1/30/2023
Note
You must always provide the <BaseUnit>
corresponding to the <PurReqnPriceQuantity>
value, in each and every operation.
02 - Active
03 - In Release
05 - Release Completed
08 - Release Refused
Note
You must always provide the <BaseUnit>
corresponding to the <RequestedQuantity>
value, in each and every operation.
This is custom documentation. For more information, please visit the SAP Help Portal 317
1/30/2023
PurchaseOrderPriceType The price in the purchase order item is adopted from Optional
the purchase requisition item, based on this
parameter. The possible values are:
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
EnablePurReqForPurchasing
DiscardPurReqFromPurchasing
Account Assignment
Technical name:A_PurchaseReqnAcctAssgmt_2
Properties
This is custom documentation. For more information, please visit the SAP Help Portal 318
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 319
1/30/2023
Note
The value that you provide for this
parameter must correspond to the value
of the parameter
"MultipleAcctAssgmtDistribution" in
A_PurchaseRequisitionItem.
If "MultipleAcctAssgmtDistribution"
in A_PurchaseRequisitionItem is
Single Accounting - "",
MultipleAcctAssgmtDistrPercent
must be 0
If "MultipleAcctAssgmtDistribution"
in A_PurchaseRequisitionItem is
Distribution on Quantity Basis - "1",
MultipleAcctAssgmtDistrPercent
must be 0
If "MultipleAcctAssgmtDistribution"
in A_PurchaseRequisitionItem is
Distribution by Percentage - "2",
pass the percentage split for the
accounting lines. For example,
This is custom documentation. For more information, please visit the SAP Help Portal 320
1/30/2023
Note
You must always provide the
<BaseUnit> corresponding to the
<Quantity> value, in each and every
operation.
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Delivery Address
Technical name:A_PurchaseReqnDelivAddress_2
Properties
This is custom documentation. For more information, please visit the SAP Help Portal 321
1/30/2023
'P' - Plant
Note
Following address types are NOT
supported:
'R' - Reference
'C' - Customer
'S' - Supplier
This is custom documentation. For more information, please visit the SAP Help Portal 322
1/30/2023
Note
This is custom documentation. For more information, please visit the SAP Help Portal 323
1/30/2023
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
Item Notes
Technical name:A_PurchaseReqnItemText_2
Properties
400006573200010
in which,
This is custom documentation. For more information, please visit the SAP Help Portal 324
1/30/2023
Note
To display more information about the properties on the SAP API Business Hub, choose Schema View.
Supported Operations
The following operations are supported:
This is custom documentation. For more information, please visit the SAP Help Portal 325
1/30/2023
Change Sets
When you combine operations in batch mode, please consider the following:
Within a changeset, you can combine operations pertaining to only one purchase requisition.
You can create only one purchase requisition within a changeset. Use multiple changesets to create multiple purchase
requisitions.
You can update only one purchase requisition within a changeset. Use multiple changesets to update multiple purchase
requisitions.
ETags
The API uses entity tags (ETags) for optimistic concurrency control. That is, if a client requests a modi cation of a resource on
the back-end server, the ETags of the resource on the client server and on the back-end server are compared to determine
whether any changes were made to the resource on the back-end server. For this API, the If-Match header must be set for all
change operations.
Create
Create a Purchase Requisition
Request
You can include the following properties in the request's URL:
Response
This is custom documentation. For more information, please visit the SAP Help Portal 326
1/30/2023
On success, a purchase requisition is created. In the example below, purchase requisition "10783070" is created.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Content-Type: application/json
{
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Example PR",
"_PurchaseRequisitionItem": [
{
"PurchaseRequisitionItemText": "Test PR",
"AccountAssignmentCategory": "U",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1.00,
"PurReqnItemCurrency": "EUR",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001"
}
]
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 327
1/30/2023
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T11:06:45.35354Z",
"ExpectedOverallLimitAmount": 0.00,
"OverallLimitAmount": 0.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": []
}
]
}
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem_2 - Item
This is custom documentation. For more information, please visit the SAP Help Portal 328
1/30/2023
Response
On success, the operation creates an item with the details provided in the request. If there are any errors, the appropriate error
messages are returned.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Content-Type: application/json
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItemText": "Cable",
"AccountAssignmentCategory": "U",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1.00,
"PurReqnItemCurrency": "EUR",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001"
}
Response
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem_2 - Item
Response
This is custom documentation. For more information, please visit the SAP Help Portal 330
1/30/2023
On success, the operation creates a limit item with the details provided in the request. If there are any errors, the appropriate
error messages are returned.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Content-Type: application/json
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItemText": "Minor Office Supplies",
"AccountAssignmentCategory": "U",
"PurchasingDocumentItemCategory": "A",
"ProductTypeCode": "1",
"PurchasingGroup": "001",
"Plant": "0001",
"PurchasingOrganization": "0001",
"ExpectedOverallLimitAmount": 100,
"OverallLimitAmount": 100,
"PurReqnItemCurrency": "EUR",
"PerformancePeriodStartDate": "2020-08-20",
"PerformancePeriodEndDate": "2020-09-03"
}
Response
This is custom documentation. For more information, please visit the SAP Help Portal 331
1/30/2023
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": "2020-08-20",
"PerformancePeriodEndDate": "2020-09-03",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T17:28:41.555311Z",
"ExpectedOverallLimitAmount": 100.00,
"OverallLimitAmount": 100.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": []
}
Request
You can include the following properties in the request's URL:
Response
On success, the item note is added to the purchase requisition item. The item note "Coaxial Cable" is added to item "10" of
purchase requisition "10783070".
Examples
This is custom documentation. For more information, please visit the SAP Help Portal 332
1/30/2023
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Content-Type: application/json
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"TextObjectCategory": "EBAN",
"TextObjectType": "B01",
"Language": "EN",
"PlainLongText": "Coaxial Cable"
}
Response
Request
You can include the following properties in the request's URL:
Response
On success, the accounting line is added to item "10" of purchase requisition "10783070".
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/$bat
--batch
content-type: multipart/mixed; boundary=changeset
--changeset
This is custom documentation. For more information, please visit the SAP Help Portal 333
1/30/2023
content-type: application/http
content-transfer-encoding: binary
Content-ID: 1
{
"AccountAssignmentCategory": "K"
}
--changeset
content-type: application/http
content-transfer-encoding: binary
Content-ID: 2
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"CostCenter": "JMW-COST",
"GLAccount": "46000"
}
--changeset--
--batch--
Response
status_code: 200 OK
--EE71428608BB8AAEA0983B819C3CFAF60
Content-Type: multipart/mixed; boundary=EE71428608BB8AAEA0983B819C3CFAF61
Content-Length: 4319
--EE71428608BB8AAEA0983B819C3CFAF61
Content-Type: application/http
Content-Length: 2508
content-transfer-encoding: binary
content-id: 1
HTTP/1.1 200 OK
Content-Type: application/json;odata.metadata=minimal;charset=utf-8
Content-Length: 2207
odata-version: 4.0
cache-control: no-cache, no-store, must-revalidate
sap-messages: [{"code":"06/403","message":"Purchase requisition 10783070 changed","numericSeverity"
{
"@odata.context": "$metadata#PurchaseReqnItem/$entity",
"@odata.metadataEtag": "W/\"20201014104118\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "K",
"Material": "",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1,
"PurReqnPriceQuantity": 1,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "",
This is custom documentation. For more information, please visit the SAP Help Portal 334
1/30/2023
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0,
"DeliveryDate": "2020-10-14",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "V",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": true,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-14T12:34:59.112271Z",
"ExpectedOverallLimitAmount": 0,
"OverallLimitAmount": 0,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcurementHubSourceSystem": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": []
}
--EE71428608BB8AAEA0983B819C3CFAF61
Content-Type: application/http
Content-Length: 1482
content-transfer-encoding: binary
content-id: 2
This is custom documentation. For more information, please visit the SAP Help Portal 335
1/30/2023
cache-control: no-cache, no-store, must-revalidate
{
"@odata.context": "$metadata#PurchaseReqnAcctAssgmt/$entity",
"@odata.metadataEtag": "W/\"20201014104118\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchaseReqnAcctAssgmtNumber": "1",
"CostCenter": "JMW-COST",
"MasterFixedAsset": "",
"ProjectNetwork": "",
"BaseUnit": "EA",
"Quantity": 100,
"MultipleAcctAssgmtDistrPercent": 0,
"PurReqnItemCurrency": "EUR",
"PurReqnNetAmount": 0,
"IsDeleted": false,
"GLAccount": "46000",
"BusinessArea": "0001",
"SalesOrder": "",
"SalesOrderItem": "0",
"SalesOrderScheduleLine": "0",
"FixedAsset": "",
"OrderID": "",
"UnloadingPointName": "",
"ControllingArea": "0001",
"CostObject": "",
"ProfitabilitySegment": "0",
"ProfitCenter": "SAP-DUMMY",
"ProjectNetworkInternalID": "0",
"CommitmentItem": "",
"FundsCenter": "",
"Fund": "",
"FunctionalArea": "",
"CreationDate": null,
"GoodsRecipientName": "",
"NetworkActivityInternalID": "0",
"PartnerAccountNumber": "",
"JointVentureRecoveryCode": "",
"SettlementReferenceDate": null,
"OrderInternalID": "0",
"OrderIntBillOfOperationsItem": "0",
"EarmarkedFundsDocument": "",
"CostCtrActivityType": "",
"BusinessProcess": "",
"GrantID": "",
"ValidityDate": "2020-10-14",
"ChartOfAccounts": "INT",
"WBSElementExternalID": "",
"SAP__Messages": []
}
--EE71428608BB8AAEA0983B819C3CFAF61--
--EE71428608BB8AAEA0983B819C3CFAF60--
Request
You can include the following properties in the request's URL:
This is custom documentation. For more information, please visit the SAP Help Portal 336
1/30/2023
Response
On success, the accounting line is added to item "10" of purchase requisition "10783070".
Examples
Request
--batch
content-type: multipart/mixed; boundary=changeset
--changeset
content-type: application/http
content-transfer-encoding: binary
Content-ID: 1
{
"AccountAssignmentCategory": "K",
"MultipleAcctAssgmtDistribution": "1"
}
--changeset
content-type: application/http
content-transfer-encoding: binary
Content-ID: 2
PATCH PurchaseReqnAcctAssgmt(PurchaseRequisition='10783070',PurchaseRequisitionItem='10',PurchaseRe
content-type: application/json
accept: application/json
{
"Quantity": 70,
"BaseUnit": "EA"
}
--changeset
content-type: application/http
content-transfer-encoding: binary
Content-ID: 3
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"CostCenter": "JMW-COST",
"GLAccount": "46000",
"Quantity": 30,
"BaseUnit": "EA"
}
--changeset--
--batch--
This is custom documentation. For more information, please visit the SAP Help Portal 337
1/30/2023
Response
status_code: 200 OK
--5F3EC26D4515625E64D2416C87C82F280
Content-Type: multipart/mixed; boundary=5F3EC26D4515625E64D2416C87C82F281
Content-Length: 5814
--5F3EC26D4515625E64D2416C87C82F281
Content-Type: application/http
Content-Length: 2509
content-transfer-encoding: binary
content-id: 1
HTTP/1.1 200 OK
Content-Type: application/json;odata.metadata=minimal;charset=utf-8
Content-Length: 2208
odata-version: 4.0
cache-control: no-cache, no-store, must-revalidate
sap-messages: [{"code":"06/403","message":"Purchase requisition 10783070 changed","numericSeverity"
{
"@odata.context": "$metadata#PurchaseReqnItem/$entity",
"@odata.metadataEtag": "W/\"20201014104118\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "K",
"Material": "",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1,
"PurReqnPriceQuantity": 1,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0,
"DeliveryDate": "2020-10-14",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "1",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "V",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
This is custom documentation. For more information, please visit the SAP Help Portal 338
1/30/2023
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": true,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-14T13:27:04.685152Z",
"ExpectedOverallLimitAmount": 0,
"OverallLimitAmount": 0,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcurementHubSourceSystem": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": []
}
--5F3EC26D4515625E64D2416C87C82F281
Content-Type: application/http
Content-Length: 1349
content-transfer-encoding: binary
content-id: 2
HTTP/1.1 200 OK
Content-Type: application/json;odata.metadata=minimal;charset=utf-8
Content-Length: 1167
odata-version: 4.0
cache-control: no-cache, no-store, must-revalidate
{
"@odata.context": "$metadata#PurchaseReqnAcctAssgmt/$entity",
"@odata.metadataEtag": "W/\"20201014104118\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchaseReqnAcctAssgmtNumber": "1",
"CostCenter": "JMW-COST",
"MasterFixedAsset": "",
"ProjectNetwork": "",
"BaseUnit": "EA",
"Quantity": 70,
"MultipleAcctAssgmtDistrPercent": 70,
"PurReqnItemCurrency": "EUR",
"PurReqnNetAmount": 0,
"IsDeleted": false,
"GLAccount": "46000",
"BusinessArea": "0001",
"SalesOrder": "",
"SalesOrderItem": "0",
"SalesOrderScheduleLine": "0",
"FixedAsset": "",
"OrderID": "",
"UnloadingPointName": "",
"ControllingArea": "0001",
"CostObject": "",
"ProfitabilitySegment": "0",
"ProfitCenter": "SAP-DUMMY",
"ProjectNetworkInternalID": "0",
"CommitmentItem": "",
"FundsCenter": "",
"Fund": "",
"FunctionalArea": "",
This is custom documentation. For more information, please visit the SAP Help Portal 339
1/30/2023
"CreationDate": null,
"GoodsRecipientName": "",
"NetworkActivityInternalID": "0",
"PartnerAccountNumber": "",
"JointVentureRecoveryCode": "",
"SettlementReferenceDate": null,
"OrderInternalID": "0",
"OrderIntBillOfOperationsItem": "0",
"EarmarkedFundsDocument": "",
"CostCtrActivityType": "",
"BusinessProcess": "",
"GrantID": "",
"ValidityDate": "2020-10-14",
"ChartOfAccounts": "INT",
"WBSElementExternalID": "",
"SAP__Messages": []
}
--5F3EC26D4515625E64D2416C87C82F281
Content-Type: application/http
Content-Length: 1482
content-transfer-encoding: binary
content-id: 3
{"@odata.context":"$metadata#PurchaseReqnAcctAssgmt/$entity","@odata.metadataEtag":"W/\"20201014104
--5F3EC26D4515625E64D2416C87C82F281--
--5F3EC26D4515625E64D2416C87C82F280--
Read
Read a Purchase Requisition
Request
You can include the following properties in the request's URL:
Response
This is custom documentation. For more information, please visit the SAP Help Portal 340
1/30/2023
On Success, this operation returns the purchase requisition along with its associated entities. In the sample below, the purchase
requistion "10783070" is returned, along with its header and item level details.
Examples
Request
GET <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purch
Response
{
"@odata.context": "$metadata#PurchaseReqn(_PurchaseRequisitionItem(_PurchaseReqnItemText(),_Pur
"@odata.metadataEtag": "W/\"20201014043838\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Test Patch Update",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"SAP__Messages": [],
"_PurchaseRequisitionItem": [
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "20",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "Cable",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1.00,
"PurReqnPriceQuantity": 1,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0,
"DeliveryDate": "2020-10-14",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
This is custom documentation. For more information, please visit the SAP Help Portal 341
1/30/2023
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T13:19:53.978926Z",
"ExpectedOverallLimitAmount": 0.00,
"OverallLimitAmount": 0.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcurementHubSourceSystem": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": [],
"_PurchaseReqnAcctAssgmt": [],
"_PurchaseReqnDelivAddress": {
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "20",
"AddressID": "655846",
"Plant": "0001",
"PurchasingDeliveryAddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "SAP Labs 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Hasso-Plattner-Ring",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "7",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "08",
"County": "",
This is custom documentation. For more information, please visit the SAP Help Portal 342
1/30/2023
"FormOfAddress": "",
"BusinessPartnerName1": "SAP Labs 1",
"BusinessPartnerName2": "",
"PhoneNumber": "333",
"FaxNumber": "",
"SearchTerm1": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"SAP__Messages": []
},
"_PurchaseReqnItemText": []
},
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "30",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "A",
"PurchaseRequisitionItemText": "Minor Office Supplies",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "",
"RequestedQuantity": 0.000,
"BaseUnit": "",
"PurchaseRequisitionPrice": 100.00,
"PurReqnPriceQuantity": 0,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "0001",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0.000,
"DeliveryDate": "2020-09-03",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": "2020-08-20",
"PerformancePeriodEndDate": "2020-09-03",
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
This is custom documentation. For more information, please visit the SAP Help Portal 343
1/30/2023
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T17:28:41.555311Z",
"ExpectedOverallLimitAmount": 100.00,
"OverallLimitAmount": 100.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcurementHubSourceSystem": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": [],
"_PurchaseReqnAcctAssgmt": [],
"_PurchaseReqnDelivAddress": {
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "30",
"AddressID": "655846",
"Plant": "0001",
"PurchasingDeliveryAddressType": "P",
"ManualDeliveryAddressID": "",
"ItemDeliveryAddressID": "",
"CareOfName": "",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "SAP Labs 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Hasso-Plattner-Ring",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "7",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "08",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "SAP Labs 1",
"BusinessPartnerName2": "",
"PhoneNumber": "333",
"FaxNumber": "",
"SearchTerm1": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"SAP__Messages": []
},
This is custom documentation. For more information, please visit the SAP Help Portal 344
1/30/2023
"_PurchaseReqnItemText": []
},
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1.00,
"PurReqnPriceQuantity": 1,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0,
"DeliveryDate": "2020-10-14",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T18:28:40.998227Z",
"ExpectedOverallLimitAmount": 0.00,
This is custom documentation. For more information, please visit the SAP Help Portal 345
1/30/2023
"OverallLimitAmount": 0.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcurementHubSourceSystem": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": [],
"_PurchaseReqnAcctAssgmt": [],
"_PurchaseReqnDelivAddress": {
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"AddressID": "984428",
"Plant": "0001",
"PurchasingDeliveryAddressType": "U",
"ManualDeliveryAddressID": "984428",
"ItemDeliveryAddressID": "",
"CareOfName": "CareOfNameUpdated",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "SAP Labs 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Hasso-Plattner-Ring",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "7",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "08",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "SAP Labs 1",
"BusinessPartnerName2": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"SAP__Messages": []
},
"_PurchaseReqnItemText": [
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"TextObjectCategory": "EBAN",
"TextObjectKey": "001078307000010",
"TextObjectType": "B01",
"Language": "EN",
"PlainLongText": "Twisted Cables",
"FixedIndicator": "",
"SAP__Messages": []
}
This is custom documentation. For more information, please visit the SAP Help Portal 346
1/30/2023
]
}
]
}
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem_2 - Item
Response
On success, this operation returns the item in the purchase requisition. Here, it returns item "10" of purchase requisition
"10783070", along with its associated entities.
Examples
Request
GET <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purch
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqnItem(_PurchaseReqnItemText(),_PurchaseReqnAcctAssgmt()
"@odata.metadataEtag": "W/\"20201014043838\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1.00,
"PurReqnPriceQuantity": 1,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0,
"DeliveryDate": "2020-10-14",
"ProcessingStatus": "N",
This is custom documentation. For more information, please visit the SAP Help Portal 347
1/30/2023
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T18:28:40.998227Z",
"ExpectedOverallLimitAmount": 0.00,
"OverallLimitAmount": 0.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcurementHubSourceSystem": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": [],
"_PurchaseReqnAcctAssgmt": [],
"_PurchaseReqnDelivAddress": {
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"AddressID": "984428",
"Plant": "0001",
"PurchasingDeliveryAddressType": "U",
"ManualDeliveryAddressID": "984428",
"ItemDeliveryAddressID": "",
"CareOfName": "CareOfNameUpdated",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
This is custom documentation. For more information, please visit the SAP Help Portal 348
1/30/2023
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "SAP Labs 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Hasso-Plattner-Ring",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "7",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "08",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "SAP Labs 1",
"BusinessPartnerName2": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"SAP__Messages": []
},
"_PurchaseReqnItemText": [
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"TextObjectCategory": "EBAN",
"TextObjectKey": "001078307000010",
"TextObjectType": "B01",
"Language": "EN",
"PlainLongText": "Coax Cables",
"FixedIndicator": "",
"SAP__Messages": []
}
]
}
Request
You can include the following properties in the request's URL:
Response
This is custom documentation. For more information, please visit the SAP Help Portal 349
1/30/2023
On success, this operation returns the delivery address of the purchase requisition item. Here, it returns the delivery address
maintained in item "10" of purchase requisition "10783070".
Examples
Request
GET <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purch
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqnDelivAddress/$entity",
"@odata.metadataEtag": "W/\"20201014043838\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"AddressID": "984428",
"Plant": "0001",
"PurchasingDeliveryAddressType": "U",
"ManualDeliveryAddressID": "984428",
"ItemDeliveryAddressID": "",
"CareOfName": "CareOfNameUpdated",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "SAP Labs 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Hasso-Plattner-Ring",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "7",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "08",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "SAP Labs 1",
"BusinessPartnerName2": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"SAP__Messages": []
}
This is custom documentation. For more information, please visit the SAP Help Portal 350
1/30/2023
Request
You can include the following properties in the request's URL:
Response
On success, this operation returns the item note of all items in a purchase requisition. Here, it returns the item note of all the
items in the purchase requisition "10783070".
Examples
Request
GET <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purch
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqnItemText",
"@odata.metadataEtag": "W/\"20201014043838\"",
"value": [
{
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"TextObjectCategory": "EBAN",
"TextObjectKey": "001078307000010",
"TextObjectType": "B01",
"Language": "EN",
"PlainLongText": "Twisted Cables",
"FixedIndicator": "",
"SAP__Messages": []
}
]
}
Update
Update a Purchase Requisition
This is custom documentation. For more information, please visit the SAP Help Portal 351
1/30/2023
Request
You can include the following properties in the request's URL:
Response
On success, the description of purchase requisition is updated. Here,description of purchase requisition "10783070" is updated.
Examples
Request
PATCH <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Pur
Content-Type: application/json
{
"PurReqnDescription": "Test Patch Update"
}
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqn/$entity",
"@odata.metadataEtag": "W/\"20201013170647\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionType": "NB",
"PurReqnDescription": "Test Patch Update",
"SourceDetermination": false,
"PurReqnDoOnlyValidation": false,
"SAP__Messages": []
}
Rejected items and items that have follow-on documents can also be updated using this operation. The status gets changed to
In Release and is resubmitted for further processing.
Request
You can include the following properties in the request's URL:
This is custom documentation. For more information, please visit the SAP Help Portal 352
1/30/2023
A_PurchaseRequisitionItem_2 - Item
Response
On success, the purchase requisition item details are updated. Here, the purchase requisition item text of item "10" of purchase
requisition "10783070" is updated.
Examples
Request
PATCH <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Pur
Content-Type: application/json
{
"PurchaseRequisitionItemText": "ItemTextUpdated"
}
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqnItem/$entity",
"@odata.metadataEtag": "W/\"20201013170647\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"PurchasingDocument": "",
"PurchasingDocumentItem": "0",
"PurReqnReleaseStatus": "03",
"PurchasingDocumentSubtype": "",
"PurchasingDocumentItemCategory": "0",
"PurchaseRequisitionItemText": "ItemTextUpdated",
"AccountAssignmentCategory": "U",
"Material": "",
"MaterialGroup": "A001",
"RequestedQuantity": 100,
"BaseUnit": "EA",
"PurchaseRequisitionPrice": 1.00,
"PurReqnPriceQuantity": 1,
"MaterialGoodsReceiptDuration": 0,
"PurchasingOrganization": "",
"PurchasingGroup": "001",
"Plant": "0001",
"CompanyCode": "0001",
"SourceOfSupplyIsAssigned": false,
"SupplyingPlant": "",
"OrderedQuantity": 0,
"DeliveryDate": "2020-10-14",
"ProcessingStatus": "N",
"ExternalApprovalStatus": "",
"PurchasingInfoRecord": "",
"Supplier": "",
"IsDeleted": false,
"FixedSupplier": "",
"RequisitionerName": "",
"CreatedByUser": "JOHN",
"PurReqCreationDate": "2020-10-13",
"PurReqnItemCurrency": "EUR",
"MaterialPlannedDeliveryDurn": 0,
"DelivDateCategory": "1",
"MultipleAcctAssgmtDistribution": "",
"StorageLocation": "",
"PurReqnSSPRequestor": "",
"PurReqnSSPAuthor": "",
"PurchaseContract": "",
This is custom documentation. For more information, please visit the SAP Help Portal 353
1/30/2023
"PurReqnSourceOfSupplyType": "",
"PurchaseContractItem": "0",
"ConsumptionPosting": "U",
"PurReqnOrigin": "R",
"PurReqnSSPCatalog": "",
"PurReqnSSPCatalogItem": "",
"PurReqnSSPCrossCatalogItem": 0,
"PurReqnItemBlockingStatus": "",
"PurReqnItemBlockingReasonText": "",
"Language": "EN",
"IsClosed": false,
"ReleaseIsNotCompleted": true,
"ServicePerformer": "",
"ProductTypeCode": "1",
"PerformancePeriodStartDate": null,
"PerformancePeriodEndDate": null,
"PurchaseOrderPriceType": "",
"SupplierMaterialNumber": "",
"Batch": "",
"MaterialRevisionLevel": "",
"MinRemainingShelfLife": 0,
"ItemNetAmount": 100.00,
"GoodsReceiptIsExpected": true,
"InvoiceIsExpected": true,
"GoodsReceiptIsNonValuated": false,
"RequirementTracking": "",
"MRPController": "",
"PurchaseRequisitionIsFixed": false,
"LastChangeDateTime": "2020-10-13T18:16:03.440976Z",
"ExpectedOverallLimitAmount": 0.00,
"OverallLimitAmount": 0.00,
"PurReqnExternalReference": "",
"PurReqnItemExternalReference": "",
"PurReqnExternalSystemId": "",
"ProcmtHubBackendBusSyst": "",
"SSPAuthorExternalBPIdnNumber": "",
"SSPReqrUserId": "",
"SAP__Messages": []
}
Request
You can include the following properties in the request's URL:
Response
On success, the delivery address details of the purchase requisition item are updated. Here, the delivery address details of item
"10" of purchase requisition "10783070" are updated.
Examples
Request
This is custom documentation. For more information, please visit the SAP Help Portal 354
1/30/2023
PATCH <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Pur
{
"CareOfName": "CareOfNameUpdated"
}
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqnDelivAddress/$entity",
"@odata.metadataEtag": "W/\"20201013170647\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"AddressID": "984428",
"Plant": "0001",
"PurchasingDeliveryAddressType": "U",
"ManualDeliveryAddressID": "984428",
"ItemDeliveryAddressID": "",
"CareOfName": "CareOfNameUpdated",
"AdditionalStreetSuffixName": "",
"CorrespondenceLanguage": "",
"PrfrdCommMediumType": "",
"POBox": "",
"POBoxIsWithoutNumber": false,
"POBoxPostalCode": "",
"POBoxLobbyName": "",
"POBoxDeviatingCityName": "",
"POBoxDeviatingRegion": "",
"POBoxDeviatingCountry": "",
"DeliveryServiceTypeCode": "",
"DeliveryServiceNumber": "",
"AddressTimeZone": "",
"FullName": "SAP Labs 1",
"CityName": "Walldorf",
"District": "",
"CityCode": "",
"HomeCityName": "",
"PostalCode": "69190",
"CompanyPostalCode": "",
"StreetName": "Hasso-Plattner-Ring",
"StreetPrefixName": "",
"AdditionalStreetPrefixName": "",
"StreetSuffixName": "",
"HouseNumber": "7",
"HouseNumberSupplementText": "",
"Building": "",
"Floor": "",
"RoomNumber": "",
"Country": "DE",
"Region": "08",
"County": "",
"FormOfAddress": "",
"BusinessPartnerName1": "SAP Labs 1",
"BusinessPartnerName2": "",
"PhoneNumber": "",
"FaxNumber": "",
"SearchTerm1": "",
"BusinessPartnerName3": "",
"BusinessPartnerName4": "",
"TaxJurisdiction": "",
"TransportZone": "",
"SAP__Messages": []
}
This is custom documentation. For more information, please visit the SAP Help Portal 355
1/30/2023
Request
You can include the following properties in the request's URL:
Response
On success, the item note of the purchase requisition item is updated. Here, the item note of item "10" of purchase requisition
"10783070" is updated.
Examples
Request
PATCH <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Pur
{
"PlainLongText": "Twisted Cables"
}
Response
status_code: 200 OK
{
"@odata.context": "$metadata#PurchaseReqnItemText/$entity",
"@odata.metadataEtag": "W/\"20201013170647\"",
"PurchaseRequisition": "10783070",
"PurchaseRequisitionItem": "10",
"TextObjectCategory": "EBAN",
"TextObjectKey": "001075287500010",
"TextObjectType": "B01",
"Language": "EN",
"PlainLongText": "Twisted Cables",
"FixedIndicator": "",
"SAP__Messages": []
}
Delete
Delete a Purchase Requisition Item
Note
DELETE operation is not supported. The purchase requisition item is marked for deletion.
This is custom documentation. For more information, please visit the SAP Help Portal 356
1/30/2023
Request
You can include the following properties in the request's URL:
A_PurchaseRequisitionItem_2 - Item
Response
On success, this operation marks the purchase requisition item for deletion. Here, it marks item "20" of purchase requisition
"10783070" for deletion.
Examples
Request
PATCH <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Pur
"IsDeleted": true
}
Response
Request
You can include the following properties in the request's URL:
Response
On success, the item note in item "10" of purchase requisition "10783070" is deleted.
Examples
Request
DELETE <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Pu
Response
Validate
This operation performs a number of validation checks on the data in a purchase requisition.
Request
You can include the following properties in the request's URL:
Response
On success, it returns the success response code, indicating that the parameters in the purchase requisition are valid.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Response
EnablePurReqForPurchasing
External solutions integrated with SAP S/4HANA Cloud can invoke this operation on purchase requisitions, and enable them for
purchasing in SAP S/4HANA Cloud system.
External solutions can create purchase requisitions in SAP S/4HANA Cloud with external processing status as In Process
Externally, that is, the value of the eld ExternalApprovalStatus must be set to ʻP’. The solutions can then invoke the operation
EnablePurReqForPurchasing, on these purchase requisitions. The operation transitions the external processing status of
the purchase requisitions, and enables them for purchasing in SAP S/4HANA Cloud system.
Note
This operation can only be applied on purchase requisitions that are created from external solutions integrated with
SAP S/4HANA Cloud, with external processing status as In Process Externally.
You cannot update or delete purchase requisitions in SAP S/4HANA Cloud system, while their external processing
status is In Process Externally.
If header-level approval is con gured, you cannot add an item that is In Process Externally to a purchase requisition
that has all its items enabled for purchasing.
This is custom documentation. For more information, please visit the SAP Help Portal 358
1/30/2023
Request
You can include the following properties in the request's URL:
Response
On success, it returns the success response code, indicating that the status of the purchase requisition has been changed to
enable it for purchasing. Else, it returns the appropriate error code and message.
ID Optional Message ID
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Response
status_code: 200 OK
This is custom documentation. For more information, please visit the SAP Help Portal 359
1/30/2023
DiscardPurReqFromPurchasing
External solutions integrated with SAP S/4HANA Cloud can invoke this operation on purchase requisitions, and discard them
from purchasing in SAP S/4HANA Cloud system.
External solutions can create purchase requisitions in SAP S/4HANA Cloud with external processing status as In Process
Externally, that is, the value of the eld ExternalApprovalStatus must be set to ʻP’. The solutions can then invoke the operation
DiscardPurReqFromPurchasing, on these purchase requisitions. The operation transitions the external processing status
of the purchase requisitions, and discards them from purchasing in SAP S/4HANA Cloud system.
Note
This operation can only be applied on purchase requisitions that are created from external solutions integrated with
SAP S/4HANA Cloud, with external processing status as In Process Externally.
You cannot update or delete purchase requisitions in SAP S/4HANA Cloud system, while their external processing
status is In Process Externally.
If header-level approval is con gured, you cannot add an item that is In Process Externally to a purchase requisition
that has all its items enabled for purchasing.
Request
You can include the following properties in the request's URL:
Response
On success, it returns the success response code, indicating that the status of the purchase requisition has been changed to
discard it from purchasing. Else, it returns the appropriate error code and message.
ID Optional Message ID
This is custom documentation. For more information, please visit the SAP Help Portal 360
1/30/2023
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Response
status_code: 200 OK
EnablePurReqItemForPurchasing
External solutions integrated with SAP S/4HANA Cloud can invoke this operation on purchase requisition items, and enable
them for purchasing in SAP S/4HANA Cloud system.
External solutions can create purchase requisition items in SAP S/4HANA Cloud with external processing status as In Process
Externally, that is, the value of the eld ExternalApprovalStatus must be set to ʻP’. The solutions can then invoke the operation
EnablePurReqItemForPurchasing, on these purchase requisition items. The operation transitions the external processing
status of the purchase requisition items, and enables them for purchasing in SAP S/4HANA Cloud system.
Note
This operation can only be applied on purchase requisition items that are created from external solutions integrated
with SAP S/4HANA Cloud, with external processing status as In Process Externally.
You cannot update or delete purchase requisition items in SAP S/4HANA Cloud system, while their external
processing status is In Process Externally.
If header-level approval is con gured, you cannot add an item that is In Process Externally to a purchase requisition
that has all its items enabled for purchasing.
Request
You can include the following properties in the request's URL:
This is custom documentation. For more information, please visit the SAP Help Portal 361
1/30/2023
PurchaseRequisitionItem POST: Mandatory A string that indicates the item within the
purchase requisition.
Note
If you specify as ʻ00000’, then the action
is applied on all the items in the
purchase requisition. The status
transition happens only for items with
status In Process Externally. The status
of the other items remains unchanged.
Response
This operation returns the response codes with corresponding error messages. On success, it returns the success response
code, indicating that the status of the purchase requisition item has been changed to enable it for purchasing.
ID Optional Message ID
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Example
Request
This is custom documentation. For more information, please visit the SAP Help Portal 362
1/30/2023
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Response
status_code: 200 OK
DiscardPurReqItemFromPurg
External solutions integrated with SAP S/4HANA Cloud can invoke this operation on purchase requisition items, and discard
them from purchasing in SAP S/4HANA Cloud system.
External solutions can create purchase requisition items in SAP S/4HANA Cloud with external processing status as In Process
Externally, that is, the value of the eld ExternalApprovalStatus must be set to ʻP’. The solutions can then invoke the operation
DiscardPurReqItemFromPurg, on these purchase requisition items. The operation transitions the external processing
status of the purchase requisition items, and discards them from purchasing in SAP S/4HANA Cloud system.
Note
This operation can only be applied on purchase requisition items that are created from external solutions integrated
with SAP S/4HANA Cloud, with external processing status as In Process Externally.
You cannot update or delete purchase requisition items in SAP S/4HANA Cloud system, while their external
processing status is In Process Externally.
If header-level approval is con gured, you cannot add an item that is In Process Externally to a purchase requisition
that has all its items enabled for purchasing.
Request
You can include the following properties in the request's URL:
PurchaseRequisitionItem POST: Mandatory A string that indicates the item within the
purchase requisition.
Note
If you specify as ʻ00000’, then the action
is applied on all the items in the
purchase requisition. The status
transition happens only for items with
status In Process Externally. The status
of the other items remains unchanged.
Response
This operation returns the response codes with corresponding error messages. On success, it returns the success response
code, indicating that the status of the purchase requisition item has been changed to discard it for purchasing.
This is custom documentation. For more information, please visit the SAP Help Portal 363
1/30/2023
ID Optional Message ID
Note
Success, information and warning messages, if any, are returned in the response header. Currently this is limited to 12
messages.
Examples
Request
POST <host>/sap/opu/odata4/sap/api_purchaserequisition_2/srvd_a2x/sap/purchaserequisition/0001/Purc
Response
status_code: 200 OK
This inbound service enables you to create and update purchase requisitions through an API call. The update operation can be
used to ag line items as “deleted” or “undeleted”. The item category “standard” allows you to use material items (product
type group “1”) and lean services (product type group „2 “). Enhanced limit items (item category “E”) are also supported.
The service contains a message header and nodes for the purchase requisition header, attachments at header level, the
purchase requisition item, the delivery address, account assignment information, a text collection, and attachments at item
level.
This is custom documentation. For more information, please visit the SAP Help Portal 364
1/30/2023
Service Structure
Service Message Header: The service message header contains information about the service.
The following nodes and elds are the most important ones:
Service Nodes
Restrictions
With this service, it is not possible to:
Note
You should always transfer the external procurement reference document ID (ExtProcmtRefDocument). This applies
when you use the service to create a purchase requisition and when you use it to update a purchase requisition.
This is custom documentation. For more information, please visit the SAP Help Portal 365
1/30/2023
You have to provide both the external procurement reference document ID and the external procurement reference
document item ID. This means, you have to ll the elds ExtProcmtRefDocument and
ExtProcmtRefDocumentItem.
Namespace: /MMPUR
Interface: PREQNIN
To assign users to recipients, use the Assign Recipients to Users app from the Communication Management – Message
Monitoring Con guration (SAP_CA_BC_COM_CONF_PC) business catalog.
For message monitoring, use the Message Dashboard app from the Communication Management - Message Monitoring and
Error Handling (SAP_CA_BC_COM_ERR_PC) business catalog.
Both business catalogs are contained in the business role template Con guration Expert – Business Network Integration
(SAP_BR_CONF_EXPERT_BUS_NET_INT).
Extensibility
This service can be extended at item level, using the app Custom Fields and Logic. The business context is Purchase Requisition
Item (MM_PURREQN_ITEM).
PurchaseRequisitionRequest_In – PurchaseRequisition
Fields of the Purchase Requisition Header
PurchaseRequisitionRequest_In – Attachment
This is custom documentation. For more information, please visit the SAP Help Portal 366
1/30/2023
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseRequisitionRequest_In – PurRequisitionReqItm
This is custom documentation. For more information, please visit the SAP Help Portal 367
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 368
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 369
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 370
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 371
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 372
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 373
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 374
1/30/2023
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseRequisitionRequest_In - PurReqDeliveryAddress
This is custom documentation. For more information, please visit the SAP Help Portal 375
1/30/2023
AreaID Area ID
SubscriberID Subscriber ID
ExtensionID Extension ID
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseRequisitionRequest_In – PurReqAcctAssignment
This is custom documentation. For more information, please visit the SAP Help Portal 376
1/30/2023
This is custom documentation. For more information, please visit the SAP Help Portal 377
1/30/2023
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseRequisitionRequest_In – TextCollection
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
Description
Technical name of the service: PurchaseRequesitionStatusNotification_Out
Service Structure
This is custom documentation. For more information, please visit the SAP Help Portal 378
1/30/2023
This outbound SOAP interface enables you to send status noti cations to an external system from the SAP S/4HANA system if
certain changes that are relevant for the business process have been made to a purchase requisition. This includes noti cations
upon creation, blocking and deletion of the purchase requisitions. Furthermore, messages are sent to notify the external
consumer about completion and release status changes. The external consumer receives noti cations about any changes to
the processing status of the purchase requisition. You can use this service only for purchase requisitions that were created via
the inbound web service for purchase requisition creation Purchase Requisition– Create.
This services sends a noti cation message with the following status information to the external consumer:
BANPR This is the processing status of the purchase requisition. The following statuses
are available:
01 (In Process)
02 (Active)
03 (In Release)
05 (Release Completed)
08 (Release Refused)
FRGZU This is the release status of the purchase requisition that indicates whether the
purchase requisition has already been approved. It is set automatically if the
release strategy for the purchase requisitions has been applied.
MEMORY Indicates that the purchase requisition has not yet been completed
MEMORYTYPE Shows that the purchase requisition is not yet complete, and indicates the status.
The following statuses are available:
P (Document Parked)
H (Document on Hold)
LOEKZ This is the deletion indicator of the purchase requisition. The following values are
available:
S (Blocked)
L (Deleted)
Service Structure
The request contains a MessageHeader node element, a PurchaseRequesitionHeader node element and a
PurchaseRequesitionItemList node element.
The service message header contains information on the service, the involved sender and receiver as well as date and time.
Entities
The entities contain the business data of the service. The PurchaseRequesitionHeader node element contains the ID of
the purchase requisition, as well as its the reference ID. The PurchaseRequesitionItemList contains information on
This is custom documentation. For more information, please visit the SAP Help Portal 379
1/30/2023
purchase requisition items list.
Prerequisites
Mapping of external system and a logical port must exist to provide communication of the external consumer via this service
with the SAP S/4HANA system. You must create a communication user, a communication system and set up a communication
arrangement. To do so, you can use the following applications:
Communication Arrangements
Please note, that an administrator role must be assigned to your user to enable you to perform this con guration.
Note
You need to assign the following recipients to the user in the app Assign Recipients to Users rst:
Namespace: /MMPUR
Namespace: /MMPUR
Parameters
Parameter Description
This is custom documentation. For more information, please visit the SAP Help Portal 380
1/30/2023
Parameter Description
ID Noti cation ID. It is generated in the SAP S/4HANA system and has the length of 35
characters.
UUID Noti cation UUID. It is generated in the SAP S/4HANA system and has the length of
36 characters.
CreationDateTime Date and time when the message has been created.
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseRequesitionStatusNoti cation_Out:
PurchaseRequesitionHeader
Parameters
Parameter Description
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
PurchaseRequesitionStatusNoti cation_Out:
PurchaseRequesitionItemList
Parameters
This is custom documentation. For more information, please visit the SAP Help Portal 381
1/30/2023
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox or Google
Chrome.
This service enables you to send noti cations when a purchase requisition is replicated.
Service Structure
Service Message Header
The service message header contains information on the service, the involved sender and receiver as well as date and time.
This is custom documentation. For more information, please visit the SAP Help Portal 382
1/30/2023
True (Replication
successful)
False (Replication
failed)
Item
PurchaseRequestReference
BusinessDocumentProcessingResultCode
MaximumLogItemSeverityCode
Item
CategoryCode
listID
listVersionID
listAgencyID
listAgencySchemeID
listAgencySchemeAgencyID
This is custom documentation. For more information, please visit the SAP Help Portal 383
1/30/2023
S (Success)
E (Error)
W (Warning)
I (Info)
A (Abort)
ReferenceObjectNodeSenderTechnicalID
ReferenceMessageElementName
NoteTemplateText
LogItemNotePlaceholderSubstitutionList
FirstPlaceholderID
SecondPlaceholderID
ThirdPlaceholderID
FourthPlaceholderID
FirstPlaceholderSubstitutionText
SecondPlaceholderSubstitutionText
ThirdPlaceholderSubstitutionText
FourthPlaceholderSubstitutionText
WebURI
Implementation
In SAP SOA Manager (SOAMANAGER), de ne the endpoint of the receiving system. To do this, con gure a logical port for
consumer proxy Invoice – Send Status Update Noti cations (InvoiceStatusUpdateNotification_Out).
This is custom documentation. For more information, please visit the SAP Help Portal 384