Skip to Content
0
Former Member
Nov 21, 2005 at 04:08 PM

Send a table with a function.

23 Views

Hi all!!

I want to send a table with a function, but I don't know how to do it.

in my code I have this.

FUNCTION ZBORRAR.

*"----


""Interfase local

*"----


*"----


*"----


*" TABLES

*"----


TABLES: T751F.

*"----


*" VARIABLES

*"----


DATA: BEGIN OF S_CLA_MED_CAND.

DATA: MASSN LIKE T751F-MASSN,

MNTXT LIKE T751F-MNTXT.

DATA: END OF S_CLA_MED_CAND.

DATA: T_CLA_MED_CAND LIKE S_CLA_MED_CAND OCCURS 0 WITH HEADER LINE.

*"----


*" FILL THE I. TABLE

*"----


SELECT MASSN MNTXT

FROM T751F

INTO TABLE T_CLA_MED_CAND

WHERE SPRSL = 'S'.

ENDFUNCTION.

I don't have any thing in the import, export, modif., tables tabs.

Thanks and Regards.