Functions | |
int | edb_ief_pre_mas_usx () |
Pre-mask userexit which generates the standard EDB-IEF userexit menu. | |
int | lgv_usx_set_bar () |
Set the status bar on the decision or procedure mask with LogiView model name/decision name or model name/procedure name. | |
int | tol_pre_mas () |
Pre-mask userexit to perform an update in the current mask (using 'wdh_upd_lis') and to write calculate fields of the current mask before it will be displayed. | |
int | tpr_glb_docst_prm () |
Sets C_ID of parent item record in item document refine widget. | |
int | xatt_prm (const char *param, const char *ignore) |
| |
int | xcls_qry_att_prm (const char *param, const char *ignore) |
| |
int | xcls_qry_prm (const char *param, const char *ignore) |
| |
int | xcnf_cpa_cat_spc_prm (const char *param, const char *ignore) |
| |
int | xcnf_cpa_var_cns_prm (const char *param, const char *ignore) |
| |
int | xcnf_mdl_spc_fin_prm (const char *param, const char *ignore) |
| |
int | xcnf_spc_sel_prm (const char *param, const char *ignore) |
| |
int | xcnf_spc_var_fin_prm (const char *param, const char *ignore) |
| |
int | xcnf_var_spc_fin_prm (const char *param, const char *ignore) |
| |
int | xcps_cmp_fnc_prm (const char *param, const char *ignore) |
| |
int | xcps_cnf_bom_sel_prm (const char *param, const char *ignore) |
| |
int | xcps_elm_prm (const char *param, const char *ignore) |
| |
int | xcps_flt_prm (const char *param, const char *ignore) |
| |
int | xcps_mdl_bom_prm (const char *param, const char *ignore) |
| |
int | xcps_mdl_sel_bom_prm (const char *param, const char *ignore) |
| |
int | xcps_prl_elm_prm (const char *param, const char *ignore) |
| |
int | xcps_sol_item_prm (const char *param, const char *ignore) |
| |
int | xcps_sol_mul_prm (const char *param, const char *ignore) |
| |
int | xcps_sol_use_prm (const char *param, const char *ignore) |
| |
int | xctx_prm (const char *param, const char *ignore) |
| |
int | xctx_set_nxt (const char *param, const char *ignore) |
| |
int | xdir_pre_mas () |
Fills a list widget with data from the directory. | |
int | xdocfi_prm () |
Pre-mask userexit for document-file relation masks. | |
int | xdocst_pre_mask () |
Pre-mask userexit for document structures. | |
int | xedb_prm () |
Basic pre-mask userexit. | |
int | xedbch_xbm () |
General pre-mask userexit. | |
int | xedbch_xbm_upd () |
General pre-mask userexit. | |
int | xform_cre_fld_men_prm () |
Creates and sets the select menus for all fields of the active widget. | |
int | xform_dlg_prm () |
Adds the mandatory field 'TEXT' and sets the button menu for "Continue", "Cancel" etc. | |
int | xgrpst_prm () |
Pre-mask userexit for classification group structure list. | |
int | xhisto_xbm_his_all () |
Dummy pre-mask userexit to prevent the automatic execution of the userexit wdh_upd_lis . | |
int | xmgt_drp_prm () |
Sets the function pointer for Drag&Drop operations for the current mask to xmgt_drp_fnc. | |
int | xmodul_prm () |
General pre-mask userexit. | |
int | xmtx_prm () |
Pre-mask userexit for matrix list. | |
int | xord_var_pre_mas () |
Sets the selection value for the passed order. | |
int | xpdw_drp_prm (const char *param, const char *ignore) |
| |
int | xpdw_pdw_prm (const char *param, const char *ignore) |
| |
int | xpdw_ppj_lis_prm (const char *param, const char *ignore) |
| |
int | xpdw_ppj_prm (const char *param, const char *ignore) |
| |
int | xpdw_pro_obj_prm (const char *param, const char *ignore) |
| |
int | xrel_qry_ent_nam () |
Gets the entity name (e.g. | |
int | xrel_xbm () |
Sets the current relation for the multi-list. | |
int | xsmlc_prm () |
Pre-mask userexit for the ATC classes, used in classification form, list and folder. | |
int | xstate_tra_prm (const char *param, const char *ignore) |
| |
int | xtxt_fin_prm (const char *param, const char *ignore) |
| |
int | xtxt_ins_sel_pre_mas (const char *param, const char *ignore) |
| |
int | xtxt_set_sta_prm (const char *param, const char *ignore) |
| |
int | xtxt_whr_use_prm (const char *param, const char *ignore) |
| |
int | xvar_pre_frm () |
Pre-mask userexit for the variant (other than TYP type) forms, renames the V_x mask fields (where x is a number) into C_x fields before displaying the variant form on the screen. | |
int | xvar_pre_mas () |
Pre-mask userexit for the variant list. | |
int | xvardf_pre_mas () |
Pre-mask userexit for the variant list, writes query criteria 'VAR' in TYPE field and refreshes the mask (wdh_upd_lis). |
int edb_ief_pre_mas_usx | ( | ) |
Pre-mask userexit which generates the standard EDB-IEF userexit menu.
0 | OK |
---|
int lgv_usx_set_bar | ( | ) |
Set the status bar on the decision or procedure mask with LogiView model name/decision name or model name/procedure name.
0 | Success |
---|---|
1 | Error occured |
// working example int iRc = log_usx_set_bar(NULL);
int tol_pre_mas | ( | ) |
Pre-mask userexit to perform an update in the current mask (using 'wdh_upd_lis') and to write calculate fields of the current mask before it will be displayed.
0 | OK |
---|---|
Else | Error |
It is not possible to set (additional) select values in the current mask, so all records will be loaded. To perform a pre-selection on a special range of records you have to set these select values from a calling userexit (written by yourself) which will then call "tol_pre_mas".
int tpr_glb_docst_prm | ( | ) |
Sets C_ID of parent item record in item document refine widget.
0 | OK |
---|---|
Else | Error |
int xatt_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for classification lists.
If the class has assigned attributes, then the pre-mask reads the attribute definition from the attribute pool (table T_CLA_DAT, the specific class assignment is stored in T_GRP_CLA) and adds the corresponding columns to the classification list. The attribute columns are dynamically created and are not mapped 1:1 to the database. Thus the insert/update/query operations for classification lists are implemented specifically. If the option /SUB is set (for queries in container class including sub-classes), the class structure is stored in the EPQTMP table temporarily. *
cpArguments | Parameter for the Pre-mask userexit, syntax like: "/TABLE=table_name /UPD_WDG /SUB" with:
|
0 | OK |
---|---|
Else | Error |
int xcls_qry_att_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for select widgets with attribute sets for the class attributes Sets the query buffer of the field T_CLA_DAT.EDB_ID to the value of the EDB_ID of an edited attribute record (the widget where the attribute set select widget was opened from) and performs the query.
Only sets where the attribute is assigned to are shown in the select widget
context | pre mask usx context |
cpArguments | userexit parameter, not yet used. |
0 | Success | Else | Error |
---|
int xcls_qry_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for classification select widget in sub-classes folder of class form.
Sets the query buffer of the field T_GROUP_DAT.ENTNAM to the value of the Entity1 from last active widget (the widget where the class select widget was opened from) and performs the query. Only compatible classes (e.g. item classes for item records) are shown in select widget.
context | Pre-mask userexit context |
param | Reserved, not used yet |
0 | Success | Else | Error |
---|
int xcnf_cpa_cat_spc_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for specification category select widgets.
This userexit is used in the select widget for choosing a specification category for a specification. It filters all valid specification Categories for this specification. Set the organization code (T_AVL_DAT.STEP_INT_ID_REF) and the type (T_CLA_DAT.EDB_CLA_TYPE) from the last widget into the query buffer.
param | Pre-mask userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcnf_cpa_var_cns_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Mask userexit for specification constraint select widgets.
This userexit is used in select widgets for assigning a specification constraint for a product variant from the cooperation partner widget. Sets the organization (T_AVL_DAT.STEP_INT_ID_REF) from the last widget into the query buffer.
param | Pre-mask userexit parameter,(reserved). |
0 | OK |
---|---|
1 | Error |
int xcnf_mdl_spc_fin_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Mask userexit for model specification select widgets.
param |
0 | OK |
---|---|
1 | Error |
public pre-mask
int xcnf_spc_sel_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Mask userexit for specification select widget.
Write "SPEC_CAT" in the specification category type (T_CLA_DAT.EDB_CLA_TYPE). Write the opposit from the parent field "INTERN" into the same field for query mode in the select widget (parent 'n' -> query 'y', parent 'y' -> query 'n').
param | (reserved) |
0 | OK |
---|---|
!= 0 | Error |
int xcnf_spc_var_fin_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Mask userexit for specification Product Variant relation widgets.
This userexit populates the ORG_CODE with the correct value for filtering.
param | Standard userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcnf_var_spc_fin_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-Mask userexit for product var specification select widgets.
param | Standard userexit parameter (reserved). |
0 | OK |
---|---|
1 | Error |
int xcps_cmp_fnc_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the select widget used to select product elements in the product component structure.
If the function field (T_CPS_FNC_DAT.EDB_NAME) in a list is already filled then the list named with /FNCLIS key is popped up to select the product component. If no product component is assigned to the select function or the function field is empty, then the default list named with /DEFLIS key is used as the select widget.
context | Mask userexit context | ||||||
param | Parameter to control the behavior of this function. Syntax like: "/DEFLIS=<dft_list> /FNCLIS=<fnc_list>" With possible arguments:
|
0 | OK |
---|---|
Else | Error |
int xcps_cnf_bom_sel_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for modular BOM selector form.
Reads the product structure element ID of the top level element from the widget buffer of the last active widget. The buffer key is "CNF_ELM_ID". Then the userexit calls the stored procedure to get the modular BOM explosion data.
context | Mask userexit context |
param | Reserved |
0 | Ok |
---|---|
Else | Error |
int xcps_elm_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for structure element masks.
Adds a drop listener.
context | Mask userexit context |
param | Reserved |
0 | Ok |
---|---|
Else | Error |
int xcps_flt_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for filter masks.
Adds a drop listener.
context | Mask userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_mdl_bom_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the BOM overview form.
Dummy userexit, but needed as wdh_upd_lis is called if no pre-mask userexit is defined for a relation widget.
context | Mask userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_mdl_sel_bom_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit to choose a product structure element from modular BOM list.
Execute structure explosion for product structure element, so select widget can be filled.
context | Mask userexit context |
param | Reserved |
0 | OK |
---|---|
1 | Error |
int xcps_prl_elm_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for parallel structure masks.
Adds a drop listener.
context | Mask userexit context |
param | Reserved |
0 | OK |
---|
int xcps_sol_item_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the item selector.
Sets join in order to select items assigned to correspondent classes (e.g. Products). This userexit is used in the select widget for choosing an item to a solution. The userexit copies the widget buffer object of the solution, product element and product component. Additionally the userexit writes the show mode information into the widget buffer ("CPS_SHOW_MODE") and reads/writes the mask join from/into the widget buffer ("CPS_MASK_JOIN").
context | Mask userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_sol_mul_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for multi-edit solution list.
Dummy userexit, but needed so wdh_upd_lis is not called if no pre-mask userexit is defined for a relation widget.
context | Mask userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xcps_sol_use_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for sub-list "in Modular Boms" in combined item widgets.
Sets the join condition for the list: T_CPS_SOL_DAT.EDB_ELM_REF=T_CPS_ELM_DAT.EDB_ID& T_CPS_ELM_DAT.EDB_CMP_REF=T_CPS_CMP_DAT.EDB_ID& T_CPS_SOL_DAT.EDB_CLASS_REF=T_GROUP_DAT.EDB_ID& T_GROUP_DAT.SML_NUM=V_CNF_GRP_VAR.EDB_SML_NUM& T_CPS_SOL_DAT.EDB_RUL_REF=T_CPS_RUL_DAT.EDB_ID& T_CPS_SOL_DAT.EDB_CHG_OPR_FROM=V_OPR_EWO_FRM.EDB_OPR_EDB_ID(+)& T_CPS_SOL_DAT.EDB_CHG_OPR_UNTIL=V_OPR_EWO_UNT.EDB_OPR_EDB_ID(+)
context | Mask userexit context |
param | Reserved |
0 | OK |
---|---|
Else | Error |
int xctx_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit of structure lists for objects which can be assigned to contexts, i.e.
which can be qualified.
xctx_set_nxt
. If yes, the name of this context is appended to the mask title and the context ID is added to the widget buffer with the key "CTX". Used in combination with the userexits xctx_pra
and xctx_eda
this ensures that the current widget will only represent data of the given context - independent of the currently chosen value for the context. ctx | Menu userexit context. |
param | Parameter to control the behaviour of this userexit. Currently none. |
0 | OK |
---|---|
Else | Error |
int xctx_set_nxt | ( | const char * | param, |
const char * | ignore | ||
) |
Sets the context for the next widget.
Menu or pre-mask userexit to be called directly before opening one of the relation lists that use the context. The purpose of this userexit is to overwrite the currently selected context and open a list for the passed context. Use this userexit in combination with 'xctx_prm'.
ctx | Menu userexit context. | ||
param | Parameter to control the behavior of this function. Syntax is: "<contextId>" With possible arguments:
|
0 | OK |
---|---|
Else | Error |
LIST xctx_set_nxt(PRD) & iwf_lis_ref(EDB-ARTICLE STR) <endcode>
xctx_prm
int xdir_pre_mas | ( | ) |
Fills a list widget with data from the directory.
0 | OK |
---|---|
1 | Error |
int xdocfi_prm | ( | ) |
Pre-mask userexit for document-file relation masks.
For future use.
cp_Arguments | not used |
0 | OK |
---|---|
Else | Error |
int xdocst_pre_mask | ( | ) |
Pre-mask userexit for document structures.
Retrieves all available document types from the database and creates a menu containing these document types.
0 | OK |
-1 | Database error |
int xedb_prm | ( | ) |
Basic pre-mask userexit.
A pre-selection on top recods may be performed.
cpParameter | Parameter to control the behavior of this function. Syntax is: "[/PRE_SEL=<default>]" With possible arguments:
|
0 | OK |
---|---|
Else | Return code from wdh_upd_lis |
int xedbch_xbm | ( | ) |
General pre-mask userexit.
Dummy userexit (if used in relation widgets, no automatic wdh_upd_lis is done).
0 | OK |
---|
int xedbch_xbm_upd | ( | ) |
General pre-mask userexit.
Calls xmodul_prm.
0 | OK |
---|
int xform_cre_fld_men_prm | ( | ) |
Creates and sets the select menus for all fields of the active widget.
DataView will only create them when the user opens the menu interactively.
cp_Parameter | Reserved. |
0 | OK |
---|---|
1 | Error |
int xform_dlg_prm | ( | ) |
Adds the mandatory field 'TEXT' and sets the button menu for "Continue", "Cancel" etc.
cp_Arguments | Parameter to control the behavior of this function. Syntax is: "[/MENU=menu [/POSITION=vh]" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xgrpst_prm | ( | ) |
Pre-mask userexit for classification group structure list.
If the structure list is opened from the class form, the entity name of the upper class is stored in the widget buffer. Required in xclass_chk_rec_poa to check compatibility of parent/child class entities.
cp_Par | Reserved. |
0 | OK |
---|
int xhisto_xbm_his_all | ( | ) |
Dummy pre-mask userexit to prevent the automatic execution of the userexit wdh_upd_lis
.
0 | OK |
---|
int xmgt_drp_prm | ( | ) |
Sets the function pointer for Drag&Drop operations for the current mask to xmgt_drp_fnc.
cp_Parameter | Parameter to control the behavior of this function. Syntax is: "<lgv>" With possible arguments:
|
0 | OK |
---|
int xmodul_prm | ( | ) |
General pre-mask userexit.
cpPar | Parameter to control the behavior of this function. Syntax like: "[/VIRCHK][/UPD]" With possible arguments:
|
0 | OK |
---|
int xmtx_prm | ( | ) |
Pre-mask userexit for matrix list.
Creates columns (fields) for each alternative item of the variant placeholder.
cp_Arguments | Parameter to control the behavior of this function. Syntax like: "field1[, field2[, ...]]" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xord_var_pre_mas | ( | ) |
Sets the selection value for the passed order.
Pre-mask userexit to be used on the relation list of the order specific bill of material to set the selection value for the passed order.
0 | OK |
---|---|
1 | Key fields not in widget |
int xpdw_drp_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for object structure widgets.
Sets the drag&drop function xpdw_drp_fnc
for object structure masks. So it is possible to drag&drop objects from a global PDW view widget to a relation widget.
usxContext | The userexit context. |
param | Additional userexit parameters. Currently none. |
0 | OK |
---|---|
Else | Error |
int xpdw_pdw_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit in folders with PDW or PDW widgets.
Sets the single selection mode for the current mask.
usxContext | The userexit context. |
param | Additional userexit parameters. Currently none. |
0 | OK |
---|---|
Else | Error |
int xpdw_ppj_lis_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the widget that shows the allowed jobs (EDB-PDW-POS-SLI
/ EDB-PDW-POS-PPJ-SLI
).
When selecting the job for a template project from a recursive widget, only user specific jobs have to be displayed. Therefore, this userexit extends the mask join with the condition T_POS_DAT.REF_USR=S:currentUser
.
usxContext | The userexit context. |
param | Additional userexit parameters. Currently none. |
0 | OK |
---|---|
PDW_JOI_TO_LNG (753) | Join string is too long. |
PDW_NO_MAS (722) | No mask available. |
PDW_NO_WDG (723) | No widget available. |
int xpdw_ppj_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the template project widget EDB-PDW-POS-PPJ-RLI
.
Sets the current job as parent element for the template projects widget.
usxContext | The userexit context. |
param | Additional userexit parameters. Currently none. |
0 | OK |
---|---|
PDW_NO_WDG (723) | No widget available. |
int xpdw_pro_obj_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the principal object relation mask.
Sets the mask join to filter PDW_STRUCTURE
relations.
xpdw_pro_obj_pre
in 'Q'uery mode.usxContext | The userexit context. |
param | Additional userexit parameters. Currently none. |
0 | OK |
---|---|
1 | Error |
int xrel_qry_ent_nam | ( | ) |
Gets the entity name (e.g.
EDB-ARTICLE) from the current mask and writes it in the field "C_ENTITY".
cp_Parameter | Parameter to control the behavior of this userexit. Syntax like: "A|R" |
With possible arguments:
A | Use the Aggregate entity (entity 1) | |
---|---|---|
R | Use the Refine entity (entity 2) |
0 | OK |
1 | Wrong parameter |
2 | No widget active |
3 | No entity id |
4 | No entity name |
5 | Field "T_PAC_MUL.C_ENTITY" not found |
6 | Cannot write selection in field |
7 | Cannot update widget |
int xrel_xbm | ( | ) |
Sets the current relation for the multi-list.
The name of this relation can be defined through the default EDB-PAC-ACT-REL. From this entity you can copy records via drag&drop into the multi-list. Later you can change the current entity with the function xrel_set_rel.
0 | = OK |
int xsmlc_prm | ( | ) |
Pre-mask userexit for the ATC classes, used in classification form, list and folder.
Opens a shadow widget in virtual mode and stores the shadow widget id in the widget buffer of the head form. The shadow widget is needed later by the query algorithm for ATC classes.
cp_Parameter | /LIS The userexit is called to open the classification list (mask EDB-GRP-ART-RLI-S). /SUBLIS The userexit is called from the classification attributes folder in class form (mask EDB-ART-SMLC-RLI). /FRM The userexit is called from the class combined form (mask EDB-ART-CFR-S). /ABS The attribute list is opened for a container class. /SHAD Name of the shadow widget, the default list is EDB-ART-SMLC-RLI |
0 | OK |
---|---|
Else | Error |
int xstate_tra_prm | ( | const char * | param, |
const char * | ignore | ||
) |
The pre-mask userexit for transition masks.
EDB-CRM-TSK
) the field T_CHK_TRA.REF_TASK
will be visible, otherwise the field T_CHK_TRA.CUR_GROUP
to define the responsible group respectively the necessary task will be visible. usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
Else | Error occurred. |
int xtxt_fin_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for the select widget.
Tries to get the category names from the widget buffer of the last active widget to select valid text components, e.g. Glossaries or Text-Instances. Sets the EDB-ID's of the categories as query-filter in the field T_TXT_CTG_DAT.EDB_ID.
ctx | Userexit context |
param | Parameter to control the behavior of this function. Not currently used. |
0 | OK |
---|---|
Else | Error |
int xtxt_ins_sel_pre_mas | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit for Instance editor which preselects the Text-Instance-Editor with the Text-Template from which the Text-Instance-Editor was called (if possible).
ctx | Field userexit context. |
param | Reserved parameter for the pre-field userexit. |
0 | Ok. |
---|---|
Else | Error |
int xtxt_set_sta_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Pre-mask userexit to set query filter regarding states.
ctx | Userexit context | |||||||||
param | Parameter to control the behavior of this function. Syntax is: "/STATE=<state(s)> /LIFECYCLE=<name of lifecycle> /TARGET=<field for query-filter>" With possible arguments:
|
0 | OK |
---|---|
Else | Error |
int xtxt_whr_use_prm | ( | const char * | param, |
const char * | ignore | ||
) |
Identifies information from the last active widget and sets these information in the widget buffer:
WHERUSEDTYPE | Type of the Where-Used root element. |
---|---|
WHERUSEDTYPEEDBID | The EDB-ID of the Where-Used root element. |
ctx | Userexit context |
param | Parameter to control the behavior of this function. Not currently used. |
0 | OK |
---|---|
Else | Error |
int xvar_pre_frm | ( | ) |
Pre-mask userexit for the variant (other than TYP type) forms, renames the V_x mask fields (where x is a number) into C_x fields before displaying the variant form on the screen.
This is necessary because the variant attributes are stored as C_x fields in the table T_MASTER_ATT, and as V_x fields in the form definition (table T_FIELD). The V_x fields are needed to avoid the field name conflict (T_FIELD records with the same name are not allowed) between classification forms and variant forms.
cp_Par | Userexit parameter, reserved. |
0 | OK |
---|---|
Else | Error |
int xvar_pre_mas | ( | ) |
Pre-mask userexit for the variant list.
If a default variant is set, then the field T_PRF_DAT.EDB_ID is added to the mask before the variant list is displayed on the screen. By setting the correspondent query criteria in the VERS_REF field, only possible variants are shown later in the variant list.
0 | OK |
---|
int xvardf_pre_mas | ( | ) |
Pre-mask userexit for the variant list, writes query criteria 'VAR' in TYPE field and refreshes the mask (wdh_upd_lis).
If the default EDB-PRE-SEL-VAR-OFF exists and has a value (<> 0), then the refresh operation is not performed.
Userexit | parameter, not used yet. |
0 | OK |
---|---|
Else | Error |