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 Problem

RKSK
Participant
0 Likes
463

Hi all,

Could i directly put my data from internal table to the table control in Module pool.

I am trying to do this but after entering the value it doesn't call another screen.

Is it necessary to take a work area to put data in table control.

Please help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
445

Hi ,

Please reward if solution is done or resolved.

5 REPLIES 5
Read only

Former Member
0 Likes
445

See ,

Your table control will have Fields from Data Dictionary table and you will drag those reqd fields You can change the name of fields as ur internal table field and u declare ur internal as occurs 0 with header line .

so u don't reqd a workarea.

But to populate data you should use the same field name what you set in table control .

For eg.IF ITAB IS declared with header line .

Tabcontrol tab has 5 fields.

if you have declare fields itab-a itab-b

then

Loop at itab with control tab.

endloop.

For eg.IF ITAB IS declared without header line .

Tabcontrol tab has 5 fields.

if you have declare fields wa-a wa-b

Loop at itab into wa with control tab.

endloop.

Please reward if useful.

Read only

0 Likes
445

Thanks for the solution ,

Is it necessary to use the

Loop at Screen

Read only

0 Likes
445

No you dont have to use loop at screen unless you want to make changes on screen fields themself.

Say if you got a edit button on screen and you want to enable, disable that button on basis of user authorizations, then you use loop at screen to change the edit button depending on user authorizations.

regards

Read only

Former Member
0 Likes
446

Hi ,

Please reward if solution is done or resolved.

Read only

RKSK
Participant
0 Likes
445

Thanks for the reply