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: 

Dynamically maintaining data in maintenance dialog of view cluster

0 Kudos
511

Hi Experts,

I have a view cluster with 2 maintenance dialog(m1, m2). Suppose i need to maintain data i.e. m1 has records and it is displayed in first screen, now depending on data selected in first screen i need to display data in second screen. Usually it happens through foreign key relationship.

Requirement: since my m2 is new(newly created , no data), i need to check condition i.e if m2 is empty then i need to do some operation on data selected in first screen and do some operation and then display data in second screen (m2) and then finally when i click on save it should be saved into DB. Now i know we get data through some subroutines but i'm facing the problem to insert data in m2 , so that when user navigates to second screen it should be displayed automatically.

Please help me...

Thanks in advance,

Ravi

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
252

I think you can use Event 03 for view clusters, before calling the view maintenance module for a subdialog. If it's not sufficient, then you may complete with Event AA: Instead of the Standard Data Read Routine at the start of the m2 table maintenance dialog.

0 Kudos
252

Hi Sandra Rossi,

thank you for your answer and i know that we can use the event 03 do it but my question was how do i fill data for maintenance dialog(m2). In simple which internal table or global variable should be filled so that data gets displayed in maintenance dialog m2.

0 Kudos
252
It's all around the event 03 link I have given previously. For instance: Internal Table "TOTAL" (View Cluster)

0 Kudos
252

Hi Sandra Rossi,

thank you for your answer and i know that we can use the event 03 do it but my question was how do i fill data for maintenance dialog(m2). In simple which internal table or global variable should be filled so that data gets displayed in maintenance dialog m2.