Skip to Content
avatar image
Former Member

Condition types in contract

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. *}

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers