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

Variables in function module access in FORM

Former Member
0 Likes
533

Hi,

I have variables in my function module (DATA)

and I would like to have access to some in FORM ... EDNFORM.

Cause I have like 10+ variables that I have to access in my form.

And i want this form cause I have almost 3 times the same block code...

How can i proceed ?

Thanks !

Moderator message: please study online help for the PERFORM statement on how to pass values to FORM-routines.

Edited by: Thomas Zloch on May 10, 2011 12:31 PM

1 REPLY 1
Read only

UweFetzer_se38
Active Contributor
0 Likes
422

Hi Benjamin,

the cleanest solution is to pass the vars to the FORM ("USING"/"CHANGING").

The easiest solution is: declare the vars in the TOP-Include of the function group, so the variables are globaly visible.

Regards, Uwe