2017 Jun 20 6:28 AM
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
2017 Jun 20 7:13 AM
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.
2017 Jun 20 11:04 AM
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.
2017 Jun 21 6:47 AM
2017 Jun 20 9:58 AM
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.