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