Skip to Content
author's profile photo Former Member
Former Member

How to update campaign pricing discount through coding

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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 20, 2014 at 01:59 PM


    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,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.