Document Management Module

Open New Multilevel Structure in Browser

 

Customizing steps have to be performed to be able to display a new multilevel structure in the browser.

 

Preparation:

Select a bitmap file for the new entity.

1. Create a bitmap file with the name <entity_name>.bmp.

2. Safe it into the bitmap directory on Client side.

If you do not select a bitmap file, a default bitmap will be used.
Open the Form mask of your entity .

In the field Button/Sel add to an existing button menu the selection EDB-BUT-STR-MUL-GUI-{W}.

As parameter use the following syntax:

EP/StartBrowser(@ACT entity_browser_list,entityname sublist_of_bom_form entity_relation_table)

 

Example:

EP/StartBrowser(@ACT EDB-CFG-SLB,EDB-CONFIG EDB-CFG-HIE-SLI T_CFG_STR)

Instead of "@ACT" you can also use the "@SEL" key in forms

See also documentation for userexit iwf_brw_ent.

In lists the behavior of "@SEL" is the same as "@ACT".

@ACT - All records of current widget are put to browser window.
@SEL - Selected records of current widget are put to browser window.

To create an entity browser list, create a copy of the entity list.

E.g. Create a copy of EDB-CFG-SLI and name it EDB-CFG-SLB.

The entity browser list should only contain one menu - the new select menu (e.g. EDB-CFG-SLSB).

Add at least the following three selections to the select menu.

  • EDB-FRM-LIS-BRW with parameter "entity_name entity_form @>" (e.g. "EDB-CONFIGURATION EDB-CFG-CFR @>")
    Opens form for record in browser
  • EDB-BAS-DEL
    Deletes record selected in browser
  • EDB-ART-ART-STR-BRW with parameter "xartic_bom:entity_name view_name browser_relation_list" (e.g. "xartic_bom:EDB-CONFIG STR EDB-CFG-STR-RLB")

Create the entity relation browser list by copying the standard entity relation list.

Example: EDB-CFG-STR-RLI -> EDB-CFG-STR-RLB

The entity relation browser list should only contain one menu - the newly created select menu (e.g. EDB-CFG-SLSB).
   
 

Add Multilevel Structure to Global Tab

Select menu Manager > Structure Browser > Browser Configuration.

The Browser Configuration mask is opened.

Create a new entry for the new entity with the following values.
 
Field Title Value Example
Name Browser entry name CONFIGURATION
Title Title Configuration parameters
Description Description Configuration parameters
Icon Icon name for entity edb-config.bmp
Preselection Preselection userexit name PrpExplorer/PreSelect (of type LGV)
Pres. Parameter Preselection parameter T_CFG_DAT.AGG_FLAG=I:0
Drop Function Drop function userexit name PrpExplorer/DropInit
Menu Function Menu function userexit name PrpExplorer/Menu
Open the Structure tab and enter the following values.
 
Field Title Value Example
Structure object type Structure object type D
Relation type Relation type D
Userexit Userexit name iwf_lis_exp
Userexit parameter Userexit parameter iwf_lis_ent:EDB-CONFIG EDB-CFG-SLB
Name Name of second entry for entity EDB-CONFIG
Create a second entry for the new entity with the following values.
 
Field Title Value Example
Name Entity name EDB-CONFIG
Title Title Configuration parameters
Description Description Configuration parameters
Icon Icon name for entity edb-config.bmp
Preselection Preselection userexit name PrpExplorer/PreSelect (of type LGV)
Pres. Parameter Preselection parameter T_CFG_DAT.AGG_FLAG=I:0
Drop Function Drop function userexit name PrpExplorer/DropInit
Menu Function Menu function userexit name PrpExplorer/Menu

Open the browser configuration for GLOBAL_BROWSER.

Open the Structure tab and enter the following values.
 
Field Title Value Example
Structure object type Structure object type H
Relation type Relation type F
Userexit Userexit name iwf_lis_exp
Userexit parameter Userexit parameter @EXPLORER Configuration Paramter
Name Name of first entry for entity CONFIGURATION