- Previous: Retrieve Purchase Order Details
- Up: Automatic GRC
- Next: Customer Master Data
Goods Receipt confirmation
This API allows to create on SAP Goods Receipt Confirmation related to one or more items of one specific Purchase Order.
#### Request URI
Operations supported for BAPI_GOODSMVT_CREATE
#### Request Structure
#### Request Example
#### Response Structure
#### Response Example
OperationType | SAP GM_CODE |
goodsReceiptForPurchaseOrder | 01 |
goodsReceiptForProductionOrder | 02 |
goodsIssue | 03 |
transferPosting | 04 |
otherGoodsReceipts | 05 |
reversalOfGoodsMovements | 06 |
subsequentAdjustmentToASubcontractOrder | 07 |
Field | Type | Description | Mandatory | Technical details | |||
purchaseOrder |
|||||||
number |
String | Purchase Order document number. | Y | ||||
operationType |
String | Operation to be performed. | N | This field can contain any of the values given in the "Operations supported for BAPI_GOODSMVT_CREATE" table above. This value will automatically determine the value of GM_CODE for the operation in SAP. Not needed for Coupa or for SAP services. | |||
gmCode |
String | SAP GM_CODE value. | N | If it is valorized, SAP will use this value as GM_CODE for BAPI_GOODSMVT_CREATE. Not needed for Coupa or for SAP services. | |||
date |
Date | Purchase Order creation date. | Y | Format: YYYY-MM-DD | |||
postingDate |
Date | Purchase Order posting date. | Y | The current date (Format: YYYY-MM-DD) | |||
description |
String | Purchase Order description. | N | ||||
externalId |
String | Purchase Order external id. | N | ||||
lineItem (1..∞) |
|||||||
id |
String | Identifier of the line item. This field must be unique for each item. | Y | ||||
externalId |
String | External identifier of the line item. | N | ||||
description |
String | Description of the line item. | Y | ||||
code |
String | Material code. | N | ||||
category |
String | Category of the line item. | Y | ||||
plant |
String | Plant | Y | ||||
storageLocation |
String | Location of the storage. | Y | ||||
unitOfMeasure |
String | Measure unit for quantity. | Y | ||||
quantity |
Decimal | Quantity in piece that will be received for the corresponding line item. | Y | ||||
movementType |
String | Type of the movement. | Y | Default value: "101" | |||
movementIndicator |
String | Indicator of the movement. | Y | Default value: "B" | |||
manufactureDate |
Date | Manufacture date. | N | Format: YYYY-MM-DD | |||
expirationDate |
Date | Expiration date. | N | Format: YYYY-MM-DD | |||
deliveryCompleted |
String | Indicates if the delivery should be considered closed. | Y | Fixed value "true" if the delivery has to be closed | |||
total |
Decimal | Total value of the item. | Y | ||||
currency |
String | Currency. | Y | ||||
batch |
String | Batch number. | N | ||||
vendorBatch |
String | Vendor batch number. | N | ||||
newBatch |
String | New batch number. | N | ||||
deliveryNumber |
String | Delivery number. | N | ||||
deliveryItem |
String | Delivery item. | N | ||||
movementReason |
String | Movement reason. | N | ||||
purchaseOrder/lineItem/localValues |
|||||||
total |
Decimal | Total value of the item in local currency. | N | ||||
currency |
String | Local currency. | N | purchaseOrders/lineItem/service (0..∞) |
|||
pckgNumber |
String | Package Number. | N | ||||
id |
String | Internal line number. | N | ||||
extLine |
String | Line number. | N | ||||
outlLevel |
String | Hierarchy level of group. | N | ||||
outlNumber |
String | Outline level. | N | ||||
outlIndicator |
String | Outline level indicator. | N | ||||
quantity |
Decimal | Quantitiy. | N | ||||
unitOfMeasure |
String | Measure unit for quantity. | N | ||||
unitOfMeasureIso |
String | Measure unit for quantity [Iso code]. | N | ||||
priceUnit |
Decimal | Price unit. | N | ||||
grPrice |
Decimal | Gross price. | N | ||||
fromLine |
String | Lower limit. | N | ||||
toLine |
String | Upper limit. | N | ||||
description |
String | Description. | N | ||||
matlGroup |
String | Material group. | N | ||||
netPrice |
Decimal | Net price. | N |
Field | Type | Description | |||
purchaseOrder |
|||||
number |
String | Purchase Order document number. | |||
lineItem (1..∞) |
|||||
id |
String | Identifier of the line item. | |||
status |
String | Status of the transaction for the corresponding line item. | |||
message |
String | Message of the transaction for the corresponding line item. |
- Previous: Retrieve Purchase Order Details
- Up: Automatic GRC
- Next: Customer Master Data
0 Comments
Please sign in to post a comment.