cancel
Showing results for 
Search instead for 
Did you mean: 

Creating new conditions for a material

Former Member
0 Kudos

Hi,

I need to create new price conditions massively for materials. The conditions I'm talking about are manually editable via transaction COMMPR01 -> choose a material -> "Conditions" tab -> Conditions for BBP Purchasing; there it shows the condition records with their validity interval.

I need to add new conditions for many materials via ABAP by adding a new record with a new price and a new validity interval for each material. I was wondering if there is a FM that does the job.

Can you help me?

Thanks in advance!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I found the FM BBP_CT_GET_PRODUCT_CONDITIONS which returnd the pricing conditions giving a material guid. Does anyone know of a FM which updates/adds conditions instead?

Thanks!

Former Member
0 Kudos

No one knows of a function module/bapi that updates the product conditions in srm?

it should do massively what you can do with transaction COMMPR01 -> choose a material -> "Conditions" tab -> Conditions for -> BBP Purchasing (dropdown) -> edit condition records -> save

Former Member
0 Kudos

I found the FM COM_PROD_MATERIAL_MAINTAIN_API, but I can't make it work.

Could anyone help me, please?

Former Member
0 Kudos

I managed to use the fm COM_PROD_MATERIAL_MAINTAIN_API to update the conditions