Userexits

Modules | Functions
Action userexits

Modules

 Select-Action userexits
 
 Edit-Action userexits
 
 Pre-Action userexits
 
 Post-Action userexits
 

Functions

int xctx_pra (const char *param1, const char *param2)
  More...
 
int xlut_eda (const char *param1, const char *param2)
  More...
 
int xpdw_pro_pre (const char *param1, const char *param2)
  More...
 

Detailed Description

Function Documentation

int xctx_pra ( const char *  param1,
const char *  param2 
)

Pre-mask userexit of structure lists for objects which can be assigned to contexts, i.e. can be qualified.

This userexit deals with the following actions:

'I'nsert, 'C'opy, 'U'pdate Sets the bit mask for field EDB_IN_CONTEXTS according to the state of the calculatory logic fields that exist in the mask for each context.
'Q'uery Checks whether the context filter is currently enabled, if yes the query buffer of he field EBD_IN_CONTEXTS is set accordingly. The current value for the context will be taken from the widget buffer if it has been set using xctx_set_nxt / xctx_prm.
Parameters
ctxAction userexit context.
paramReserved.
Returns
0 OK
Else Error
See Also
xctx_set_nxt, xctx_prm, xctx_eda, xctx_poa
int xlut_eda ( const char *  param1,
const char *  param2 
)

Edit-action userexit to restore the field menu. This edit-action userexit restores the field menu from the saved information that is stored in the widget buffer.

Parameters
ctxThe userexit context.
paramAdditional user-defined parameters (reserved).
Returns
0 OK Else Error
int xpdw_pro_pre ( const char *  param1,
const char *  param2 
)

Pre-action userexit for principal widgets. This userexit has to be the last pre-action userexit in project or organizational unit widgets.

Depending on the mode, the following actions are performed:

  • 'U'pdate: The new project id is stored in the widget buffer with the key NEW_PRO.
  • 'T'emporary delete: The userexit checks if the project or organizational unit can be deleted. The delete operation is denied if the project or organizational unit is the current project or organizational unit, or if higher level projects or organizational units still exist.
  • 'D'elete: The corresponding multi access entries are deleted.
  • 'Q'uery: The mask join to suppress, which displays higher level projects or organizational units, is set. See below for the NORESTRICT_VIEW parameter.
Parameters
usxContextThe userexit context.
paramParameter to control the behavior of this userexit. Syntax like:
"[/NORESTRICT_VIEW]"

With possible arguments:
NORESTRICT_VIEWOptional parameter to enable the view to higher level projects or organizational units. By default, higher level projects or organizational units are not displayed if the user does not have read access. However, for special masks, like browser masks, it is necessary to make higher level projects or organizational units visible so that the path to the top level projects or organizational units can be completely displayed.
Returns
0 OK
1 Error
See Also
xpdw_pro_eda, xpdw_pro_poa