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

module pool, showing data from two tables on a screen

Former Member
0 Likes
1,111

HI EXPERTS,

I am new to module pool, i make two tables name ztr_hrlogin and ztr_hrdetails,

now in the program the user enter the user_id and password and go to the next screen.

new screen consist of a number of buttons now i want when the user click on the employeedetails button next screen is called(see the screenshot) consist of the following details as given in the screen shots in this screen the userid is from the table ztr_hrlogin and the other details are from the ztr_hrdetails.

thanks in advance

HI EXPERTS,

I am new to module pool, i make two tables name ztr_hrlogin and ztr_hrdetails,

now in the program the user enter the user_id and password and go to the next screen.

new screen consist of a number of buttons now i want when the user click on the employeedetails button next screen is called(see the screenshot) consist of the following details as given in the screen shots in this screen the userid is from the table ztr_hrlogin and the other details are from the ztr_hrdetails.

thanks in advance

3 REPLIES 3
Read only

Former Member
0 Likes
890

Hi Dharam,

Sorry for the delay.... But you get replies on SCN with that said... here

Now in your Program Define 2 Work areas as global.

For these work areas map the details to the screen.

On click of the Button in the screen in PAI call the SELECT statement.

For more details check the standard transaction to learn module pool

In SE93 check TZ60, TZ61, TZ62 these t-code are SFLIGHT table Module pool for Learning Purpose.

For a step by step tutorial of a similar requirement.

http://www.saptechnical.com/Tutorials/ABAP/ScreenPainter/Page1.htm

I hope it helps

BR.

Read only

Former Member
0 Likes
890

Hi ,

i prefer creating  a structure which holds required fields of  both tables.

iPBC

Read only

0 Likes
890

In that case just move the fields after select from the select work area into the desired structure.