a month ago
Is there a way we can update the Purchase Order NetPrice Amount?
I have found this BAdi "MM_PUR_S4_PO_MODIFY_ITEM" but that is not allowed to change NetPrice Amount value.
So, as an alternative way, I tried to use api in the logic but there is only outbound service in logic.
IF cl_ble_http_client=>is_service_available(
communication_scenario = 'SAP_COM_0053'
outbound_service = ' ' " When write inbound_service, error message is shown.
) = abap_true.
As scenario SAP_COM_0053 has only inbound service, could you please guide me how should I write the logic to be able to use the inbound service?
Request clarification before answering.
Unfortunately, there is no direct way to update the Purchase Order Net Price using standard SAP functionality or BAdIs in S/4HANA Cloud. Here are the key points:
The BAdI MM_PUR_S4_PO_MODIFY_ITEM does not allow changing the Net Price Amount value .
There is no specific BAdI to directly modify the net price of a purchase order .
For controlling the price determination process when creating or changing a purchase order, you can use the BAdI MM_PUR_S4_PO_DEFINE_CNDNCTRL . However, this does not directly allow updating an existing net price.
The inbound service you mentioned (SAP_COM_0053) is for Purchase Order Integration, but it doesn't provide a direct method to update the net price .
As an alternative approach, you could consider:
Using the BAdI MM_PUR_S4_PO_DEFINE_CNDNCTRL to influence the price determination process for new or changed purchase orders .
Exploring if there are any APIs or services available within your SAP S/4HANA Cloud system that might allow updating PO prices indirectly.
If direct modification is absolutely necessary, you may need to contact SAP support for a custom solution or explore if there are any extension points available in your specific SAP S/4HANA Cloud implementation.
Remember that modifying prices directly can have significant implications on financial processes and data integrity, so any changes should be carefully considered and implemented with proper controls and approvals.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vincent,
Thanks a lot for your answer.
I create the communication arrangement using "SAP_COM_0053". And can update the Purchase Order NetPrice Amount using the api link below.
https://my123456-api.s4hana.cloud.sap/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV//A_PurchaseOrd...' ',PurchaseOrderItem='10').
I want to use that one in the logic. But it only has inbound service and in logic I cannot write outbound service.
Best Regards,
Pyae
User | Count |
---|---|
9 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.