# Userexits

Functions

## Post-Mask userexits
[Mask userexits]

### Functions
int | xase_hie_pom (const char *param, const char *ignore)
int | xcnf_cpa_cat_spc_pom (const char *param, const char *ignore)
int | xcnf_cpa_var_cns_pom (const char *param, const char *ignore)
int | xcps_mdl_bom_pom (const char *param, const char *ignore)
int | xcps_sol_chg_pom (const char *param, const char *ignore)
int | xcps_sol_mul_pom (const char *param, const char *ignore)
int | xdfv_wri_val_pom (const char *param, const char *ignore)
int | xdocfi_pom ()
| Post-mask userexit for document-file relation masks.
int | xedb_del_hierarcy (const char *param, const char *ignore)
int | xedb_del_quantity (const char *param, const char *ignore)
int | xform_poa_msk ()
| Resets dialog form for next step of assistant if button 'Cancel' was not used.
int | xform_sav_rec_pom ()
| Saves the key values for all fields in list.
int | xhisto_xam_his_all ()
| Post-mask userexit to delete entries of the history overview from the temporary table `T_HIS_TMP`.
int | xinfo_pom ()
| Post-mask userexit for each status information widget.
int | xpdw_frm_acc_pom (const char *param, const char *ignore)
int | xsml_post_mas ()
int | xsmlc_pom ()
| Post-mask userexit for the head form of ATC classes and ATC classification lists.
int | xutil_del_tmp_pom (const char *param, const char *ignore)
int | xvar_post_mas ()
| Post mask userexit for variants, returns 0.

### Function Documentation

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

Post-mask userexit for heterogeneous structure explosion list.

Deletes the temporary entries in the TEMPASE table of the usecase.

Parameters:

  usxCtx | Menu userexit context.
  param | Reserved.

Returns:

  0 | OK

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

Post-mask userexit for specification category select widget.

This userexit is used in the select widget for choosing a specification category for a specification. Resets the organization reference (T_AVL_DAT.STEP_INT_ID_REF) from the last widget in the query buffer.

Parameters:

  param | Post-mask userexit parameter (reserved)

Returns:

  0 | OK
  1 | Error

Remarks:
  It seems this userexit is not required because post-mask userexit on select widgets are only called on shutdown time of the server. The userexit is currently not used in the dump.

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

Post-Mask userexit for specification constraint select widgets.

This userexit is used in the select widgets for choosing a specification constraint to a product variant from the cooperation partner widget. Reset the organization (T_AVL_DAT.STEP_INT_ID_REF) from last widget in the query buffer.

Parameters:

  param | Post-mask userexit parameter, (reserved).

Returns:

  0 | OK
  1 | Error

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

Post-mask userexit for BOM overview form.

Deletes the temporary table with structure elements after deleting the mask with BOM overview.

Parameters:

  context | Mask userexit context
  param | Reserved

Returns:

  0 | OK
  Else | Error

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

Post mask userexit to remove the chached objects of the solution space assistant.

Parameters:

  context | the mask userexit context
  param | not used

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

Post-mask userexit for multi-edit solution list.

Deletes the temporary table with structure elements after deleting the mask.

Parameters:

  context | Mask userexit context
  param | Reserved

Returns:

  0 | OK
  Else | Error

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

Post-mask userexit for setup forms.

As this userexit frees internal memory, it should be called from each setup form to avoid memory loss.

Parameters:

  ctx | Mask userexit context.
  param | Reserved.

Returns:

  0 | OK

int xdocfi_pom | ( | ) |

Post-mask userexit for document-file relation masks.

For future use.

Parameters:

  cp_Arguments | not used

Returns:

  0 | OK
  Else | Error

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

Deletes the temporary table with structure elements after deleting the mask for the structure explosion.

Parameters:

  usxCtx | Mask userexit context.
  cp_par | Reserved.

Returns:

  0 | OK

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

Deletes the temporary table with structure elements after deleting the mask for the quantity overview.

Parameters:

  usxCtx | Mask userexit context.
  cp_par | Reserved.

Returns:

  0 | OK
  -1 | Database error.

int xform_poa_msk | ( | ) |

Resets dialog form for next step of assistant if button 'Cancel' was not used.

Returns:

  0 | OK
  1 | No widget

int xform_sav_rec_pom | ( | ) |

Saves the key values for all fields in list.

These values are concatenated (using commas as separators) and saved in the widget buffer of the assistant definition widget. The key for this string is the name of the current list.

Note:
  If this list is reopened, the userexit 'xform_exc_step' will check for saved records and will insert them into the list (by extracting them from the source list).

Parameters:

  cp_Arguments | Parameter to control the behavior of this function. Syntax is: "[/KEY=field]" With possible arguments:
  KEY | field | Option to define the name of the key field. If this option is not set, then the C_ID field is used.

Returns:

  0 | OK
  1 | Error

int xhisto_xam_his_all | ( | ) |

Post-mask userexit to delete entries of the history overview from the temporary table `T_HIS_TMP`.

Returns:

  0 | OK
  -1 | Database error

int xinfo_pom | ( | ) |

Post-mask userexit for each status information widget.

If widget is closed the 'xinfo_..' functions have to consider this!

Returns:

  0 | OK

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

Post-mask userexit for the object access mask.

Cleans up the temporary table for the access list.

Remarks:
  Has to be attached as post-mask userexit to the mask that shows the access list.

Parameters:

  ctx | The userexit context.
  param | Reserved.

Returns:

  0 | OK
  1 | Error

int xsml_post_mas | ( | ) |

Returns:

  0 | OK

int xsmlc_pom | ( | ) |

Post-mask userexit for the head form of ATC classes and ATC classification lists.

Parameters:

  cp_Parameter |
  /FRM | The post-mask userexit is called from the head form and clears the allocated memory.
  /SUBLIS | The post-mask userexit is called from the ATC classification list and deletes the structure explosion from EPQTMP.

Returns:

  0 | OK
  Else | Error

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

Deletes entries in the given temporary table.

Deletes temporary entries caused by the BOM/structure explosion for current user and current widget.

Note:
  The unique key value in the temporary table is composed by userName + widgetID.

Parameters:

  cpParameter | Parameter to control the behavior of this function. Syntax like: "/TAB=<table_name> /FLD=<key_field_name>" With possible arguments:
  TAB | table_name | Name of temporary table.
  FLD | key_field_name | Name of field which is key field.

Returns:

  0 | Success

int xvar_post_mas | ( | ) |

Post mask userexit for variants, returns 0.

This userexit is obsolete.

Returns:
  0 = OK

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