09-26-2008 8:15 AM
Hi ,
In module pool i have Displayed a Table Control with Check Boxes in each field in table control,now when i select the required fields respective fields are to be displayed in next screen,i have designed the next screen,now how can catch
the fields which i have checked display them in next screen.
Regards,
Vijaya.
09-26-2008 8:33 AM
Hi Vijaya,
In PAI, within 'CHAIN ... ENDCHAIN' statement, whether you have a MODIFY statement in any of the module?
If so, check out whether it is to update the internal table .
Else, write MODIFY statement to update the internal table.
Then, you just loop with condition and populate required records.
For example, in PAI,
LOOP AT GT_TC_DATA INTO GW_TC_DATA .
CHAIN.
FIELD : GW_TC_DATA-CK_SEL.
MODULE READ_DATA ON CHAIN-REQUEST .
ENDCHAIN.
ENDLOOP.
This module should contain atlest this statement.
MODULE check_table INPUT.
MODIFY GT_TC_DATA FROM GW_TC_DATA INDEX table-current_line.
ENDMODULE.
Whereas CK_SEL is field displayed as checkbox. In this loop, at least that MODULE statement is compulsory.
Regards,
R.Nagarajan.
09-26-2008 8:33 AM
Hi Vijaya,
In PAI, within 'CHAIN ... ENDCHAIN' statement, whether you have a MODIFY statement in any of the module?
If so, check out whether it is to update the internal table .
Else, write MODIFY statement to update the internal table.
Then, you just loop with condition and populate required records.
For example, in PAI,
LOOP AT GT_TC_DATA INTO GW_TC_DATA .
CHAIN.
FIELD : GW_TC_DATA-CK_SEL.
MODULE READ_DATA ON CHAIN-REQUEST .
ENDCHAIN.
ENDLOOP.
This module should contain atlest this statement.
MODULE check_table INPUT.
MODIFY GT_TC_DATA FROM GW_TC_DATA INDEX table-current_line.
ENDMODULE.
Whereas CK_SEL is field displayed as checkbox. In this loop, at least that MODULE statement is compulsory.
Regards,
R.Nagarajan.