Seems to work to load the specs using the function module, Unfortunately it’s a lot of work creating the mapping files. Otherwise first download the filestructure using standard SAP functions and than create based on these files the uploadfiles.