While Calling an UBE through Application I have used a custom Business Function which Uses LaunchBatchApplication api !!! How can we pass data selection from an application to UBE through this Business function???
I recall that it's not possible to do so with the API..
what you could try is create a custom NER with a call to the UBE. Than you could use a datastructure to pass in the data for the Data Selection.
This is how I call UBE's when I don't want to see the Print option window.