Module TXMMOD provides the function to assign a module group to a particular text field. For each Text Field-Module Group assignment there has to be a TXMMOD module with a different instance.
In datafield TXMBLOCK of the relevant TXMMOD module the textfield is defined as argument, in datafield TXMGRP the name of the module group.
Example:
In transaction “Opening an Import L/Cs' (LITOPN) on panel 'Additional Conditions' (LITP\ADCP) the field ADLCND is located.
The module button […] next to the field comes from module TXMMOD:ADLCND. In this module the textfield LIDGRP\BLK\ADLCND ('Additional Conditions') is defined as target field (argument for datafield TXMBLOCK) and 'ADLCND' as module group (argument for datafield TXMGRP).
Thus, all modules are displayed for this field that are in the text modules with module ID ADLCND.
Note: In transaction DBITXM all available module groups can be displayed.
Property | YES/NO |
---|---|
Single page frame | No |
Show toolbar | No |
Show menu | No |
Show statusbar | No |
Show hint | No |
Fit panel size | No |
Name | Description | Data Type | Len | Dec. | View lines | View type | Inst. | Visible | Codetable |
---|---|---|---|---|---|---|---|---|---|
BUTTXMSEL | … | Control | 3 | 1 | Button | Yes | Public | ||
TXMBLOCK | Text | Block | 65 | 100 | 30 | Block | No | Public | |
TXMGRP | Group | Text | 8 | 1 | Edit | No | Public | ||
TXMUIL | Language | Text | 2 | 1 | Edit | No | Public | ||
TXMSEA | Search specific module(s) | Text | 8 | 1 | Edit | Yes | Public |
Rule | Name | Additional |
---|---|---|
check | TXMBLOCK | |
default | BUTTXMSEL | order 999 |
event | BUTTXMSEL | |
event | TXMBLOCK | |
function | AddOrderClause | text |
function | CreateSelectSql | text |
function | getblockkey | text |
function | getnextpos | numeric |
function | gettxmgrp | text |
function | gettxmkey | text |
function | GetTXMMod | text method |
function | GetTxtMod | text method |
function | IsTxmBlockOverflow | boolean |
function | minpos | numeric |
function | textinsert | text |
Set error, if block contains an Asterisk and is enabled
enable search button if block is enabled only
AddOrderClause allows you to specified the sort order
Allows Textmodule to be sorted individually
Use following select case as sample
Local function in TXMMOD to supply the SQL used for the search selection.
Get text module at passed language of ”…“-button.
Get text module at any passed language.
If passed language is empty and more than one text module is matching
the criteria, nothing will be returned.
Module class | Instance | Comment |
---|---|---|
TXM | TXM |