Userexits

Functions
Select-Action userexits

Functions

int brw_sel_dtv ()
 Select action userexit to display record in already opened or new opened widget. More...
 
int xgroup_sel ()
 Updates the classification list folder in the class form when the user scrolls in the class form and classification list folder is the current opened folder. More...
 
int xrel_sea_res_men ()
 Resets the DTV-Menu "END_QUERY" to its original values. More...
 
DtvLong xrel_sea_sel_mul ()
 Called from menu selection EXIT_FETCH. More...
 
int xsmlc_sel_frm ()
 Select-action userexit for the class combined form 'Class'. More...
 
int zag_mas_opn_xsl ()
 Select action userexit that opens widget for current record. More...
 

Detailed Description

Function Documentation

int brw_sel_dtv ( )

Select action userexit to display record in already opened or new opened widget.

This userexit deals with the following actions:

'+'Select or '++'Select First it looks if a similar widget is already open (compares the userexit parameter), and then opens widget as iwf_frm_lis. If a widget is found, this widget will be used to display the record, otherwise a new widget will be openend with iwf_frm_lis.
Parameters
cpPar1Standard parameter defining working mode and current row.
cpPar2Parameter to control the behavior of this function. iwf_lis_frm syntax is used.
Returns
0 OK
Else Error
int xgroup_sel ( )

Updates the classification list folder in the class form when the user scrolls in the class form and classification list folder is the current opened folder.

If the next class is different from the previos one (e.g. the container flag or the entity differs), then the classification list folder is opened anew, otherwise the attribute columns are updated for the current class.

Parameters
contextUserexit context.
cp_ArgArgument for xgroup_lis function, if no argument is given (default) then xgroup_lis is called with the /SUBLIS argument.
Returns
0 OK
1 Error
See Also
xgroup_lis
int xrel_sea_res_men ( )

Resets the DTV-Menu "END_QUERY" to its original values.

These Values are stored from the function xrel_sea_set_men into static data.

Returns
0 OK
Else Error
DtvLong xrel_sea_sel_mul ( )

Called from menu selection EXIT_FETCH.

The userexit xrel_upd_mul is performed. When successful, the DTV menu END_QUERY is reset to its original values.

Returns
0 OK
Else Error on update
int xsmlc_sel_frm ( )

Select-action userexit for the class combined form 'Class'.

Updates the class attributes in the classification attributes folder if this is necessary. If the current class is the stored class, then do not update the attributes.

Parameters
cp_ParameterUserexit context (selected row number (e.g. '+2' if the second row is selected)
Returns
0 OK
Else Error
int zag_mas_opn_xsl ( )

Select action userexit that opens widget for current record.

Note
Option USE_WDG is useful for browser widgets (e.g. EDB-CPS-CMP-SOL-SLB)

This userexit deals with the following actions:

'+' Select Opens widget using parameter information.
Parameters
cpParStandard action userexit parameter
cpAddParParameter to control the behavior of this function. Syntax like:
"[/USE_WDG] [/SRC=src_fld] [/DST=dst_fld] /USX=usx_nam /PAR=usx_par"

With possible arguments:
USE_WDG If a similiar widget is already opened, use this widget
SRC src_fld Source field name.
DST dst_fld Destination field name.
USX usx_nam Userexit that opens widget.
PAR usx_par Userexit parameter.
Returns
0 OK
ERR_ZAG_HYP_ILL_PARAM Illegal parameter.
ERR_ZAG_HYP_NO_WDG No current widget.
ERR_ZAG_HYP_NO_FLD No such field.
ERR_ZAG_HYP_ROW Illegal row.
ERR_ZAG_HYP_UPD_LIS Error in wdh_upd_lis.
Example:
// Select action userexit in item structure widget:
/PAR="EDB-ARTICLE /EDB-L=EDB-ART-SLI /EDB-F=EDB-ART-CFR")
See Also
zag_fld_hyp_cal, zag_mas_opn_xas