Application Development 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: 

Check Box Details in Next Screen

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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.