cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Specific Price List API Example

MarkTotnes
Explorer
0 Kudos
229

Hi - I'm fairly (to say the least!) confused about ByDesign API to create a 'Customer Specific Price List'

This is exactly what I want to do - create a price list for a specific Customer (NOT a Group)

All examples i see (for instance:

https://help.sap.com/doc/a2b4c7ef61d64397b2b1d052082a8a08/2411/en-US/PSM_ISI_R_II_PRC_MANAGE_SPL_IN....)

are suggesting I need a customer GROUP however I only want to do this for a specific customer.

I can do this in the client ok but can't see how to do this via API call ?

Client:

CustomerSpecificPriceList.png

Any help would be most appreciated !

View Entire Topic
KathrinD
Product and Topic Expert
Product and Topic Expert

Hello Mark, 

here a sample payload on how to create a Customer Specific Price List vie the web service (ABC represents the Account ID and P111111 represents the Product ID):

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:a00="http://sap.com/xi/AP/CustomerExtension/BYD/A0014">
<soap:Header/>
<soap:Body>
<glob:SalesPriceListBundleMaintainRequest_sync>
<BasicMessageHeader/>
<SalesPriceList ActionCode="04">
<TypeCode>7PL0</TypeCode>
<ID>Test CSPL</ID>
<Description languageCode="EN">Customer Specific Price List</Description>
<StartDate>2025-01-01</StartDate>
<EndDate>2025-12-31</EndDate>
<AccountID>ABC</AccountID>
<CurrencyCode>EUR</CurrencyCode>
<PriceSpecification>
<TypeCode>7PR1</TypeCode>
<Amount currencyCode="EUR">200.00</Amount>
<BaseQuantity unitCode="EA">1</BaseQuantity>
<BaseQuantityTypeCode>EA</BaseQuantityTypeCode>
<ProductID>P111111</ProductID>
<ProductTypeCode>1</ProductTypeCode>
</PriceSpecification>
</SalesPriceList>
</glob:SalesPriceListBundleMaintainRequest_sync>
</soap:Body>
</soap:Envelope>

 

with kind regards, 

Kathrin

MarkTotnes
Explorer
0 Kudos
Thanks soooo much Kathrin ! Perfect ! Kudos to you indeed 🙂