Table of Contents

TXM - standard modules

Module TXMMOD TXM - standard modules

Description



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.

Properties

Property YES/NO
Single page frame No
Show toolbar No
Show menu No
Show statusbar No
Show hint No
Fit panel size No



Datafields

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



Datafield Description and Properties

Rules

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



Rules Description and Comments

check TXMBLOCK

Set error, if block contains an Asterisk and is enabled


default BUTTXMSEL order 999

enable search button if block is enabled only


event BUTTXMSEL

AddOrderClause allows you to specified the sort order


function AddOrderClause : text

Allows Textmodule to be sorted individually
Use following select case as sample


function CreateSelectSql : text

Local function in TXMMOD to supply the SQL used for the search selection.


function GetTXMMod( in ArgSeaKey text ) : text method

Get text module at passed language of ”…“-button.


function GetTxtMod( in ArgKey text, in ArgUil text ) : text method

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.


Modules

Module class Instance Comment
TXM TXM