Skip to Content
0
Former Member
May 12, 2009 at 11:22 PM

Data from Custom table - Case Statement in a function module

42 Views

Hi All,

I need to a get the data from a custom table within a case statement.This code is in a function module.

Function 'ZXXXX'.

Perform get_data.

Endfunction.

Form get_data.

case customer id.

when 'AA'.

Get data from the custom table.

endcase.

endform.

What is the most efficient/modularized way to get the data from the custom table? Using another perform or a calling another function module...

Any ideas appreciated.

Thanks

Meghna