# Userexits

Functions

## Hyperfield userexits
[Field userexits]

### Functions
int | xchg_chg_opr_hyp (const char *param, const char *ignore)
int | xchg_obj_wdg_hyp (const char *param, const char *ignore)
int | xcps_fld_hyp_cal (const char *param, const char *ignore)
int | xcps_prl_hyp_hie (const char *param, const char *ignore)
int | xcps_prl_hyp_nod (const char *param, const char *ignore)
int | xcps_prl_hyp_ord (const char *param, const char *ignore)
int | xhlp_cal_web ()
| Hyperfield trigger to call the Web browser with the URL stored in the current field.
int | zag_fld_hyp_cal ()
| Hyper-field userexit that opens widget for current record.

### Function Documentation

int xchg_chg_opr_hyp | ( | const char * | param,
|  | const char * | ignore
| ) |  |

Opens the concerning change operation widget.

Opens the change operation form for the selected change operation.

Parameters:

  context | The context of the userexit
  param | [/NO_CONFIRMATION] - The confirmation dialog is omitted if this parameter is present

Returns:

  0 | OK
  Else | Error

int xchg_obj_wdg_hyp | ( | const char * | param,
|  | const char * | ignore
| ) |  |

Opens the default form or list or a specified form or list.

The object can be an item, a document or ...

Parameters:

  context | The context of the userexit
  param | /PARENT or /CHILD define whether the parent or child widget is opened. One of them is mandatory!! /FORM or /LIST define which kind of standard widget is opened. This parameter is ignored if a hyperfield userexit is defined in the change management configuration. With /OPENUSX a self-defined open command can be used (e.g.: /OpenUSX='iwf_frm_lis EDB-ARTICLE ...'). One of /FORM, /LIST or /OPENUSX is mandatory!!

Returns:

  0 | OK
  Else | Error

int xcps_fld_hyp_cal | ( | const char * | param,
|  | const char * | ignore
| ) |  |

Hyper-field userexit for relation lists of product components.

Opens the neutral or modular product component form depending on the type of the product component (neutral/modular).

Parameters:

  context | Menu userexit context
  param | Parameter to control the behavior of this function. Syntax like: "/SRC=<src_fld> /DST=<dst_fld> /USX=<opn_usx> /NTR_PAR=<ntr_form> /MDL_PAR=<mdl_form>" With possible arguments:
  SRC | src_fld | Source field name where to get compare-value
  DST | dst_fld | Target field name to enter search condition (compare-value)
  USX | opn_usx | Userexit to open neutral or modular BOM form (e.g. bvb_usx_opn_ent)
  NTR_PAR | ntr_form | Parameter to open a neutral BOM form
  MDL_PAR | mdl_form | Parameter to open a modular BOM form

Returns:

  0 | OK
  EDB_CPS_INTERNAL | No widget
  EDB_CPS_NO_ACT_ROW | No current row
  EDB_CPS_NO_FIELD | Field EDB_IS_MODULARBOM is missing in widget
  EDB_CPS_ERR_PAR | Wrong syntax in parameter

int xcps_prl_hyp_hie | ( | const char * | param,
|  | const char * | ignore
| ) |  |

Hyperfield userexit for V_CPS_PRL_HIE.EDB_NOD_ID in parallel structure BOM.

Opens the parallel structure form or parallel structure node form depending on V_CPS_PRL_HIE.EDB_NOD_ID.

Parameters:

  context | Menu userexit context
  param | Reserved

Returns:

  0 | OK
  1 | Error

int xcps_prl_hyp_nod | ( | const char * | param,
|  | const char * | ignore
| ) |  |

Hyperfield userexit for T_CPS_PRL_DAT.EDB_NOD_ID.

Opens the parallel structure form or parallel structure node form depending on T_CPS_PRL_DAT.EDB_NOD_ID.

Parameters:

  context | Menu userexit context
  param | Reserved

Returns:

  0 | OK
  1 | Error

int xcps_prl_hyp_ord | ( | const char * | param,
|  | const char * | ignore
| ) |  |

Hyperfield userexit for V_CPS_PRL_ORD.POS_NO in order specific parallel structure.

Opens the parallel structure form or product structure element or item form depending on V_CPS_PRL_ORD.TYPE.

Parameters:

  context | Menu userexit context
  param | Reserved

Returns:

  0 | OK
  1 | Error

int xhlp_cal_web | ( | ) |

Hyperfield trigger to call the Web browser with the URL stored in the current field.

Reads the field contents and calls the userexit `hlp_cal_txt` to pass the URL to the browser.

Parameters:

  cp_Parameter | Reserved

Returns:

  0 | OK
  Else | Error

int zag_fld_hyp_cal | ( | ) |

Hyper-field userexit that opens widget for current record.

Parameters:

  cp_Par | Parameter to control the behavior of this function. Syntax like: "[/SRC=src_fld] [/DST=dst_fld] /USX=usx_nam /PAR=usx_par" With possible arguments:
  SRC | src_fld | Source field name. Default: Current field.
  DST | dst_fld | Destination field name. Default: Same fieldname as source field.
  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:

        // Hyperfield userexit for field PART_ID in item structure widget:
        zag_fld_hyp_cal (/SRC=PART_ID /DST=PART_ID /USX=bvb_usx_opn_ent
                        /PAR="EDB-ARTICLE /EDB-L=EDB-ART-SLI /EDB-F=EDB-ART-CFR")

Copyright © 2007-2012, Oracle and/or its affiliates.