in my custom table i have 3 fields say z1, z2 and z3 .if the flag is set for z1 then only mail should go
to 1 person.
same way if the fag is set fpr z2 then mail should go another person.
for z3 mail has to go compulsary no flag condition.
i am using function module for sending mail.
instead of calling FM 3 time for sending mail how i do the same by calling FM only once.
what if..else condition should i write?