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.
Showing results for 
Search instead for 
Did you mean: 

Function module to find variants for module pool program

Former Member
0 Kudos


I want to run a module pool program (KEU5) in the background with a variant, after doing some investigation I'm going to write a wrapper program to call the module pool as module pools can't be run in the background. I would like to select the variant for the module pool program on the selection screen of my wrapper program, is there a function module which will show me all the variants created for a program?

I've searched in SE37 for variants and have tried many of the suggestions but none seem to work and I'm not sure whether it's because I'm not using the correct function modules or if module pool programs store their variants in a different way to normal programs so these function modules aren't picking them up.

Any suggestions welcome.



Edited by: Gill Ackroyd on Feb 22, 2010 10:53 AM


Active Contributor
0 Kudos

My suggestion will be

In your wrapper program create or (include) all the fields in your KEU5, then run the wrapper report and save the input values as variant . ( In your wrapper program using this values make simple bdc and call KEU5 ) transaction , that will work perfectly in background.

Former Member
0 Kudos

Hi Guys ,

Can any one help me in getting the screen variants in Transportation while shipment cost creation and calculation.



Former Member
0 Kudos

IN BDC we run module pool program in Back ground also. Just create proper BDC data table in your program and call the transaction you want to run.

Former Member
0 Kudos


Pls check if this FM is useful.