Multi-Project Access Rights

Integrate Customized Entities

  The PDW concept is by default available for item, document, project, and folder entities. As part of the customizing, the PDW concept may be extended to other entities.
Please make sure your database is saved (create database dump) prior to the integration.
Select the EDB-PROJECT entity from the entity list.

Select a record and activate the tab Ref.Relation.

Create a record with the following entries:

 
 
  • Entity name: <own entity>
    View: PDW
  • Table T_PDW_<entity abbreviation>
  • Liste Refine: <id>-PDW-<entity abbreviation>-RLI"
  • List Aggregate: "<id>-PDW-<entity abbreviation>-ALI"
Open the relation table definition by selecting the table hyperlink (e.g. for EDB-DOCUMENT click on T_PRO_DOC).
 

Add these fields to the relation table.

Field Name T_PDW_<entity abbreviation>.I_STATUS T_PDW_<entity abbreviation>.I_AKTIV
Mode 10 20
NN I10 I1
Field Title S A
Description Status in PDW view Record active/inactive
Create table
Create the default lists for the refine and the aggregate relationship.
Select in the table list T_PRO_DAT and add in the field allocation T_PRO_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: xpdw_obj_eda & ...,
  • Pre-action: ... & xpdw_obj_pre,
  • Post action: xpdw_obj_poa & ...
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 EDB-PDW-COR-MEN with your own selection entries analog to EDB-PDW-COR-ITM with 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).
   
 

Example:

  The following example will demonstrate the procedure:
  • Entity "EDB-MY"
  • Short "EDB"
  • Entity ID "MY"
Select EDB-PROJECT.
Refine relationship "EDB-MY", "PDW", "T_PDW_MY", "EDB-PDW-MY-RLI", "EDB-PDW-MY-ALI".
Define the table field reference: "T_PDW_MY.I_STATUS", "10", "I10", ..., "S", "Status in PDW view"; "T_PDW_MY. I_AKTIV", "20", "I1", ..., "A", "entry active/inactive".
Create table.
Create a default list in the Entity Refine reference.
Add new configuration parameter EDB-PDW-TOL-EDB-MY and initialize it with the value TOL_MY assign parameter to category EDB-PDW, EDB-PDW-ENT-5, EDB-MY.
Add a T_PRO_DAT.TOL_MY field to T_PRO_DAT table and call "Change table".

"EDB-MY-SLI" and "EDB-MY-SFR" masks:

  • Editaction: .LIST_A xpdw_obj_eda &<ownUserexit>
  • Pre-action: LIST_A & xpdw_obj_pre
  • Postaction: LIST_A xpdw_obj_poa &<ownUserexit>

Extend userxits of entity structure record masks ("EDB-MY-STR-RLI"):

  • Editaction: .LIST_A xpdw_obj_eda &<ownUserexit>
  • Pre-action: LIST_A & xpdw_obj_pre
  • Postaction: LIST_A xpdw_obj_poa &<ownUserexit>
Add selections to menus.
Extend EDB-PDW-COR-MEN with selection EDB-PDW-COR-MY userexit xpdw_cln_view and EDB-MY as parameter.
Carry out step 15 if needed.