Dynamic creation of variant
I need to schedule a report in background at runtime.... for that i got a function Module SUBST_SCHEDULE_GENERATOR
in this function module, we need to pass variant, but as the report is a BDC and should run for different values at every run, values i can get at runtime.Here i need to create a variant for those values ........so that i can pass it to the FM.
Is there any function module or any other way to create a variant at runtime.
or is there any other way to create a background job snd in that case how to pass screen fields..
Thanks & Best regards