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

tablecontrol

Former Member
0 Likes
431

Hello gurus ,

I am using a table control in that I have call some data from differt table and I want to insert some data manually in differt coloum , and some calculation in differt column ,Now data is caoming from differt table and I can enter the value also in visible column , but when I press enter , the entry data is disapper means what I have enterd . I mean to say hw to fix taht data in the screen after pressing enter, is there any way or example .Plz help .

I am waiting for your valuable answer .

Thanks in advance .

Regards .

Joy .

1 ACCEPTED SOLUTION
Read only

nivin_varkey
Active Participant
0 Likes
410

hi..

in ther PAI

loop.

append the work area of the table control into aan internal table.

endloop.

in the PBO.

loop.

read the same internal table on <table control>-current_line into the table control work area.

endloop.

Hope this solves ur problem

2 REPLIES 2
Read only

nivin_varkey
Active Participant
0 Likes
411

hi..

in ther PAI

loop.

append the work area of the table control into aan internal table.

endloop.

in the PBO.

loop.

read the same internal table on <table control>-current_line into the table control work area.

endloop.

Hope this solves ur problem

Read only

0 Likes
410

Hi,

I am hoping that you have missed the logic in PAI.

In PAI - Implement the below logic.

LOOP.

CHAIN.

*...Validations for entered role details

FIELD f1.

FIELD f1 MODULE validate_f1 ON INPUT.

In side the this module validate your input entered on the field F1 in table control on screen.

do the validation for all fields like this.

Then at the end of the final field Modify the internal table that holds the data of the table control.

ENDCHAIN.

ENDLOOP.

In PBO -

LOOP AT 'internal table' WITH CONTROL 'table control name given on the screen' CURSOR tablecontrol-current_line.

Write a module to display the details from internal table to the Table control.

ENDLOOP.