You are on page 1of 2

Constraint Pick List

Scenario: in Account List Applet, Field in Region Field for Eg should control City Field:
If Region selected is North only the North Cities should be displayed in City Dropdown.
Solution Design:
1. First we need to find out whether we can find any columns in S_ORG_EXT to
accommodate Region and City, if not use two ATTRIB columns from
S_ORG_EXT_X with Physical type VarChar since both fields store text data.
2. Create 2 picklists one for Region field and another for City Field
3. Add Region and City Fields in Accounts BC with help of Join S_ORG_EXT_X.
4. Corresponding to Region Field under Picklist Column add the newly created
picklist name and pickmap the same with picklist BC field Value.
5. Corresponding to City Field under Picklist Column add the newly created picklist
name and pickmap the same with picklist BC field Value and also the Region
field with ParentValue of the Picklist BC and also to constrain we need to
check Constraint Column.
6. In Account List Applet add the Region and City List Columns and Edit Web
Layout.
7. Set Run Time Property for Region and City List columns to TRUE and Compile
8. In Siebel Application administration go to List of Values add the Region and
City LOV_TYPE and set the relationship in Lov Explorer.
Implementation:
1.
2.

Go to Table OT Query for S_CONTACT_X


Select Columns OT Select
Name
Alias
Physical Type
ATTRIB_4
ATTRIB_5

ATTRIB_4
ATTRIB_5

Var Char
Var Char

Length
30
30

Comments
IRegion
ICity

Apply, Activate is not necessary here bcoz, we have not created a column
but just used the existing column and set comments to help other
configurators, saying dont use this ATTRIB for other purpose, as this is
reserved.

3.

4.

Select Picklist OT RCNR


Name
PickRegion

Bus. Comp
Generic Picklist

SearchSpec
---

Value
I_REGION

PickCity

LovDyanmic(ReL) [Parent Type]=I_REGION

Now Go To Contact BC Field RCNR


Name
Iregion
Icity

Join
S_CONTACT_X
S_CONTACT_X

Field Name
ATTRIB_4
ATTRIB_5

Picklist
PickRegion
PickCity

5.

Go to Pick Map OT by staying in Iregion field and Pick Map


Field
Constraint
PickList Field
Iregion
Value
Icity
Null (leave empty)

6.

Go to Pick Map OT by staying in ICity field and Pick Map


Field
Constraint
PickList Field
Iregion
Parent Value
Icity
Value
Go to Applet OT and Query for Account List Applet RCNR
Name
Display Name
RunTime
Iregion
REGION
Icity
CITY
Editweblayout and compile the relevant projects.

7.

8.

Go to Siebel App. Sitemap Application Administration List of Values New

TYPE
LOV_TYPE
I_REGION
I_REGION
I_REGION
I_REGION
9.

I_CITY

Value
I_REGION
North
South
East
West

LIC
I_REGION
North
South
East
West

Language
English ENU
-do-do-do-do-

Go to Siebel App. Sitemap Application Administration List of Values New

TYPE
Value
LIC
Language
LOV_TYPE
I_CITY
I_CITY
English ENU
I_CITY
Delhi
Delhi
-doI_CITY
Goa
Goa
-doI_CITY
Chennai
Chennai
-doI_CITY
Kolkata
Kolkata
-doIn Application Admin LOV Explorer Add Cities to Region as Child
values.

You might also like