‎2010 Oct 06 12:32 PM
Hi all,
I have a requirement in module pool, for which i have designed two sub screens.
upon selection of list box value,
I have wrote the code to dispaly the particular subscreen.
But now when I have to save the data from main screen and sub screen,
then i wrote insert logic in main screen PAI and the respective sub screen PAI.
Problem:
In my approach two records are inserted in the table, one with data of main screen and the other with data of the particular sub screen.I dont have any common fields between Main Screen and the subscreens to use modify statement.
So please suggest an approach for this requirement.
With Regards,
S.Asha.
‎2010 Oct 06 12:44 PM
‎2010 Oct 06 4:06 PM
Hi Meenu,
I have used the insert statement again,
And that was the problem that I have asked.
Anyways Thanks for reply.
The issue has been solved.
With Regards,
S.Asha.
‎2010 Oct 06 12:49 PM
Hi Asha
first tell me which data you want to save
main screen data or subscreen data?
write the code in the respective screen's PAI event.
and if there is no common field then the data will be saved separately.
please write your code.
Thanks
Lalit Gupta
‎2010 Oct 06 4:08 PM
Hi Lalit Gupta,
The issue has been solved.
I have read the internal table data and then used the modify the statement.Now the data entered in main screen and sub screen is saved in to single record.
Thanks for the reply.
With Regards,
Asha.
‎2010 Oct 06 1:16 PM
hi,
Please write the code so that it will be easy to solve your problem.
Thanks,
Pranav Saxena