RCG SAP S/4HANA Orders System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

createOrdersRequest

Source: ./src/main/resources/dwl/createOrdersRequest.dwl

Mapping Tables

Create Sales Order request mapping.

SAP HANA FieldCIM FieldDescription of source field
SalesOrderTypesalesOrderTypeSales Order Type
SalesOrganizationsalesChannelSales Order salesChannel
DistributionChannelsalesChannelSales Channel Name
OrganizationDivisionorganizationDivisionSales Order division
SoldToPartysoldToCustomersoldToCustomer Id
PurchaseOrderByCustomerpurchaseOrderNumberpurchaseOrder Number
TransactionCurrencycurrencycurrency details
YY1_SME_MORDERIDexternalIds.externalIdMaster Order Id
to_Item.NetAmounttotalLineAmountSales Order Net Amount
to_Item.MaterialorderProductNumberMaterial Details
to_Item.ItemWeightSAPUnit"PC"Sales Order unit details
to_Item.TransactionCurrencyorderCurrencySales Order transaction currency
to_Item.ProductionPlantproductionPlantSAP HANA Production Plant

(back to top)

getOrderByIdResponse

Source: ./src/main/resources/dwl/getOrderByIdResponse.dwl

Mapping Tables

Get Sales Order by ID response mapping.

Resp FieldSales Order Source fieldDescription of source field
nameSenderBusinessSystemNameSales Order Name
idSalesOrderSales Order Id
orderNumberSalesOrderSales Order Number
descriptionSalesOrderItemTextSales Order Description
grandTotalAmountTotalNetAmountSales Order Total Amount
billToContactShippingPointSales Order Bill Contact
priceCalculationStatusMessageTextSalesOrderItemTextSales Order Price Status
totalAdjustedDeliveryTaxAmountTotalAdjustedDeliveryAmountSales Order Adjusted Delivery Amount
renewalUpliftRateAccountingExchangeRateSales Order Renewal Up Lift Rate
salesOrderConfirmationStatusOverallTotalDeliveryStatusSales Order Delivery Status
salesChannel DistributionChannelSales Order Sales Channel
developerStatusCodeDeliveryStatusSales Order Delivery Status
billToAccountMatlAccountAssignmentGroupSales Order Bill Account
totalProductAmountNetAmountSales Order Product Amount
originalOrderSalesOrderSales Order Original Order
billToAddressShippingPointSales Order Address Bill
shipToContactShippingPointSales Order Shipping Point
totalDeliveryAmountTotalNetAmountSales Order Delivery Amount
salesOrderType.idSalesOrderTypeSales Order Id
salesOrderType.nameSalesGroupSales Order Sales Group
externalIds.externalIdType.idSalesOrderSales Order Id
externalIds.externalIdType.nameSenderBusinessSystemNameSales Order Name
externalIds.externalIdExternalItemIDSales Order External Id
externalIds.idSalesOrderSales Order Id
externalIds.statusLastChangedDateLastChangeDateTimeSales Order Status Last Changed DateTime
purchaseOrderNumberPurchaseOrderByCustomerSales Order Purchase Number

(back to top)

getOrderListResponse

Source: ./src/main/resources/dwl/getOrderListResponse.dwl

Mapping Tables

Get Sales Order List response mapping.

Resp FieldSales Order Source fieldDescription of source field
nameSenderBusinessSystemNameSales Order Name
idSalesOrderSales Order Id
orderNumberSalesOrderSales Order Number
descriptionSalesOrderItemTextSales Order Description
developerStatusCodeDeliveryStatusSales Order Delivery Status
salesOrderConfirmationStatus.idDeliveryStatusSales Order Status
salesOrderConfirmationStatus.nameOverallTotalDeliveryStatusSales Order Status
purchaseOrderNumberPurchaseOrderByCustomerSales Order Purchase Number
totalDeliveryAmountTotalNetAmountSales Order Delivery Amount
billToContactShippingPointSales Order Bill Contact
billToAccountMatlAccountAssignmentGroupSales Order Bill Account
shipToContactShippingPointSales Order Shipping Point
grandTotalAmountTotalNetAmountSales Order Total Amount
shipToAddressShippingAddressSales Order Shipping Address
salesChannel.idDistributionChannelSales Order Sales Channel
salesChannel.developerStatusCodeDeliveryStatusSales Order Delivery Status
originalOrderSalesOrderSales Order Original Order
billToAddressShippingPointSales Order Address Bill
salesOrderType.idSalesOrderTypeSales Order Id
salesOrderType.nameSalesGroupSales Order Sales Group
externalIds.externalIdType.idSalesOrderSales Order Id
externalIds.externalIdType.nameSenderBusinessSystemNameSales Order Name
externalIds.externalIdExternalItemIDSales Order External Id
externalIds.idSalesOrderSales Order Id
externalIds.statusLastChangedDateLastChangeDateTimeSales Order Status Last Changed DateTime
priceCalculationStatusMessageTextSalesOrderItemTextSales Order Price Status
renewalUpliftRateAccountingExchangeRateSales Order Renewal Up Lift Rate

(back to top)

updateOrdersRequest

Source: ./src/main/resources/dwl/updateOrdersRequest.dwl

Mapping Tables

Update Sales Order request mapping.

SAP HANA Order FieldCIM FieldDescription of source field
SalesOrderTypesalesOrderTypeSales Order Type
SalesOrderorderIdSales Order Number
SalesOrganizationsalesChannelSales Order salesChannel
SoldToPartysoldToCustomersoldToCustomer Id
PurchaseOrderByCustomerpurchaseOrderNumberpurchaseOrder Number
TotalNetAmounttotalProductAmountTotal net amount
TransactionCurrencycurrencycurrency details
ExternalDocumentIDexternalIds.externalIdExternal ID

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onJan 31, 2024
Asset overview

Asset versions for 2.4.x

Asset versions
VersionActions
2.4.4
2.4.3