Userexits

Functions

Select-Action userexits
[Action userexits]

Functions

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.
int xrel_sea_res_men ()
 Resets the DTV-Menu "END_QUERY" to its original values.
DtvLong xrel_sea_sel_mul ()
 Called from menu selection EXIT_FETCH.
int xsmlc_sel_frm ()
 Select-action userexit for the class combined form 'Class'.
int zag_mas_opn_xsl ()
 Select action userexit that opens widget for current record.

Function Documentation

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:
  zag_mas_opn_xsl (/SRC=PART_ID /DST=PART_ID /USX=bvb_usx_opn_ent
                  /PAR="EDB-ARTICLE /EDB-L=EDB-ART-SLI /EDB-F=EDB-ART-CFR")
See also:
zag_fld_hyp_cal, zag_mas_opn_xas
Copyright © 2007-2012, Oracle and/or its affiliates.