2010 Nov 06 6:12 PM
Hi all,
I have my screen logic like this,
PROCESS AFTER INPUT.
LOOP AT tc_li_itab.
MODULE read_tc.
ENDLOOP.
MODULE process.
MODULE usercommand_0110._
I want to implement CHAIN and ENDCHAIN for the underlined modules. How can i do that???
I
2010 Nov 06 6:41 PM
Hi
The code is always the same, but the place where it has to be inserted depends on which fields have to be managed.
If they are table control field it needs to insert in the loop of PAI
LOOP AT tc_li_itab.
CHAI,
FIELD: <field1>,
<field2>,
.............
MODULE process.
ENDCHAIN.
ENDLOOP.
else out of loop:
LOOP AT tc_li_itab.
ENDLOOP.
CHAI,
FIELD: <field1>,
<field2>,
.............
MODULE process.
ENDCHAIN.Max
Hi all,
I have my screen logic like this,
PROCESS AFTER INPUT.
LOOP AT tc_li_itab.
MODULE read_tc.
ENDLOOP.
MODULE process.
MODULE usercommand_0110._
I want to implement CHAIN and ENDCHAIN for the underlined modules. How can i do that???
I
2010 Nov 06 6:41 PM
Hi
The code is always the same, but the place where it has to be inserted depends on which fields have to be managed.
If they are table control field it needs to insert in the loop of PAI
LOOP AT tc_li_itab.
CHAI,
FIELD: <field1>,
<field2>,
.............
MODULE process.
ENDCHAIN.
ENDLOOP.
else out of loop:
LOOP AT tc_li_itab.
ENDLOOP.
CHAI,
FIELD: <field1>,
<field2>,
.............
MODULE process.
ENDCHAIN.Max
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |