This function allows importing original files from another directory. They can be added to the document info record or existing originals can be replaced.
This way it is possible to restore template originals on the test system after a system copy from the productive system. (See also Export Originals). Another option is a periodical import of view files from a CAD system or the initial loading of originals in case of data transfer.
Customer exits allow client specific file import. Originals can be filter or analyzed by the file name.
The import function is implemented as ABAP report and can also run in the background (batch).
For document info records protected by authorization groups, originals can only be imported if the user has the appropriate authorization.
Customer exists allow adjusting the processing of the file name. Also client specific action before selection and/or processing can be defined.
Selection Screen
Selection Parameter
Parameter | Description |
---|---|
Replace if existing | Original, which are found according the file number or the application in the document info record will be replaced by the imported original. All other originals will be ignored. |
Replace, show error if not existing | Same function as described above, for originals which cannot be assigned properly, an error will be recorded. |
Replace, if missing add | The original, which shall be imported will either replace the original with matching file number or application, else it will be added. |
Add new (always) | All originals will be added to the document info record, no matter which originals already exist. |
Add if missing | The originals, which shall be imported, will only be added, if no matching original is found with matching file name and application. |
Add, error when existing | Same function as described above under „Add if missing", but for already existing file numbers or application an error will be recorded. |
Check via application type (file number not relevant) | Originals will be replaced dependent on the application. This option is recommended for uploading of originals. |
Check via original number | Originals will be imported accordingly to their original number. This option is recommended to recover originals after a system copy. |
Storage location KPRO | Defines where originals of document info records will be stored, if the „KPro" is used as storage location system. |
Storage location vault | Defines where originals of document info records will be stored, if „vault" is used as storage location system (Flag „KPro" not set in customizing). |
Selection list before import | List of originals will be displayed before import. The option is not available when import function is running as background process (batch). |
Test mode | Only selection of originals to be imported, check and display of the list is processed. |
Import from directory on server (batch mode) | If set the originals will be read on the server (SAP-System). |
Import directory | Directory on workstation or server (acc. „import from server directory"), from which the originals will be imported. |
Job-ID | Job-ID authorization (see also Mass Operations Document Info Records). |
Option log file | Creation of optional log files (see also Mass Operations Document Info Records). |
Move file to … on error | In case of error during checking the original attributes or document attributes or during the check-in process, the respective originals will be moved to this directory. |
Move to… if ok | Successfully imported originals, and those which have been ignored, will be moved to this directory after the check-in. |
Delete imported files if OK or file to be ignored. | Successfully imported originals or those which have been ignored, will be deleted after the check-in. |
For background processing all directories and files must be accessible on the SAP server.
File Name Format Convention
By default the file search will search for files showing the following file name format convention. Customizing allows defining a different convention.
[document type]_[document number]_[part document]_[version]_[WSapplication]#[file no].[extension]
The Filename must match following mask: *_*_*_*_*##*.*
Handling of Special Characters
Read paragraph Export Originals | Handling of Special Characters for more specific information.