cancel
Showing results for 
Search instead for 
Did you mean: 

How to update campaign pricing discount through coding

Former Member
0 Kudos

Hi ,

I have a requirement where I need to maintain campaign Discount through coding.

Generally , we create the condition record by clicking on 'New' button on Discount assignment block . Then its shows pop-up to choose the Condition type combination. When we click on it , it redirects to Edit list View component and we maintain there only.

But here I need to maintain directly Discount assignment button through coding.

Please help me out here.

Thanks,

Satya

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196553
Active Contributor
0 Kudos

Hello,

when creating the condions manually in a campaign or auto generate the conditions in a trade promotion this calls function module /SAPCND/MNT_MAINTAIN_OW. You can try to use that one to generate the conditions.

Two remarks:

  • you will need to take care of the correct input parameter when calling that function
  • you will need to make sure that the conditions are saved afterwards

I hope this helps to solve the issue.

best regards,

Johannes