Application Development and Automation 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: 
Read only

Sub screen data saving issue

Former Member
0 Likes
830

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.

5 REPLIES 5
Read only

Former Member
0 Likes
773

Hi Asha,

Why don't you do a insert in the 2nd subscreen.

Read only

0 Likes
773

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.

Read only

Former Member
0 Likes
773

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

Read only

0 Likes
773

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.

Read only

pranav_him
Explorer
0 Likes
773

hi,

Please write the code so that it will be easy to solve your problem.

Thanks,

Pranav Saxena