on 04-22-2010 1:09 PM
Hi experts,
I've a report to attach files in the archivelink, by calling standard function modules as: ARCHIV_DTFILE_SAVE, ARCHIVOBJECT_CREATE_FILE, ARCHIV_CONNECTION_INSERT, ... and it works properly in a front-end execution.
The problem is that this report needs to be executed in background and these functions doesn't work in background mode.
Is there any other way you know another way to do it (another function modules, ...)?
Thanks in advance.
Edited by: Pablo P. on Apr 22, 2010 2:25 PM
Hi,
Please refer the following link.
It may help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravindra,
Thanks for your quick response.
I've glanced the links you gave me. It's quite related to the matter. Despite this, what I need is an alternative to the functions I've used, but that works in a background process. I mean, a program run in a job. The functions I use works in a on-line execution. But they use inside GUI functions as WS_UPLOAD and so on, and they're incompatible with batch processes.
Thanks again,
Pablo.
Hi Pablo,
just have a look at ARCHIV_DIALOG_LATE.
I copied this function and set my own variables for business doc type, filepath etc. so no popups are appearing. Now I´m able to run this in background mode. Works fine.
Hope I could help you, and it isn´t to late. If you found another solution please share it.
greetz Matthew
Hi greetz,
Because this matter hurried, I implemented the attachment in another point of the code, where I could do it on-line, instead of in a batch process. The second option would have been better but, evaluating the urgency of the matter, I chose the option of doing it in another place so as to be able to do it on-line, in a user transaction.
Pablo Pinto.
Hi,
Kindly check where the documents are stored,i hope these are not stored in k-pro and will move to database.
You check for content server setting and get back on the same.
Regards,
Ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.