| New document types can be added to the list of existing document types. | |||||||||||||||
| Open in the entity the tab. | |||||||||||||||
![]() |
|||||||||||||||
| Enter a new document type. | |||||||||||||||
|
|||||||||||||||
| Define type mask. | |||||||||||||||
| Open the link of the new table name and the mask is opened. | |||||||||||||||
![]() |
|||||||||||||||
| Enter the typespecific fields in the tab and click . | |||||||||||||||
| These table fields are not part of the T_DOC_DAT. | |||||||||||||||
|
Click the and then the button. |
|||||||||||||||
| Customize type masks. | |||||||||||||||
| Open hyperlink and search for type list (postfix TLI) . Carry out all necessary changes and entries. | |||||||||||||||
| Open hyperlink and search for type form (postfix (TFR). Carry out all necessary changes and entries. | |||||||||||||||
| Edit field assignment. | |||||||||||||||
|
Adapt field titles, enter default values and define check strings.
|
|||||||||||||||
| Set access richts of the significant fields from
the master table to . Delet the post-field
userexit cch_get_rec and the 'w' in the type field. Some other fields of
the master table must also be transferred to the masks (e.g. Not-Null fields!).
Compare with an existing document type to define the fields. These fields
can be copied from list
of the mask. Delete the T_DOC_DAT.% fields in the mask and use the mask component EDB-DOC-TYP-HEAD instead. Add the following internal (invisible) document field to the type masks:T_DOC_DAT.DOC_TYPE. Use the existing document type 2D DRAWING as reference (mask name EDB-DOC-DRW-TFR).Use drag&drop to copy the two additional fields to the field assign-ment of the new document type. |
|||||||||||||||
| Integrate type in user interface. | |||||||||||||||
| Open the document menu via the menu in the mask (menu name: EDB-OPEN-DOC). | |||||||||||||||
Create a new selection, which will be used to open the type
masks.
Alternatively: |
|||||||||||||||
| Open menu data and search for EDB-OPEN-DOC. | |||||||||||||||
| Assign selections and add new selection to this type. Parameter Entityname<blank>Typename |
|||||||||||||||
| Reconfigure menu. | |||||||||||||||
| Type-specific mask adaptions; extension of userexits | |||||||||||||||
Edit the type mask definition (list and form) and add the
following userexits:
|
|||||||||||||||
| Some entries are set by default by the system. | |||||||||||||||
| Adapt mask specific menus for type list and type form (Select, No-Select menu). |