Application Development 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: 

In module pool, after pressing enter button, values disappear....

arindam_samanta
Participant
0 Kudos

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.

2 REPLIES 2

SuhaSaha
Advisor
Advisor
0 Kudos

Did you debug - are there any CLEAR statements on these i/p fields in your PBO module?

Former Member
0 Kudos

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