Skip to Content
0
Former Member
Jul 12, 2006 at 07:23 AM

ifelse stmt in smartforms

23 Views

The ifelse conditions given below:

the control is not passing into nxt condition.

elseif ( w_likp-vstel = '2011' or w_likp-vstel = '2013' or

w_likp-vstel = '2015' or w_likp-vstel = '2018' ) and

( w_lips-matkl = '130' or w_lips-matkl = '140' or

w_lips-matkl = '150' or w_lips-matkl = '200' or

w_lips-matkl = '190' ) and

( w_lips-matkl = '120' or

w_lips-matkl = '160' or w_lips-matkl = '210' or

w_lips-matkl = '230' or w_lips-matkl = '220').

move 'PUFOAM/RCMATTRESSES' to des1.

elseif ( w_likp-vstel = '2011' or w_likp-vstel = '2013' or

w_likp-vstel = '2015' or w_likp-vstel = '2018' ) and

( w_lips-matkl = '120' or w_lips-matkl = '160' or

w_lips-matkl = '210' or w_lips-matkl = '230' or

w_lips-matkl = '220')." and ( w_lips-matnr = 'PD*' ) .

move 'RCMATTRESSES' to des1.

ELSEif ( w_likp-vstel = '2011' or w_likp-vstel = '2013' or

w_likp-vstel = '2015' or w_likp-vstel = '2018' ) and

( w_lips-matkl = '130' or w_lips-matkl = '140' or

w_lips-matkl = '150' or w_lips-matkl = '200' or

w_lips-matkl = '190').

  • and ( w_lips-matnr = 'PU*' ).

move 'PUFOAM' to des1.

endif.