2007 Jun 28 11:50 AM
Hi all,
My requirement is, I need to have 2 table control in one screen.
Which should have values before process and after process to show the user to proceed for save.
If i use one Table control the data is coming.If i use 2 table controls its giving blank table control with no data.
Different itab for each table control.
In PAI and PBO I am giving both the loops...
loop at lt_zfplt with control TC_FPLT
cursor TC_FPLT-current_line.
endloop.
loop at lt_zfplt_old with control TC_FPLT_B
cursor TC_FPLT_B-current_line.
endloop.
2007 Jun 28 11:52 AM
Hi,
When you have Two Table controls
UPPER TABLE CONTROL in screen
LOWER TABLE CONTROL in screen
then
You should put the LOWER Table control's
LOOP AT ENDLOOP. First in the PBO and PAI and then the upper table control LOOP AT ENDLOOP should come.
Regards,
Sesh
.
2007 Jun 28 11:52 AM
Hi,
When you have Two Table controls
UPPER TABLE CONTROL in screen
LOWER TABLE CONTROL in screen
then
You should put the LOWER Table control's
LOOP AT ENDLOOP. First in the PBO and PAI and then the upper table control LOOP AT ENDLOOP should come.
Regards,
Sesh
.
2007 Jun 28 11:54 AM
Hi,
Check the order of the loop stmt for both table controls in PAI and PBO.
For Eg:
In ur screen, if u have tc1 in left side and tc2 next to tc1 or below to tc1,then in ur PBO,PAI,
It should be like this,
PROCESS BEFORE OUTPUT.
Loop at itab1 with control tc1.
Endloop.
Loop at itab2 with control tc2.
endloop.
Message was edited by:
Vigneswaran S
Message was edited by:
Vigneswaran S