Multi-Organization Access Rights

Integrate Customized Entities

  The MultiOrg concept is by default available for item, document, project, and folder entities. As part of the customizing, the MultiOrg concept may be extended to other entities.
Please make sure your database is backed up prior to the integration.
Select the EDB-ORGANIZATION entity from the entity list.

Select a record and activate the tab Agg.Relation.

Make sure that a STR view to your entity exists.

 
 
  • Entity name: <own entity>
    View: STR
  • Table T_<entity abbreviation>_ORG
  • Liste Refine: <id>_<entity abbreviation>_ORG_RLI
  • List Aggregate: <id>_<entity abbreviation>_ORG_ALI
Open the relation table definition by selecting the table hyperlink (e.g. for EDB-DOCUMENT click on T_DOC_ORG).
 
Add these fields to the relaton table:

Field Name T_<entity abbreviation>_ORG.I_STATUS T_<entity abbreviation>_ORG.I_AKTIV
Sequence 10 20
Type I1 I1
Field Title Status Valid
Description Status in MOA view Record active/inactive
Create table.
Create the default lists for the refine and aggregate relationship.
Select in the table list T_ORG_DAT and add the field T_ORG_DAT.TOL_<entity id>". In the column "Type" the value must be "I10". Select Update Table.

Open the configuration table with System > Other Parameters and enter the following information:

Rubric/Parameter EDB-PDW-TOL-<entity> EDB-PDW-ENT-<sequence no>
Value TOL_<entity id> <own entity>
For the parameters make the following assignments:

Assign EDB-PDW-TOL-<entity> to parameter EDB-PDW-ENT-<seq>

Assign EDB-PDW-ENT-<seq> to parameter EDB-PDW

Extend userexits of entity master record masks ("<id>-<entity id>-SLI/CFR"):

  • Edit action: List_A <xpdw_obj_eda & ..., (must be first userexit)
  • Pre-action: List_A ... & xpdw_obj_pre, (must be the last userexit)
  • Post action: List_A xpdw_obj_poa & ... (must be the first userexit)
Extend userexits of entity structure record masks ("<id>-<entity id>-STR-RLI"):
  • Pre-mask: LIST xpdw_drp_prm & ...
  • Edit action: LIST_A xpdw_rel_eda & ...
  • Pre-action: LIST_A ... & xpdw_rel_pre
  • Post action: LIST_A ... & xpdw_rel_poa

Add the following items to the menus:

  • EDB-PDW-ADD-PRO Assign to new project
  • EDB-PDW-CHG-PRO Assign to other project
  • EDB-PDW-DEL-ASS-PRO - Delete project assignment
Extend menu EDB-PDW-COR-MEN with your own selection entries analog to EDB-PDW-COR-ITM to call the userexit xpdw_cln_vie.
Optional: Replace selection entry of the context menu "Set Reservation" (xres_set_res) with selection entry EDB-RES-PDW-SET-RES (xpdw_men_set_res).