cancel
Showing results for 
Search instead for 
Did you mean: 

Structure group key condition

Former Member
0 Kudos

Hi Experts.

I have created the str group key routine in VOFM. and i activated and generted the routin using RV80gen. i found the entries in the table TFRM for the routine.

Its like for specific condition i need to trigger the routine.

I used the following code in the routine.

if condition = true .

xvakey = '011'.

else

xvakey = space.

endif.

But now even though the condition is false its triggering the routine.

Please help me out to solve the issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

In your code you are saying ..

if condition = true .

xvakey = '011'.

else

xvakey = space.

endif.

You can try saying

else

clear xvakey.

endif..

or you can also say..

form.......

check < condition>

xvakey = '011' (it will come to this line only if true)

endform.