Hi Andreas ,
The input data structure for a PAL function remains the constant, hence you don't need to create and drop these all the time . You can create all these table type and other related artifacts externally and then wrap your data load and PAL procedure calling in a procedure .
As you are thinking of consuming these from SAPUI5, you have to convert them into web services ( either XSODATA or XSJS ). In case of XSODATA , you will need to wrap them again( or call the PAL directly ) in a scripted calc view(as we can not expose procedures via odata) .
If you can use XSJS , which is more flexible as you can do all types of operations ( DDL , DML etc ) there in it.
Sree