Code: Alles auswählen.
FORM gen_fuba .
DATA: lt_imp TYPE TABLE OF rsimp.
DATA: lt_exp TYPE TABLE OF rsexp.
DATA: lt_table TYPE TABLE OF rstbl.
DATA: lt_change TYPE TABLE OF rscha.
DATA: lt_excep TYPE TABLE OF rsexc.
DATA: lt_doku TYPE TABLE OF rsfdo.
DATA: ls_source TYPE rssource.
DATA: lt_source TYPE TABLE OF rssource.
ls_source-line = 'WRITE: / .'.
APPEND ls_source TO lt_source.
CALL FUNCTION 'RPY_FUNCTIONMODULE_INSERT'
EXPORTING
funcname = 'ZZ_TEST_FUBA'
function_pool = 'ZZ_TEST_UH'
short_text = 'Dies ist in Test'
TABLES
import_parameter = lt_imp
export_parameter = lt_exp
tables_parameter = lt_table
changing_parameter = lt_change
exception_list = lt_excep
parameter_docu = lt_doku
SOURCE = lt_source.
ENDFORM. " gen_fuba
Code: Alles auswählen.
FUNCTION ZZ_TEST_FUBA.
*"--------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"--------------------------------------------------------------------
WRITE: / .
ENDFUNCTION.