The function module ARCHIVELINK_CREATE_DARC generates hypertext links for stored print lists.
Definition
ARCHIVELINK_CREATE_DARC
IMPORTING |
OBJTYPE |
|||
OBJKEY |
||||
METHOD |
DEFAULT |
'DISPLAY' |
||
TABLES |
PARAMETERS |
OBJTYPE
transfers the business object type to which the hyperlink relates.OBJKEY
transfers key of the business object type to which the hyperlink relates.METHOD
supports the method ‘Display’.PARAMETERS
transfers parameters that can be transferred to the object method. Since Display is the only method currently supported that can contain no mandatory parameters, this parameter will be used in the future.Index Line DARC
A DARC line defines the position in a sub-object which is marked as hypertext.
When the stored print list is displayed, the user can double-click on this position to display the reference stored document. If several stored documents are referenced, double-clicking on the hypertext generates a list from which the user can select the required stored document.
A DARC statement or a series of DARC statements refers to a previous hypertext link in an output line. If an output line contains several hypertext links, to which various DARC lines then refer, the counter HYPNUMBER is used to ensure that the hypertext links are assigned to the DARC lines. Numbering is from left to right within the output line, running from 0 to 9. An output line therefore contains a maximum of ten hypertext links.
DARC lines are structured as follows:
Line Structure |
Offset |
Length (bytes) |
Description |
INDEX_NAME |
0-3 |
4 |
Name of record type (DARC) |
HYPNUMBER |
4-5 |
1 |
Number of current hypertext |
ARCHIV_ID |
6-15 |
10 |
Storage ID |
ARC_DOC_ID |
16-55 |
40 |
Document ID |
LANGTEXT |
56-95 |
40 |
Document type |
AR_DATE |
96-103 |
8 |
Storage date |
DOKINFO |
104-153 |
50 |
Document information in index line DARC |