Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function madule

Former Member
0 Likes
461

how can i have select-options in function module?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
423

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

1 REPLY 1
Read only

Former Member
0 Likes
424

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