Application Development 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: 

Call Function Module with Variant

Former Member
0 Kudos
1,099

I want to call a custom FM and pass it an internal table (a table of selopts). I would like to pre-define these values in a variant, rather than define them every time I call the function.

Is that possible directly, or do I need to create a stub program in order to call the FM, and attach the variant to the stub?

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos
277

Hello Bjorn

I guess function module RS_VARIANT_VALUES_TECH_DATA will do the job for you.

Regards

Uwe