2013 Jun 12 6:38 AM
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
2013 Jun 12 9:17 AM
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.
2013 Jun 12 10:18 AM
Hi ,
i prefer creating a structure which holds required fields of both tables.
iPBC
2013 Jun 12 10:29 AM
In that case just move the fields after select from the select work area into the desired structure.