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

Loop at....WITH CONTROL.... with cursor

Former Member
0 Likes
1,111

Hello Guys,

I have a small issue. I have designed a screen. Where i have put a table control. with 4 fields namely Month, Year, and two numeric data field.

I have 2 other i/o fields. namely country and competitor.

I have defiend a workarea and internal table have all these feild.

for every value within the table control loop. the calues of both country and competitor must be assigned.

the Loop at....WITH CONTROL.... with cursor command has the fields Month, Year, and two numeric data field.

but the 2 other i/o fields. namely country and competitor are not in loop.

how to transfer these two data into my internal table correctly...

Regards,

Vijay

2 REPLIES 2
Read only

Former Member
0 Likes
620

Hi Sankar,

The table controls fields should be in the loop at ...with control.. just like the same you did.

For other fields, Just pass the screen fields to your internal table directly...It will directly transfer.

Eg: - itab-test1 = zzscreenfield-test1.

Regards,

Hari

Read only

Former Member
0 Likes
620

Hello sankar,

i hope that you can assign the country and the competitor values for each record in the table control in the PAI Event . write a module in the loop for the table and in that assign the required fields depending upon your requirement.

if i am wrong explain me about your requirement again.

Regards,

Phani.