Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to maintain first view entries in second view entries in View Cluster.

Former Member
0 Kudos

Hi,

1.     I have created two views  set1 and set2.

     set1 fields ----  f1

     set2 fields -----  f1,f2,f3

2.    set2 have a foreign key linked to set1 at the table level not in view leve.

       i.e,  f1 in set2 is a foreign key with the table set1.

3. now i have created view cluster to maintain both views.

    i have made the hierarchy set1 as top and set2 below.

4. problem is

    if i select f1 value in set1 and move to set2 maintenance, all f1,f2,f3 fields are displayed.

    I want the selected f1 value from set1 to be automatically populated in the set2 maintenance, so that there is no need to enter the f1 value in set2 again.

HOW TO DO IT ?

Thanks & Regards,

Kranthi.

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

- Did you create a maintenance view via SE11for the set2, if no create one, and set maintenance attribute of field f1 to value"S", "Generate subsets when maintaining view data". use this view in maintenance dialog cluster.
- Then via SE54, use a "S" "" to link the view in the view cluster object structure,
- When using the maintenance dialog on set alone, you will get a prompt to input f1 field

Regards,
Raymond

0 Kudos

Hi,

  i have created maintainance views of both set1 and set2 individually to maintain data indipendently.

i dont have a join condition for set2 . i have used only one table in set2,

and only one table in set1.

now i have created cluster view.

regards,

kranthi.

0 Kudos

Hi Kranthi,

Maintain the object structure for your views in SE54 as below.

View/ Table         Predecess       DEP    Position

Set1                     Set1               R          1

Set2                     Set1               S           2

Regards,

Viswa.

0 Kudos

hi,

i have already done this.

my problem is. when i select field f1 in set1 and navigate to set2.

there i am clicking on new entries button to enter record.

now i want the f1 value which i selected in the first set1 to be displayed on the set2 maintainance entry.


regards,

kranthi.

0 Kudos

Hi Kranthi,

In the set2 maintenance view , give the the maintenance  attribute for the view field value as 'S' for the field F1. regenerate the table maintenance generator and assign it in the view cluster again.

Hope this solves your problem.

Cheers,

Ravi.