Skip to Content
0

Condition types in contract

Nov 17, 2016 at 04:02 PM

30

avatar image

Hello All

I have 3 condition types in rental contract

1. Daily

2. Weekly

3. Monthly

I have different billing plans and billing period, as of now whenever I create contract, only Monthly price is getting active which is because it is last in PP - standard behavior

Requirement -

If billing period - FPLA-PERIO is 55 (Daily) then make Daily condition type active else not

If billing period - FPLA-PERIO is 56 (Weekly) then make Weekly condition type active else not

If billing period - FPLA-PERIO is 53 (Monthly) then make Monthly condition type active else not

We wrote below requirement and assigned to all condition types but somehow it is not working, please advice

*if ( komp-perio = '53') and xkomv-KSCHL = 'ZMON'. *sy-subrc = 0. *endif. *if komp-perio = '56' and xkomv-KSCHL = 'ZWEK'. *sy-subrc = 0. *endif. *if komp-perio = '55' and xkomv-KSCHL = 'ZDLY'. * sy-subrc = 0. *endif. *}

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers