02-08-2024 10:20 AM - edited 02-08-2024 10:21 AM
Hi Experts,
We are currently using User Exit (MV45AFZZ - Save Document Prepare) to modify the sales order while saving the sales order.
Do we have any other options like the classical way (BAdi's, Enhancement spot, etc)?
Thanks
Subham
02-09-2024 12:47 PM - edited 02-09-2024 1:03 PM
Hi dear Subham
For Public Cloud there are alternative options available in SAP S/4HANA Cloud for modifying sales orders during the save process. Kindly have a look about some Business Add-Ins (BAdIs): BAdIs are enhancement spots that allow you to add custom logic to standard SAP code. In the case of sales orders, you can use BAdIs such as SD_SLS_MODIFY_HEAD, SD_SLS_MODIFY_ITEM (just an example) to enhance the save process and modify the sales order data as required.
Please research more in the link below;
Business Add-Ins (BAdIs) for Sales Documents | SAP Help Portal