‎2007 Jul 01 4:40 AM
‎2007 Jul 01 6:46 AM
hi,
while creting function module, we found two include progrm in that you write
select-options statement in TOP include. TOP include especialy for global declarations.
<b>include XXXXXXXXTOP.</b> " this is one include program.
double click this incude progrm and write the statement SELECT-OPTION in it for selection-screen, after that save and activate.
<b>or</b>
create a program of type executable, in this you write SELECT-OPTIONS stateement, after that save and activate the program.
PROGRAM ZPROG.
SELECT-OPTIONS: var1 FOR <refarence-variable>.
now goto SE37 for creating FM, in Function modue choose the tab SOURCE CODE in this you write the statement like <b>SUBMIT ZPROG.</b>
regards,
Ashok Reddy
‎2007 Jul 01 6:46 AM
hi,
while creting function module, we found two include progrm in that you write
select-options statement in TOP include. TOP include especialy for global declarations.
<b>include XXXXXXXXTOP.</b> " this is one include program.
double click this incude progrm and write the statement SELECT-OPTION in it for selection-screen, after that save and activate.
<b>or</b>
create a program of type executable, in this you write SELECT-OPTIONS stateement, after that save and activate the program.
PROGRAM ZPROG.
SELECT-OPTIONS: var1 FOR <refarence-variable>.
now goto SE37 for creating FM, in Function modue choose the tab SOURCE CODE in this you write the statement like <b>SUBMIT ZPROG.</b>
regards,
Ashok Reddy