on 06-06-2016 6:42 PM
I have a collection of custom objects under the main object. This collection is loaded using local add transactions (based on user selections) and does not get loaded with a fetch. There is a Read Step on each of these objects that calls a FileDocumentManagementStep to transfer a file through SMP. How can I execute the Read Steps since I am not executing a fetch to load the collection?
Read steps are only called when the object is filled in a fetch, or when a transaction replaceces the object.
Are you trying to upload a file to SMP or bring down a file?
If you are trying to upload a file, in the action that calls the transmit create an action that loops over the collection and creates a post-transaction that uploads the file to the server.
If you are downloading the file, file, you can loop over the collection and create an action that on the update step has the status Replace Client Object, and return the file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chris,
As you know, you opened an incident on this and I have looked into it for you. As I replied in the incident, this functionality isn't intended and so won't work as you have it set up. A transaction with an External Data property needs a screen set associated and an action which causes the user to be prompted to choose the file for the External Data property. Without a way for the user to choose the file, the property will not get initialized properly.
It's possible there is a way to automate file transfer as you desire using OpenUI entirely but support is not familiar with it. Hopefully someone here on the SCN has some experience. If not, it would be good to contact our consulting services team to see if they can offer assistance for your needs.
Thanks,
Keith Nunn
SAP Product Support
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.