on 01-30-2008 9:37 AM
Hello,
We want to export applicationfiles from DMS. This can be done easily with CV04N, and then use Distribution function. Applicationfiles are then written to the folder that is configured.
Problem is, the filenames generated by the system are meaningless (running number). The recipient of the files needs to know the relation between applicationfile and metadata (DIR data).
We would like to have the filename to be built up like this:
DOKNR_DOKAR_DOKTL_DOKVR_DAPPL_ddmmyyyy_nnnn (where nnnn is running number). We are aware there is no standard functionality for this.
How to achieve this (FM, BAPI etc)?
Will reward points.
And then you can use shell functions to rename. Try class CL_GUI_FRONTEND_SERVICES method execute.
espen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use BAPI_DOCUMENT_CHECKOUTVIEW2 to checkout the files. In table DocumentFiles you get a list of files (path and filename) back, which are checked out. Then you can rename the filename as you need.
regards
Iring
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.