cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAdI to change PMP0 value of PO Item

KhaingZinTun
Participant

Accepted Solutions (0)

Answers (2)

Answers (2)

Chuma
Active Contributor
0 Likes

Hello @KhaingZinTun,

You cannot modify PMP0 through MM_PUR_S4_PO_MODIFY_ITEM because this BAdI does not influence pricing.
If you need to set or override the Manual Gross Price (PMP0) in a purchase order, use the relevant pricing BAdIs instead.

PRCG_DOC_ITEM_CONDITION_AMOUNT overrides the amount for a specific condition at the item level, filtering by Condition Type = 'PMP0'.

MM_PUR_S4_PO_DEFINE_CNDNCTR influences the price determination for PO items, like identifying which condition contributes.

Implement both in Custom Fields and Logic key-user extensibility. Make sure PMP0 is included in your purchasing schema and that it is allowed for manual or logic updates; otherwise, the BAdI will not work.

Useful SAP Documentation

SAP KBA 3580006 – Purchase Order Price Enhancement ,explains using PRCG_DOC_ITEM_CONDITION_AMOUNT and MM_PUR_S4_PO_DEFINE_CNDNCTR. SAP Support Portal-3580006 - Purchase Order Price Enhancement in SAP S/HANA Cloud Public Edition

SAP KBA 2756560 – Cloud BAdIs for Pricing Lists available pricing BAdIs and usage through Custom Fields and Logic. SAP Support Portal-2756560 - Cloud BAdIs for pricing

With kind regards

Chuma

Zhehui_Xia28
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

You can try BAdI PRCG_DOC_CONDITION_AMOUNT and PRCG_DOC_ITM_CNDN_BASE_VALUE to see if these BAdIs can meet your requirement.

Best Regards,

Zhehui

KhaingZinTun
Participant
0 Likes

Hi @Zhehui_Xia28 ,

Thanks for your support. In my case, i want to retrieve price value from custom bo and just assign that value to PMP0 of PO item when create PO.

Is there any workaround other than using BAdI?

Best Regards,

Khaing Zin