2025 Jan 16 1:12 PM - edited 2025 Jan 16 1:13 PM
Hello experts,
We have a requirement to mass create and mass change the price condition data for configurable materials by uploading Excel file, we want to run a simulate/test run before committing the the change/create.
In ECC there is a BAPI : 'BAPI_PRICES_CONDITIONS' for create/change and we could commit or rollback the changes once its executed, similarly is there any alternative BAPI or Simulate API for create/change pricing condition before the POST/PUT call in SAP Public cloud.
Thank you in advance
SAP S/4HANA Cloud Public Edition SAP S/4HANA Cloud Public Edition Supply Chain API
Request clarification before answering.
Hello,
Please pay attention that a new feature is released in 2502 - Manage Price Agreements for Sales Contracts, if that is relevant. Here is the link to my video on this feature: https://www.youtube.com/watch?v=75boOKx732Q
In SAP S/4HANA Cloud, the concept of BAPIs as used in ECC is generally replaced by OData services and APIs. For your requirement of simulating price condition data changes before actually making the POST or PUT call, you can use the "Price Simulation - Read" service.
This service, known as API_PURGDOCPRCGSIMULATION, allows you to simulate the net price for a transaction based on a pricing schema. It doesn't directly change or create records but instead provides a simulation capability that can help you predict the outcome of your intended changes before you actually commit them.
Here's how you can approach your requirement:
1. **Preparation:** Prepare your data in an Excel file as per your business requirements for mass creation or change.
2. **Simulation:** Use the "Price Simulation - Read" API to simulate the net price changes based on your proposed data. This allows you to test the data before uploading it permanently.
3. **Execution:** Once you are satisfied with the simulation results, proceed to actually create or change the price conditions using the relevant API for creating or updating pricing records.
4. **Communication Scenario:** Ensure that you have configured the required communication scenario, specifically SAP_COM_0294, to use these pricing and simulation services.
Best regards,
Dequan Xu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.