08-01-2012 10:23 AM
HI Experts,
In module pool program, i created a tabstrip. in first tab, there is 2 input fields of type int2. And 2nd tab display the addition result. But when pressing enter button in tab first after giving the values, they are disappeared. Any solution regarding this issu??? It will help me.
Thanks & Regards,
Arindam Samanta.
08-01-2012 10:30 AM
Did you debug - are there any CLEAR statements on these i/p fields in your PBO module?
08-01-2012 11:08 AM
Hi Arindam,
Its a common problem every one face with Table control and tab-strip control.
do as i say
1) create two modules namely 1> Display 2> Lines inside the PBO loop.
2) create one module 1> tab_modify inside the PAI loop.
I'm creating a sample code just do the same way.
1>in Display module .
read table it_st into zst_emp_activity index tcontrol-current_line.
write the above line.
2> in Lines module
data: step_lines like sy-loopc.
step_lines = sy-loopc.
in Tab_modify module.
it_st-doc_no = zst_emp_activity-doc_no.
it_st-activity = zst_emp_activity-activity.
it_st-dates = zst_emp_activity-dates.
it_st-effort = zst_emp_activity-effort.
delete it_st index tcontrol-current_line.
insert it_st index tcontrol-current_line.
hope this will help your problem, do reward if it is helpful.
Thank You
Moderator Message: Asking for points is against the Forum Rules.
Message was edited by: Suhas Saha